1 | <?php |
||
17 | class Client extends BaseClient |
||
18 | { |
||
19 | /** |
||
20 | * Unify order. |
||
21 | * |
||
22 | * @param array $attributes |
||
23 | * |
||
24 | * @return \Psr\Http\Message\ResponseInterface|\EasyWeChat\Kernel\Support\Collection|array|object|string |
||
25 | */ |
||
26 | public function unify(array $attributes) |
||
36 | |||
37 | /** |
||
38 | * Query order by out trade number. |
||
39 | * |
||
40 | * @param string $number |
||
41 | * |
||
42 | * @return \Psr\Http\Message\ResponseInterface|\EasyWeChat\Kernel\Support\Collection|array|object|string |
||
43 | */ |
||
44 | public function queryByOutTradeNumber(string $number) |
||
50 | |||
51 | /** |
||
52 | * Query order by transaction id. |
||
53 | * |
||
54 | * @param string $transactionId |
||
55 | * |
||
56 | * @return \Psr\Http\Message\ResponseInterface|\EasyWeChat\Kernel\Support\Collection|array|object|string |
||
57 | */ |
||
58 | public function queryByTransactionId(string $transactionId) |
||
64 | |||
65 | /** |
||
66 | * @param array $params |
||
67 | * |
||
68 | * @return \Psr\Http\Message\ResponseInterface|\EasyWeChat\Kernel\Support\Collection|array|object|string |
||
69 | */ |
||
70 | protected function query(array $params) |
||
74 | |||
75 | /** |
||
76 | * Close order by out_trade_no. |
||
77 | * |
||
78 | * @param string $tradeNo |
||
79 | * |
||
80 | * @return \Psr\Http\Message\ResponseInterface|\EasyWeChat\Kernel\Support\Collection|array|object|string |
||
81 | */ |
||
82 | public function close(string $tradeNo) |
||
90 | } |
||
91 |