Skip to content

Commit

Permalink
Make WMP valid for X19 (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
Den4X authored Apr 1, 2021
1 parent 12434d5 commit 992cf2d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Api/X/X19/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ class Request extends X\Request
const PURSE_WMB = 'WMB';
const PURSE_WMY = 'WMY';
const PURSE_WMG = 'WMG';
const PURSE_WMP = 'WMP';

const EMONEY_RBKM = 'rbkmoney.ru';
const EMONEY_PP = 'paypal.com';
Expand Down Expand Up @@ -146,7 +147,7 @@ protected function getValidationRules()
'operationDirection' => array(self::DIRECTION_OUTPUT, self::DIRECTION_INPUT),
'operationPurseType' => array(self::PURSE_WMZ, self::PURSE_WMR, self::PURSE_WME,
self::PURSE_WMU, self::PURSE_WMB, self::PURSE_WMY,
self::PURSE_WMG),
self::PURSE_WMG, self::PURSE_WMP),
'userEMoneyName' => array(self::EMONEY_RBKM, self::EMONEY_PP, self::EMONEY_SK, self::EMONEY_QW,
self::EMONEY_YAM, self::EMONEY_ESP),
),
Expand Down

0 comments on commit 992cf2d

Please sign in to comment.