|
@@ 1210-1212 (lines=3) @@
|
| 1207 |
|
if ($paymentAccountId !== null && !is_string($paymentAccountId)) { |
| 1208 |
|
throw new \InvalidArgumentException('Payment account id must be string'); |
| 1209 |
|
} |
| 1210 |
|
if ($amountConverted !== null && !is_int($amountConverted) && !is_float($amountConverted)) { |
| 1211 |
|
throw new \InvalidArgumentException('Transaction amount converted must be float'); |
| 1212 |
|
} |
| 1213 |
|
|
| 1214 |
|
$this->replace('transaction_id', $transactionId); |
| 1215 |
|
$this->replace('transaction_source', $transactionSource); |
|
@@ 1428-1430 (lines=3) @@
|
| 1425 |
|
if ($payoutMid !== null && !is_string($payoutMid)) { |
| 1426 |
|
throw new \InvalidArgumentException('Payout MID must be string'); |
| 1427 |
|
} |
| 1428 |
|
if ($amountConverted !== null && !is_float($amountConverted) && !is_int($amountConverted)) { |
| 1429 |
|
throw new \InvalidArgumentException('Payout converted amount must be number'); |
| 1430 |
|
} |
| 1431 |
|
if ($payoutCardBin !== null && !is_int($payoutCardBin)) { |
| 1432 |
|
throw new \InvalidArgumentException('Payout card BIN must be integer'); |
| 1433 |
|
} |
|
@@ 1648-1650 (lines=3) @@
|
| 1645 |
|
if (!is_string($accountSystem)) { |
| 1646 |
|
throw new \InvalidArgumentException('Account system must be string'); |
| 1647 |
|
} |
| 1648 |
|
if ($amountConverted !== null && !is_int($amountConverted) && !is_float($amountConverted)) { |
| 1649 |
|
throw new \InvalidArgumentException('Amount converted must be number'); |
| 1650 |
|
} |
| 1651 |
|
if ($method !== null && !is_string($method)) { |
| 1652 |
|
throw new \InvalidArgumentException('Method must be string'); |
| 1653 |
|
} |