|
@@ 1178-1180 (lines=3) @@
|
| 1175 |
|
if ($paymentAccountId !== null && !is_string($paymentAccountId)) { |
| 1176 |
|
throw new \InvalidArgumentException('Payment account id must be string'); |
| 1177 |
|
} |
| 1178 |
|
if ($amountConverted !== null && !is_int($amountConverted) && !is_float($amountConverted)) { |
| 1179 |
|
throw new \InvalidArgumentException('Transaction amount converted must be float'); |
| 1180 |
|
} |
| 1181 |
|
|
| 1182 |
|
$this->replace('transaction_id', $transactionId); |
| 1183 |
|
$this->replace('transaction_source', $transactionSource); |
|
@@ 1396-1398 (lines=3) @@
|
| 1393 |
|
if ($payoutMid !== null && !is_string($payoutMid)) { |
| 1394 |
|
throw new \InvalidArgumentException('Payout MID must be string'); |
| 1395 |
|
} |
| 1396 |
|
if ($amountConverted !== null && !is_float($amountConverted) && !is_int($amountConverted)) { |
| 1397 |
|
throw new \InvalidArgumentException('Payout converted amount must be number'); |
| 1398 |
|
} |
| 1399 |
|
if ($payoutCardBin !== null && !is_int($payoutCardBin)) { |
| 1400 |
|
throw new \InvalidArgumentException('Payout card BIN must be integer'); |
| 1401 |
|
} |
|
@@ 1612-1614 (lines=3) @@
|
| 1609 |
|
if (!is_string($accountSystem)) { |
| 1610 |
|
throw new \InvalidArgumentException('Account system must be string'); |
| 1611 |
|
} |
| 1612 |
|
if ($amountConverted !== null && !is_int($amountConverted) && !is_float($amountConverted)) { |
| 1613 |
|
throw new \InvalidArgumentException('Amount converted must be number'); |
| 1614 |
|
} |
| 1615 |
|
if ($method !== null && !is_string($method)) { |
| 1616 |
|
throw new \InvalidArgumentException('Method must be string'); |
| 1617 |
|
} |