3
3
namespace PHPViet \Laravel \Omnipay \Facades \MoMo ;
4
4
5
5
use Illuminate \Support \Facades \Facade ;
6
+ use Omnipay \MoMo \AllInOneGateway as MoMoGateway ;
6
7
7
8
/**
9
+ * @method static \Omnipay\MoMo\Message\AllInOne\PurchaseRequest purchase(array $options = [])
10
+ * @method static \Omnipay\MoMo\Message\AllInOne\QueryTransactionRequest queryTransaction(array $options = [])
11
+ * @method static \Omnipay\MoMo\Message\AllInOne\CompletePurchaseRequest completePurchase(array $options = [])
12
+ * @method static \Omnipay\MoMo\Message\AllInOne\NotificationRequest notification(array $options = [])
13
+ * @method static \Omnipay\MoMo\Message\AllInOne\QueryRefundRequest queryRefund(array $options = [])
14
+ *
8
15
* @author Vuong Minh <vuongxuongminh@gmail.com>
9
16
* @since 1.0.0
10
17
*/
@@ -13,7 +20,7 @@ class AllInOneGateway extends Facade
13
20
/**
14
21
* {@inheritdoc}
15
22
*/
16
- protected static function getFacadeAccessor ()
23
+ protected static function getFacadeAccessor (): MoMoGateway
17
24
{
18
25
return static ::$ app ['omnipay ' ]->gateway ('MoMoAIO ' );
19
26
}
0 commit comments