|
@@ 1410-1412 (lines=3) @@
|
| 1407 |
|
if ($paymentAccountId !== null && !is_string($paymentAccountId)) { |
| 1408 |
|
throw new \InvalidArgumentException('Payment account id must be string'); |
| 1409 |
|
} |
| 1410 |
|
if ($amountConverted !== null && !is_int($amountConverted) && !is_float($amountConverted)) { |
| 1411 |
|
throw new \InvalidArgumentException('Transaction amount converted must be float'); |
| 1412 |
|
} |
| 1413 |
|
|
| 1414 |
|
$this->replace('transaction_id', $transactionId); |
| 1415 |
|
$this->replace('transaction_source', $transactionSource); |
|
@@ 1628-1630 (lines=3) @@
|
| 1625 |
|
if ($payoutMid !== null && !is_string($payoutMid)) { |
| 1626 |
|
throw new \InvalidArgumentException('Payout MID must be string'); |
| 1627 |
|
} |
| 1628 |
|
if ($amountConverted !== null && !is_float($amountConverted) && !is_int($amountConverted)) { |
| 1629 |
|
throw new \InvalidArgumentException('Payout converted amount must be number'); |
| 1630 |
|
} |
| 1631 |
|
if ($payoutCardBin !== null && !is_int($payoutCardBin)) { |
| 1632 |
|
throw new \InvalidArgumentException('Payout card BIN must be integer'); |
| 1633 |
|
} |
|
@@ 1848-1850 (lines=3) @@
|
| 1845 |
|
if (!is_string($accountSystem)) { |
| 1846 |
|
throw new \InvalidArgumentException('Account system must be string'); |
| 1847 |
|
} |
| 1848 |
|
if ($amountConverted !== null && !is_int($amountConverted) && !is_float($amountConverted)) { |
| 1849 |
|
throw new \InvalidArgumentException('Amount converted must be number'); |
| 1850 |
|
} |
| 1851 |
|
if ($method !== null && !is_string($method)) { |
| 1852 |
|
throw new \InvalidArgumentException('Method must be string'); |
| 1853 |
|
} |