File tree Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 33namespace Omnipay \Alipay ;
44
55use Omnipay \Alipay \Requests \LegacyWapPurchaseRequest ;
6+ use Omnipay \Common \Message \AbstractRequest ;
7+ use Omnipay \Common \Message \RequestInterface ;
68
79/**
810 * Class LegacyWapGateway
11+ *
912 * @package Omnipay\Alipay
10- * @link https://doc.open.alipay.com/docs/doc.htm?treeId=60&articleId=103564&docType=1
13+ * @link https://docs.open.alipay.com/60/103564
14+ * @method RequestInterface authorize(array $options = [])
15+ * @method RequestInterface completeAuthorize(array $options = [])
16+ * @method RequestInterface capture(array $options = [])
17+ * @method RequestInterface void(array $options = [])
18+ * @method RequestInterface createCard(array $options = [])
19+ * @method RequestInterface updateCard(array $options = [])
20+ * @method RequestInterface deleteCard(array $options = [])
1121 */
1222class LegacyWapGateway extends AbstractLegacyGateway
1323{
@@ -26,7 +36,7 @@ public function getName()
2636 /**
2737 * @param array $parameters
2838 *
29- * @return \Omnipay\Alipay\Requests\ LegacyWapPurchaseRequest
39+ * @return LegacyWapPurchaseRequest|AbstractRequest
3040 */
3141 public function purchase (array $ parameters = [])
3242 {
Original file line number Diff line number Diff line change 44
55use Omnipay \Alipay \Responses \AopCompletePurchaseResponse ;
66use Omnipay \Alipay \Responses \AopTradeQueryResponse ;
7+ use Omnipay \Common \Exception \InvalidRequestException ;
78
89class AopCompletePurchaseRequest extends AbstractAopRequest
910{
@@ -13,6 +14,7 @@ class AopCompletePurchaseRequest extends AbstractAopRequest
1314 * gateway, but will usually be either an associative array, or a SimpleXMLElement.
1415 *
1516 * @return mixed
17+ * @throws InvalidRequestException
1618 */
1719 public function getData ()
1820 {
@@ -40,9 +42,9 @@ public function getParams()
4042 /**
4143 * Send the request with specified data
4244 *
43- * @param mixed $data The data to send
45+ * @param mixed $data The data to send
4446 *
45- * @return \Omnipay\Alipay\Responses\ AopCompletePurchaseResponse
47+ * @return AopCompletePurchaseResponse
4648 */
4749 public function sendData ($ data )
4850 {
You can’t perform that action at this time.
0 commit comments