@@ -7,115 +7,115 @@ |
||
| 7 | 7 | class PddTrainCallbackConfirmPayRequest extends PopBaseHttpRequest |
| 8 | 8 | { |
| 9 | 9 | public function __construct() |
| 10 | - { |
|
| 11 | - |
|
| 12 | - } |
|
| 13 | - /** |
|
| 14 | - * @JsonProperty(Integer, "code") |
|
| 15 | - */ |
|
| 16 | - private $code; |
|
| 17 | - |
|
| 18 | - /** |
|
| 19 | - * @JsonProperty(String, "crh_order_id") |
|
| 20 | - */ |
|
| 21 | - private $crhOrderId; |
|
| 22 | - |
|
| 23 | - /** |
|
| 24 | - * @JsonProperty(String, "gate_no") |
|
| 25 | - */ |
|
| 26 | - private $gateNo; |
|
| 27 | - |
|
| 28 | - /** |
|
| 29 | - * @JsonProperty(String, "msg") |
|
| 30 | - */ |
|
| 31 | - private $msg; |
|
| 32 | - |
|
| 33 | - /** |
|
| 34 | - * @JsonProperty(String, "order_id") |
|
| 35 | - */ |
|
| 36 | - private $orderId; |
|
| 37 | - |
|
| 38 | - /** |
|
| 39 | - * @JsonProperty(String, "pdd_order_id") |
|
| 40 | - */ |
|
| 41 | - private $pddOrderId; |
|
| 42 | - |
|
| 43 | - /** |
|
| 44 | - * @JsonProperty(String, "request_id") |
|
| 45 | - */ |
|
| 46 | - private $requestId; |
|
| 47 | - |
|
| 48 | - /** |
|
| 49 | - * @JsonProperty(String, "vendor_time") |
|
| 50 | - */ |
|
| 51 | - private $vendorTime; |
|
| 52 | - |
|
| 53 | - protected function setUserParams(&$params) |
|
| 54 | - { |
|
| 55 | - $this->setUserParam($params, "code", $this->code); |
|
| 56 | - $this->setUserParam($params, "crh_order_id", $this->crhOrderId); |
|
| 57 | - $this->setUserParam($params, "gate_no", $this->gateNo); |
|
| 58 | - $this->setUserParam($params, "msg", $this->msg); |
|
| 59 | - $this->setUserParam($params, "order_id", $this->orderId); |
|
| 60 | - $this->setUserParam($params, "pdd_order_id", $this->pddOrderId); |
|
| 61 | - $this->setUserParam($params, "request_id", $this->requestId); |
|
| 62 | - $this->setUserParam($params, "vendor_time", $this->vendorTime); |
|
| 63 | - |
|
| 64 | - } |
|
| 65 | - |
|
| 66 | - public function getVersion() |
|
| 67 | - { |
|
| 68 | - return "V1"; |
|
| 69 | - } |
|
| 70 | - |
|
| 71 | - public function getDataType() |
|
| 72 | - { |
|
| 73 | - return "JSON"; |
|
| 74 | - } |
|
| 75 | - |
|
| 76 | - public function getType() |
|
| 77 | - { |
|
| 78 | - return "pdd.train.callback.confirm.pay"; |
|
| 79 | - } |
|
| 80 | - |
|
| 81 | - public function setCode($code) |
|
| 82 | - { |
|
| 83 | - $this->code = $code; |
|
| 84 | - } |
|
| 85 | - |
|
| 86 | - public function setCrhOrderId($crhOrderId) |
|
| 87 | - { |
|
| 88 | - $this->crhOrderId = $crhOrderId; |
|
| 89 | - } |
|
| 90 | - |
|
| 91 | - public function setGateNo($gateNo) |
|
| 92 | - { |
|
| 93 | - $this->gateNo = $gateNo; |
|
| 94 | - } |
|
| 95 | - |
|
| 96 | - public function setMsg($msg) |
|
| 97 | - { |
|
| 98 | - $this->msg = $msg; |
|
| 99 | - } |
|
| 100 | - |
|
| 101 | - public function setOrderId($orderId) |
|
| 102 | - { |
|
| 103 | - $this->orderId = $orderId; |
|
| 104 | - } |
|
| 105 | - |
|
| 106 | - public function setPddOrderId($pddOrderId) |
|
| 107 | - { |
|
| 108 | - $this->pddOrderId = $pddOrderId; |
|
| 109 | - } |
|
| 110 | - |
|
| 111 | - public function setRequestId($requestId) |
|
| 112 | - { |
|
| 113 | - $this->requestId = $requestId; |
|
| 114 | - } |
|
| 115 | - |
|
| 116 | - public function setVendorTime($vendorTime) |
|
| 117 | - { |
|
| 118 | - $this->vendorTime = $vendorTime; |
|
| 119 | - } |
|
| 10 | + { |
|
| 11 | + |
|
| 12 | + } |
|
| 13 | + /** |
|
| 14 | + * @JsonProperty(Integer, "code") |
|
| 15 | + */ |
|
| 16 | + private $code; |
|
| 17 | + |
|
| 18 | + /** |
|
| 19 | + * @JsonProperty(String, "crh_order_id") |
|
| 20 | + */ |
|
| 21 | + private $crhOrderId; |
|
| 22 | + |
|
| 23 | + /** |
|
| 24 | + * @JsonProperty(String, "gate_no") |
|
| 25 | + */ |
|
| 26 | + private $gateNo; |
|
| 27 | + |
|
| 28 | + /** |
|
| 29 | + * @JsonProperty(String, "msg") |
|
| 30 | + */ |
|
| 31 | + private $msg; |
|
| 32 | + |
|
| 33 | + /** |
|
| 34 | + * @JsonProperty(String, "order_id") |
|
| 35 | + */ |
|
| 36 | + private $orderId; |
|
| 37 | + |
|
| 38 | + /** |
|
| 39 | + * @JsonProperty(String, "pdd_order_id") |
|
| 40 | + */ |
|
| 41 | + private $pddOrderId; |
|
| 42 | + |
|
| 43 | + /** |
|
| 44 | + * @JsonProperty(String, "request_id") |
|
| 45 | + */ |
|
| 46 | + private $requestId; |
|
| 47 | + |
|
| 48 | + /** |
|
| 49 | + * @JsonProperty(String, "vendor_time") |
|
| 50 | + */ |
|
| 51 | + private $vendorTime; |
|
| 52 | + |
|
| 53 | + protected function setUserParams(&$params) |
|
| 54 | + { |
|
| 55 | + $this->setUserParam($params, "code", $this->code); |
|
| 56 | + $this->setUserParam($params, "crh_order_id", $this->crhOrderId); |
|
| 57 | + $this->setUserParam($params, "gate_no", $this->gateNo); |
|
| 58 | + $this->setUserParam($params, "msg", $this->msg); |
|
| 59 | + $this->setUserParam($params, "order_id", $this->orderId); |
|
| 60 | + $this->setUserParam($params, "pdd_order_id", $this->pddOrderId); |
|
| 61 | + $this->setUserParam($params, "request_id", $this->requestId); |
|
| 62 | + $this->setUserParam($params, "vendor_time", $this->vendorTime); |
|
| 63 | + |
|
| 64 | + } |
|
| 65 | + |
|
| 66 | + public function getVersion() |
|
| 67 | + { |
|
| 68 | + return "V1"; |
|
| 69 | + } |
|
| 70 | + |
|
| 71 | + public function getDataType() |
|
| 72 | + { |
|
| 73 | + return "JSON"; |
|
| 74 | + } |
|
| 75 | + |
|
| 76 | + public function getType() |
|
| 77 | + { |
|
| 78 | + return "pdd.train.callback.confirm.pay"; |
|
| 79 | + } |
|
| 80 | + |
|
| 81 | + public function setCode($code) |
|
| 82 | + { |
|
| 83 | + $this->code = $code; |
|
| 84 | + } |
|
| 85 | + |
|
| 86 | + public function setCrhOrderId($crhOrderId) |
|
| 87 | + { |
|
| 88 | + $this->crhOrderId = $crhOrderId; |
|
| 89 | + } |
|
| 90 | + |
|
| 91 | + public function setGateNo($gateNo) |
|
| 92 | + { |
|
| 93 | + $this->gateNo = $gateNo; |
|
| 94 | + } |
|
| 95 | + |
|
| 96 | + public function setMsg($msg) |
|
| 97 | + { |
|
| 98 | + $this->msg = $msg; |
|
| 99 | + } |
|
| 100 | + |
|
| 101 | + public function setOrderId($orderId) |
|
| 102 | + { |
|
| 103 | + $this->orderId = $orderId; |
|
| 104 | + } |
|
| 105 | + |
|
| 106 | + public function setPddOrderId($pddOrderId) |
|
| 107 | + { |
|
| 108 | + $this->pddOrderId = $pddOrderId; |
|
| 109 | + } |
|
| 110 | + |
|
| 111 | + public function setRequestId($requestId) |
|
| 112 | + { |
|
| 113 | + $this->requestId = $requestId; |
|
| 114 | + } |
|
| 115 | + |
|
| 116 | + public function setVendorTime($vendorTime) |
|
| 117 | + { |
|
| 118 | + $this->vendorTime = $vendorTime; |
|
| 119 | + } |
|
| 120 | 120 | |
| 121 | 121 | } |
@@ -7,60 +7,60 @@ |
||
| 7 | 7 | class PddVoucherOtaCardVerificationRequest extends PopBaseHttpRequest |
| 8 | 8 | { |
| 9 | 9 | public function __construct() |
| 10 | - { |
|
| 10 | + { |
|
| 11 | 11 | |
| 12 | - } |
|
| 13 | - /** |
|
| 14 | - * @JsonProperty(String, "card_no") |
|
| 15 | - */ |
|
| 16 | - private $cardNo; |
|
| 12 | + } |
|
| 13 | + /** |
|
| 14 | + * @JsonProperty(String, "card_no") |
|
| 15 | + */ |
|
| 16 | + private $cardNo; |
|
| 17 | 17 | |
| 18 | - /** |
|
| 19 | - * @JsonProperty(Long, "store_id") |
|
| 20 | - */ |
|
| 21 | - private $storeId; |
|
| 18 | + /** |
|
| 19 | + * @JsonProperty(Long, "store_id") |
|
| 20 | + */ |
|
| 21 | + private $storeId; |
|
| 22 | 22 | |
| 23 | - /** |
|
| 24 | - * @JsonProperty(String, "store_name") |
|
| 25 | - */ |
|
| 26 | - private $storeName; |
|
| 23 | + /** |
|
| 24 | + * @JsonProperty(String, "store_name") |
|
| 25 | + */ |
|
| 26 | + private $storeName; |
|
| 27 | 27 | |
| 28 | - protected function setUserParams(&$params) |
|
| 29 | - { |
|
| 30 | - $this->setUserParam($params, "card_no", $this->cardNo); |
|
| 31 | - $this->setUserParam($params, "store_id", $this->storeId); |
|
| 32 | - $this->setUserParam($params, "store_name", $this->storeName); |
|
| 28 | + protected function setUserParams(&$params) |
|
| 29 | + { |
|
| 30 | + $this->setUserParam($params, "card_no", $this->cardNo); |
|
| 31 | + $this->setUserParam($params, "store_id", $this->storeId); |
|
| 32 | + $this->setUserParam($params, "store_name", $this->storeName); |
|
| 33 | 33 | |
| 34 | - } |
|
| 34 | + } |
|
| 35 | 35 | |
| 36 | - public function getVersion() |
|
| 37 | - { |
|
| 38 | - return "V1"; |
|
| 39 | - } |
|
| 36 | + public function getVersion() |
|
| 37 | + { |
|
| 38 | + return "V1"; |
|
| 39 | + } |
|
| 40 | 40 | |
| 41 | - public function getDataType() |
|
| 42 | - { |
|
| 43 | - return "JSON"; |
|
| 44 | - } |
|
| 41 | + public function getDataType() |
|
| 42 | + { |
|
| 43 | + return "JSON"; |
|
| 44 | + } |
|
| 45 | 45 | |
| 46 | - public function getType() |
|
| 47 | - { |
|
| 48 | - return "pdd.voucher.ota.card.verification"; |
|
| 49 | - } |
|
| 46 | + public function getType() |
|
| 47 | + { |
|
| 48 | + return "pdd.voucher.ota.card.verification"; |
|
| 49 | + } |
|
| 50 | 50 | |
| 51 | - public function setCardNo($cardNo) |
|
| 52 | - { |
|
| 53 | - $this->cardNo = $cardNo; |
|
| 54 | - } |
|
| 51 | + public function setCardNo($cardNo) |
|
| 52 | + { |
|
| 53 | + $this->cardNo = $cardNo; |
|
| 54 | + } |
|
| 55 | 55 | |
| 56 | - public function setStoreId($storeId) |
|
| 57 | - { |
|
| 58 | - $this->storeId = $storeId; |
|
| 59 | - } |
|
| 56 | + public function setStoreId($storeId) |
|
| 57 | + { |
|
| 58 | + $this->storeId = $storeId; |
|
| 59 | + } |
|
| 60 | 60 | |
| 61 | - public function setStoreName($storeName) |
|
| 62 | - { |
|
| 63 | - $this->storeName = $storeName; |
|
| 64 | - } |
|
| 61 | + public function setStoreName($storeName) |
|
| 62 | + { |
|
| 63 | + $this->storeName = $storeName; |
|
| 64 | + } |
|
| 65 | 65 | |
| 66 | 66 | } |
@@ -7,148 +7,148 @@ |
||
| 7 | 7 | class PddTrainCallbackRefundConfirmRequest extends PopBaseHttpRequest |
| 8 | 8 | { |
| 9 | 9 | public function __construct() |
| 10 | - { |
|
| 11 | - |
|
| 12 | - } |
|
| 13 | - /** |
|
| 14 | - * @JsonProperty(String, "card_no") |
|
| 15 | - */ |
|
| 16 | - private $cardNo; |
|
| 17 | - |
|
| 18 | - /** |
|
| 19 | - * @JsonProperty(Integer, "code") |
|
| 20 | - */ |
|
| 21 | - private $code; |
|
| 22 | - |
|
| 23 | - /** |
|
| 24 | - * @JsonProperty(String, "msg") |
|
| 25 | - */ |
|
| 26 | - private $msg; |
|
| 27 | - |
|
| 28 | - /** |
|
| 29 | - * @JsonProperty(String, "name") |
|
| 30 | - */ |
|
| 31 | - private $name; |
|
| 32 | - |
|
| 33 | - /** |
|
| 34 | - * @JsonProperty(String, "pdd_order_id") |
|
| 35 | - */ |
|
| 36 | - private $pddOrderId; |
|
| 37 | - |
|
| 38 | - /** |
|
| 39 | - * @JsonProperty(Long, "refund_money") |
|
| 40 | - */ |
|
| 41 | - private $refundMoney; |
|
| 42 | - |
|
| 43 | - /** |
|
| 44 | - * @JsonProperty(Integer, "refund_type") |
|
| 45 | - */ |
|
| 46 | - private $refundType; |
|
| 47 | - |
|
| 48 | - /** |
|
| 49 | - * @JsonProperty(String, "request_id") |
|
| 50 | - */ |
|
| 51 | - private $requestId; |
|
| 52 | - |
|
| 53 | - /** |
|
| 54 | - * @JsonProperty(String, "sub_order_id") |
|
| 55 | - */ |
|
| 56 | - private $subOrderId; |
|
| 57 | - |
|
| 58 | - /** |
|
| 59 | - * @JsonProperty(String, "sub_pdd_order_id") |
|
| 60 | - */ |
|
| 61 | - private $subPddOrderId; |
|
| 62 | - |
|
| 63 | - /** |
|
| 64 | - * @JsonProperty(String, "vendor_time") |
|
| 65 | - */ |
|
| 66 | - private $vendorTime; |
|
| 67 | - |
|
| 68 | - protected function setUserParams(&$params) |
|
| 69 | - { |
|
| 70 | - $this->setUserParam($params, "card_no", $this->cardNo); |
|
| 71 | - $this->setUserParam($params, "code", $this->code); |
|
| 72 | - $this->setUserParam($params, "msg", $this->msg); |
|
| 73 | - $this->setUserParam($params, "name", $this->name); |
|
| 74 | - $this->setUserParam($params, "pdd_order_id", $this->pddOrderId); |
|
| 75 | - $this->setUserParam($params, "refund_money", $this->refundMoney); |
|
| 76 | - $this->setUserParam($params, "refund_type", $this->refundType); |
|
| 77 | - $this->setUserParam($params, "request_id", $this->requestId); |
|
| 78 | - $this->setUserParam($params, "sub_order_id", $this->subOrderId); |
|
| 79 | - $this->setUserParam($params, "sub_pdd_order_id", $this->subPddOrderId); |
|
| 80 | - $this->setUserParam($params, "vendor_time", $this->vendorTime); |
|
| 81 | - |
|
| 82 | - } |
|
| 83 | - |
|
| 84 | - public function getVersion() |
|
| 85 | - { |
|
| 86 | - return "V1"; |
|
| 87 | - } |
|
| 88 | - |
|
| 89 | - public function getDataType() |
|
| 90 | - { |
|
| 91 | - return "JSON"; |
|
| 92 | - } |
|
| 93 | - |
|
| 94 | - public function getType() |
|
| 95 | - { |
|
| 96 | - return "pdd.train.callback.refund.confirm"; |
|
| 97 | - } |
|
| 98 | - |
|
| 99 | - public function setCardNo($cardNo) |
|
| 100 | - { |
|
| 101 | - $this->cardNo = $cardNo; |
|
| 102 | - } |
|
| 103 | - |
|
| 104 | - public function setCode($code) |
|
| 105 | - { |
|
| 106 | - $this->code = $code; |
|
| 107 | - } |
|
| 108 | - |
|
| 109 | - public function setMsg($msg) |
|
| 110 | - { |
|
| 111 | - $this->msg = $msg; |
|
| 112 | - } |
|
| 113 | - |
|
| 114 | - public function setName($name) |
|
| 115 | - { |
|
| 116 | - $this->name = $name; |
|
| 117 | - } |
|
| 118 | - |
|
| 119 | - public function setPddOrderId($pddOrderId) |
|
| 120 | - { |
|
| 121 | - $this->pddOrderId = $pddOrderId; |
|
| 122 | - } |
|
| 123 | - |
|
| 124 | - public function setRefundMoney($refundMoney) |
|
| 125 | - { |
|
| 126 | - $this->refundMoney = $refundMoney; |
|
| 127 | - } |
|
| 128 | - |
|
| 129 | - public function setRefundType($refundType) |
|
| 130 | - { |
|
| 131 | - $this->refundType = $refundType; |
|
| 132 | - } |
|
| 133 | - |
|
| 134 | - public function setRequestId($requestId) |
|
| 135 | - { |
|
| 136 | - $this->requestId = $requestId; |
|
| 137 | - } |
|
| 138 | - |
|
| 139 | - public function setSubOrderId($subOrderId) |
|
| 140 | - { |
|
| 141 | - $this->subOrderId = $subOrderId; |
|
| 142 | - } |
|
| 143 | - |
|
| 144 | - public function setSubPddOrderId($subPddOrderId) |
|
| 145 | - { |
|
| 146 | - $this->subPddOrderId = $subPddOrderId; |
|
| 147 | - } |
|
| 148 | - |
|
| 149 | - public function setVendorTime($vendorTime) |
|
| 150 | - { |
|
| 151 | - $this->vendorTime = $vendorTime; |
|
| 152 | - } |
|
| 10 | + { |
|
| 11 | + |
|
| 12 | + } |
|
| 13 | + /** |
|
| 14 | + * @JsonProperty(String, "card_no") |
|
| 15 | + */ |
|
| 16 | + private $cardNo; |
|
| 17 | + |
|
| 18 | + /** |
|
| 19 | + * @JsonProperty(Integer, "code") |
|
| 20 | + */ |
|
| 21 | + private $code; |
|
| 22 | + |
|
| 23 | + /** |
|
| 24 | + * @JsonProperty(String, "msg") |
|
| 25 | + */ |
|
| 26 | + private $msg; |
|
| 27 | + |
|
| 28 | + /** |
|
| 29 | + * @JsonProperty(String, "name") |
|
| 30 | + */ |
|
| 31 | + private $name; |
|
| 32 | + |
|
| 33 | + /** |
|
| 34 | + * @JsonProperty(String, "pdd_order_id") |
|
| 35 | + */ |
|
| 36 | + private $pddOrderId; |
|
| 37 | + |
|
| 38 | + /** |
|
| 39 | + * @JsonProperty(Long, "refund_money") |
|
| 40 | + */ |
|
| 41 | + private $refundMoney; |
|
| 42 | + |
|
| 43 | + /** |
|
| 44 | + * @JsonProperty(Integer, "refund_type") |
|
| 45 | + */ |
|
| 46 | + private $refundType; |
|
| 47 | + |
|
| 48 | + /** |
|
| 49 | + * @JsonProperty(String, "request_id") |
|
| 50 | + */ |
|
| 51 | + private $requestId; |
|
| 52 | + |
|
| 53 | + /** |
|
| 54 | + * @JsonProperty(String, "sub_order_id") |
|
| 55 | + */ |
|
| 56 | + private $subOrderId; |
|
| 57 | + |
|
| 58 | + /** |
|
| 59 | + * @JsonProperty(String, "sub_pdd_order_id") |
|
| 60 | + */ |
|
| 61 | + private $subPddOrderId; |
|
| 62 | + |
|
| 63 | + /** |
|
| 64 | + * @JsonProperty(String, "vendor_time") |
|
| 65 | + */ |
|
| 66 | + private $vendorTime; |
|
| 67 | + |
|
| 68 | + protected function setUserParams(&$params) |
|
| 69 | + { |
|
| 70 | + $this->setUserParam($params, "card_no", $this->cardNo); |
|
| 71 | + $this->setUserParam($params, "code", $this->code); |
|
| 72 | + $this->setUserParam($params, "msg", $this->msg); |
|
| 73 | + $this->setUserParam($params, "name", $this->name); |
|
| 74 | + $this->setUserParam($params, "pdd_order_id", $this->pddOrderId); |
|
| 75 | + $this->setUserParam($params, "refund_money", $this->refundMoney); |
|
| 76 | + $this->setUserParam($params, "refund_type", $this->refundType); |
|
| 77 | + $this->setUserParam($params, "request_id", $this->requestId); |
|
| 78 | + $this->setUserParam($params, "sub_order_id", $this->subOrderId); |
|
| 79 | + $this->setUserParam($params, "sub_pdd_order_id", $this->subPddOrderId); |
|
| 80 | + $this->setUserParam($params, "vendor_time", $this->vendorTime); |
|
| 81 | + |
|
| 82 | + } |
|
| 83 | + |
|
| 84 | + public function getVersion() |
|
| 85 | + { |
|
| 86 | + return "V1"; |
|
| 87 | + } |
|
| 88 | + |
|
| 89 | + public function getDataType() |
|
| 90 | + { |
|
| 91 | + return "JSON"; |
|
| 92 | + } |
|
| 93 | + |
|
| 94 | + public function getType() |
|
| 95 | + { |
|
| 96 | + return "pdd.train.callback.refund.confirm"; |
|
| 97 | + } |
|
| 98 | + |
|
| 99 | + public function setCardNo($cardNo) |
|
| 100 | + { |
|
| 101 | + $this->cardNo = $cardNo; |
|
| 102 | + } |
|
| 103 | + |
|
| 104 | + public function setCode($code) |
|
| 105 | + { |
|
| 106 | + $this->code = $code; |
|
| 107 | + } |
|
| 108 | + |
|
| 109 | + public function setMsg($msg) |
|
| 110 | + { |
|
| 111 | + $this->msg = $msg; |
|
| 112 | + } |
|
| 113 | + |
|
| 114 | + public function setName($name) |
|
| 115 | + { |
|
| 116 | + $this->name = $name; |
|
| 117 | + } |
|
| 118 | + |
|
| 119 | + public function setPddOrderId($pddOrderId) |
|
| 120 | + { |
|
| 121 | + $this->pddOrderId = $pddOrderId; |
|
| 122 | + } |
|
| 123 | + |
|
| 124 | + public function setRefundMoney($refundMoney) |
|
| 125 | + { |
|
| 126 | + $this->refundMoney = $refundMoney; |
|
| 127 | + } |
|
| 128 | + |
|
| 129 | + public function setRefundType($refundType) |
|
| 130 | + { |
|
| 131 | + $this->refundType = $refundType; |
|
| 132 | + } |
|
| 133 | + |
|
| 134 | + public function setRequestId($requestId) |
|
| 135 | + { |
|
| 136 | + $this->requestId = $requestId; |
|
| 137 | + } |
|
| 138 | + |
|
| 139 | + public function setSubOrderId($subOrderId) |
|
| 140 | + { |
|
| 141 | + $this->subOrderId = $subOrderId; |
|
| 142 | + } |
|
| 143 | + |
|
| 144 | + public function setSubPddOrderId($subPddOrderId) |
|
| 145 | + { |
|
| 146 | + $this->subPddOrderId = $subPddOrderId; |
|
| 147 | + } |
|
| 148 | + |
|
| 149 | + public function setVendorTime($vendorTime) |
|
| 150 | + { |
|
| 151 | + $this->vendorTime = $vendorTime; |
|
| 152 | + } |
|
| 153 | 153 | |
| 154 | 154 | } |
@@ -7,431 +7,431 @@ |
||
| 7 | 7 | class PddTrainCallbackGrabRequest extends PopBaseHttpRequest |
| 8 | 8 | { |
| 9 | 9 | public function __construct() |
| 10 | - { |
|
| 11 | - |
|
| 12 | - } |
|
| 13 | - /** |
|
| 14 | - * @JsonProperty(String, "arrive_station") |
|
| 15 | - */ |
|
| 16 | - private $arriveStation; |
|
| 17 | - |
|
| 18 | - /** |
|
| 19 | - * @JsonProperty(String, "arrive_station_code") |
|
| 20 | - */ |
|
| 21 | - private $arriveStationCode; |
|
| 22 | - |
|
| 23 | - /** |
|
| 24 | - * @JsonProperty(String, "arrive_time") |
|
| 25 | - */ |
|
| 26 | - private $arriveTime; |
|
| 27 | - |
|
| 28 | - /** |
|
| 29 | - * @JsonProperty(Integer, "code") |
|
| 30 | - */ |
|
| 31 | - private $code; |
|
| 32 | - |
|
| 33 | - /** |
|
| 34 | - * @JsonProperty(String, "crh_order_id") |
|
| 35 | - */ |
|
| 36 | - private $crhOrderId; |
|
| 37 | - |
|
| 38 | - /** |
|
| 39 | - * @JsonProperty(String, "depart_station") |
|
| 40 | - */ |
|
| 41 | - private $departStation; |
|
| 42 | - |
|
| 43 | - /** |
|
| 44 | - * @JsonProperty(String, "depart_station_code") |
|
| 45 | - */ |
|
| 46 | - private $departStationCode; |
|
| 47 | - |
|
| 48 | - /** |
|
| 49 | - * @JsonProperty(String, "depart_time") |
|
| 50 | - */ |
|
| 51 | - private $departTime; |
|
| 52 | - |
|
| 53 | - /** |
|
| 54 | - * @JsonProperty(String, "msg") |
|
| 55 | - */ |
|
| 56 | - private $msg; |
|
| 57 | - |
|
| 58 | - /** |
|
| 59 | - * @JsonProperty(String, "order_id") |
|
| 60 | - */ |
|
| 61 | - private $orderId; |
|
| 62 | - |
|
| 63 | - /** |
|
| 64 | - * @JsonProperty(Long, "order_ticket_price") |
|
| 65 | - */ |
|
| 66 | - private $orderTicketPrice; |
|
| 67 | - |
|
| 68 | - /** |
|
| 69 | - * @JsonProperty(String, "order_time") |
|
| 70 | - */ |
|
| 71 | - private $orderTime; |
|
| 72 | - |
|
| 73 | - /** |
|
| 74 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTrainCallbackGrabRequest_PassengersItem>, "passengers") |
|
| 75 | - */ |
|
| 76 | - private $passengers; |
|
| 77 | - |
|
| 78 | - /** |
|
| 79 | - * @JsonProperty(String, "pdd_order_id") |
|
| 80 | - */ |
|
| 81 | - private $pddOrderId; |
|
| 82 | - |
|
| 83 | - /** |
|
| 84 | - * @JsonProperty(Integer, "ticket_num") |
|
| 85 | - */ |
|
| 86 | - private $ticketNum; |
|
| 87 | - |
|
| 88 | - /** |
|
| 89 | - * @JsonProperty(String, "train_date") |
|
| 90 | - */ |
|
| 91 | - private $trainDate; |
|
| 92 | - |
|
| 93 | - /** |
|
| 94 | - * @JsonProperty(String, "train_no") |
|
| 95 | - */ |
|
| 96 | - private $trainNo; |
|
| 97 | - |
|
| 98 | - /** |
|
| 99 | - * @JsonProperty(String, "travel_time") |
|
| 100 | - */ |
|
| 101 | - private $travelTime; |
|
| 102 | - |
|
| 103 | - /** |
|
| 104 | - * @JsonProperty(String, "vendor_time") |
|
| 105 | - */ |
|
| 106 | - private $vendorTime; |
|
| 107 | - |
|
| 108 | - /** |
|
| 109 | - * @JsonProperty(String, "end_time") |
|
| 110 | - */ |
|
| 111 | - private $endTime; |
|
| 112 | - |
|
| 113 | - /** |
|
| 114 | - * @JsonProperty(Integer, "channel") |
|
| 115 | - */ |
|
| 116 | - private $channel; |
|
| 117 | - |
|
| 118 | - /** |
|
| 119 | - * @JsonProperty(Integer, "id_card_check_in") |
|
| 120 | - */ |
|
| 121 | - private $idCardCheckIn; |
|
| 122 | - |
|
| 123 | - /** |
|
| 124 | - * @JsonProperty(String, "gate_no") |
|
| 125 | - */ |
|
| 126 | - private $gateNo; |
|
| 127 | - |
|
| 128 | - /** |
|
| 129 | - * @JsonProperty(String, "distance") |
|
| 130 | - */ |
|
| 131 | - private $distance; |
|
| 132 | - |
|
| 133 | - protected function setUserParams(&$params) |
|
| 134 | - { |
|
| 135 | - $this->setUserParam($params, "arrive_station", $this->arriveStation); |
|
| 136 | - $this->setUserParam($params, "arrive_station_code", $this->arriveStationCode); |
|
| 137 | - $this->setUserParam($params, "arrive_time", $this->arriveTime); |
|
| 138 | - $this->setUserParam($params, "code", $this->code); |
|
| 139 | - $this->setUserParam($params, "crh_order_id", $this->crhOrderId); |
|
| 140 | - $this->setUserParam($params, "depart_station", $this->departStation); |
|
| 141 | - $this->setUserParam($params, "depart_station_code", $this->departStationCode); |
|
| 142 | - $this->setUserParam($params, "depart_time", $this->departTime); |
|
| 143 | - $this->setUserParam($params, "msg", $this->msg); |
|
| 144 | - $this->setUserParam($params, "order_id", $this->orderId); |
|
| 145 | - $this->setUserParam($params, "order_ticket_price", $this->orderTicketPrice); |
|
| 146 | - $this->setUserParam($params, "order_time", $this->orderTime); |
|
| 147 | - $this->setUserParam($params, "passengers", $this->passengers); |
|
| 148 | - $this->setUserParam($params, "pdd_order_id", $this->pddOrderId); |
|
| 149 | - $this->setUserParam($params, "ticket_num", $this->ticketNum); |
|
| 150 | - $this->setUserParam($params, "train_date", $this->trainDate); |
|
| 151 | - $this->setUserParam($params, "train_no", $this->trainNo); |
|
| 152 | - $this->setUserParam($params, "travel_time", $this->travelTime); |
|
| 153 | - $this->setUserParam($params, "vendor_time", $this->vendorTime); |
|
| 154 | - $this->setUserParam($params, "end_time", $this->endTime); |
|
| 155 | - $this->setUserParam($params, "channel", $this->channel); |
|
| 156 | - $this->setUserParam($params, "id_card_check_in", $this->idCardCheckIn); |
|
| 157 | - $this->setUserParam($params, "gate_no", $this->gateNo); |
|
| 158 | - $this->setUserParam($params, "distance", $this->distance); |
|
| 159 | - |
|
| 160 | - } |
|
| 161 | - |
|
| 162 | - public function getVersion() |
|
| 163 | - { |
|
| 164 | - return "V1"; |
|
| 165 | - } |
|
| 166 | - |
|
| 167 | - public function getDataType() |
|
| 168 | - { |
|
| 169 | - return "JSON"; |
|
| 170 | - } |
|
| 171 | - |
|
| 172 | - public function getType() |
|
| 173 | - { |
|
| 174 | - return "pdd.train.callback.grab"; |
|
| 175 | - } |
|
| 176 | - |
|
| 177 | - public function setArriveStation($arriveStation) |
|
| 178 | - { |
|
| 179 | - $this->arriveStation = $arriveStation; |
|
| 180 | - } |
|
| 181 | - |
|
| 182 | - public function setArriveStationCode($arriveStationCode) |
|
| 183 | - { |
|
| 184 | - $this->arriveStationCode = $arriveStationCode; |
|
| 185 | - } |
|
| 186 | - |
|
| 187 | - public function setArriveTime($arriveTime) |
|
| 188 | - { |
|
| 189 | - $this->arriveTime = $arriveTime; |
|
| 190 | - } |
|
| 191 | - |
|
| 192 | - public function setCode($code) |
|
| 193 | - { |
|
| 194 | - $this->code = $code; |
|
| 195 | - } |
|
| 196 | - |
|
| 197 | - public function setCrhOrderId($crhOrderId) |
|
| 198 | - { |
|
| 199 | - $this->crhOrderId = $crhOrderId; |
|
| 200 | - } |
|
| 201 | - |
|
| 202 | - public function setDepartStation($departStation) |
|
| 203 | - { |
|
| 204 | - $this->departStation = $departStation; |
|
| 205 | - } |
|
| 206 | - |
|
| 207 | - public function setDepartStationCode($departStationCode) |
|
| 208 | - { |
|
| 209 | - $this->departStationCode = $departStationCode; |
|
| 210 | - } |
|
| 211 | - |
|
| 212 | - public function setDepartTime($departTime) |
|
| 213 | - { |
|
| 214 | - $this->departTime = $departTime; |
|
| 215 | - } |
|
| 216 | - |
|
| 217 | - public function setMsg($msg) |
|
| 218 | - { |
|
| 219 | - $this->msg = $msg; |
|
| 220 | - } |
|
| 221 | - |
|
| 222 | - public function setOrderId($orderId) |
|
| 223 | - { |
|
| 224 | - $this->orderId = $orderId; |
|
| 225 | - } |
|
| 226 | - |
|
| 227 | - public function setOrderTicketPrice($orderTicketPrice) |
|
| 228 | - { |
|
| 229 | - $this->orderTicketPrice = $orderTicketPrice; |
|
| 230 | - } |
|
| 231 | - |
|
| 232 | - public function setOrderTime($orderTime) |
|
| 233 | - { |
|
| 234 | - $this->orderTime = $orderTime; |
|
| 235 | - } |
|
| 236 | - |
|
| 237 | - public function setPassengers($passengers) |
|
| 238 | - { |
|
| 239 | - $this->passengers = $passengers; |
|
| 240 | - } |
|
| 241 | - |
|
| 242 | - public function setPddOrderId($pddOrderId) |
|
| 243 | - { |
|
| 244 | - $this->pddOrderId = $pddOrderId; |
|
| 245 | - } |
|
| 246 | - |
|
| 247 | - public function setTicketNum($ticketNum) |
|
| 248 | - { |
|
| 249 | - $this->ticketNum = $ticketNum; |
|
| 250 | - } |
|
| 251 | - |
|
| 252 | - public function setTrainDate($trainDate) |
|
| 253 | - { |
|
| 254 | - $this->trainDate = $trainDate; |
|
| 255 | - } |
|
| 256 | - |
|
| 257 | - public function setTrainNo($trainNo) |
|
| 258 | - { |
|
| 259 | - $this->trainNo = $trainNo; |
|
| 260 | - } |
|
| 261 | - |
|
| 262 | - public function setTravelTime($travelTime) |
|
| 263 | - { |
|
| 264 | - $this->travelTime = $travelTime; |
|
| 265 | - } |
|
| 266 | - |
|
| 267 | - public function setVendorTime($vendorTime) |
|
| 268 | - { |
|
| 269 | - $this->vendorTime = $vendorTime; |
|
| 270 | - } |
|
| 271 | - |
|
| 272 | - public function setEndTime($endTime) |
|
| 273 | - { |
|
| 274 | - $this->endTime = $endTime; |
|
| 275 | - } |
|
| 276 | - |
|
| 277 | - public function setChannel($channel) |
|
| 278 | - { |
|
| 279 | - $this->channel = $channel; |
|
| 280 | - } |
|
| 281 | - |
|
| 282 | - public function setIdCardCheckIn($idCardCheckIn) |
|
| 283 | - { |
|
| 284 | - $this->idCardCheckIn = $idCardCheckIn; |
|
| 285 | - } |
|
| 286 | - |
|
| 287 | - public function setGateNo($gateNo) |
|
| 288 | - { |
|
| 289 | - $this->gateNo = $gateNo; |
|
| 290 | - } |
|
| 291 | - |
|
| 292 | - public function setDistance($distance) |
|
| 293 | - { |
|
| 294 | - $this->distance = $distance; |
|
| 295 | - } |
|
| 10 | + { |
|
| 11 | + |
|
| 12 | + } |
|
| 13 | + /** |
|
| 14 | + * @JsonProperty(String, "arrive_station") |
|
| 15 | + */ |
|
| 16 | + private $arriveStation; |
|
| 17 | + |
|
| 18 | + /** |
|
| 19 | + * @JsonProperty(String, "arrive_station_code") |
|
| 20 | + */ |
|
| 21 | + private $arriveStationCode; |
|
| 22 | + |
|
| 23 | + /** |
|
| 24 | + * @JsonProperty(String, "arrive_time") |
|
| 25 | + */ |
|
| 26 | + private $arriveTime; |
|
| 27 | + |
|
| 28 | + /** |
|
| 29 | + * @JsonProperty(Integer, "code") |
|
| 30 | + */ |
|
| 31 | + private $code; |
|
| 32 | + |
|
| 33 | + /** |
|
| 34 | + * @JsonProperty(String, "crh_order_id") |
|
| 35 | + */ |
|
| 36 | + private $crhOrderId; |
|
| 37 | + |
|
| 38 | + /** |
|
| 39 | + * @JsonProperty(String, "depart_station") |
|
| 40 | + */ |
|
| 41 | + private $departStation; |
|
| 42 | + |
|
| 43 | + /** |
|
| 44 | + * @JsonProperty(String, "depart_station_code") |
|
| 45 | + */ |
|
| 46 | + private $departStationCode; |
|
| 47 | + |
|
| 48 | + /** |
|
| 49 | + * @JsonProperty(String, "depart_time") |
|
| 50 | + */ |
|
| 51 | + private $departTime; |
|
| 52 | + |
|
| 53 | + /** |
|
| 54 | + * @JsonProperty(String, "msg") |
|
| 55 | + */ |
|
| 56 | + private $msg; |
|
| 57 | + |
|
| 58 | + /** |
|
| 59 | + * @JsonProperty(String, "order_id") |
|
| 60 | + */ |
|
| 61 | + private $orderId; |
|
| 62 | + |
|
| 63 | + /** |
|
| 64 | + * @JsonProperty(Long, "order_ticket_price") |
|
| 65 | + */ |
|
| 66 | + private $orderTicketPrice; |
|
| 67 | + |
|
| 68 | + /** |
|
| 69 | + * @JsonProperty(String, "order_time") |
|
| 70 | + */ |
|
| 71 | + private $orderTime; |
|
| 72 | + |
|
| 73 | + /** |
|
| 74 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTrainCallbackGrabRequest_PassengersItem>, "passengers") |
|
| 75 | + */ |
|
| 76 | + private $passengers; |
|
| 77 | + |
|
| 78 | + /** |
|
| 79 | + * @JsonProperty(String, "pdd_order_id") |
|
| 80 | + */ |
|
| 81 | + private $pddOrderId; |
|
| 82 | + |
|
| 83 | + /** |
|
| 84 | + * @JsonProperty(Integer, "ticket_num") |
|
| 85 | + */ |
|
| 86 | + private $ticketNum; |
|
| 87 | + |
|
| 88 | + /** |
|
| 89 | + * @JsonProperty(String, "train_date") |
|
| 90 | + */ |
|
| 91 | + private $trainDate; |
|
| 92 | + |
|
| 93 | + /** |
|
| 94 | + * @JsonProperty(String, "train_no") |
|
| 95 | + */ |
|
| 96 | + private $trainNo; |
|
| 97 | + |
|
| 98 | + /** |
|
| 99 | + * @JsonProperty(String, "travel_time") |
|
| 100 | + */ |
|
| 101 | + private $travelTime; |
|
| 102 | + |
|
| 103 | + /** |
|
| 104 | + * @JsonProperty(String, "vendor_time") |
|
| 105 | + */ |
|
| 106 | + private $vendorTime; |
|
| 107 | + |
|
| 108 | + /** |
|
| 109 | + * @JsonProperty(String, "end_time") |
|
| 110 | + */ |
|
| 111 | + private $endTime; |
|
| 112 | + |
|
| 113 | + /** |
|
| 114 | + * @JsonProperty(Integer, "channel") |
|
| 115 | + */ |
|
| 116 | + private $channel; |
|
| 117 | + |
|
| 118 | + /** |
|
| 119 | + * @JsonProperty(Integer, "id_card_check_in") |
|
| 120 | + */ |
|
| 121 | + private $idCardCheckIn; |
|
| 122 | + |
|
| 123 | + /** |
|
| 124 | + * @JsonProperty(String, "gate_no") |
|
| 125 | + */ |
|
| 126 | + private $gateNo; |
|
| 127 | + |
|
| 128 | + /** |
|
| 129 | + * @JsonProperty(String, "distance") |
|
| 130 | + */ |
|
| 131 | + private $distance; |
|
| 132 | + |
|
| 133 | + protected function setUserParams(&$params) |
|
| 134 | + { |
|
| 135 | + $this->setUserParam($params, "arrive_station", $this->arriveStation); |
|
| 136 | + $this->setUserParam($params, "arrive_station_code", $this->arriveStationCode); |
|
| 137 | + $this->setUserParam($params, "arrive_time", $this->arriveTime); |
|
| 138 | + $this->setUserParam($params, "code", $this->code); |
|
| 139 | + $this->setUserParam($params, "crh_order_id", $this->crhOrderId); |
|
| 140 | + $this->setUserParam($params, "depart_station", $this->departStation); |
|
| 141 | + $this->setUserParam($params, "depart_station_code", $this->departStationCode); |
|
| 142 | + $this->setUserParam($params, "depart_time", $this->departTime); |
|
| 143 | + $this->setUserParam($params, "msg", $this->msg); |
|
| 144 | + $this->setUserParam($params, "order_id", $this->orderId); |
|
| 145 | + $this->setUserParam($params, "order_ticket_price", $this->orderTicketPrice); |
|
| 146 | + $this->setUserParam($params, "order_time", $this->orderTime); |
|
| 147 | + $this->setUserParam($params, "passengers", $this->passengers); |
|
| 148 | + $this->setUserParam($params, "pdd_order_id", $this->pddOrderId); |
|
| 149 | + $this->setUserParam($params, "ticket_num", $this->ticketNum); |
|
| 150 | + $this->setUserParam($params, "train_date", $this->trainDate); |
|
| 151 | + $this->setUserParam($params, "train_no", $this->trainNo); |
|
| 152 | + $this->setUserParam($params, "travel_time", $this->travelTime); |
|
| 153 | + $this->setUserParam($params, "vendor_time", $this->vendorTime); |
|
| 154 | + $this->setUserParam($params, "end_time", $this->endTime); |
|
| 155 | + $this->setUserParam($params, "channel", $this->channel); |
|
| 156 | + $this->setUserParam($params, "id_card_check_in", $this->idCardCheckIn); |
|
| 157 | + $this->setUserParam($params, "gate_no", $this->gateNo); |
|
| 158 | + $this->setUserParam($params, "distance", $this->distance); |
|
| 159 | + |
|
| 160 | + } |
|
| 161 | + |
|
| 162 | + public function getVersion() |
|
| 163 | + { |
|
| 164 | + return "V1"; |
|
| 165 | + } |
|
| 166 | + |
|
| 167 | + public function getDataType() |
|
| 168 | + { |
|
| 169 | + return "JSON"; |
|
| 170 | + } |
|
| 171 | + |
|
| 172 | + public function getType() |
|
| 173 | + { |
|
| 174 | + return "pdd.train.callback.grab"; |
|
| 175 | + } |
|
| 176 | + |
|
| 177 | + public function setArriveStation($arriveStation) |
|
| 178 | + { |
|
| 179 | + $this->arriveStation = $arriveStation; |
|
| 180 | + } |
|
| 181 | + |
|
| 182 | + public function setArriveStationCode($arriveStationCode) |
|
| 183 | + { |
|
| 184 | + $this->arriveStationCode = $arriveStationCode; |
|
| 185 | + } |
|
| 186 | + |
|
| 187 | + public function setArriveTime($arriveTime) |
|
| 188 | + { |
|
| 189 | + $this->arriveTime = $arriveTime; |
|
| 190 | + } |
|
| 191 | + |
|
| 192 | + public function setCode($code) |
|
| 193 | + { |
|
| 194 | + $this->code = $code; |
|
| 195 | + } |
|
| 196 | + |
|
| 197 | + public function setCrhOrderId($crhOrderId) |
|
| 198 | + { |
|
| 199 | + $this->crhOrderId = $crhOrderId; |
|
| 200 | + } |
|
| 201 | + |
|
| 202 | + public function setDepartStation($departStation) |
|
| 203 | + { |
|
| 204 | + $this->departStation = $departStation; |
|
| 205 | + } |
|
| 206 | + |
|
| 207 | + public function setDepartStationCode($departStationCode) |
|
| 208 | + { |
|
| 209 | + $this->departStationCode = $departStationCode; |
|
| 210 | + } |
|
| 211 | + |
|
| 212 | + public function setDepartTime($departTime) |
|
| 213 | + { |
|
| 214 | + $this->departTime = $departTime; |
|
| 215 | + } |
|
| 216 | + |
|
| 217 | + public function setMsg($msg) |
|
| 218 | + { |
|
| 219 | + $this->msg = $msg; |
|
| 220 | + } |
|
| 221 | + |
|
| 222 | + public function setOrderId($orderId) |
|
| 223 | + { |
|
| 224 | + $this->orderId = $orderId; |
|
| 225 | + } |
|
| 226 | + |
|
| 227 | + public function setOrderTicketPrice($orderTicketPrice) |
|
| 228 | + { |
|
| 229 | + $this->orderTicketPrice = $orderTicketPrice; |
|
| 230 | + } |
|
| 231 | + |
|
| 232 | + public function setOrderTime($orderTime) |
|
| 233 | + { |
|
| 234 | + $this->orderTime = $orderTime; |
|
| 235 | + } |
|
| 236 | + |
|
| 237 | + public function setPassengers($passengers) |
|
| 238 | + { |
|
| 239 | + $this->passengers = $passengers; |
|
| 240 | + } |
|
| 241 | + |
|
| 242 | + public function setPddOrderId($pddOrderId) |
|
| 243 | + { |
|
| 244 | + $this->pddOrderId = $pddOrderId; |
|
| 245 | + } |
|
| 246 | + |
|
| 247 | + public function setTicketNum($ticketNum) |
|
| 248 | + { |
|
| 249 | + $this->ticketNum = $ticketNum; |
|
| 250 | + } |
|
| 251 | + |
|
| 252 | + public function setTrainDate($trainDate) |
|
| 253 | + { |
|
| 254 | + $this->trainDate = $trainDate; |
|
| 255 | + } |
|
| 256 | + |
|
| 257 | + public function setTrainNo($trainNo) |
|
| 258 | + { |
|
| 259 | + $this->trainNo = $trainNo; |
|
| 260 | + } |
|
| 261 | + |
|
| 262 | + public function setTravelTime($travelTime) |
|
| 263 | + { |
|
| 264 | + $this->travelTime = $travelTime; |
|
| 265 | + } |
|
| 266 | + |
|
| 267 | + public function setVendorTime($vendorTime) |
|
| 268 | + { |
|
| 269 | + $this->vendorTime = $vendorTime; |
|
| 270 | + } |
|
| 271 | + |
|
| 272 | + public function setEndTime($endTime) |
|
| 273 | + { |
|
| 274 | + $this->endTime = $endTime; |
|
| 275 | + } |
|
| 276 | + |
|
| 277 | + public function setChannel($channel) |
|
| 278 | + { |
|
| 279 | + $this->channel = $channel; |
|
| 280 | + } |
|
| 281 | + |
|
| 282 | + public function setIdCardCheckIn($idCardCheckIn) |
|
| 283 | + { |
|
| 284 | + $this->idCardCheckIn = $idCardCheckIn; |
|
| 285 | + } |
|
| 286 | + |
|
| 287 | + public function setGateNo($gateNo) |
|
| 288 | + { |
|
| 289 | + $this->gateNo = $gateNo; |
|
| 290 | + } |
|
| 291 | + |
|
| 292 | + public function setDistance($distance) |
|
| 293 | + { |
|
| 294 | + $this->distance = $distance; |
|
| 295 | + } |
|
| 296 | 296 | |
| 297 | 297 | } |
| 298 | 298 | |
| 299 | 299 | class PddTrainCallbackGrabRequest_PassengersItem extends PopBaseJsonEntity |
| 300 | 300 | { |
| 301 | 301 | |
| 302 | - public function __construct() |
|
| 303 | - { |
|
| 304 | - |
|
| 305 | - } |
|
| 306 | - |
|
| 307 | - /** |
|
| 308 | - * @JsonProperty(String, "card_no") |
|
| 309 | - */ |
|
| 310 | - private $cardNo; |
|
| 311 | - |
|
| 312 | - /** |
|
| 313 | - * @JsonProperty(String, "card_type") |
|
| 314 | - */ |
|
| 315 | - private $cardType; |
|
| 316 | - |
|
| 317 | - /** |
|
| 318 | - * @JsonProperty(String, "coach_no") |
|
| 319 | - */ |
|
| 320 | - private $coachNo; |
|
| 321 | - |
|
| 322 | - /** |
|
| 323 | - * @JsonProperty(String, "name") |
|
| 324 | - */ |
|
| 325 | - private $name; |
|
| 326 | - |
|
| 327 | - /** |
|
| 328 | - * @JsonProperty(String, "seat_name") |
|
| 329 | - */ |
|
| 330 | - private $seatName; |
|
| 331 | - |
|
| 332 | - /** |
|
| 333 | - * @JsonProperty(String, "seat_no") |
|
| 334 | - */ |
|
| 335 | - private $seatNo; |
|
| 336 | - |
|
| 337 | - /** |
|
| 338 | - * @JsonProperty(Integer, "seat_type") |
|
| 339 | - */ |
|
| 340 | - private $seatType; |
|
| 341 | - |
|
| 342 | - /** |
|
| 343 | - * @JsonProperty(String, "seat_type_name") |
|
| 344 | - */ |
|
| 345 | - private $seatTypeName; |
|
| 346 | - |
|
| 347 | - /** |
|
| 348 | - * @JsonProperty(Integer, "status") |
|
| 349 | - */ |
|
| 350 | - private $status; |
|
| 351 | - |
|
| 352 | - /** |
|
| 353 | - * @JsonProperty(String, "sub_order_id") |
|
| 354 | - */ |
|
| 355 | - private $subOrderId; |
|
| 356 | - |
|
| 357 | - /** |
|
| 358 | - * @JsonProperty(String, "sub_pdd_order_id") |
|
| 359 | - */ |
|
| 360 | - private $subPddOrderId; |
|
| 361 | - |
|
| 362 | - /** |
|
| 363 | - * @JsonProperty(Long, "ticket_price") |
|
| 364 | - */ |
|
| 365 | - private $ticketPrice; |
|
| 366 | - |
|
| 367 | - /** |
|
| 368 | - * @JsonProperty(Integer, "ticket_type") |
|
| 369 | - */ |
|
| 370 | - private $ticketType; |
|
| 371 | - |
|
| 372 | - public function setCardNo($cardNo) |
|
| 373 | - { |
|
| 374 | - $this->cardNo = $cardNo; |
|
| 375 | - } |
|
| 376 | - |
|
| 377 | - public function setCardType($cardType) |
|
| 378 | - { |
|
| 379 | - $this->cardType = $cardType; |
|
| 380 | - } |
|
| 381 | - |
|
| 382 | - public function setCoachNo($coachNo) |
|
| 383 | - { |
|
| 384 | - $this->coachNo = $coachNo; |
|
| 385 | - } |
|
| 386 | - |
|
| 387 | - public function setName($name) |
|
| 388 | - { |
|
| 389 | - $this->name = $name; |
|
| 390 | - } |
|
| 391 | - |
|
| 392 | - public function setSeatName($seatName) |
|
| 393 | - { |
|
| 394 | - $this->seatName = $seatName; |
|
| 395 | - } |
|
| 396 | - |
|
| 397 | - public function setSeatNo($seatNo) |
|
| 398 | - { |
|
| 399 | - $this->seatNo = $seatNo; |
|
| 400 | - } |
|
| 401 | - |
|
| 402 | - public function setSeatType($seatType) |
|
| 403 | - { |
|
| 404 | - $this->seatType = $seatType; |
|
| 405 | - } |
|
| 406 | - |
|
| 407 | - public function setSeatTypeName($seatTypeName) |
|
| 408 | - { |
|
| 409 | - $this->seatTypeName = $seatTypeName; |
|
| 410 | - } |
|
| 411 | - |
|
| 412 | - public function setStatus($status) |
|
| 413 | - { |
|
| 414 | - $this->status = $status; |
|
| 415 | - } |
|
| 416 | - |
|
| 417 | - public function setSubOrderId($subOrderId) |
|
| 418 | - { |
|
| 419 | - $this->subOrderId = $subOrderId; |
|
| 420 | - } |
|
| 421 | - |
|
| 422 | - public function setSubPddOrderId($subPddOrderId) |
|
| 423 | - { |
|
| 424 | - $this->subPddOrderId = $subPddOrderId; |
|
| 425 | - } |
|
| 426 | - |
|
| 427 | - public function setTicketPrice($ticketPrice) |
|
| 428 | - { |
|
| 429 | - $this->ticketPrice = $ticketPrice; |
|
| 430 | - } |
|
| 431 | - |
|
| 432 | - public function setTicketType($ticketType) |
|
| 433 | - { |
|
| 434 | - $this->ticketType = $ticketType; |
|
| 435 | - } |
|
| 302 | + public function __construct() |
|
| 303 | + { |
|
| 304 | + |
|
| 305 | + } |
|
| 306 | + |
|
| 307 | + /** |
|
| 308 | + * @JsonProperty(String, "card_no") |
|
| 309 | + */ |
|
| 310 | + private $cardNo; |
|
| 311 | + |
|
| 312 | + /** |
|
| 313 | + * @JsonProperty(String, "card_type") |
|
| 314 | + */ |
|
| 315 | + private $cardType; |
|
| 316 | + |
|
| 317 | + /** |
|
| 318 | + * @JsonProperty(String, "coach_no") |
|
| 319 | + */ |
|
| 320 | + private $coachNo; |
|
| 321 | + |
|
| 322 | + /** |
|
| 323 | + * @JsonProperty(String, "name") |
|
| 324 | + */ |
|
| 325 | + private $name; |
|
| 326 | + |
|
| 327 | + /** |
|
| 328 | + * @JsonProperty(String, "seat_name") |
|
| 329 | + */ |
|
| 330 | + private $seatName; |
|
| 331 | + |
|
| 332 | + /** |
|
| 333 | + * @JsonProperty(String, "seat_no") |
|
| 334 | + */ |
|
| 335 | + private $seatNo; |
|
| 336 | + |
|
| 337 | + /** |
|
| 338 | + * @JsonProperty(Integer, "seat_type") |
|
| 339 | + */ |
|
| 340 | + private $seatType; |
|
| 341 | + |
|
| 342 | + /** |
|
| 343 | + * @JsonProperty(String, "seat_type_name") |
|
| 344 | + */ |
|
| 345 | + private $seatTypeName; |
|
| 346 | + |
|
| 347 | + /** |
|
| 348 | + * @JsonProperty(Integer, "status") |
|
| 349 | + */ |
|
| 350 | + private $status; |
|
| 351 | + |
|
| 352 | + /** |
|
| 353 | + * @JsonProperty(String, "sub_order_id") |
|
| 354 | + */ |
|
| 355 | + private $subOrderId; |
|
| 356 | + |
|
| 357 | + /** |
|
| 358 | + * @JsonProperty(String, "sub_pdd_order_id") |
|
| 359 | + */ |
|
| 360 | + private $subPddOrderId; |
|
| 361 | + |
|
| 362 | + /** |
|
| 363 | + * @JsonProperty(Long, "ticket_price") |
|
| 364 | + */ |
|
| 365 | + private $ticketPrice; |
|
| 366 | + |
|
| 367 | + /** |
|
| 368 | + * @JsonProperty(Integer, "ticket_type") |
|
| 369 | + */ |
|
| 370 | + private $ticketType; |
|
| 371 | + |
|
| 372 | + public function setCardNo($cardNo) |
|
| 373 | + { |
|
| 374 | + $this->cardNo = $cardNo; |
|
| 375 | + } |
|
| 376 | + |
|
| 377 | + public function setCardType($cardType) |
|
| 378 | + { |
|
| 379 | + $this->cardType = $cardType; |
|
| 380 | + } |
|
| 381 | + |
|
| 382 | + public function setCoachNo($coachNo) |
|
| 383 | + { |
|
| 384 | + $this->coachNo = $coachNo; |
|
| 385 | + } |
|
| 386 | + |
|
| 387 | + public function setName($name) |
|
| 388 | + { |
|
| 389 | + $this->name = $name; |
|
| 390 | + } |
|
| 391 | + |
|
| 392 | + public function setSeatName($seatName) |
|
| 393 | + { |
|
| 394 | + $this->seatName = $seatName; |
|
| 395 | + } |
|
| 396 | + |
|
| 397 | + public function setSeatNo($seatNo) |
|
| 398 | + { |
|
| 399 | + $this->seatNo = $seatNo; |
|
| 400 | + } |
|
| 401 | + |
|
| 402 | + public function setSeatType($seatType) |
|
| 403 | + { |
|
| 404 | + $this->seatType = $seatType; |
|
| 405 | + } |
|
| 406 | + |
|
| 407 | + public function setSeatTypeName($seatTypeName) |
|
| 408 | + { |
|
| 409 | + $this->seatTypeName = $seatTypeName; |
|
| 410 | + } |
|
| 411 | + |
|
| 412 | + public function setStatus($status) |
|
| 413 | + { |
|
| 414 | + $this->status = $status; |
|
| 415 | + } |
|
| 416 | + |
|
| 417 | + public function setSubOrderId($subOrderId) |
|
| 418 | + { |
|
| 419 | + $this->subOrderId = $subOrderId; |
|
| 420 | + } |
|
| 421 | + |
|
| 422 | + public function setSubPddOrderId($subPddOrderId) |
|
| 423 | + { |
|
| 424 | + $this->subPddOrderId = $subPddOrderId; |
|
| 425 | + } |
|
| 426 | + |
|
| 427 | + public function setTicketPrice($ticketPrice) |
|
| 428 | + { |
|
| 429 | + $this->ticketPrice = $ticketPrice; |
|
| 430 | + } |
|
| 431 | + |
|
| 432 | + public function setTicketType($ticketType) |
|
| 433 | + { |
|
| 434 | + $this->ticketType = $ticketType; |
|
| 435 | + } |
|
| 436 | 436 | |
| 437 | 437 | } |
@@ -7,38 +7,38 @@ |
||
| 7 | 7 | class PddTrainCancelReserveRequest extends PopBaseHttpRequest |
| 8 | 8 | { |
| 9 | 9 | public function __construct() |
| 10 | - { |
|
| 11 | - |
|
| 12 | - } |
|
| 13 | - /** |
|
| 14 | - * @JsonProperty(String, "order_id") |
|
| 15 | - */ |
|
| 16 | - private $orderId; |
|
| 17 | - |
|
| 18 | - protected function setUserParams(&$params) |
|
| 19 | - { |
|
| 20 | - $this->setUserParam($params, "order_id", $this->orderId); |
|
| 21 | - |
|
| 22 | - } |
|
| 23 | - |
|
| 24 | - public function getVersion() |
|
| 25 | - { |
|
| 26 | - return "V1"; |
|
| 27 | - } |
|
| 28 | - |
|
| 29 | - public function getDataType() |
|
| 30 | - { |
|
| 31 | - return "JSON"; |
|
| 32 | - } |
|
| 33 | - |
|
| 34 | - public function getType() |
|
| 35 | - { |
|
| 36 | - return "pdd.train.cancel.reserve"; |
|
| 37 | - } |
|
| 38 | - |
|
| 39 | - public function setOrderId($orderId) |
|
| 40 | - { |
|
| 41 | - $this->orderId = $orderId; |
|
| 42 | - } |
|
| 10 | + { |
|
| 11 | + |
|
| 12 | + } |
|
| 13 | + /** |
|
| 14 | + * @JsonProperty(String, "order_id") |
|
| 15 | + */ |
|
| 16 | + private $orderId; |
|
| 17 | + |
|
| 18 | + protected function setUserParams(&$params) |
|
| 19 | + { |
|
| 20 | + $this->setUserParam($params, "order_id", $this->orderId); |
|
| 21 | + |
|
| 22 | + } |
|
| 23 | + |
|
| 24 | + public function getVersion() |
|
| 25 | + { |
|
| 26 | + return "V1"; |
|
| 27 | + } |
|
| 28 | + |
|
| 29 | + public function getDataType() |
|
| 30 | + { |
|
| 31 | + return "JSON"; |
|
| 32 | + } |
|
| 33 | + |
|
| 34 | + public function getType() |
|
| 35 | + { |
|
| 36 | + return "pdd.train.cancel.reserve"; |
|
| 37 | + } |
|
| 38 | + |
|
| 39 | + public function setOrderId($orderId) |
|
| 40 | + { |
|
| 41 | + $this->orderId = $orderId; |
|
| 42 | + } |
|
| 43 | 43 | |
| 44 | 44 | } |
@@ -7,78 +7,78 @@ |
||
| 7 | 7 | class PddWaybillQueryByWaybillcodeRequest extends PopBaseHttpRequest |
| 8 | 8 | { |
| 9 | 9 | public function __construct() |
| 10 | - { |
|
| 10 | + { |
|
| 11 | 11 | |
| 12 | - } |
|
| 13 | - /** |
|
| 14 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddWaybillQueryByWaybillcodeRequest_ParamListItem>, "param_list") |
|
| 15 | - */ |
|
| 16 | - private $paramList; |
|
| 12 | + } |
|
| 13 | + /** |
|
| 14 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddWaybillQueryByWaybillcodeRequest_ParamListItem>, "param_list") |
|
| 15 | + */ |
|
| 16 | + private $paramList; |
|
| 17 | 17 | |
| 18 | - protected function setUserParams(&$params) |
|
| 19 | - { |
|
| 20 | - $this->setUserParam($params, "param_list", $this->paramList); |
|
| 18 | + protected function setUserParams(&$params) |
|
| 19 | + { |
|
| 20 | + $this->setUserParam($params, "param_list", $this->paramList); |
|
| 21 | 21 | |
| 22 | - } |
|
| 22 | + } |
|
| 23 | 23 | |
| 24 | - public function getVersion() |
|
| 25 | - { |
|
| 26 | - return "V1"; |
|
| 27 | - } |
|
| 24 | + public function getVersion() |
|
| 25 | + { |
|
| 26 | + return "V1"; |
|
| 27 | + } |
|
| 28 | 28 | |
| 29 | - public function getDataType() |
|
| 30 | - { |
|
| 31 | - return "JSON"; |
|
| 32 | - } |
|
| 29 | + public function getDataType() |
|
| 30 | + { |
|
| 31 | + return "JSON"; |
|
| 32 | + } |
|
| 33 | 33 | |
| 34 | - public function getType() |
|
| 35 | - { |
|
| 36 | - return "pdd.waybill.query.by.waybillcode"; |
|
| 37 | - } |
|
| 34 | + public function getType() |
|
| 35 | + { |
|
| 36 | + return "pdd.waybill.query.by.waybillcode"; |
|
| 37 | + } |
|
| 38 | 38 | |
| 39 | - public function setParamList($paramList) |
|
| 40 | - { |
|
| 41 | - $this->paramList = $paramList; |
|
| 42 | - } |
|
| 39 | + public function setParamList($paramList) |
|
| 40 | + { |
|
| 41 | + $this->paramList = $paramList; |
|
| 42 | + } |
|
| 43 | 43 | |
| 44 | 44 | } |
| 45 | 45 | |
| 46 | 46 | class PddWaybillQueryByWaybillcodeRequest_ParamListItem extends PopBaseJsonEntity |
| 47 | 47 | { |
| 48 | 48 | |
| 49 | - public function __construct() |
|
| 50 | - { |
|
| 51 | - |
|
| 52 | - } |
|
| 53 | - |
|
| 54 | - /** |
|
| 55 | - * @JsonProperty(String, "object_id") |
|
| 56 | - */ |
|
| 57 | - private $objectId; |
|
| 58 | - |
|
| 59 | - /** |
|
| 60 | - * @JsonProperty(String, "waybill_code") |
|
| 61 | - */ |
|
| 62 | - private $waybillCode; |
|
| 63 | - |
|
| 64 | - /** |
|
| 65 | - * @JsonProperty(String, "wp_code") |
|
| 66 | - */ |
|
| 67 | - private $wpCode; |
|
| 68 | - |
|
| 69 | - public function setObjectId($objectId) |
|
| 70 | - { |
|
| 71 | - $this->objectId = $objectId; |
|
| 72 | - } |
|
| 73 | - |
|
| 74 | - public function setWaybillCode($waybillCode) |
|
| 75 | - { |
|
| 76 | - $this->waybillCode = $waybillCode; |
|
| 77 | - } |
|
| 78 | - |
|
| 79 | - public function setWpCode($wpCode) |
|
| 80 | - { |
|
| 81 | - $this->wpCode = $wpCode; |
|
| 82 | - } |
|
| 49 | + public function __construct() |
|
| 50 | + { |
|
| 51 | + |
|
| 52 | + } |
|
| 53 | + |
|
| 54 | + /** |
|
| 55 | + * @JsonProperty(String, "object_id") |
|
| 56 | + */ |
|
| 57 | + private $objectId; |
|
| 58 | + |
|
| 59 | + /** |
|
| 60 | + * @JsonProperty(String, "waybill_code") |
|
| 61 | + */ |
|
| 62 | + private $waybillCode; |
|
| 63 | + |
|
| 64 | + /** |
|
| 65 | + * @JsonProperty(String, "wp_code") |
|
| 66 | + */ |
|
| 67 | + private $wpCode; |
|
| 68 | + |
|
| 69 | + public function setObjectId($objectId) |
|
| 70 | + { |
|
| 71 | + $this->objectId = $objectId; |
|
| 72 | + } |
|
| 73 | + |
|
| 74 | + public function setWaybillCode($waybillCode) |
|
| 75 | + { |
|
| 76 | + $this->waybillCode = $waybillCode; |
|
| 77 | + } |
|
| 78 | + |
|
| 79 | + public function setWpCode($wpCode) |
|
| 80 | + { |
|
| 81 | + $this->wpCode = $wpCode; |
|
| 82 | + } |
|
| 83 | 83 | |
| 84 | 84 | } |
@@ -7,49 +7,49 @@ |
||
| 7 | 7 | class PddTrainGrabCancelRequest extends PopBaseHttpRequest |
| 8 | 8 | { |
| 9 | 9 | public function __construct() |
| 10 | - { |
|
| 11 | - |
|
| 12 | - } |
|
| 13 | - /** |
|
| 14 | - * @JsonProperty(String, "order_id") |
|
| 15 | - */ |
|
| 16 | - private $orderId; |
|
| 17 | - |
|
| 18 | - /** |
|
| 19 | - * @JsonProperty(String, "pdd_order_id") |
|
| 20 | - */ |
|
| 21 | - private $pddOrderId; |
|
| 22 | - |
|
| 23 | - protected function setUserParams(&$params) |
|
| 24 | - { |
|
| 25 | - $this->setUserParam($params, "order_id", $this->orderId); |
|
| 26 | - $this->setUserParam($params, "pdd_order_id", $this->pddOrderId); |
|
| 27 | - |
|
| 28 | - } |
|
| 29 | - |
|
| 30 | - public function getVersion() |
|
| 31 | - { |
|
| 32 | - return "V1"; |
|
| 33 | - } |
|
| 34 | - |
|
| 35 | - public function getDataType() |
|
| 36 | - { |
|
| 37 | - return "JSON"; |
|
| 38 | - } |
|
| 39 | - |
|
| 40 | - public function getType() |
|
| 41 | - { |
|
| 42 | - return "pdd.train.grab.cancel"; |
|
| 43 | - } |
|
| 44 | - |
|
| 45 | - public function setOrderId($orderId) |
|
| 46 | - { |
|
| 47 | - $this->orderId = $orderId; |
|
| 48 | - } |
|
| 49 | - |
|
| 50 | - public function setPddOrderId($pddOrderId) |
|
| 51 | - { |
|
| 52 | - $this->pddOrderId = $pddOrderId; |
|
| 53 | - } |
|
| 10 | + { |
|
| 11 | + |
|
| 12 | + } |
|
| 13 | + /** |
|
| 14 | + * @JsonProperty(String, "order_id") |
|
| 15 | + */ |
|
| 16 | + private $orderId; |
|
| 17 | + |
|
| 18 | + /** |
|
| 19 | + * @JsonProperty(String, "pdd_order_id") |
|
| 20 | + */ |
|
| 21 | + private $pddOrderId; |
|
| 22 | + |
|
| 23 | + protected function setUserParams(&$params) |
|
| 24 | + { |
|
| 25 | + $this->setUserParam($params, "order_id", $this->orderId); |
|
| 26 | + $this->setUserParam($params, "pdd_order_id", $this->pddOrderId); |
|
| 27 | + |
|
| 28 | + } |
|
| 29 | + |
|
| 30 | + public function getVersion() |
|
| 31 | + { |
|
| 32 | + return "V1"; |
|
| 33 | + } |
|
| 34 | + |
|
| 35 | + public function getDataType() |
|
| 36 | + { |
|
| 37 | + return "JSON"; |
|
| 38 | + } |
|
| 39 | + |
|
| 40 | + public function getType() |
|
| 41 | + { |
|
| 42 | + return "pdd.train.grab.cancel"; |
|
| 43 | + } |
|
| 44 | + |
|
| 45 | + public function setOrderId($orderId) |
|
| 46 | + { |
|
| 47 | + $this->orderId = $orderId; |
|
| 48 | + } |
|
| 49 | + |
|
| 50 | + public function setPddOrderId($pddOrderId) |
|
| 51 | + { |
|
| 52 | + $this->pddOrderId = $pddOrderId; |
|
| 53 | + } |
|
| 54 | 54 | |
| 55 | 55 | } |
@@ -7,49 +7,49 @@ |
||
| 7 | 7 | class PddTicketVerificationNotifycationRequest extends PopBaseHttpRequest |
| 8 | 8 | { |
| 9 | 9 | public function __construct() |
| 10 | - { |
|
| 11 | - |
|
| 12 | - } |
|
| 13 | - /** |
|
| 14 | - * @JsonProperty(String, "order_no") |
|
| 15 | - */ |
|
| 16 | - private $orderNo; |
|
| 17 | - |
|
| 18 | - /** |
|
| 19 | - * @JsonProperty(Long, "verify_time") |
|
| 20 | - */ |
|
| 21 | - private $verifyTime; |
|
| 22 | - |
|
| 23 | - protected function setUserParams(&$params) |
|
| 24 | - { |
|
| 25 | - $this->setUserParam($params, "order_no", $this->orderNo); |
|
| 26 | - $this->setUserParam($params, "verify_time", $this->verifyTime); |
|
| 27 | - |
|
| 28 | - } |
|
| 29 | - |
|
| 30 | - public function getVersion() |
|
| 31 | - { |
|
| 32 | - return "V1"; |
|
| 33 | - } |
|
| 34 | - |
|
| 35 | - public function getDataType() |
|
| 36 | - { |
|
| 37 | - return "JSON"; |
|
| 38 | - } |
|
| 39 | - |
|
| 40 | - public function getType() |
|
| 41 | - { |
|
| 42 | - return "pdd.ticket.verification.notifycation"; |
|
| 43 | - } |
|
| 44 | - |
|
| 45 | - public function setOrderNo($orderNo) |
|
| 46 | - { |
|
| 47 | - $this->orderNo = $orderNo; |
|
| 48 | - } |
|
| 49 | - |
|
| 50 | - public function setVerifyTime($verifyTime) |
|
| 51 | - { |
|
| 52 | - $this->verifyTime = $verifyTime; |
|
| 53 | - } |
|
| 10 | + { |
|
| 11 | + |
|
| 12 | + } |
|
| 13 | + /** |
|
| 14 | + * @JsonProperty(String, "order_no") |
|
| 15 | + */ |
|
| 16 | + private $orderNo; |
|
| 17 | + |
|
| 18 | + /** |
|
| 19 | + * @JsonProperty(Long, "verify_time") |
|
| 20 | + */ |
|
| 21 | + private $verifyTime; |
|
| 22 | + |
|
| 23 | + protected function setUserParams(&$params) |
|
| 24 | + { |
|
| 25 | + $this->setUserParam($params, "order_no", $this->orderNo); |
|
| 26 | + $this->setUserParam($params, "verify_time", $this->verifyTime); |
|
| 27 | + |
|
| 28 | + } |
|
| 29 | + |
|
| 30 | + public function getVersion() |
|
| 31 | + { |
|
| 32 | + return "V1"; |
|
| 33 | + } |
|
| 34 | + |
|
| 35 | + public function getDataType() |
|
| 36 | + { |
|
| 37 | + return "JSON"; |
|
| 38 | + } |
|
| 39 | + |
|
| 40 | + public function getType() |
|
| 41 | + { |
|
| 42 | + return "pdd.ticket.verification.notifycation"; |
|
| 43 | + } |
|
| 44 | + |
|
| 45 | + public function setOrderNo($orderNo) |
|
| 46 | + { |
|
| 47 | + $this->orderNo = $orderNo; |
|
| 48 | + } |
|
| 49 | + |
|
| 50 | + public function setVerifyTime($verifyTime) |
|
| 51 | + { |
|
| 52 | + $this->verifyTime = $verifyTime; |
|
| 53 | + } |
|
| 54 | 54 | |
| 55 | 55 | } |
@@ -7,49 +7,49 @@ |
||
| 7 | 7 | class PddTicketSkuRuleGetRequest extends PopBaseHttpRequest |
| 8 | 8 | { |
| 9 | 9 | public function __construct() |
| 10 | - { |
|
| 11 | - |
|
| 12 | - } |
|
| 13 | - /** |
|
| 14 | - * @JsonProperty(String, "out_rule_id") |
|
| 15 | - */ |
|
| 16 | - private $outRuleId; |
|
| 17 | - |
|
| 18 | - /** |
|
| 19 | - * @JsonProperty(String, "rule_id") |
|
| 20 | - */ |
|
| 21 | - private $ruleId; |
|
| 22 | - |
|
| 23 | - protected function setUserParams(&$params) |
|
| 24 | - { |
|
| 25 | - $this->setUserParam($params, "out_rule_id", $this->outRuleId); |
|
| 26 | - $this->setUserParam($params, "rule_id", $this->ruleId); |
|
| 27 | - |
|
| 28 | - } |
|
| 29 | - |
|
| 30 | - public function getVersion() |
|
| 31 | - { |
|
| 32 | - return "V1"; |
|
| 33 | - } |
|
| 34 | - |
|
| 35 | - public function getDataType() |
|
| 36 | - { |
|
| 37 | - return "JSON"; |
|
| 38 | - } |
|
| 39 | - |
|
| 40 | - public function getType() |
|
| 41 | - { |
|
| 42 | - return "pdd.ticket.sku.rule.get"; |
|
| 43 | - } |
|
| 44 | - |
|
| 45 | - public function setOutRuleId($outRuleId) |
|
| 46 | - { |
|
| 47 | - $this->outRuleId = $outRuleId; |
|
| 48 | - } |
|
| 49 | - |
|
| 50 | - public function setRuleId($ruleId) |
|
| 51 | - { |
|
| 52 | - $this->ruleId = $ruleId; |
|
| 53 | - } |
|
| 10 | + { |
|
| 11 | + |
|
| 12 | + } |
|
| 13 | + /** |
|
| 14 | + * @JsonProperty(String, "out_rule_id") |
|
| 15 | + */ |
|
| 16 | + private $outRuleId; |
|
| 17 | + |
|
| 18 | + /** |
|
| 19 | + * @JsonProperty(String, "rule_id") |
|
| 20 | + */ |
|
| 21 | + private $ruleId; |
|
| 22 | + |
|
| 23 | + protected function setUserParams(&$params) |
|
| 24 | + { |
|
| 25 | + $this->setUserParam($params, "out_rule_id", $this->outRuleId); |
|
| 26 | + $this->setUserParam($params, "rule_id", $this->ruleId); |
|
| 27 | + |
|
| 28 | + } |
|
| 29 | + |
|
| 30 | + public function getVersion() |
|
| 31 | + { |
|
| 32 | + return "V1"; |
|
| 33 | + } |
|
| 34 | + |
|
| 35 | + public function getDataType() |
|
| 36 | + { |
|
| 37 | + return "JSON"; |
|
| 38 | + } |
|
| 39 | + |
|
| 40 | + public function getType() |
|
| 41 | + { |
|
| 42 | + return "pdd.ticket.sku.rule.get"; |
|
| 43 | + } |
|
| 44 | + |
|
| 45 | + public function setOutRuleId($outRuleId) |
|
| 46 | + { |
|
| 47 | + $this->outRuleId = $outRuleId; |
|
| 48 | + } |
|
| 49 | + |
|
| 50 | + public function setRuleId($ruleId) |
|
| 51 | + { |
|
| 52 | + $this->ruleId = $ruleId; |
|
| 53 | + } |
|
| 54 | 54 | |
| 55 | 55 | } |