|
@@ 895-897 (lines=3) @@
|
| 892 |
|
if ($paymentAccountId !== null && !is_string($paymentAccountId)) { |
| 893 |
|
throw new \InvalidArgumentException('Payment account id must be string'); |
| 894 |
|
} |
| 895 |
|
if ($amountConverted !== null && !is_int($amountConverted) && !is_float($amountConverted)) { |
| 896 |
|
throw new \InvalidArgumentException('Transaction amount converted must be float'); |
| 897 |
|
} |
| 898 |
|
|
| 899 |
|
$this->replace('transaction_id', $transactionId); |
| 900 |
|
$this->replace('transaction_source', $transactionSource); |
|
@@ 1108-1110 (lines=3) @@
|
| 1105 |
|
if ($payoutMid !== null && !is_string($payoutMid)) { |
| 1106 |
|
throw new \InvalidArgumentException('Payout MID must be string'); |
| 1107 |
|
} |
| 1108 |
|
if ($amountConverted !== null && !is_float($amountConverted) && !is_int($amountConverted)) { |
| 1109 |
|
throw new \InvalidArgumentException('Payout converted amount must be number'); |
| 1110 |
|
} |
| 1111 |
|
if ($payoutCardBin !== null && !is_int($payoutCardBin)) { |
| 1112 |
|
throw new \InvalidArgumentException('Payout card BIN must be integer'); |
| 1113 |
|
} |