Total Complexity | 1 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
11 | class TransferPayment extends AbstractAlipay |
||
12 | { |
||
13 | use RequestTrait; |
||
14 | |||
15 | /** |
||
16 | * Use transfer to pay for order. |
||
17 | * |
||
18 | * @param string $gateway |
||
19 | * @param array $payload |
||
20 | * |
||
21 | * @return \Illuminate\Support\Collection |
||
22 | * |
||
23 | * @throws \Nilnice\Payment\Exception\GatewayException |
||
24 | * @throws \Nilnice\Payment\Exception\InvalidKeyException |
||
25 | * @throws \Nilnice\Payment\Exception\InvalidSignException |
||
26 | * @throws \RuntimeException |
||
27 | */ |
||
28 | public function toPay(string $gateway, array $payload) : Collection |
||
44 |