1 | <?php |
||
20 | class Gateway extends AbstractGateway |
||
21 | { |
||
22 | use Concerns\Parameters; |
||
23 | use Concerns\ParametersNormalize; |
||
24 | |||
25 | /** |
||
26 | * {@inheritdoc} |
||
27 | */ |
||
28 | public function getName(): string |
||
32 | |||
33 | /** |
||
34 | * {@inheritdoc} |
||
35 | */ |
||
36 | public function initialize(array $parameters = []) |
||
42 | |||
43 | /** |
||
44 | * {@inheritdoc} |
||
45 | * @return \Omnipay\Common\Message\AbstractRequest|PurchaseRequest |
||
46 | */ |
||
47 | public function purchase(array $options = []): PurchaseRequest |
||
51 | |||
52 | /** |
||
53 | * {@inheritdoc} |
||
54 | * @return \Omnipay\Common\Message\AbstractRequest|CompletePurchaseRequest |
||
55 | */ |
||
56 | public function completePurchase(array $options = []): CompletePurchaseRequest |
||
60 | |||
61 | /** |
||
62 | * Khởi tạo IPN request tiếp nhận từ VTCPay gửi sang. |
||
63 | * |
||
64 | * @return \Omnipay\Common\Message\AbstractRequest|NotificationRequest |
||
65 | */ |
||
66 | public function notification(array $options = []): NotificationRequest |
||
70 | } |
||
71 |