1 | <?php |
||
18 | class PayConfirmRequest extends AbstractSignatureRequest |
||
19 | { |
||
20 | /** |
||
21 | * {@inheritdoc} |
||
22 | * @throws \Omnipay\Common\Exception\InvalidResponseException |
||
23 | */ |
||
24 | public function sendData($data): PayConfirmResponse |
||
33 | |||
34 | /** |
||
35 | * Trả về request id. |
||
36 | * |
||
37 | * @return null|string |
||
38 | */ |
||
39 | public function getRequestId(): ?string |
||
43 | |||
44 | /** |
||
45 | * Thiết lập request id của đơn hàng. |
||
46 | * |
||
47 | * @param null|string $id |
||
48 | * @return $this |
||
49 | */ |
||
50 | public function setRequestId(?string $id) |
||
54 | |||
55 | /** |
||
56 | * Trả về mã đơn hàng. |
||
57 | * |
||
58 | * @return null|string |
||
59 | */ |
||
60 | public function getPartnerRefId(): ?string |
||
64 | |||
65 | /** |
||
66 | * Thiết lập mã đơn hàng. |
||
67 | * |
||
68 | * @param null|string $id |
||
69 | * @return $this |
||
70 | */ |
||
71 | public function setPartnerRefId(?string $id) |
||
75 | |||
76 | /** |
||
77 | * Trả về mã đơn hàng của MoMo. |
||
78 | * |
||
79 | * @return null|string |
||
80 | */ |
||
81 | public function getMomoTransId(): ?string |
||
85 | |||
86 | /** |
||
87 | * Thiết lập mã giao dịch của MoMo. |
||
88 | * |
||
89 | * @param null|string $id |
||
90 | * @return $this |
||
91 | */ |
||
92 | public function setMomoTransId(?string $id) |
||
96 | |||
97 | /** |
||
98 | * Trả về só điện thoại của khách hàng. |
||
99 | * |
||
100 | * @return null|string |
||
101 | */ |
||
102 | public function getCustomerNumber(): ?string |
||
106 | |||
107 | /** |
||
108 | * Thiết lập số điện thoại khách hàng. |
||
109 | * |
||
110 | * @param null|string $number |
||
111 | * @return $this |
||
112 | */ |
||
113 | public function setCustomerNumber(?string $number) |
||
117 | |||
118 | /** |
||
119 | * Trả về loại request yêu cầu MoMo xử lý. |
||
120 | * |
||
121 | * @return null|string |
||
122 | */ |
||
123 | public function getRequestType(): ?string |
||
127 | |||
128 | /** |
||
129 | * Thiết lập loại request type yêu cầu MoMo, commit hoặc rollback. |
||
130 | * |
||
131 | * @param null|string $type |
||
132 | * @return $this |
||
133 | */ |
||
134 | public function setRequestType(?string $type) |
||
138 | |||
139 | /** |
||
140 | * {@inheritdoc} |
||
141 | */ |
||
142 | protected function getSignatureParameters(): array |
||
148 | } |
||
149 |