|
@@ 1146-1148 (lines=3) @@
|
| 1143 |
|
if ($paymentAccountId !== null && !is_string($paymentAccountId)) { |
| 1144 |
|
throw new \InvalidArgumentException('Payment account id must be string'); |
| 1145 |
|
} |
| 1146 |
|
if ($amountConverted !== null && !is_int($amountConverted) && !is_float($amountConverted)) { |
| 1147 |
|
throw new \InvalidArgumentException('Transaction amount converted must be float'); |
| 1148 |
|
} |
| 1149 |
|
|
| 1150 |
|
$this->replace('transaction_id', $transactionId); |
| 1151 |
|
$this->replace('transaction_source', $transactionSource); |
|
@@ 1364-1366 (lines=3) @@
|
| 1361 |
|
if ($payoutMid !== null && !is_string($payoutMid)) { |
| 1362 |
|
throw new \InvalidArgumentException('Payout MID must be string'); |
| 1363 |
|
} |
| 1364 |
|
if ($amountConverted !== null && !is_float($amountConverted) && !is_int($amountConverted)) { |
| 1365 |
|
throw new \InvalidArgumentException('Payout converted amount must be number'); |
| 1366 |
|
} |
| 1367 |
|
if ($payoutCardBin !== null && !is_int($payoutCardBin)) { |
| 1368 |
|
throw new \InvalidArgumentException('Payout card BIN must be integer'); |
| 1369 |
|
} |
|
@@ 1580-1582 (lines=3) @@
|
| 1577 |
|
if (!is_string($accountSystem)) { |
| 1578 |
|
throw new \InvalidArgumentException('Account system must be string'); |
| 1579 |
|
} |
| 1580 |
|
if ($amountConverted !== null && !is_int($amountConverted) && !is_float($amountConverted)) { |
| 1581 |
|
throw new \InvalidArgumentException('Amount converted must be number'); |
| 1582 |
|
} |
| 1583 |
|
if ($method !== null && !is_string($method)) { |
| 1584 |
|
throw new \InvalidArgumentException('Method must be string'); |
| 1585 |
|
} |