src/SDK/Action/FinancialTransactions.php 1 location
|
@@ 53-61 (lines=9) @@
|
| 50 |
|
$this->queryParameters = $args; |
| 51 |
|
} |
| 52 |
|
|
| 53 |
|
public function void($args) |
| 54 |
|
{ |
| 55 |
|
$this->action = 'VOID'; |
| 56 |
|
$queryParamKeys = [ |
| 57 |
|
'MERCHANTPAYMENTID', 'PGTRANID', |
| 58 |
|
]; |
| 59 |
|
$args = MerchantSafeUnipay\filter($queryParamKeys, $args); |
| 60 |
|
$this->queryParameters = $args; |
| 61 |
|
} |
| 62 |
|
|
| 63 |
|
public function refund($args) |
| 64 |
|
{ |
src/SDK/Action/RejectActions.php 1 location
|
@@ 11-19 (lines=9) @@
|
| 8 |
|
class RejectActions extends ActionAbstract implements ActionInterface |
| 9 |
|
{ |
| 10 |
|
|
| 11 |
|
public function rejectTransaction($args) |
| 12 |
|
{ |
| 13 |
|
$this->action = 'REJECTTRANSACTION'; |
| 14 |
|
$queryParamKeys = [ |
| 15 |
|
'MERCHANTPAYMENTID' |
| 16 |
|
]; |
| 17 |
|
$args = MerchantSafeUnipay\filter($queryParamKeys, $args); |
| 18 |
|
$this->queryParameters = $args; |
| 19 |
|
} |
| 20 |
|
} |
| 21 |
|
|