File tree Expand file tree Collapse file tree 2 files changed +48
-0
lines changed
Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ <?php
2+ /**
3+ * @link https://github.com/phpviet/omnipay-onepay
4+ *
5+ * @copyright (c) PHP Viet
6+ * @license [MIT](https://opensource.org/licenses/MIT)
7+ */
8+
9+ namespace Omnipay \OnePay \Message ;
10+
11+ /**
12+ * @author Vuong Minh <vuongxuongminh@gmail.com>
13+ * @since 1.0.0
14+ */
15+ abstract class AbstractCompletePurchaseRequest extends AbstractIncomingRequest
16+ {
17+ /**
18+ * {@inheritdoc}
19+ */
20+ protected function getIncomingParameters (): array
21+ {
22+ return $ this ->httpRequest ->query ->all ();
23+ }
24+ }
Original file line number Diff line number Diff line change 1+ <?php
2+ /**
3+ * @link https://github.com/phpviet/omnipay-onepay
4+ *
5+ * @copyright (c) PHP Viet
6+ * @license [MIT](https://opensource.org/licenses/MIT)
7+ */
8+
9+ namespace Omnipay \OnePay \Message ;
10+
11+ /**
12+ * @author Vuong Minh <vuongxuongminh@gmail.com>
13+ * @since 1.0.0
14+ */
15+ abstract class AbstractNotificationRequest extends AbstractIncomingRequest
16+ {
17+ /**
18+ * {@inheritdoc}
19+ */
20+ protected function getIncomingParameters (): array
21+ {
22+ return $ this ->httpRequest ->query ->all ();
23+ }
24+ }
You can’t perform that action at this time.
0 commit comments