@@ 1797-1799 (lines=3) @@ | ||
1794 | if ($paymentAccountId !== null && !is_string($paymentAccountId)) { |
|
1795 | throw new \InvalidArgumentException('Payment account id must be string'); |
|
1796 | } |
|
1797 | if ($amountConverted !== null && !is_int($amountConverted) && !is_float($amountConverted)) { |
|
1798 | throw new \InvalidArgumentException('Transaction amount converted must be float'); |
|
1799 | } |
|
1800 | ||
1801 | if ($merchantCountry !== null && !is_string($merchantCountry)) { |
|
1802 | throw new \InvalidArgumentException('Merchant country must be string'); |
|
@@ 2027-2029 (lines=3) @@ | ||
2024 | if ($payoutMid !== null && !is_string($payoutMid)) { |
|
2025 | throw new \InvalidArgumentException('Payout MID must be string'); |
|
2026 | } |
|
2027 | if ($amountConverted !== null && !is_float($amountConverted) && !is_int($amountConverted)) { |
|
2028 | throw new \InvalidArgumentException('Payout converted amount must be number'); |
|
2029 | } |
|
2030 | if ($payoutCardBin !== null && !is_int($payoutCardBin)) { |
|
2031 | throw new \InvalidArgumentException('Payout card BIN must be integer'); |
|
2032 | } |
|
@@ 2251-2253 (lines=3) @@ | ||
2248 | if (!is_string($accountSystem)) { |
|
2249 | throw new \InvalidArgumentException('Account system must be string'); |
|
2250 | } |
|
2251 | if ($amountConverted !== null && !is_int($amountConverted) && !is_float($amountConverted)) { |
|
2252 | throw new \InvalidArgumentException('Amount converted must be number'); |
|
2253 | } |
|
2254 | if ($method !== null && !is_string($method)) { |
|
2255 | throw new \InvalidArgumentException('Method must be string'); |
|
2256 | } |
|
@@ 2600-2602 (lines=3) @@ | ||
2597 | if ($groupId !== null && !is_string($groupId)) { |
|
2598 | throw new \InvalidArgumentException('Group id must be string'); |
|
2599 | } |
|
2600 | if ($amountConverted !== null && !is_int($amountConverted) && !is_float($amountConverted)) { |
|
2601 | throw new \InvalidArgumentException('Amount converted must be number'); |
|
2602 | } |
|
2603 | if ($campaign !== null && !is_string($campaign)) { |
|
2604 | throw new \InvalidArgumentException('Campaign must be string'); |
|
2605 | } |