1 | <?php |
||
24 | class AllInOneGateway extends AbstractGateway |
||
25 | { |
||
26 | use Concerns\Parameters; |
||
27 | |||
28 | /** |
||
29 | * {@inheritdoc} |
||
30 | */ |
||
31 | public function getName(): string |
||
35 | |||
36 | /** |
||
37 | * {@inheritdoc} |
||
38 | * @return \Omnipay\Common\Message\RequestInterface|CompletePurchaseRequest |
||
39 | */ |
||
40 | public function completePurchase(array $options = []): CompletePurchaseRequest |
||
44 | |||
45 | /** |
||
46 | * Tạo request notification gửi từ MoMo. |
||
47 | * |
||
48 | * @param array $options |
||
49 | * @return \Omnipay\Common\Message\RequestInterface|NotificationRequest |
||
50 | */ |
||
51 | public function notification(array $options = []): NotificationRequest |
||
55 | |||
56 | /** |
||
57 | * {@inheritdoc} |
||
58 | * @return \Omnipay\Common\Message\RequestInterface|PurchaseRequest |
||
59 | */ |
||
60 | public function purchase(array $options = []): PurchaseRequest |
||
64 | |||
65 | /** |
||
66 | * Tạo yêu cầu truy vấn thông tin giao dịch đến MoMo. |
||
67 | * |
||
68 | * @param array $options |
||
69 | * @return \Omnipay\Common\Message\RequestInterface|QueryTransactionRequest |
||
70 | */ |
||
71 | public function queryTransaction(array $options = []): QueryTransactionRequest |
||
75 | |||
76 | /** |
||
77 | * {@inheritdoc} |
||
78 | * @return \Omnipay\Common\Message\RequestInterface|RefundRequest |
||
79 | */ |
||
80 | public function refund(array $options = []) |
||
84 | |||
85 | /** |
||
86 | * Tạo yêu cầu truy vấn thông tin hoàn tiền đến MoMo. |
||
87 | * |
||
88 | * @return \Omnipay\Common\Message\RequestInterface|QueryRefundRequest |
||
89 | */ |
||
90 | public function queryRefund(array $options = []) |
||
94 | } |
||
95 |