1 | <?php |
||
9 | class TransferGateway implements GatewayInterface |
||
10 | { |
||
11 | /** |
||
12 | * Pay an order. |
||
13 | * |
||
14 | * @author yansongda <[email protected]> |
||
15 | * |
||
16 | * @param string $endpoint |
||
17 | * @param array $payload |
||
18 | * |
||
19 | * @throws \Yansongda\Pay\Exceptions\GatewayException |
||
20 | * @throws \Yansongda\Pay\Exceptions\InvalidConfigException |
||
21 | * @throws \Yansongda\Pay\Exceptions\InvalidSignException |
||
22 | * |
||
23 | * @return Collection |
||
24 | */ |
||
25 | public function pay($endpoint, array $payload): Collection |
||
38 | |||
39 | /** |
||
40 | * Find. |
||
41 | * |
||
42 | * @author yansongda <[email protected]> |
||
43 | * |
||
44 | * @param $order |
||
45 | * |
||
46 | * @return array |
||
47 | */ |
||
48 | public function find($order): array |
||
55 | } |
||
56 |