1111use Illuminate \Support \Facades \Facade ;
1212
1313/**
14- * @method static \Omnipay\VnPay\Message\PurchaseRequest purchase(array $options = [])
15- * @method static \Omnipay\VnPay\Message\CompletePurchaseRequest completePurchase(array $options = [])
14+ * @method static \Omnipay\VNPay\Message\PurchaseRequest purchase(array $options = [])
15+ * @method static \Omnipay\VNPay\Message\IncomingRequest completePurchase(array $options = [])
16+ * @method static \Omnipay\VNPay\Message\IncomingRequest notification(array $options = [])
17+ * @method static \Omnipay\VNPay\Message\QueryTransactionRequest queryTransaction(array $options = [])
18+ * @method static \Omnipay\VNPay\Message\RefundRequest refund(array $options = [])
1619 *
1720 * @author Vuong Minh <vuongxuongminh@gmail.com>
1821 * @since 1.0.0
@@ -26,43 +29,4 @@ protected static function getFacadeAccessor()
2629 {
2730 return static ::$ app ['omnipay ' ]->gateway ('VNPay ' );
2831 }
29-
30- /**
31- * Tạo yêu cầu truy vấn trạng thái giao dịch đến VNPay.
32- *
33- * Đây là phương thức ánh xạ của [[fetchTransaction()]] với mục đích đồng bộ các phương thức so với các cổng thanh toán khác.
34- *
35- * @param array $options
36- * @return \Omnipay\VnPay\Message\FetchTransactionRequest
37- */
38- public static function queryTransaction (array $ options = [])
39- {
40- return static ::fetchTransaction ($ options );
41- }
42-
43- /**
44- * Tạo yêu cầu truy vấn trạng thái thanh toán giao dịch đến VNPay.
45- *
46- * Đây là phương thức ánh xạ của [[fetchCheckout()]] với mục đích đồng bộ các phương thức so với các cổng thanh toán khác.
47- *
48- * @param array $options
49- * @return \Omnipay\VnPay\Message\FetchCheckoutRequest
50- */
51- public static function queryCheckout (array $ options = [])
52- {
53- return static ::fetchCheckout ($ options );
54- }
55-
56- /**
57- * Tạo yêu cầu truy vấn trạng thái giao dịch hoàn tiền đến VNPay.
58- *
59- * Đây là phương thức ánh xạ của [[fetchRefund()]] với mục đích đồng bộ các phương thức so với các cổng thanh toán khác.
60- *
61- * @param array $options
62- * @return \Omnipay\VnPay\Message\FetchRefundRequest
63- */
64- public static function queryRefund (array $ options = [])
65- {
66- return static ::fetchRefund ($ options );
67- }
6832}
0 commit comments