| @@ 10-18 (lines=9) @@ | ||
| 7 | ||
| 8 | class PaymentPolicy extends ActionAbstract implements ActionInterface |
|
| 9 | { |
|
| 10 | public function add($args) |
|
| 11 | { |
|
| 12 | $this->action = 'PAYMENTPOLICYADD'; |
|
| 13 | $queryParamKeys = [ |
|
| 14 | 'PAYMENTSYSTEM', 'PPOLICY', 'CURRENCY', 'AMOUNTLIMIT' |
|
| 15 | ]; |
|
| 16 | $args = MerchantSafeUnipay\filter($queryParamKeys, $args); |
|
| 17 | $this->queryParameters = $args; |
|
| 18 | } |
|
| 19 | ||
| 20 | public function edit($args) |
|
| 21 | { |
|
| @@ 20-28 (lines=9) @@ | ||
| 17 | $this->queryParameters = $args; |
|
| 18 | } |
|
| 19 | ||
| 20 | public function edit($args) |
|
| 21 | { |
|
| 22 | $this->action = 'PAYMENTPOLICYEDIT'; |
|
| 23 | $queryParamKeys = [ |
|
| 24 | 'PAYMENTSYSTEM', 'PPOLICY', 'CURRENCY', 'AMOUNTLIMIT' |
|
| 25 | ]; |
|
| 26 | $args = MerchantSafeUnipay\filter($queryParamKeys, $args); |
|
| 27 | $this->queryParameters = $args; |
|
| 28 | } |
|
| 29 | } |
|
| 30 | ||