|
@@ 1764-1766 (lines=3) @@
|
| 1761 |
|
if ($paymentAccountId !== null && !is_string($paymentAccountId)) { |
| 1762 |
|
throw new \InvalidArgumentException('Payment account id must be string'); |
| 1763 |
|
} |
| 1764 |
|
if ($amountConverted !== null && !is_int($amountConverted) && !is_float($amountConverted)) { |
| 1765 |
|
throw new \InvalidArgumentException('Transaction amount converted must be float'); |
| 1766 |
|
} |
| 1767 |
|
|
| 1768 |
|
$this->replace('transaction_id', $transactionId); |
| 1769 |
|
$this->replace('transaction_source', $transactionSource); |
|
@@ 1982-1984 (lines=3) @@
|
| 1979 |
|
if ($payoutMid !== null && !is_string($payoutMid)) { |
| 1980 |
|
throw new \InvalidArgumentException('Payout MID must be string'); |
| 1981 |
|
} |
| 1982 |
|
if ($amountConverted !== null && !is_float($amountConverted) && !is_int($amountConverted)) { |
| 1983 |
|
throw new \InvalidArgumentException('Payout converted amount must be number'); |
| 1984 |
|
} |
| 1985 |
|
if ($payoutCardBin !== null && !is_int($payoutCardBin)) { |
| 1986 |
|
throw new \InvalidArgumentException('Payout card BIN must be integer'); |
| 1987 |
|
} |
|
@@ 2206-2208 (lines=3) @@
|
| 2203 |
|
if (!is_string($accountSystem)) { |
| 2204 |
|
throw new \InvalidArgumentException('Account system must be string'); |
| 2205 |
|
} |
| 2206 |
|
if ($amountConverted !== null && !is_int($amountConverted) && !is_float($amountConverted)) { |
| 2207 |
|
throw new \InvalidArgumentException('Amount converted must be number'); |
| 2208 |
|
} |
| 2209 |
|
if ($method !== null && !is_string($method)) { |
| 2210 |
|
throw new \InvalidArgumentException('Method must be string'); |
| 2211 |
|
} |
|
@@ 2555-2557 (lines=3) @@
|
| 2552 |
|
if ($groupId !== null && !is_string($groupId)) { |
| 2553 |
|
throw new \InvalidArgumentException('Group id must be string'); |
| 2554 |
|
} |
| 2555 |
|
if ($amountConverted !== null && !is_int($amountConverted) && !is_float($amountConverted)) { |
| 2556 |
|
throw new \InvalidArgumentException('Amount converted must be number'); |
| 2557 |
|
} |
| 2558 |
|
if ($campaign !== null && !is_string($campaign)) { |
| 2559 |
|
throw new \InvalidArgumentException('Campaign must be string'); |
| 2560 |
|
} |