File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change 11
11
use Illuminate \Support \Facades \Facade ;
12
12
13
13
/**
14
+ * @method static \Omnipay\VtcPay\Message\PurchaseRequest purchase(array $options = [])
15
+ * @method static \Omnipay\VtcPay\Message\CompletePurchaseRequest completePurchase(array $options = [])
16
+ *
14
17
* @author Vuong Minh <vuongxuongminh@gmail.com>
15
18
* @since 1.0.0
16
19
*/
@@ -21,6 +24,20 @@ class Gateway extends Facade
21
24
*/
22
25
protected static function getFacadeAccessor ()
23
26
{
24
- return static ::$ app ['omnipay ' ]->gateway ('vtcpay ' );
27
+ return static ::$ app ['omnipay ' ]->gateway ('VTCPay ' );
28
+ }
29
+
30
+ /**
31
+ * Create a request to accept notification.
32
+ *
33
+ * This is an alias of [[acceptNotification()]] for sync with style standard of another gateway.
34
+ *
35
+ * @param array $options
36
+ *
37
+ * @return \Omnipay\VtcPay\Message\AcceptNotificationRequest
38
+ */
39
+ public function notification (array $ options = [])
40
+ {
41
+ return static ::getFacadeAccessor ()->acceptNotification ($ options );
25
42
}
26
43
}
You can’t perform that action at this time.
0 commit comments