| @@ 5-115 (lines=111) @@ | ||
| 2 | ||
| 3 | namespace Kaylyu\Alipay\F2fpay\Base\Aop\Request; |
|
| 4 | ||
| 5 | class AlipayTradeCancelRequest |
|
| 6 | { |
|
| 7 | /** |
|
| 8 | * 统一收单交易撤销接口 |
|
| 9 | **/ |
|
| 10 | private $bizContent; |
|
| 11 | ||
| 12 | private $apiParas = array(); |
|
| 13 | private $terminalType; |
|
| 14 | private $terminalInfo; |
|
| 15 | private $prodCode; |
|
| 16 | private $apiVersion="1.0"; |
|
| 17 | private $notifyUrl; |
|
| 18 | private $returnUrl; |
|
| 19 | private $needEncrypt=false; |
|
| 20 | ||
| 21 | ||
| 22 | public function setBizContent($bizContent) |
|
| 23 | { |
|
| 24 | $this->bizContent = $bizContent; |
|
| 25 | $this->apiParas["biz_content"] = $bizContent; |
|
| 26 | } |
|
| 27 | ||
| 28 | public function getBizContent() |
|
| 29 | { |
|
| 30 | return $this->bizContent; |
|
| 31 | } |
|
| 32 | ||
| 33 | public function getApiMethodName() |
|
| 34 | { |
|
| 35 | return "alipay.trade.cancel"; |
|
| 36 | } |
|
| 37 | ||
| 38 | public function setNotifyUrl($notifyUrl) |
|
| 39 | { |
|
| 40 | $this->notifyUrl=$notifyUrl; |
|
| 41 | } |
|
| 42 | ||
| 43 | public function getNotifyUrl() |
|
| 44 | { |
|
| 45 | return $this->notifyUrl; |
|
| 46 | } |
|
| 47 | ||
| 48 | public function setReturnUrl($returnUrl) |
|
| 49 | { |
|
| 50 | $this->returnUrl=$returnUrl; |
|
| 51 | } |
|
| 52 | ||
| 53 | public function getReturnUrl() |
|
| 54 | { |
|
| 55 | return $this->returnUrl; |
|
| 56 | } |
|
| 57 | ||
| 58 | public function getApiParas() |
|
| 59 | { |
|
| 60 | return $this->apiParas; |
|
| 61 | } |
|
| 62 | ||
| 63 | public function getTerminalType() |
|
| 64 | { |
|
| 65 | return $this->terminalType; |
|
| 66 | } |
|
| 67 | ||
| 68 | public function setTerminalType($terminalType) |
|
| 69 | { |
|
| 70 | $this->terminalType = $terminalType; |
|
| 71 | } |
|
| 72 | ||
| 73 | public function getTerminalInfo() |
|
| 74 | { |
|
| 75 | return $this->terminalInfo; |
|
| 76 | } |
|
| 77 | ||
| 78 | public function setTerminalInfo($terminalInfo) |
|
| 79 | { |
|
| 80 | $this->terminalInfo = $terminalInfo; |
|
| 81 | } |
|
| 82 | ||
| 83 | public function getProdCode() |
|
| 84 | { |
|
| 85 | return $this->prodCode; |
|
| 86 | } |
|
| 87 | ||
| 88 | public function setProdCode($prodCode) |
|
| 89 | { |
|
| 90 | $this->prodCode = $prodCode; |
|
| 91 | } |
|
| 92 | ||
| 93 | public function setApiVersion($apiVersion) |
|
| 94 | { |
|
| 95 | $this->apiVersion=$apiVersion; |
|
| 96 | } |
|
| 97 | ||
| 98 | public function getApiVersion() |
|
| 99 | { |
|
| 100 | return $this->apiVersion; |
|
| 101 | } |
|
| 102 | ||
| 103 | public function setNeedEncrypt($needEncrypt) |
|
| 104 | { |
|
| 105 | ||
| 106 | $this->needEncrypt=$needEncrypt; |
|
| 107 | ||
| 108 | } |
|
| 109 | ||
| 110 | public function getNeedEncrypt() |
|
| 111 | { |
|
| 112 | return $this->needEncrypt; |
|
| 113 | } |
|
| 114 | ||
| 115 | } |
|
| 116 | ||
| @@ 5-115 (lines=111) @@ | ||
| 2 | ||
| 3 | namespace Kaylyu\Alipay\F2fpay\Base\Aop\Request; |
|
| 4 | ||
| 5 | class AlipayTradeCloseRequest |
|
| 6 | { |
|
| 7 | /** |
|
| 8 | * 统一收单交易关闭接口 |
|
| 9 | **/ |
|
| 10 | private $bizContent; |
|
| 11 | ||
| 12 | private $apiParas = array(); |
|
| 13 | private $terminalType; |
|
| 14 | private $terminalInfo; |
|
| 15 | private $prodCode; |
|
| 16 | private $apiVersion="1.0"; |
|
| 17 | private $notifyUrl; |
|
| 18 | private $returnUrl; |
|
| 19 | private $needEncrypt=false; |
|
| 20 | ||
| 21 | ||
| 22 | public function setBizContent($bizContent) |
|
| 23 | { |
|
| 24 | $this->bizContent = $bizContent; |
|
| 25 | $this->apiParas["biz_content"] = $bizContent; |
|
| 26 | } |
|
| 27 | ||
| 28 | public function getBizContent() |
|
| 29 | { |
|
| 30 | return $this->bizContent; |
|
| 31 | } |
|
| 32 | ||
| 33 | public function getApiMethodName() |
|
| 34 | { |
|
| 35 | return "alipay.trade.close"; |
|
| 36 | } |
|
| 37 | ||
| 38 | public function setNotifyUrl($notifyUrl) |
|
| 39 | { |
|
| 40 | $this->notifyUrl=$notifyUrl; |
|
| 41 | } |
|
| 42 | ||
| 43 | public function getNotifyUrl() |
|
| 44 | { |
|
| 45 | return $this->notifyUrl; |
|
| 46 | } |
|
| 47 | ||
| 48 | public function setReturnUrl($returnUrl) |
|
| 49 | { |
|
| 50 | $this->returnUrl=$returnUrl; |
|
| 51 | } |
|
| 52 | ||
| 53 | public function getReturnUrl() |
|
| 54 | { |
|
| 55 | return $this->returnUrl; |
|
| 56 | } |
|
| 57 | ||
| 58 | public function getApiParas() |
|
| 59 | { |
|
| 60 | return $this->apiParas; |
|
| 61 | } |
|
| 62 | ||
| 63 | public function getTerminalType() |
|
| 64 | { |
|
| 65 | return $this->terminalType; |
|
| 66 | } |
|
| 67 | ||
| 68 | public function setTerminalType($terminalType) |
|
| 69 | { |
|
| 70 | $this->terminalType = $terminalType; |
|
| 71 | } |
|
| 72 | ||
| 73 | public function getTerminalInfo() |
|
| 74 | { |
|
| 75 | return $this->terminalInfo; |
|
| 76 | } |
|
| 77 | ||
| 78 | public function setTerminalInfo($terminalInfo) |
|
| 79 | { |
|
| 80 | $this->terminalInfo = $terminalInfo; |
|
| 81 | } |
|
| 82 | ||
| 83 | public function getProdCode() |
|
| 84 | { |
|
| 85 | return $this->prodCode; |
|
| 86 | } |
|
| 87 | ||
| 88 | public function setProdCode($prodCode) |
|
| 89 | { |
|
| 90 | $this->prodCode = $prodCode; |
|
| 91 | } |
|
| 92 | ||
| 93 | public function setApiVersion($apiVersion) |
|
| 94 | { |
|
| 95 | $this->apiVersion=$apiVersion; |
|
| 96 | } |
|
| 97 | ||
| 98 | public function getApiVersion() |
|
| 99 | { |
|
| 100 | return $this->apiVersion; |
|
| 101 | } |
|
| 102 | ||
| 103 | public function setNeedEncrypt($needEncrypt) |
|
| 104 | { |
|
| 105 | ||
| 106 | $this->needEncrypt=$needEncrypt; |
|
| 107 | ||
| 108 | } |
|
| 109 | ||
| 110 | public function getNeedEncrypt() |
|
| 111 | { |
|
| 112 | return $this->needEncrypt; |
|
| 113 | } |
|
| 114 | ||
| 115 | } |
|
| 116 | ||
| @@ 5-115 (lines=111) @@ | ||
| 2 | ||
| 3 | namespace Kaylyu\Alipay\F2fpay\Base\Aop\Request; |
|
| 4 | ||
| 5 | class AlipayTradePayRequest |
|
| 6 | { |
|
| 7 | /** |
|
| 8 | * 用于在线下场景交易一次创建并支付掉 |
|
| 9 | **/ |
|
| 10 | private $bizContent; |
|
| 11 | ||
| 12 | private $apiParas = array(); |
|
| 13 | private $terminalType; |
|
| 14 | private $terminalInfo; |
|
| 15 | private $prodCode; |
|
| 16 | private $apiVersion="1.0"; |
|
| 17 | private $notifyUrl; |
|
| 18 | private $returnUrl; |
|
| 19 | private $needEncrypt=false; |
|
| 20 | ||
| 21 | ||
| 22 | public function setBizContent($bizContent) |
|
| 23 | { |
|
| 24 | $this->bizContent = $bizContent; |
|
| 25 | $this->apiParas["biz_content"] = $bizContent; |
|
| 26 | } |
|
| 27 | ||
| 28 | public function getBizContent() |
|
| 29 | { |
|
| 30 | return $this->bizContent; |
|
| 31 | } |
|
| 32 | ||
| 33 | public function getApiMethodName() |
|
| 34 | { |
|
| 35 | return "alipay.trade.pay"; |
|
| 36 | } |
|
| 37 | ||
| 38 | public function setNotifyUrl($notifyUrl) |
|
| 39 | { |
|
| 40 | $this->notifyUrl=$notifyUrl; |
|
| 41 | } |
|
| 42 | ||
| 43 | public function getNotifyUrl() |
|
| 44 | { |
|
| 45 | return $this->notifyUrl; |
|
| 46 | } |
|
| 47 | ||
| 48 | public function setReturnUrl($returnUrl) |
|
| 49 | { |
|
| 50 | $this->returnUrl=$returnUrl; |
|
| 51 | } |
|
| 52 | ||
| 53 | public function getReturnUrl() |
|
| 54 | { |
|
| 55 | return $this->returnUrl; |
|
| 56 | } |
|
| 57 | ||
| 58 | public function getApiParas() |
|
| 59 | { |
|
| 60 | return $this->apiParas; |
|
| 61 | } |
|
| 62 | ||
| 63 | public function getTerminalType() |
|
| 64 | { |
|
| 65 | return $this->terminalType; |
|
| 66 | } |
|
| 67 | ||
| 68 | public function setTerminalType($terminalType) |
|
| 69 | { |
|
| 70 | $this->terminalType = $terminalType; |
|
| 71 | } |
|
| 72 | ||
| 73 | public function getTerminalInfo() |
|
| 74 | { |
|
| 75 | return $this->terminalInfo; |
|
| 76 | } |
|
| 77 | ||
| 78 | public function setTerminalInfo($terminalInfo) |
|
| 79 | { |
|
| 80 | $this->terminalInfo = $terminalInfo; |
|
| 81 | } |
|
| 82 | ||
| 83 | public function getProdCode() |
|
| 84 | { |
|
| 85 | return $this->prodCode; |
|
| 86 | } |
|
| 87 | ||
| 88 | public function setProdCode($prodCode) |
|
| 89 | { |
|
| 90 | $this->prodCode = $prodCode; |
|
| 91 | } |
|
| 92 | ||
| 93 | public function setApiVersion($apiVersion) |
|
| 94 | { |
|
| 95 | $this->apiVersion=$apiVersion; |
|
| 96 | } |
|
| 97 | ||
| 98 | public function getApiVersion() |
|
| 99 | { |
|
| 100 | return $this->apiVersion; |
|
| 101 | } |
|
| 102 | ||
| 103 | public function setNeedEncrypt($needEncrypt) |
|
| 104 | { |
|
| 105 | ||
| 106 | $this->needEncrypt=$needEncrypt; |
|
| 107 | ||
| 108 | } |
|
| 109 | ||
| 110 | public function getNeedEncrypt() |
|
| 111 | { |
|
| 112 | return $this->needEncrypt; |
|
| 113 | } |
|
| 114 | ||
| 115 | } |
|
| 116 | ||
| @@ 5-115 (lines=111) @@ | ||
| 2 | ||
| 3 | namespace Kaylyu\Alipay\F2fpay\Base\Aop\Request; |
|
| 4 | ||
| 5 | class AlipayTradePrecreateRequest |
|
| 6 | { |
|
| 7 | /** |
|
| 8 | * 收银员通过收银台或商户后台调用支付宝接口,生成二维码后,展示给商户,由用户扫描二维码完成订单支付 |
|
| 9 | **/ |
|
| 10 | private $bizContent; |
|
| 11 | ||
| 12 | private $apiParas = array(); |
|
| 13 | private $terminalType; |
|
| 14 | private $terminalInfo; |
|
| 15 | private $prodCode; |
|
| 16 | private $apiVersion="1.0"; |
|
| 17 | private $notifyUrl; |
|
| 18 | private $returnUrl; |
|
| 19 | private $needEncrypt=false; |
|
| 20 | ||
| 21 | ||
| 22 | public function setBizContent($bizContent) |
|
| 23 | { |
|
| 24 | $this->bizContent = $bizContent; |
|
| 25 | $this->apiParas["biz_content"] = $bizContent; |
|
| 26 | } |
|
| 27 | ||
| 28 | public function getBizContent() |
|
| 29 | { |
|
| 30 | return $this->bizContent; |
|
| 31 | } |
|
| 32 | ||
| 33 | public function getApiMethodName() |
|
| 34 | { |
|
| 35 | return "alipay.trade.precreate"; |
|
| 36 | } |
|
| 37 | ||
| 38 | public function setNotifyUrl($notifyUrl) |
|
| 39 | { |
|
| 40 | $this->notifyUrl=$notifyUrl; |
|
| 41 | } |
|
| 42 | ||
| 43 | public function getNotifyUrl() |
|
| 44 | { |
|
| 45 | return $this->notifyUrl; |
|
| 46 | } |
|
| 47 | ||
| 48 | public function setReturnUrl($returnUrl) |
|
| 49 | { |
|
| 50 | $this->returnUrl=$returnUrl; |
|
| 51 | } |
|
| 52 | ||
| 53 | public function getReturnUrl() |
|
| 54 | { |
|
| 55 | return $this->returnUrl; |
|
| 56 | } |
|
| 57 | ||
| 58 | public function getApiParas() |
|
| 59 | { |
|
| 60 | return $this->apiParas; |
|
| 61 | } |
|
| 62 | ||
| 63 | public function getTerminalType() |
|
| 64 | { |
|
| 65 | return $this->terminalType; |
|
| 66 | } |
|
| 67 | ||
| 68 | public function setTerminalType($terminalType) |
|
| 69 | { |
|
| 70 | $this->terminalType = $terminalType; |
|
| 71 | } |
|
| 72 | ||
| 73 | public function getTerminalInfo() |
|
| 74 | { |
|
| 75 | return $this->terminalInfo; |
|
| 76 | } |
|
| 77 | ||
| 78 | public function setTerminalInfo($terminalInfo) |
|
| 79 | { |
|
| 80 | $this->terminalInfo = $terminalInfo; |
|
| 81 | } |
|
| 82 | ||
| 83 | public function getProdCode() |
|
| 84 | { |
|
| 85 | return $this->prodCode; |
|
| 86 | } |
|
| 87 | ||
| 88 | public function setProdCode($prodCode) |
|
| 89 | { |
|
| 90 | $this->prodCode = $prodCode; |
|
| 91 | } |
|
| 92 | ||
| 93 | public function setApiVersion($apiVersion) |
|
| 94 | { |
|
| 95 | $this->apiVersion=$apiVersion; |
|
| 96 | } |
|
| 97 | ||
| 98 | public function getApiVersion() |
|
| 99 | { |
|
| 100 | return $this->apiVersion; |
|
| 101 | } |
|
| 102 | ||
| 103 | public function setNeedEncrypt($needEncrypt) |
|
| 104 | { |
|
| 105 | ||
| 106 | $this->needEncrypt=$needEncrypt; |
|
| 107 | ||
| 108 | } |
|
| 109 | ||
| 110 | public function getNeedEncrypt() |
|
| 111 | { |
|
| 112 | return $this->needEncrypt; |
|
| 113 | } |
|
| 114 | ||
| 115 | } |
|
| 116 | ||
| @@ 5-115 (lines=111) @@ | ||
| 2 | ||
| 3 | namespace Kaylyu\Alipay\F2fpay\Base\Aop\Request; |
|
| 4 | ||
| 5 | class AlipayTradeQueryRequest |
|
| 6 | { |
|
| 7 | /** |
|
| 8 | * 统一收单线下交易查询 |
|
| 9 | **/ |
|
| 10 | private $bizContent; |
|
| 11 | ||
| 12 | private $apiParas = array(); |
|
| 13 | private $terminalType; |
|
| 14 | private $terminalInfo; |
|
| 15 | private $prodCode; |
|
| 16 | private $apiVersion="1.0"; |
|
| 17 | private $notifyUrl; |
|
| 18 | private $returnUrl; |
|
| 19 | private $needEncrypt=false; |
|
| 20 | ||
| 21 | ||
| 22 | public function setBizContent($bizContent) |
|
| 23 | { |
|
| 24 | $this->bizContent = $bizContent; |
|
| 25 | $this->apiParas["biz_content"] = $bizContent; |
|
| 26 | } |
|
| 27 | ||
| 28 | public function getBizContent() |
|
| 29 | { |
|
| 30 | return $this->bizContent; |
|
| 31 | } |
|
| 32 | ||
| 33 | public function getApiMethodName() |
|
| 34 | { |
|
| 35 | return "alipay.trade.query"; |
|
| 36 | } |
|
| 37 | ||
| 38 | public function setNotifyUrl($notifyUrl) |
|
| 39 | { |
|
| 40 | $this->notifyUrl=$notifyUrl; |
|
| 41 | } |
|
| 42 | ||
| 43 | public function getNotifyUrl() |
|
| 44 | { |
|
| 45 | return $this->notifyUrl; |
|
| 46 | } |
|
| 47 | ||
| 48 | public function setReturnUrl($returnUrl) |
|
| 49 | { |
|
| 50 | $this->returnUrl=$returnUrl; |
|
| 51 | } |
|
| 52 | ||
| 53 | public function getReturnUrl() |
|
| 54 | { |
|
| 55 | return $this->returnUrl; |
|
| 56 | } |
|
| 57 | ||
| 58 | public function getApiParas() |
|
| 59 | { |
|
| 60 | return $this->apiParas; |
|
| 61 | } |
|
| 62 | ||
| 63 | public function getTerminalType() |
|
| 64 | { |
|
| 65 | return $this->terminalType; |
|
| 66 | } |
|
| 67 | ||
| 68 | public function setTerminalType($terminalType) |
|
| 69 | { |
|
| 70 | $this->terminalType = $terminalType; |
|
| 71 | } |
|
| 72 | ||
| 73 | public function getTerminalInfo() |
|
| 74 | { |
|
| 75 | return $this->terminalInfo; |
|
| 76 | } |
|
| 77 | ||
| 78 | public function setTerminalInfo($terminalInfo) |
|
| 79 | { |
|
| 80 | $this->terminalInfo = $terminalInfo; |
|
| 81 | } |
|
| 82 | ||
| 83 | public function getProdCode() |
|
| 84 | { |
|
| 85 | return $this->prodCode; |
|
| 86 | } |
|
| 87 | ||
| 88 | public function setProdCode($prodCode) |
|
| 89 | { |
|
| 90 | $this->prodCode = $prodCode; |
|
| 91 | } |
|
| 92 | ||
| 93 | public function setApiVersion($apiVersion) |
|
| 94 | { |
|
| 95 | $this->apiVersion=$apiVersion; |
|
| 96 | } |
|
| 97 | ||
| 98 | public function getApiVersion() |
|
| 99 | { |
|
| 100 | return $this->apiVersion; |
|
| 101 | } |
|
| 102 | ||
| 103 | public function setNeedEncrypt($needEncrypt) |
|
| 104 | { |
|
| 105 | ||
| 106 | $this->needEncrypt=$needEncrypt; |
|
| 107 | ||
| 108 | } |
|
| 109 | ||
| 110 | public function getNeedEncrypt() |
|
| 111 | { |
|
| 112 | return $this->needEncrypt; |
|
| 113 | } |
|
| 114 | ||
| 115 | } |
|
| 116 | ||
| @@ 5-115 (lines=111) @@ | ||
| 2 | ||
| 3 | namespace Kaylyu\Alipay\F2fpay\Base\Aop\Request; |
|
| 4 | ||
| 5 | class AlipayTradeRefundRequest |
|
| 6 | { |
|
| 7 | /** |
|
| 8 | * 统一收单交易退款接口 |
|
| 9 | **/ |
|
| 10 | private $bizContent; |
|
| 11 | ||
| 12 | private $apiParas = array(); |
|
| 13 | private $terminalType; |
|
| 14 | private $terminalInfo; |
|
| 15 | private $prodCode; |
|
| 16 | private $apiVersion="1.0"; |
|
| 17 | private $notifyUrl; |
|
| 18 | private $returnUrl; |
|
| 19 | private $needEncrypt=false; |
|
| 20 | ||
| 21 | ||
| 22 | public function setBizContent($bizContent) |
|
| 23 | { |
|
| 24 | $this->bizContent = $bizContent; |
|
| 25 | $this->apiParas["biz_content"] = $bizContent; |
|
| 26 | } |
|
| 27 | ||
| 28 | public function getBizContent() |
|
| 29 | { |
|
| 30 | return $this->bizContent; |
|
| 31 | } |
|
| 32 | ||
| 33 | public function getApiMethodName() |
|
| 34 | { |
|
| 35 | return "alipay.trade.refund"; |
|
| 36 | } |
|
| 37 | ||
| 38 | public function setNotifyUrl($notifyUrl) |
|
| 39 | { |
|
| 40 | $this->notifyUrl=$notifyUrl; |
|
| 41 | } |
|
| 42 | ||
| 43 | public function getNotifyUrl() |
|
| 44 | { |
|
| 45 | return $this->notifyUrl; |
|
| 46 | } |
|
| 47 | ||
| 48 | public function setReturnUrl($returnUrl) |
|
| 49 | { |
|
| 50 | $this->returnUrl=$returnUrl; |
|
| 51 | } |
|
| 52 | ||
| 53 | public function getReturnUrl() |
|
| 54 | { |
|
| 55 | return $this->returnUrl; |
|
| 56 | } |
|
| 57 | ||
| 58 | public function getApiParas() |
|
| 59 | { |
|
| 60 | return $this->apiParas; |
|
| 61 | } |
|
| 62 | ||
| 63 | public function getTerminalType() |
|
| 64 | { |
|
| 65 | return $this->terminalType; |
|
| 66 | } |
|
| 67 | ||
| 68 | public function setTerminalType($terminalType) |
|
| 69 | { |
|
| 70 | $this->terminalType = $terminalType; |
|
| 71 | } |
|
| 72 | ||
| 73 | public function getTerminalInfo() |
|
| 74 | { |
|
| 75 | return $this->terminalInfo; |
|
| 76 | } |
|
| 77 | ||
| 78 | public function setTerminalInfo($terminalInfo) |
|
| 79 | { |
|
| 80 | $this->terminalInfo = $terminalInfo; |
|
| 81 | } |
|
| 82 | ||
| 83 | public function getProdCode() |
|
| 84 | { |
|
| 85 | return $this->prodCode; |
|
| 86 | } |
|
| 87 | ||
| 88 | public function setProdCode($prodCode) |
|
| 89 | { |
|
| 90 | $this->prodCode = $prodCode; |
|
| 91 | } |
|
| 92 | ||
| 93 | public function setApiVersion($apiVersion) |
|
| 94 | { |
|
| 95 | $this->apiVersion=$apiVersion; |
|
| 96 | } |
|
| 97 | ||
| 98 | public function getApiVersion() |
|
| 99 | { |
|
| 100 | return $this->apiVersion; |
|
| 101 | } |
|
| 102 | ||
| 103 | public function setNeedEncrypt($needEncrypt) |
|
| 104 | { |
|
| 105 | ||
| 106 | $this->needEncrypt=$needEncrypt; |
|
| 107 | ||
| 108 | } |
|
| 109 | ||
| 110 | public function getNeedEncrypt() |
|
| 111 | { |
|
| 112 | return $this->needEncrypt; |
|
| 113 | } |
|
| 114 | ||
| 115 | } |
|
| 116 | ||
| @@ 5-115 (lines=111) @@ | ||
| 2 | ||
| 3 | namespace Kaylyu\Alipay\F2fpay\Base\Aop\Request; |
|
| 4 | ||
| 5 | class AlipayTradeRefundQueryRequest |
|
| 6 | { |
|
| 7 | /** |
|
| 8 | * 统一收单交易退款查询 |
|
| 9 | **/ |
|
| 10 | private $bizContent; |
|
| 11 | ||
| 12 | private $apiParas = array(); |
|
| 13 | private $terminalType; |
|
| 14 | private $terminalInfo; |
|
| 15 | private $prodCode; |
|
| 16 | private $apiVersion="1.0"; |
|
| 17 | private $notifyUrl; |
|
| 18 | private $returnUrl; |
|
| 19 | private $needEncrypt=false; |
|
| 20 | ||
| 21 | ||
| 22 | public function setBizContent($bizContent) |
|
| 23 | { |
|
| 24 | $this->bizContent = $bizContent; |
|
| 25 | $this->apiParas["biz_content"] = $bizContent; |
|
| 26 | } |
|
| 27 | ||
| 28 | public function getBizContent() |
|
| 29 | { |
|
| 30 | return $this->bizContent; |
|
| 31 | } |
|
| 32 | ||
| 33 | public function getApiMethodName() |
|
| 34 | { |
|
| 35 | return "alipay.trade.fastpay.refund.query"; |
|
| 36 | } |
|
| 37 | ||
| 38 | public function setNotifyUrl($notifyUrl) |
|
| 39 | { |
|
| 40 | $this->notifyUrl=$notifyUrl; |
|
| 41 | } |
|
| 42 | ||
| 43 | public function getNotifyUrl() |
|
| 44 | { |
|
| 45 | return $this->notifyUrl; |
|
| 46 | } |
|
| 47 | ||
| 48 | public function setReturnUrl($returnUrl) |
|
| 49 | { |
|
| 50 | $this->returnUrl=$returnUrl; |
|
| 51 | } |
|
| 52 | ||
| 53 | public function getReturnUrl() |
|
| 54 | { |
|
| 55 | return $this->returnUrl; |
|
| 56 | } |
|
| 57 | ||
| 58 | public function getApiParas() |
|
| 59 | { |
|
| 60 | return $this->apiParas; |
|
| 61 | } |
|
| 62 | ||
| 63 | public function getTerminalType() |
|
| 64 | { |
|
| 65 | return $this->terminalType; |
|
| 66 | } |
|
| 67 | ||
| 68 | public function setTerminalType($terminalType) |
|
| 69 | { |
|
| 70 | $this->terminalType = $terminalType; |
|
| 71 | } |
|
| 72 | ||
| 73 | public function getTerminalInfo() |
|
| 74 | { |
|
| 75 | return $this->terminalInfo; |
|
| 76 | } |
|
| 77 | ||
| 78 | public function setTerminalInfo($terminalInfo) |
|
| 79 | { |
|
| 80 | $this->terminalInfo = $terminalInfo; |
|
| 81 | } |
|
| 82 | ||
| 83 | public function getProdCode() |
|
| 84 | { |
|
| 85 | return $this->prodCode; |
|
| 86 | } |
|
| 87 | ||
| 88 | public function setProdCode($prodCode) |
|
| 89 | { |
|
| 90 | $this->prodCode = $prodCode; |
|
| 91 | } |
|
| 92 | ||
| 93 | public function setApiVersion($apiVersion) |
|
| 94 | { |
|
| 95 | $this->apiVersion=$apiVersion; |
|
| 96 | } |
|
| 97 | ||
| 98 | public function getApiVersion() |
|
| 99 | { |
|
| 100 | return $this->apiVersion; |
|
| 101 | } |
|
| 102 | ||
| 103 | public function setNeedEncrypt($needEncrypt) |
|
| 104 | { |
|
| 105 | ||
| 106 | $this->needEncrypt=$needEncrypt; |
|
| 107 | ||
| 108 | } |
|
| 109 | ||
| 110 | public function getNeedEncrypt() |
|
| 111 | { |
|
| 112 | return $this->needEncrypt; |
|
| 113 | } |
|
| 114 | ||
| 115 | } |
|
| 116 | ||