@@ -7,38 +7,38 @@ |
||
| 7 | 7 | class PddLogisticsCsHistoryMessageGetRequest extends PopBaseHttpRequest |
| 8 | 8 | { |
| 9 | 9 | public function __construct() |
| 10 | - { |
|
| 11 | - |
|
| 12 | - } |
|
| 13 | - /** |
|
| 14 | - * @JsonProperty(String, "session_id") |
|
| 15 | - */ |
|
| 16 | - private $sessionId; |
|
| 17 | - |
|
| 18 | - protected function setUserParams(&$params) |
|
| 19 | - { |
|
| 20 | - $this->setUserParam($params, "session_id", $this->sessionId); |
|
| 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.logistics.cs.history.message.get"; |
|
| 37 | - } |
|
| 38 | - |
|
| 39 | - public function setSessionId($sessionId) |
|
| 40 | - { |
|
| 41 | - $this->sessionId = $sessionId; |
|
| 42 | - } |
|
| 10 | + { |
|
| 11 | + |
|
| 12 | + } |
|
| 13 | + /** |
|
| 14 | + * @JsonProperty(String, "session_id") |
|
| 15 | + */ |
|
| 16 | + private $sessionId; |
|
| 17 | + |
|
| 18 | + protected function setUserParams(&$params) |
|
| 19 | + { |
|
| 20 | + $this->setUserParam($params, "session_id", $this->sessionId); |
|
| 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.logistics.cs.history.message.get"; |
|
| 37 | + } |
|
| 38 | + |
|
| 39 | + public function setSessionId($sessionId) |
|
| 40 | + { |
|
| 41 | + $this->sessionId = $sessionId; |
|
| 42 | + } |
|
| 43 | 43 | |
| 44 | 44 | } |
@@ -7,269 +7,269 @@ |
||
| 7 | 7 | class PddInvoiceDetailUploadRequest extends PopBaseHttpRequest |
| 8 | 8 | { |
| 9 | 9 | public function __construct() |
| 10 | - { |
|
| 11 | - |
|
| 12 | - } |
|
| 13 | - /** |
|
| 14 | - * @JsonProperty(Integer, "business_type") |
|
| 15 | - */ |
|
| 16 | - private $businessType; |
|
| 17 | - |
|
| 18 | - /** |
|
| 19 | - * @JsonProperty(Long, "invoice_amount") |
|
| 20 | - */ |
|
| 21 | - private $invoiceAmount; |
|
| 22 | - |
|
| 23 | - /** |
|
| 24 | - * @JsonProperty(String, "invoice_code") |
|
| 25 | - */ |
|
| 26 | - private $invoiceCode; |
|
| 27 | - |
|
| 28 | - /** |
|
| 29 | - * @JsonProperty(String, "invoice_file_content") |
|
| 30 | - */ |
|
| 31 | - private $invoiceFileContent; |
|
| 32 | - |
|
| 33 | - /** |
|
| 34 | - * @JsonProperty(Integer, "invoice_kind") |
|
| 35 | - */ |
|
| 36 | - private $invoiceKind; |
|
| 37 | - |
|
| 38 | - /** |
|
| 39 | - * @JsonProperty(String, "invoice_no") |
|
| 40 | - */ |
|
| 41 | - private $invoiceNo; |
|
| 42 | - |
|
| 43 | - /** |
|
| 44 | - * @JsonProperty(Long, "invoice_time") |
|
| 45 | - */ |
|
| 46 | - private $invoiceTime; |
|
| 47 | - |
|
| 48 | - /** |
|
| 49 | - * @JsonProperty(Integer, "invoice_type") |
|
| 50 | - */ |
|
| 51 | - private $invoiceType; |
|
| 52 | - |
|
| 53 | - /** |
|
| 54 | - * @JsonProperty(String, "memo") |
|
| 55 | - */ |
|
| 56 | - private $memo; |
|
| 57 | - |
|
| 58 | - /** |
|
| 59 | - * @JsonProperty(String, "order_sn") |
|
| 60 | - */ |
|
| 61 | - private $orderSn; |
|
| 62 | - |
|
| 63 | - /** |
|
| 64 | - * @JsonProperty(String, "original_invoice_code") |
|
| 65 | - */ |
|
| 66 | - private $originalInvoiceCode; |
|
| 67 | - |
|
| 68 | - /** |
|
| 69 | - * @JsonProperty(String, "original_invoice_no") |
|
| 70 | - */ |
|
| 71 | - private $originalInvoiceNo; |
|
| 72 | - |
|
| 73 | - /** |
|
| 74 | - * @JsonProperty(String, "payee_operator") |
|
| 75 | - */ |
|
| 76 | - private $payeeOperator; |
|
| 77 | - |
|
| 78 | - /** |
|
| 79 | - * @JsonProperty(String, "payer_account") |
|
| 80 | - */ |
|
| 81 | - private $payerAccount; |
|
| 82 | - |
|
| 83 | - /** |
|
| 84 | - * @JsonProperty(String, "payer_address") |
|
| 85 | - */ |
|
| 86 | - private $payerAddress; |
|
| 87 | - |
|
| 88 | - /** |
|
| 89 | - * @JsonProperty(String, "payer_bank") |
|
| 90 | - */ |
|
| 91 | - private $payerBank; |
|
| 92 | - |
|
| 93 | - /** |
|
| 94 | - * @JsonProperty(String, "payer_name") |
|
| 95 | - */ |
|
| 96 | - private $payerName; |
|
| 97 | - |
|
| 98 | - /** |
|
| 99 | - * @JsonProperty(String, "payer_phone") |
|
| 100 | - */ |
|
| 101 | - private $payerPhone; |
|
| 102 | - |
|
| 103 | - /** |
|
| 104 | - * @JsonProperty(String, "payer_register_no") |
|
| 105 | - */ |
|
| 106 | - private $payerRegisterNo; |
|
| 107 | - |
|
| 108 | - /** |
|
| 109 | - * @JsonProperty(Long, "sum_price") |
|
| 110 | - */ |
|
| 111 | - private $sumPrice; |
|
| 112 | - |
|
| 113 | - /** |
|
| 114 | - * @JsonProperty(Integer, "sum_tax") |
|
| 115 | - */ |
|
| 116 | - private $sumTax; |
|
| 117 | - |
|
| 118 | - /** |
|
| 119 | - * @JsonProperty(Integer, "tax_rate") |
|
| 120 | - */ |
|
| 121 | - private $taxRate; |
|
| 122 | - |
|
| 123 | - protected function setUserParams(&$params) |
|
| 124 | - { |
|
| 125 | - $this->setUserParam($params, "business_type", $this->businessType); |
|
| 126 | - $this->setUserParam($params, "invoice_amount", $this->invoiceAmount); |
|
| 127 | - $this->setUserParam($params, "invoice_code", $this->invoiceCode); |
|
| 128 | - $this->setUserParam($params, "invoice_file_content", $this->invoiceFileContent); |
|
| 129 | - $this->setUserParam($params, "invoice_kind", $this->invoiceKind); |
|
| 130 | - $this->setUserParam($params, "invoice_no", $this->invoiceNo); |
|
| 131 | - $this->setUserParam($params, "invoice_time", $this->invoiceTime); |
|
| 132 | - $this->setUserParam($params, "invoice_type", $this->invoiceType); |
|
| 133 | - $this->setUserParam($params, "memo", $this->memo); |
|
| 134 | - $this->setUserParam($params, "order_sn", $this->orderSn); |
|
| 135 | - $this->setUserParam($params, "original_invoice_code", $this->originalInvoiceCode); |
|
| 136 | - $this->setUserParam($params, "original_invoice_no", $this->originalInvoiceNo); |
|
| 137 | - $this->setUserParam($params, "payee_operator", $this->payeeOperator); |
|
| 138 | - $this->setUserParam($params, "payer_account", $this->payerAccount); |
|
| 139 | - $this->setUserParam($params, "payer_address", $this->payerAddress); |
|
| 140 | - $this->setUserParam($params, "payer_bank", $this->payerBank); |
|
| 141 | - $this->setUserParam($params, "payer_name", $this->payerName); |
|
| 142 | - $this->setUserParam($params, "payer_phone", $this->payerPhone); |
|
| 143 | - $this->setUserParam($params, "payer_register_no", $this->payerRegisterNo); |
|
| 144 | - $this->setUserParam($params, "sum_price", $this->sumPrice); |
|
| 145 | - $this->setUserParam($params, "sum_tax", $this->sumTax); |
|
| 146 | - $this->setUserParam($params, "tax_rate", $this->taxRate); |
|
| 147 | - |
|
| 148 | - } |
|
| 149 | - |
|
| 150 | - public function getVersion() |
|
| 151 | - { |
|
| 152 | - return "V1"; |
|
| 153 | - } |
|
| 154 | - |
|
| 155 | - public function getDataType() |
|
| 156 | - { |
|
| 157 | - return "JSON"; |
|
| 158 | - } |
|
| 159 | - |
|
| 160 | - public function getType() |
|
| 161 | - { |
|
| 162 | - return "pdd.invoice.detail.upload"; |
|
| 163 | - } |
|
| 164 | - |
|
| 165 | - public function setBusinessType($businessType) |
|
| 166 | - { |
|
| 167 | - $this->businessType = $businessType; |
|
| 168 | - } |
|
| 169 | - |
|
| 170 | - public function setInvoiceAmount($invoiceAmount) |
|
| 171 | - { |
|
| 172 | - $this->invoiceAmount = $invoiceAmount; |
|
| 173 | - } |
|
| 174 | - |
|
| 175 | - public function setInvoiceCode($invoiceCode) |
|
| 176 | - { |
|
| 177 | - $this->invoiceCode = $invoiceCode; |
|
| 178 | - } |
|
| 179 | - |
|
| 180 | - public function setInvoiceFileContent($invoiceFileContent) |
|
| 181 | - { |
|
| 182 | - $this->invoiceFileContent = $invoiceFileContent; |
|
| 183 | - } |
|
| 184 | - |
|
| 185 | - public function setInvoiceKind($invoiceKind) |
|
| 186 | - { |
|
| 187 | - $this->invoiceKind = $invoiceKind; |
|
| 188 | - } |
|
| 189 | - |
|
| 190 | - public function setInvoiceNo($invoiceNo) |
|
| 191 | - { |
|
| 192 | - $this->invoiceNo = $invoiceNo; |
|
| 193 | - } |
|
| 194 | - |
|
| 195 | - public function setInvoiceTime($invoiceTime) |
|
| 196 | - { |
|
| 197 | - $this->invoiceTime = $invoiceTime; |
|
| 198 | - } |
|
| 199 | - |
|
| 200 | - public function setInvoiceType($invoiceType) |
|
| 201 | - { |
|
| 202 | - $this->invoiceType = $invoiceType; |
|
| 203 | - } |
|
| 204 | - |
|
| 205 | - public function setMemo($memo) |
|
| 206 | - { |
|
| 207 | - $this->memo = $memo; |
|
| 208 | - } |
|
| 209 | - |
|
| 210 | - public function setOrderSn($orderSn) |
|
| 211 | - { |
|
| 212 | - $this->orderSn = $orderSn; |
|
| 213 | - } |
|
| 214 | - |
|
| 215 | - public function setOriginalInvoiceCode($originalInvoiceCode) |
|
| 216 | - { |
|
| 217 | - $this->originalInvoiceCode = $originalInvoiceCode; |
|
| 218 | - } |
|
| 219 | - |
|
| 220 | - public function setOriginalInvoiceNo($originalInvoiceNo) |
|
| 221 | - { |
|
| 222 | - $this->originalInvoiceNo = $originalInvoiceNo; |
|
| 223 | - } |
|
| 224 | - |
|
| 225 | - public function setPayeeOperator($payeeOperator) |
|
| 226 | - { |
|
| 227 | - $this->payeeOperator = $payeeOperator; |
|
| 228 | - } |
|
| 229 | - |
|
| 230 | - public function setPayerAccount($payerAccount) |
|
| 231 | - { |
|
| 232 | - $this->payerAccount = $payerAccount; |
|
| 233 | - } |
|
| 234 | - |
|
| 235 | - public function setPayerAddress($payerAddress) |
|
| 236 | - { |
|
| 237 | - $this->payerAddress = $payerAddress; |
|
| 238 | - } |
|
| 239 | - |
|
| 240 | - public function setPayerBank($payerBank) |
|
| 241 | - { |
|
| 242 | - $this->payerBank = $payerBank; |
|
| 243 | - } |
|
| 244 | - |
|
| 245 | - public function setPayerName($payerName) |
|
| 246 | - { |
|
| 247 | - $this->payerName = $payerName; |
|
| 248 | - } |
|
| 249 | - |
|
| 250 | - public function setPayerPhone($payerPhone) |
|
| 251 | - { |
|
| 252 | - $this->payerPhone = $payerPhone; |
|
| 253 | - } |
|
| 254 | - |
|
| 255 | - public function setPayerRegisterNo($payerRegisterNo) |
|
| 256 | - { |
|
| 257 | - $this->payerRegisterNo = $payerRegisterNo; |
|
| 258 | - } |
|
| 259 | - |
|
| 260 | - public function setSumPrice($sumPrice) |
|
| 261 | - { |
|
| 262 | - $this->sumPrice = $sumPrice; |
|
| 263 | - } |
|
| 264 | - |
|
| 265 | - public function setSumTax($sumTax) |
|
| 266 | - { |
|
| 267 | - $this->sumTax = $sumTax; |
|
| 268 | - } |
|
| 269 | - |
|
| 270 | - public function setTaxRate($taxRate) |
|
| 271 | - { |
|
| 272 | - $this->taxRate = $taxRate; |
|
| 273 | - } |
|
| 10 | + { |
|
| 11 | + |
|
| 12 | + } |
|
| 13 | + /** |
|
| 14 | + * @JsonProperty(Integer, "business_type") |
|
| 15 | + */ |
|
| 16 | + private $businessType; |
|
| 17 | + |
|
| 18 | + /** |
|
| 19 | + * @JsonProperty(Long, "invoice_amount") |
|
| 20 | + */ |
|
| 21 | + private $invoiceAmount; |
|
| 22 | + |
|
| 23 | + /** |
|
| 24 | + * @JsonProperty(String, "invoice_code") |
|
| 25 | + */ |
|
| 26 | + private $invoiceCode; |
|
| 27 | + |
|
| 28 | + /** |
|
| 29 | + * @JsonProperty(String, "invoice_file_content") |
|
| 30 | + */ |
|
| 31 | + private $invoiceFileContent; |
|
| 32 | + |
|
| 33 | + /** |
|
| 34 | + * @JsonProperty(Integer, "invoice_kind") |
|
| 35 | + */ |
|
| 36 | + private $invoiceKind; |
|
| 37 | + |
|
| 38 | + /** |
|
| 39 | + * @JsonProperty(String, "invoice_no") |
|
| 40 | + */ |
|
| 41 | + private $invoiceNo; |
|
| 42 | + |
|
| 43 | + /** |
|
| 44 | + * @JsonProperty(Long, "invoice_time") |
|
| 45 | + */ |
|
| 46 | + private $invoiceTime; |
|
| 47 | + |
|
| 48 | + /** |
|
| 49 | + * @JsonProperty(Integer, "invoice_type") |
|
| 50 | + */ |
|
| 51 | + private $invoiceType; |
|
| 52 | + |
|
| 53 | + /** |
|
| 54 | + * @JsonProperty(String, "memo") |
|
| 55 | + */ |
|
| 56 | + private $memo; |
|
| 57 | + |
|
| 58 | + /** |
|
| 59 | + * @JsonProperty(String, "order_sn") |
|
| 60 | + */ |
|
| 61 | + private $orderSn; |
|
| 62 | + |
|
| 63 | + /** |
|
| 64 | + * @JsonProperty(String, "original_invoice_code") |
|
| 65 | + */ |
|
| 66 | + private $originalInvoiceCode; |
|
| 67 | + |
|
| 68 | + /** |
|
| 69 | + * @JsonProperty(String, "original_invoice_no") |
|
| 70 | + */ |
|
| 71 | + private $originalInvoiceNo; |
|
| 72 | + |
|
| 73 | + /** |
|
| 74 | + * @JsonProperty(String, "payee_operator") |
|
| 75 | + */ |
|
| 76 | + private $payeeOperator; |
|
| 77 | + |
|
| 78 | + /** |
|
| 79 | + * @JsonProperty(String, "payer_account") |
|
| 80 | + */ |
|
| 81 | + private $payerAccount; |
|
| 82 | + |
|
| 83 | + /** |
|
| 84 | + * @JsonProperty(String, "payer_address") |
|
| 85 | + */ |
|
| 86 | + private $payerAddress; |
|
| 87 | + |
|
| 88 | + /** |
|
| 89 | + * @JsonProperty(String, "payer_bank") |
|
| 90 | + */ |
|
| 91 | + private $payerBank; |
|
| 92 | + |
|
| 93 | + /** |
|
| 94 | + * @JsonProperty(String, "payer_name") |
|
| 95 | + */ |
|
| 96 | + private $payerName; |
|
| 97 | + |
|
| 98 | + /** |
|
| 99 | + * @JsonProperty(String, "payer_phone") |
|
| 100 | + */ |
|
| 101 | + private $payerPhone; |
|
| 102 | + |
|
| 103 | + /** |
|
| 104 | + * @JsonProperty(String, "payer_register_no") |
|
| 105 | + */ |
|
| 106 | + private $payerRegisterNo; |
|
| 107 | + |
|
| 108 | + /** |
|
| 109 | + * @JsonProperty(Long, "sum_price") |
|
| 110 | + */ |
|
| 111 | + private $sumPrice; |
|
| 112 | + |
|
| 113 | + /** |
|
| 114 | + * @JsonProperty(Integer, "sum_tax") |
|
| 115 | + */ |
|
| 116 | + private $sumTax; |
|
| 117 | + |
|
| 118 | + /** |
|
| 119 | + * @JsonProperty(Integer, "tax_rate") |
|
| 120 | + */ |
|
| 121 | + private $taxRate; |
|
| 122 | + |
|
| 123 | + protected function setUserParams(&$params) |
|
| 124 | + { |
|
| 125 | + $this->setUserParam($params, "business_type", $this->businessType); |
|
| 126 | + $this->setUserParam($params, "invoice_amount", $this->invoiceAmount); |
|
| 127 | + $this->setUserParam($params, "invoice_code", $this->invoiceCode); |
|
| 128 | + $this->setUserParam($params, "invoice_file_content", $this->invoiceFileContent); |
|
| 129 | + $this->setUserParam($params, "invoice_kind", $this->invoiceKind); |
|
| 130 | + $this->setUserParam($params, "invoice_no", $this->invoiceNo); |
|
| 131 | + $this->setUserParam($params, "invoice_time", $this->invoiceTime); |
|
| 132 | + $this->setUserParam($params, "invoice_type", $this->invoiceType); |
|
| 133 | + $this->setUserParam($params, "memo", $this->memo); |
|
| 134 | + $this->setUserParam($params, "order_sn", $this->orderSn); |
|
| 135 | + $this->setUserParam($params, "original_invoice_code", $this->originalInvoiceCode); |
|
| 136 | + $this->setUserParam($params, "original_invoice_no", $this->originalInvoiceNo); |
|
| 137 | + $this->setUserParam($params, "payee_operator", $this->payeeOperator); |
|
| 138 | + $this->setUserParam($params, "payer_account", $this->payerAccount); |
|
| 139 | + $this->setUserParam($params, "payer_address", $this->payerAddress); |
|
| 140 | + $this->setUserParam($params, "payer_bank", $this->payerBank); |
|
| 141 | + $this->setUserParam($params, "payer_name", $this->payerName); |
|
| 142 | + $this->setUserParam($params, "payer_phone", $this->payerPhone); |
|
| 143 | + $this->setUserParam($params, "payer_register_no", $this->payerRegisterNo); |
|
| 144 | + $this->setUserParam($params, "sum_price", $this->sumPrice); |
|
| 145 | + $this->setUserParam($params, "sum_tax", $this->sumTax); |
|
| 146 | + $this->setUserParam($params, "tax_rate", $this->taxRate); |
|
| 147 | + |
|
| 148 | + } |
|
| 149 | + |
|
| 150 | + public function getVersion() |
|
| 151 | + { |
|
| 152 | + return "V1"; |
|
| 153 | + } |
|
| 154 | + |
|
| 155 | + public function getDataType() |
|
| 156 | + { |
|
| 157 | + return "JSON"; |
|
| 158 | + } |
|
| 159 | + |
|
| 160 | + public function getType() |
|
| 161 | + { |
|
| 162 | + return "pdd.invoice.detail.upload"; |
|
| 163 | + } |
|
| 164 | + |
|
| 165 | + public function setBusinessType($businessType) |
|
| 166 | + { |
|
| 167 | + $this->businessType = $businessType; |
|
| 168 | + } |
|
| 169 | + |
|
| 170 | + public function setInvoiceAmount($invoiceAmount) |
|
| 171 | + { |
|
| 172 | + $this->invoiceAmount = $invoiceAmount; |
|
| 173 | + } |
|
| 174 | + |
|
| 175 | + public function setInvoiceCode($invoiceCode) |
|
| 176 | + { |
|
| 177 | + $this->invoiceCode = $invoiceCode; |
|
| 178 | + } |
|
| 179 | + |
|
| 180 | + public function setInvoiceFileContent($invoiceFileContent) |
|
| 181 | + { |
|
| 182 | + $this->invoiceFileContent = $invoiceFileContent; |
|
| 183 | + } |
|
| 184 | + |
|
| 185 | + public function setInvoiceKind($invoiceKind) |
|
| 186 | + { |
|
| 187 | + $this->invoiceKind = $invoiceKind; |
|
| 188 | + } |
|
| 189 | + |
|
| 190 | + public function setInvoiceNo($invoiceNo) |
|
| 191 | + { |
|
| 192 | + $this->invoiceNo = $invoiceNo; |
|
| 193 | + } |
|
| 194 | + |
|
| 195 | + public function setInvoiceTime($invoiceTime) |
|
| 196 | + { |
|
| 197 | + $this->invoiceTime = $invoiceTime; |
|
| 198 | + } |
|
| 199 | + |
|
| 200 | + public function setInvoiceType($invoiceType) |
|
| 201 | + { |
|
| 202 | + $this->invoiceType = $invoiceType; |
|
| 203 | + } |
|
| 204 | + |
|
| 205 | + public function setMemo($memo) |
|
| 206 | + { |
|
| 207 | + $this->memo = $memo; |
|
| 208 | + } |
|
| 209 | + |
|
| 210 | + public function setOrderSn($orderSn) |
|
| 211 | + { |
|
| 212 | + $this->orderSn = $orderSn; |
|
| 213 | + } |
|
| 214 | + |
|
| 215 | + public function setOriginalInvoiceCode($originalInvoiceCode) |
|
| 216 | + { |
|
| 217 | + $this->originalInvoiceCode = $originalInvoiceCode; |
|
| 218 | + } |
|
| 219 | + |
|
| 220 | + public function setOriginalInvoiceNo($originalInvoiceNo) |
|
| 221 | + { |
|
| 222 | + $this->originalInvoiceNo = $originalInvoiceNo; |
|
| 223 | + } |
|
| 224 | + |
|
| 225 | + public function setPayeeOperator($payeeOperator) |
|
| 226 | + { |
|
| 227 | + $this->payeeOperator = $payeeOperator; |
|
| 228 | + } |
|
| 229 | + |
|
| 230 | + public function setPayerAccount($payerAccount) |
|
| 231 | + { |
|
| 232 | + $this->payerAccount = $payerAccount; |
|
| 233 | + } |
|
| 234 | + |
|
| 235 | + public function setPayerAddress($payerAddress) |
|
| 236 | + { |
|
| 237 | + $this->payerAddress = $payerAddress; |
|
| 238 | + } |
|
| 239 | + |
|
| 240 | + public function setPayerBank($payerBank) |
|
| 241 | + { |
|
| 242 | + $this->payerBank = $payerBank; |
|
| 243 | + } |
|
| 244 | + |
|
| 245 | + public function setPayerName($payerName) |
|
| 246 | + { |
|
| 247 | + $this->payerName = $payerName; |
|
| 248 | + } |
|
| 249 | + |
|
| 250 | + public function setPayerPhone($payerPhone) |
|
| 251 | + { |
|
| 252 | + $this->payerPhone = $payerPhone; |
|
| 253 | + } |
|
| 254 | + |
|
| 255 | + public function setPayerRegisterNo($payerRegisterNo) |
|
| 256 | + { |
|
| 257 | + $this->payerRegisterNo = $payerRegisterNo; |
|
| 258 | + } |
|
| 259 | + |
|
| 260 | + public function setSumPrice($sumPrice) |
|
| 261 | + { |
|
| 262 | + $this->sumPrice = $sumPrice; |
|
| 263 | + } |
|
| 264 | + |
|
| 265 | + public function setSumTax($sumTax) |
|
| 266 | + { |
|
| 267 | + $this->sumTax = $sumTax; |
|
| 268 | + } |
|
| 269 | + |
|
| 270 | + public function setTaxRate($taxRate) |
|
| 271 | + { |
|
| 272 | + $this->taxRate = $taxRate; |
|
| 273 | + } |
|
| 274 | 274 | |
| 275 | 275 | } |
@@ -7,115 +7,115 @@ |
||
| 7 | 7 | class PddGoodsCpsUnitChangeRequest extends PopBaseHttpRequest |
| 8 | 8 | { |
| 9 | 9 | public function __construct() |
| 10 | - { |
|
| 11 | - |
|
| 12 | - } |
|
| 13 | - /** |
|
| 14 | - * @JsonProperty(Long, "goods_id") |
|
| 15 | - */ |
|
| 16 | - private $goodsId; |
|
| 17 | - |
|
| 18 | - /** |
|
| 19 | - * @JsonProperty(Long, "rate") |
|
| 20 | - */ |
|
| 21 | - private $rate; |
|
| 22 | - |
|
| 23 | - /** |
|
| 24 | - * @JsonProperty(Long, "coupon_id") |
|
| 25 | - */ |
|
| 26 | - private $couponId; |
|
| 27 | - |
|
| 28 | - /** |
|
| 29 | - * @JsonProperty(String, "coupon_start_time") |
|
| 30 | - */ |
|
| 31 | - private $couponStartTime; |
|
| 32 | - |
|
| 33 | - /** |
|
| 34 | - * @JsonProperty(String, "coupon_end_time") |
|
| 35 | - */ |
|
| 36 | - private $couponEndTime; |
|
| 37 | - |
|
| 38 | - /** |
|
| 39 | - * @JsonProperty(Long, "discount") |
|
| 40 | - */ |
|
| 41 | - private $discount; |
|
| 42 | - |
|
| 43 | - /** |
|
| 44 | - * @JsonProperty(Long, "init_quantity") |
|
| 45 | - */ |
|
| 46 | - private $initQuantity; |
|
| 47 | - |
|
| 48 | - /** |
|
| 49 | - * @JsonProperty(Long, "remain_quantity") |
|
| 50 | - */ |
|
| 51 | - private $remainQuantity; |
|
| 52 | - |
|
| 53 | - protected function setUserParams(&$params) |
|
| 54 | - { |
|
| 55 | - $this->setUserParam($params, "goods_id", $this->goodsId); |
|
| 56 | - $this->setUserParam($params, "rate", $this->rate); |
|
| 57 | - $this->setUserParam($params, "coupon_id", $this->couponId); |
|
| 58 | - $this->setUserParam($params, "coupon_start_time", $this->couponStartTime); |
|
| 59 | - $this->setUserParam($params, "coupon_end_time", $this->couponEndTime); |
|
| 60 | - $this->setUserParam($params, "discount", $this->discount); |
|
| 61 | - $this->setUserParam($params, "init_quantity", $this->initQuantity); |
|
| 62 | - $this->setUserParam($params, "remain_quantity", $this->remainQuantity); |
|
| 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.goods.cps.unit.change"; |
|
| 79 | - } |
|
| 80 | - |
|
| 81 | - public function setGoodsId($goodsId) |
|
| 82 | - { |
|
| 83 | - $this->goodsId = $goodsId; |
|
| 84 | - } |
|
| 85 | - |
|
| 86 | - public function setRate($rate) |
|
| 87 | - { |
|
| 88 | - $this->rate = $rate; |
|
| 89 | - } |
|
| 90 | - |
|
| 91 | - public function setCouponId($couponId) |
|
| 92 | - { |
|
| 93 | - $this->couponId = $couponId; |
|
| 94 | - } |
|
| 95 | - |
|
| 96 | - public function setCouponStartTime($couponStartTime) |
|
| 97 | - { |
|
| 98 | - $this->couponStartTime = $couponStartTime; |
|
| 99 | - } |
|
| 100 | - |
|
| 101 | - public function setCouponEndTime($couponEndTime) |
|
| 102 | - { |
|
| 103 | - $this->couponEndTime = $couponEndTime; |
|
| 104 | - } |
|
| 105 | - |
|
| 106 | - public function setDiscount($discount) |
|
| 107 | - { |
|
| 108 | - $this->discount = $discount; |
|
| 109 | - } |
|
| 110 | - |
|
| 111 | - public function setInitQuantity($initQuantity) |
|
| 112 | - { |
|
| 113 | - $this->initQuantity = $initQuantity; |
|
| 114 | - } |
|
| 115 | - |
|
| 116 | - public function setRemainQuantity($remainQuantity) |
|
| 117 | - { |
|
| 118 | - $this->remainQuantity = $remainQuantity; |
|
| 119 | - } |
|
| 10 | + { |
|
| 11 | + |
|
| 12 | + } |
|
| 13 | + /** |
|
| 14 | + * @JsonProperty(Long, "goods_id") |
|
| 15 | + */ |
|
| 16 | + private $goodsId; |
|
| 17 | + |
|
| 18 | + /** |
|
| 19 | + * @JsonProperty(Long, "rate") |
|
| 20 | + */ |
|
| 21 | + private $rate; |
|
| 22 | + |
|
| 23 | + /** |
|
| 24 | + * @JsonProperty(Long, "coupon_id") |
|
| 25 | + */ |
|
| 26 | + private $couponId; |
|
| 27 | + |
|
| 28 | + /** |
|
| 29 | + * @JsonProperty(String, "coupon_start_time") |
|
| 30 | + */ |
|
| 31 | + private $couponStartTime; |
|
| 32 | + |
|
| 33 | + /** |
|
| 34 | + * @JsonProperty(String, "coupon_end_time") |
|
| 35 | + */ |
|
| 36 | + private $couponEndTime; |
|
| 37 | + |
|
| 38 | + /** |
|
| 39 | + * @JsonProperty(Long, "discount") |
|
| 40 | + */ |
|
| 41 | + private $discount; |
|
| 42 | + |
|
| 43 | + /** |
|
| 44 | + * @JsonProperty(Long, "init_quantity") |
|
| 45 | + */ |
|
| 46 | + private $initQuantity; |
|
| 47 | + |
|
| 48 | + /** |
|
| 49 | + * @JsonProperty(Long, "remain_quantity") |
|
| 50 | + */ |
|
| 51 | + private $remainQuantity; |
|
| 52 | + |
|
| 53 | + protected function setUserParams(&$params) |
|
| 54 | + { |
|
| 55 | + $this->setUserParam($params, "goods_id", $this->goodsId); |
|
| 56 | + $this->setUserParam($params, "rate", $this->rate); |
|
| 57 | + $this->setUserParam($params, "coupon_id", $this->couponId); |
|
| 58 | + $this->setUserParam($params, "coupon_start_time", $this->couponStartTime); |
|
| 59 | + $this->setUserParam($params, "coupon_end_time", $this->couponEndTime); |
|
| 60 | + $this->setUserParam($params, "discount", $this->discount); |
|
| 61 | + $this->setUserParam($params, "init_quantity", $this->initQuantity); |
|
| 62 | + $this->setUserParam($params, "remain_quantity", $this->remainQuantity); |
|
| 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.goods.cps.unit.change"; |
|
| 79 | + } |
|
| 80 | + |
|
| 81 | + public function setGoodsId($goodsId) |
|
| 82 | + { |
|
| 83 | + $this->goodsId = $goodsId; |
|
| 84 | + } |
|
| 85 | + |
|
| 86 | + public function setRate($rate) |
|
| 87 | + { |
|
| 88 | + $this->rate = $rate; |
|
| 89 | + } |
|
| 90 | + |
|
| 91 | + public function setCouponId($couponId) |
|
| 92 | + { |
|
| 93 | + $this->couponId = $couponId; |
|
| 94 | + } |
|
| 95 | + |
|
| 96 | + public function setCouponStartTime($couponStartTime) |
|
| 97 | + { |
|
| 98 | + $this->couponStartTime = $couponStartTime; |
|
| 99 | + } |
|
| 100 | + |
|
| 101 | + public function setCouponEndTime($couponEndTime) |
|
| 102 | + { |
|
| 103 | + $this->couponEndTime = $couponEndTime; |
|
| 104 | + } |
|
| 105 | + |
|
| 106 | + public function setDiscount($discount) |
|
| 107 | + { |
|
| 108 | + $this->discount = $discount; |
|
| 109 | + } |
|
| 110 | + |
|
| 111 | + public function setInitQuantity($initQuantity) |
|
| 112 | + { |
|
| 113 | + $this->initQuantity = $initQuantity; |
|
| 114 | + } |
|
| 115 | + |
|
| 116 | + public function setRemainQuantity($remainQuantity) |
|
| 117 | + { |
|
| 118 | + $this->remainQuantity = $remainQuantity; |
|
| 119 | + } |
|
| 120 | 120 | |
| 121 | 121 | } |
@@ -7,49 +7,49 @@ |
||
| 7 | 7 | class PddMedicineConsultCloseRequest extends PopBaseHttpRequest |
| 8 | 8 | { |
| 9 | 9 | public function __construct() |
| 10 | - { |
|
| 11 | - |
|
| 12 | - } |
|
| 13 | - /** |
|
| 14 | - * @JsonProperty(String, "consult_no") |
|
| 15 | - */ |
|
| 16 | - private $consultNo; |
|
| 17 | - |
|
| 18 | - /** |
|
| 19 | - * @JsonProperty(String, "reason") |
|
| 20 | - */ |
|
| 21 | - private $reason; |
|
| 22 | - |
|
| 23 | - protected function setUserParams(&$params) |
|
| 24 | - { |
|
| 25 | - $this->setUserParam($params, "consult_no", $this->consultNo); |
|
| 26 | - $this->setUserParam($params, "reason", $this->reason); |
|
| 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.medicine.consult.close"; |
|
| 43 | - } |
|
| 44 | - |
|
| 45 | - public function setConsultNo($consultNo) |
|
| 46 | - { |
|
| 47 | - $this->consultNo = $consultNo; |
|
| 48 | - } |
|
| 49 | - |
|
| 50 | - public function setReason($reason) |
|
| 51 | - { |
|
| 52 | - $this->reason = $reason; |
|
| 53 | - } |
|
| 10 | + { |
|
| 11 | + |
|
| 12 | + } |
|
| 13 | + /** |
|
| 14 | + * @JsonProperty(String, "consult_no") |
|
| 15 | + */ |
|
| 16 | + private $consultNo; |
|
| 17 | + |
|
| 18 | + /** |
|
| 19 | + * @JsonProperty(String, "reason") |
|
| 20 | + */ |
|
| 21 | + private $reason; |
|
| 22 | + |
|
| 23 | + protected function setUserParams(&$params) |
|
| 24 | + { |
|
| 25 | + $this->setUserParam($params, "consult_no", $this->consultNo); |
|
| 26 | + $this->setUserParam($params, "reason", $this->reason); |
|
| 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.medicine.consult.close"; |
|
| 43 | + } |
|
| 44 | + |
|
| 45 | + public function setConsultNo($consultNo) |
|
| 46 | + { |
|
| 47 | + $this->consultNo = $consultNo; |
|
| 48 | + } |
|
| 49 | + |
|
| 50 | + public function setReason($reason) |
|
| 51 | + { |
|
| 52 | + $this->reason = $reason; |
|
| 53 | + } |
|
| 54 | 54 | |
| 55 | 55 | } |
@@ -7,255 +7,255 @@ |
||
| 7 | 7 | class PddStockWareUpdateRequest extends PopBaseHttpRequest |
| 8 | 8 | { |
| 9 | 9 | public function __construct() |
| 10 | - { |
|
| 11 | - |
|
| 12 | - } |
|
| 13 | - /** |
|
| 14 | - * @JsonProperty(Long, "id") |
|
| 15 | - */ |
|
| 16 | - private $id; |
|
| 17 | - |
|
| 18 | - /** |
|
| 19 | - * @JsonProperty(Integer, "ware_type") |
|
| 20 | - */ |
|
| 21 | - private $wareType; |
|
| 22 | - |
|
| 23 | - /** |
|
| 24 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddStockWareUpdateRequest_WareInfosItem>, "ware_infos") |
|
| 25 | - */ |
|
| 26 | - private $wareInfos; |
|
| 27 | - |
|
| 28 | - /** |
|
| 29 | - * @JsonProperty(String, "ware_sn") |
|
| 30 | - */ |
|
| 31 | - private $wareSn; |
|
| 32 | - |
|
| 33 | - /** |
|
| 34 | - * @JsonProperty(String, "ware_name") |
|
| 35 | - */ |
|
| 36 | - private $wareName; |
|
| 37 | - |
|
| 38 | - /** |
|
| 39 | - * @JsonProperty(String, "note") |
|
| 40 | - */ |
|
| 41 | - private $note; |
|
| 42 | - |
|
| 43 | - /** |
|
| 44 | - * @JsonProperty(Integer, "service_quality") |
|
| 45 | - */ |
|
| 46 | - private $serviceQuality; |
|
| 47 | - |
|
| 48 | - /** |
|
| 49 | - * @JsonProperty(Integer, "volume") |
|
| 50 | - */ |
|
| 51 | - private $volume; |
|
| 52 | - |
|
| 53 | - /** |
|
| 54 | - * @JsonProperty(Integer, "length") |
|
| 55 | - */ |
|
| 56 | - private $length; |
|
| 57 | - |
|
| 58 | - /** |
|
| 59 | - * @JsonProperty(Integer, "width") |
|
| 60 | - */ |
|
| 61 | - private $width; |
|
| 62 | - |
|
| 63 | - /** |
|
| 64 | - * @JsonProperty(Integer, "height") |
|
| 65 | - */ |
|
| 66 | - private $height; |
|
| 67 | - |
|
| 68 | - /** |
|
| 69 | - * @JsonProperty(Integer, "weight") |
|
| 70 | - */ |
|
| 71 | - private $weight; |
|
| 72 | - |
|
| 73 | - /** |
|
| 74 | - * @JsonProperty(Integer, "gross_weight") |
|
| 75 | - */ |
|
| 76 | - private $grossWeight; |
|
| 77 | - |
|
| 78 | - /** |
|
| 79 | - * @JsonProperty(Integer, "net_weight") |
|
| 80 | - */ |
|
| 81 | - private $netWeight; |
|
| 82 | - |
|
| 83 | - /** |
|
| 84 | - * @JsonProperty(Integer, "tare_weight") |
|
| 85 | - */ |
|
| 86 | - private $tareWeight; |
|
| 87 | - |
|
| 88 | - /** |
|
| 89 | - * @JsonProperty(Integer, "price") |
|
| 90 | - */ |
|
| 91 | - private $price; |
|
| 92 | - |
|
| 93 | - /** |
|
| 94 | - * @JsonProperty(String, "color") |
|
| 95 | - */ |
|
| 96 | - private $color; |
|
| 97 | - |
|
| 98 | - /** |
|
| 99 | - * @JsonProperty(String, "packing") |
|
| 100 | - */ |
|
| 101 | - private $packing; |
|
| 102 | - |
|
| 103 | - protected function setUserParams(&$params) |
|
| 104 | - { |
|
| 105 | - $this->setUserParam($params, "id", $this->id); |
|
| 106 | - $this->setUserParam($params, "ware_type", $this->wareType); |
|
| 107 | - $this->setUserParam($params, "ware_infos", $this->wareInfos); |
|
| 108 | - $this->setUserParam($params, "ware_sn", $this->wareSn); |
|
| 109 | - $this->setUserParam($params, "ware_name", $this->wareName); |
|
| 110 | - $this->setUserParam($params, "note", $this->note); |
|
| 111 | - $this->setUserParam($params, "service_quality", $this->serviceQuality); |
|
| 112 | - $this->setUserParam($params, "volume", $this->volume); |
|
| 113 | - $this->setUserParam($params, "length", $this->length); |
|
| 114 | - $this->setUserParam($params, "width", $this->width); |
|
| 115 | - $this->setUserParam($params, "height", $this->height); |
|
| 116 | - $this->setUserParam($params, "weight", $this->weight); |
|
| 117 | - $this->setUserParam($params, "gross_weight", $this->grossWeight); |
|
| 118 | - $this->setUserParam($params, "net_weight", $this->netWeight); |
|
| 119 | - $this->setUserParam($params, "tare_weight", $this->tareWeight); |
|
| 120 | - $this->setUserParam($params, "price", $this->price); |
|
| 121 | - $this->setUserParam($params, "color", $this->color); |
|
| 122 | - $this->setUserParam($params, "packing", $this->packing); |
|
| 123 | - |
|
| 124 | - } |
|
| 125 | - |
|
| 126 | - public function getVersion() |
|
| 127 | - { |
|
| 128 | - return "V1"; |
|
| 129 | - } |
|
| 130 | - |
|
| 131 | - public function getDataType() |
|
| 132 | - { |
|
| 133 | - return "JSON"; |
|
| 134 | - } |
|
| 135 | - |
|
| 136 | - public function getType() |
|
| 137 | - { |
|
| 138 | - return "pdd.stock.ware.update"; |
|
| 139 | - } |
|
| 140 | - |
|
| 141 | - public function setId($id) |
|
| 142 | - { |
|
| 143 | - $this->id = $id; |
|
| 144 | - } |
|
| 145 | - |
|
| 146 | - public function setWareType($wareType) |
|
| 147 | - { |
|
| 148 | - $this->wareType = $wareType; |
|
| 149 | - } |
|
| 150 | - |
|
| 151 | - public function setWareInfos($wareInfos) |
|
| 152 | - { |
|
| 153 | - $this->wareInfos = $wareInfos; |
|
| 154 | - } |
|
| 155 | - |
|
| 156 | - public function setWareSn($wareSn) |
|
| 157 | - { |
|
| 158 | - $this->wareSn = $wareSn; |
|
| 159 | - } |
|
| 160 | - |
|
| 161 | - public function setWareName($wareName) |
|
| 162 | - { |
|
| 163 | - $this->wareName = $wareName; |
|
| 164 | - } |
|
| 165 | - |
|
| 166 | - public function setNote($note) |
|
| 167 | - { |
|
| 168 | - $this->note = $note; |
|
| 169 | - } |
|
| 170 | - |
|
| 171 | - public function setServiceQuality($serviceQuality) |
|
| 172 | - { |
|
| 173 | - $this->serviceQuality = $serviceQuality; |
|
| 174 | - } |
|
| 175 | - |
|
| 176 | - public function setVolume($volume) |
|
| 177 | - { |
|
| 178 | - $this->volume = $volume; |
|
| 179 | - } |
|
| 180 | - |
|
| 181 | - public function setLength($length) |
|
| 182 | - { |
|
| 183 | - $this->length = $length; |
|
| 184 | - } |
|
| 185 | - |
|
| 186 | - public function setWidth($width) |
|
| 187 | - { |
|
| 188 | - $this->width = $width; |
|
| 189 | - } |
|
| 190 | - |
|
| 191 | - public function setHeight($height) |
|
| 192 | - { |
|
| 193 | - $this->height = $height; |
|
| 194 | - } |
|
| 195 | - |
|
| 196 | - public function setWeight($weight) |
|
| 197 | - { |
|
| 198 | - $this->weight = $weight; |
|
| 199 | - } |
|
| 200 | - |
|
| 201 | - public function setGrossWeight($grossWeight) |
|
| 202 | - { |
|
| 203 | - $this->grossWeight = $grossWeight; |
|
| 204 | - } |
|
| 205 | - |
|
| 206 | - public function setNetWeight($netWeight) |
|
| 207 | - { |
|
| 208 | - $this->netWeight = $netWeight; |
|
| 209 | - } |
|
| 210 | - |
|
| 211 | - public function setTareWeight($tareWeight) |
|
| 212 | - { |
|
| 213 | - $this->tareWeight = $tareWeight; |
|
| 214 | - } |
|
| 215 | - |
|
| 216 | - public function setPrice($price) |
|
| 217 | - { |
|
| 218 | - $this->price = $price; |
|
| 219 | - } |
|
| 220 | - |
|
| 221 | - public function setColor($color) |
|
| 222 | - { |
|
| 223 | - $this->color = $color; |
|
| 224 | - } |
|
| 225 | - |
|
| 226 | - public function setPacking($packing) |
|
| 227 | - { |
|
| 228 | - $this->packing = $packing; |
|
| 229 | - } |
|
| 10 | + { |
|
| 11 | + |
|
| 12 | + } |
|
| 13 | + /** |
|
| 14 | + * @JsonProperty(Long, "id") |
|
| 15 | + */ |
|
| 16 | + private $id; |
|
| 17 | + |
|
| 18 | + /** |
|
| 19 | + * @JsonProperty(Integer, "ware_type") |
|
| 20 | + */ |
|
| 21 | + private $wareType; |
|
| 22 | + |
|
| 23 | + /** |
|
| 24 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddStockWareUpdateRequest_WareInfosItem>, "ware_infos") |
|
| 25 | + */ |
|
| 26 | + private $wareInfos; |
|
| 27 | + |
|
| 28 | + /** |
|
| 29 | + * @JsonProperty(String, "ware_sn") |
|
| 30 | + */ |
|
| 31 | + private $wareSn; |
|
| 32 | + |
|
| 33 | + /** |
|
| 34 | + * @JsonProperty(String, "ware_name") |
|
| 35 | + */ |
|
| 36 | + private $wareName; |
|
| 37 | + |
|
| 38 | + /** |
|
| 39 | + * @JsonProperty(String, "note") |
|
| 40 | + */ |
|
| 41 | + private $note; |
|
| 42 | + |
|
| 43 | + /** |
|
| 44 | + * @JsonProperty(Integer, "service_quality") |
|
| 45 | + */ |
|
| 46 | + private $serviceQuality; |
|
| 47 | + |
|
| 48 | + /** |
|
| 49 | + * @JsonProperty(Integer, "volume") |
|
| 50 | + */ |
|
| 51 | + private $volume; |
|
| 52 | + |
|
| 53 | + /** |
|
| 54 | + * @JsonProperty(Integer, "length") |
|
| 55 | + */ |
|
| 56 | + private $length; |
|
| 57 | + |
|
| 58 | + /** |
|
| 59 | + * @JsonProperty(Integer, "width") |
|
| 60 | + */ |
|
| 61 | + private $width; |
|
| 62 | + |
|
| 63 | + /** |
|
| 64 | + * @JsonProperty(Integer, "height") |
|
| 65 | + */ |
|
| 66 | + private $height; |
|
| 67 | + |
|
| 68 | + /** |
|
| 69 | + * @JsonProperty(Integer, "weight") |
|
| 70 | + */ |
|
| 71 | + private $weight; |
|
| 72 | + |
|
| 73 | + /** |
|
| 74 | + * @JsonProperty(Integer, "gross_weight") |
|
| 75 | + */ |
|
| 76 | + private $grossWeight; |
|
| 77 | + |
|
| 78 | + /** |
|
| 79 | + * @JsonProperty(Integer, "net_weight") |
|
| 80 | + */ |
|
| 81 | + private $netWeight; |
|
| 82 | + |
|
| 83 | + /** |
|
| 84 | + * @JsonProperty(Integer, "tare_weight") |
|
| 85 | + */ |
|
| 86 | + private $tareWeight; |
|
| 87 | + |
|
| 88 | + /** |
|
| 89 | + * @JsonProperty(Integer, "price") |
|
| 90 | + */ |
|
| 91 | + private $price; |
|
| 92 | + |
|
| 93 | + /** |
|
| 94 | + * @JsonProperty(String, "color") |
|
| 95 | + */ |
|
| 96 | + private $color; |
|
| 97 | + |
|
| 98 | + /** |
|
| 99 | + * @JsonProperty(String, "packing") |
|
| 100 | + */ |
|
| 101 | + private $packing; |
|
| 102 | + |
|
| 103 | + protected function setUserParams(&$params) |
|
| 104 | + { |
|
| 105 | + $this->setUserParam($params, "id", $this->id); |
|
| 106 | + $this->setUserParam($params, "ware_type", $this->wareType); |
|
| 107 | + $this->setUserParam($params, "ware_infos", $this->wareInfos); |
|
| 108 | + $this->setUserParam($params, "ware_sn", $this->wareSn); |
|
| 109 | + $this->setUserParam($params, "ware_name", $this->wareName); |
|
| 110 | + $this->setUserParam($params, "note", $this->note); |
|
| 111 | + $this->setUserParam($params, "service_quality", $this->serviceQuality); |
|
| 112 | + $this->setUserParam($params, "volume", $this->volume); |
|
| 113 | + $this->setUserParam($params, "length", $this->length); |
|
| 114 | + $this->setUserParam($params, "width", $this->width); |
|
| 115 | + $this->setUserParam($params, "height", $this->height); |
|
| 116 | + $this->setUserParam($params, "weight", $this->weight); |
|
| 117 | + $this->setUserParam($params, "gross_weight", $this->grossWeight); |
|
| 118 | + $this->setUserParam($params, "net_weight", $this->netWeight); |
|
| 119 | + $this->setUserParam($params, "tare_weight", $this->tareWeight); |
|
| 120 | + $this->setUserParam($params, "price", $this->price); |
|
| 121 | + $this->setUserParam($params, "color", $this->color); |
|
| 122 | + $this->setUserParam($params, "packing", $this->packing); |
|
| 123 | + |
|
| 124 | + } |
|
| 125 | + |
|
| 126 | + public function getVersion() |
|
| 127 | + { |
|
| 128 | + return "V1"; |
|
| 129 | + } |
|
| 130 | + |
|
| 131 | + public function getDataType() |
|
| 132 | + { |
|
| 133 | + return "JSON"; |
|
| 134 | + } |
|
| 135 | + |
|
| 136 | + public function getType() |
|
| 137 | + { |
|
| 138 | + return "pdd.stock.ware.update"; |
|
| 139 | + } |
|
| 140 | + |
|
| 141 | + public function setId($id) |
|
| 142 | + { |
|
| 143 | + $this->id = $id; |
|
| 144 | + } |
|
| 145 | + |
|
| 146 | + public function setWareType($wareType) |
|
| 147 | + { |
|
| 148 | + $this->wareType = $wareType; |
|
| 149 | + } |
|
| 150 | + |
|
| 151 | + public function setWareInfos($wareInfos) |
|
| 152 | + { |
|
| 153 | + $this->wareInfos = $wareInfos; |
|
| 154 | + } |
|
| 155 | + |
|
| 156 | + public function setWareSn($wareSn) |
|
| 157 | + { |
|
| 158 | + $this->wareSn = $wareSn; |
|
| 159 | + } |
|
| 160 | + |
|
| 161 | + public function setWareName($wareName) |
|
| 162 | + { |
|
| 163 | + $this->wareName = $wareName; |
|
| 164 | + } |
|
| 165 | + |
|
| 166 | + public function setNote($note) |
|
| 167 | + { |
|
| 168 | + $this->note = $note; |
|
| 169 | + } |
|
| 170 | + |
|
| 171 | + public function setServiceQuality($serviceQuality) |
|
| 172 | + { |
|
| 173 | + $this->serviceQuality = $serviceQuality; |
|
| 174 | + } |
|
| 175 | + |
|
| 176 | + public function setVolume($volume) |
|
| 177 | + { |
|
| 178 | + $this->volume = $volume; |
|
| 179 | + } |
|
| 180 | + |
|
| 181 | + public function setLength($length) |
|
| 182 | + { |
|
| 183 | + $this->length = $length; |
|
| 184 | + } |
|
| 185 | + |
|
| 186 | + public function setWidth($width) |
|
| 187 | + { |
|
| 188 | + $this->width = $width; |
|
| 189 | + } |
|
| 190 | + |
|
| 191 | + public function setHeight($height) |
|
| 192 | + { |
|
| 193 | + $this->height = $height; |
|
| 194 | + } |
|
| 195 | + |
|
| 196 | + public function setWeight($weight) |
|
| 197 | + { |
|
| 198 | + $this->weight = $weight; |
|
| 199 | + } |
|
| 200 | + |
|
| 201 | + public function setGrossWeight($grossWeight) |
|
| 202 | + { |
|
| 203 | + $this->grossWeight = $grossWeight; |
|
| 204 | + } |
|
| 205 | + |
|
| 206 | + public function setNetWeight($netWeight) |
|
| 207 | + { |
|
| 208 | + $this->netWeight = $netWeight; |
|
| 209 | + } |
|
| 210 | + |
|
| 211 | + public function setTareWeight($tareWeight) |
|
| 212 | + { |
|
| 213 | + $this->tareWeight = $tareWeight; |
|
| 214 | + } |
|
| 215 | + |
|
| 216 | + public function setPrice($price) |
|
| 217 | + { |
|
| 218 | + $this->price = $price; |
|
| 219 | + } |
|
| 220 | + |
|
| 221 | + public function setColor($color) |
|
| 222 | + { |
|
| 223 | + $this->color = $color; |
|
| 224 | + } |
|
| 225 | + |
|
| 226 | + public function setPacking($packing) |
|
| 227 | + { |
|
| 228 | + $this->packing = $packing; |
|
| 229 | + } |
|
| 230 | 230 | |
| 231 | 231 | } |
| 232 | 232 | |
| 233 | 233 | class PddStockWareUpdateRequest_WareInfosItem extends PopBaseJsonEntity |
| 234 | 234 | { |
| 235 | 235 | |
| 236 | - public function __construct() |
|
| 237 | - { |
|
| 236 | + public function __construct() |
|
| 237 | + { |
|
| 238 | 238 | |
| 239 | - } |
|
| 239 | + } |
|
| 240 | 240 | |
| 241 | - /** |
|
| 242 | - * @JsonProperty(Long, "ware_id") |
|
| 243 | - */ |
|
| 244 | - private $wareId; |
|
| 241 | + /** |
|
| 242 | + * @JsonProperty(Long, "ware_id") |
|
| 243 | + */ |
|
| 244 | + private $wareId; |
|
| 245 | 245 | |
| 246 | - /** |
|
| 247 | - * @JsonProperty(Integer, "ware_quantity") |
|
| 248 | - */ |
|
| 249 | - private $wareQuantity; |
|
| 246 | + /** |
|
| 247 | + * @JsonProperty(Integer, "ware_quantity") |
|
| 248 | + */ |
|
| 249 | + private $wareQuantity; |
|
| 250 | 250 | |
| 251 | - public function setWareId($wareId) |
|
| 252 | - { |
|
| 253 | - $this->wareId = $wareId; |
|
| 254 | - } |
|
| 251 | + public function setWareId($wareId) |
|
| 252 | + { |
|
| 253 | + $this->wareId = $wareId; |
|
| 254 | + } |
|
| 255 | 255 | |
| 256 | - public function setWareQuantity($wareQuantity) |
|
| 257 | - { |
|
| 258 | - $this->wareQuantity = $wareQuantity; |
|
| 259 | - } |
|
| 256 | + public function setWareQuantity($wareQuantity) |
|
| 257 | + { |
|
| 258 | + $this->wareQuantity = $wareQuantity; |
|
| 259 | + } |
|
| 260 | 260 | |
| 261 | 261 | } |
@@ -7,318 +7,318 @@ |
||
| 7 | 7 | class PddDdkRpPromUrlGenerateRequest extends PopBaseHttpRequest |
| 8 | 8 | { |
| 9 | 9 | public function __construct() |
| 10 | - { |
|
| 11 | - |
|
| 12 | - } |
|
| 13 | - /** |
|
| 14 | - * @JsonProperty(Integer, "channel_type") |
|
| 15 | - */ |
|
| 16 | - private $channelType; |
|
| 17 | - |
|
| 18 | - /** |
|
| 19 | - * @JsonProperty(String, "custom_parameters") |
|
| 20 | - */ |
|
| 21 | - private $customParameters; |
|
| 22 | - |
|
| 23 | - /** |
|
| 24 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddDdkRpPromUrlGenerateRequest_DiyLotteryParam, "diy_lottery_param") |
|
| 25 | - */ |
|
| 26 | - private $diyLotteryParam; |
|
| 27 | - |
|
| 28 | - /** |
|
| 29 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddDdkRpPromUrlGenerateRequest_DiyRedPacketParam, "diy_red_packet_param") |
|
| 30 | - */ |
|
| 31 | - private $diyRedPacketParam; |
|
| 32 | - |
|
| 33 | - /** |
|
| 34 | - * @JsonProperty(Boolean, "generate_qq_app") |
|
| 35 | - */ |
|
| 36 | - private $generateQqApp; |
|
| 37 | - |
|
| 38 | - /** |
|
| 39 | - * @JsonProperty(Boolean, "generate_schema_url") |
|
| 40 | - */ |
|
| 41 | - private $generateSchemaUrl; |
|
| 42 | - |
|
| 43 | - /** |
|
| 44 | - * @JsonProperty(Boolean, "generate_short_url") |
|
| 45 | - */ |
|
| 46 | - private $generateShortUrl; |
|
| 47 | - |
|
| 48 | - /** |
|
| 49 | - * @JsonProperty(Boolean, "generate_we_app") |
|
| 50 | - */ |
|
| 51 | - private $generateWeApp; |
|
| 52 | - |
|
| 53 | - /** |
|
| 54 | - * @JsonProperty(List<String>, "p_id_list") |
|
| 55 | - */ |
|
| 56 | - private $pIdList; |
|
| 57 | - |
|
| 58 | - /** |
|
| 59 | - * @JsonProperty(Long, "amount") |
|
| 60 | - */ |
|
| 61 | - private $amount; |
|
| 62 | - |
|
| 63 | - /** |
|
| 64 | - * @JsonProperty(Long, "scratch_card_amount") |
|
| 65 | - */ |
|
| 66 | - private $scratchCardAmount; |
|
| 67 | - |
|
| 68 | - protected function setUserParams(&$params) |
|
| 69 | - { |
|
| 70 | - $this->setUserParam($params, "channel_type", $this->channelType); |
|
| 71 | - $this->setUserParam($params, "custom_parameters", $this->customParameters); |
|
| 72 | - $this->setUserParam($params, "diy_lottery_param", $this->diyLotteryParam); |
|
| 73 | - $this->setUserParam($params, "diy_red_packet_param", $this->diyRedPacketParam); |
|
| 74 | - $this->setUserParam($params, "generate_qq_app", $this->generateQqApp); |
|
| 75 | - $this->setUserParam($params, "generate_schema_url", $this->generateSchemaUrl); |
|
| 76 | - $this->setUserParam($params, "generate_short_url", $this->generateShortUrl); |
|
| 77 | - $this->setUserParam($params, "generate_we_app", $this->generateWeApp); |
|
| 78 | - $this->setUserParam($params, "p_id_list", $this->pIdList); |
|
| 79 | - $this->setUserParam($params, "amount", $this->amount); |
|
| 80 | - $this->setUserParam($params, "scratch_card_amount", $this->scratchCardAmount); |
|
| 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.ddk.rp.prom.url.generate"; |
|
| 97 | - } |
|
| 98 | - |
|
| 99 | - public function setChannelType($channelType) |
|
| 100 | - { |
|
| 101 | - $this->channelType = $channelType; |
|
| 102 | - } |
|
| 103 | - |
|
| 104 | - public function setCustomParameters($customParameters) |
|
| 105 | - { |
|
| 106 | - $this->customParameters = $customParameters; |
|
| 107 | - } |
|
| 108 | - |
|
| 109 | - public function setDiyLotteryParam($diyLotteryParam) |
|
| 110 | - { |
|
| 111 | - $this->diyLotteryParam = $diyLotteryParam; |
|
| 112 | - } |
|
| 113 | - |
|
| 114 | - public function setDiyRedPacketParam($diyRedPacketParam) |
|
| 115 | - { |
|
| 116 | - $this->diyRedPacketParam = $diyRedPacketParam; |
|
| 117 | - } |
|
| 118 | - |
|
| 119 | - public function setGenerateQqApp($generateQqApp) |
|
| 120 | - { |
|
| 121 | - $this->generateQqApp = $generateQqApp; |
|
| 122 | - } |
|
| 123 | - |
|
| 124 | - public function setGenerateSchemaUrl($generateSchemaUrl) |
|
| 125 | - { |
|
| 126 | - $this->generateSchemaUrl = $generateSchemaUrl; |
|
| 127 | - } |
|
| 128 | - |
|
| 129 | - public function setGenerateShortUrl($generateShortUrl) |
|
| 130 | - { |
|
| 131 | - $this->generateShortUrl = $generateShortUrl; |
|
| 132 | - } |
|
| 133 | - |
|
| 134 | - public function setGenerateWeApp($generateWeApp) |
|
| 135 | - { |
|
| 136 | - $this->generateWeApp = $generateWeApp; |
|
| 137 | - } |
|
| 138 | - |
|
| 139 | - public function setPIdList($pIdList) |
|
| 140 | - { |
|
| 141 | - $this->pIdList = $pIdList; |
|
| 142 | - } |
|
| 143 | - |
|
| 144 | - public function setAmount($amount) |
|
| 145 | - { |
|
| 146 | - $this->amount = $amount; |
|
| 147 | - } |
|
| 148 | - |
|
| 149 | - public function setScratchCardAmount($scratchCardAmount) |
|
| 150 | - { |
|
| 151 | - $this->scratchCardAmount = $scratchCardAmount; |
|
| 152 | - } |
|
| 10 | + { |
|
| 11 | + |
|
| 12 | + } |
|
| 13 | + /** |
|
| 14 | + * @JsonProperty(Integer, "channel_type") |
|
| 15 | + */ |
|
| 16 | + private $channelType; |
|
| 17 | + |
|
| 18 | + /** |
|
| 19 | + * @JsonProperty(String, "custom_parameters") |
|
| 20 | + */ |
|
| 21 | + private $customParameters; |
|
| 22 | + |
|
| 23 | + /** |
|
| 24 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddDdkRpPromUrlGenerateRequest_DiyLotteryParam, "diy_lottery_param") |
|
| 25 | + */ |
|
| 26 | + private $diyLotteryParam; |
|
| 27 | + |
|
| 28 | + /** |
|
| 29 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddDdkRpPromUrlGenerateRequest_DiyRedPacketParam, "diy_red_packet_param") |
|
| 30 | + */ |
|
| 31 | + private $diyRedPacketParam; |
|
| 32 | + |
|
| 33 | + /** |
|
| 34 | + * @JsonProperty(Boolean, "generate_qq_app") |
|
| 35 | + */ |
|
| 36 | + private $generateQqApp; |
|
| 37 | + |
|
| 38 | + /** |
|
| 39 | + * @JsonProperty(Boolean, "generate_schema_url") |
|
| 40 | + */ |
|
| 41 | + private $generateSchemaUrl; |
|
| 42 | + |
|
| 43 | + /** |
|
| 44 | + * @JsonProperty(Boolean, "generate_short_url") |
|
| 45 | + */ |
|
| 46 | + private $generateShortUrl; |
|
| 47 | + |
|
| 48 | + /** |
|
| 49 | + * @JsonProperty(Boolean, "generate_we_app") |
|
| 50 | + */ |
|
| 51 | + private $generateWeApp; |
|
| 52 | + |
|
| 53 | + /** |
|
| 54 | + * @JsonProperty(List<String>, "p_id_list") |
|
| 55 | + */ |
|
| 56 | + private $pIdList; |
|
| 57 | + |
|
| 58 | + /** |
|
| 59 | + * @JsonProperty(Long, "amount") |
|
| 60 | + */ |
|
| 61 | + private $amount; |
|
| 62 | + |
|
| 63 | + /** |
|
| 64 | + * @JsonProperty(Long, "scratch_card_amount") |
|
| 65 | + */ |
|
| 66 | + private $scratchCardAmount; |
|
| 67 | + |
|
| 68 | + protected function setUserParams(&$params) |
|
| 69 | + { |
|
| 70 | + $this->setUserParam($params, "channel_type", $this->channelType); |
|
| 71 | + $this->setUserParam($params, "custom_parameters", $this->customParameters); |
|
| 72 | + $this->setUserParam($params, "diy_lottery_param", $this->diyLotteryParam); |
|
| 73 | + $this->setUserParam($params, "diy_red_packet_param", $this->diyRedPacketParam); |
|
| 74 | + $this->setUserParam($params, "generate_qq_app", $this->generateQqApp); |
|
| 75 | + $this->setUserParam($params, "generate_schema_url", $this->generateSchemaUrl); |
|
| 76 | + $this->setUserParam($params, "generate_short_url", $this->generateShortUrl); |
|
| 77 | + $this->setUserParam($params, "generate_we_app", $this->generateWeApp); |
|
| 78 | + $this->setUserParam($params, "p_id_list", $this->pIdList); |
|
| 79 | + $this->setUserParam($params, "amount", $this->amount); |
|
| 80 | + $this->setUserParam($params, "scratch_card_amount", $this->scratchCardAmount); |
|
| 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.ddk.rp.prom.url.generate"; |
|
| 97 | + } |
|
| 98 | + |
|
| 99 | + public function setChannelType($channelType) |
|
| 100 | + { |
|
| 101 | + $this->channelType = $channelType; |
|
| 102 | + } |
|
| 103 | + |
|
| 104 | + public function setCustomParameters($customParameters) |
|
| 105 | + { |
|
| 106 | + $this->customParameters = $customParameters; |
|
| 107 | + } |
|
| 108 | + |
|
| 109 | + public function setDiyLotteryParam($diyLotteryParam) |
|
| 110 | + { |
|
| 111 | + $this->diyLotteryParam = $diyLotteryParam; |
|
| 112 | + } |
|
| 113 | + |
|
| 114 | + public function setDiyRedPacketParam($diyRedPacketParam) |
|
| 115 | + { |
|
| 116 | + $this->diyRedPacketParam = $diyRedPacketParam; |
|
| 117 | + } |
|
| 118 | + |
|
| 119 | + public function setGenerateQqApp($generateQqApp) |
|
| 120 | + { |
|
| 121 | + $this->generateQqApp = $generateQqApp; |
|
| 122 | + } |
|
| 123 | + |
|
| 124 | + public function setGenerateSchemaUrl($generateSchemaUrl) |
|
| 125 | + { |
|
| 126 | + $this->generateSchemaUrl = $generateSchemaUrl; |
|
| 127 | + } |
|
| 128 | + |
|
| 129 | + public function setGenerateShortUrl($generateShortUrl) |
|
| 130 | + { |
|
| 131 | + $this->generateShortUrl = $generateShortUrl; |
|
| 132 | + } |
|
| 133 | + |
|
| 134 | + public function setGenerateWeApp($generateWeApp) |
|
| 135 | + { |
|
| 136 | + $this->generateWeApp = $generateWeApp; |
|
| 137 | + } |
|
| 138 | + |
|
| 139 | + public function setPIdList($pIdList) |
|
| 140 | + { |
|
| 141 | + $this->pIdList = $pIdList; |
|
| 142 | + } |
|
| 143 | + |
|
| 144 | + public function setAmount($amount) |
|
| 145 | + { |
|
| 146 | + $this->amount = $amount; |
|
| 147 | + } |
|
| 148 | + |
|
| 149 | + public function setScratchCardAmount($scratchCardAmount) |
|
| 150 | + { |
|
| 151 | + $this->scratchCardAmount = $scratchCardAmount; |
|
| 152 | + } |
|
| 153 | 153 | |
| 154 | 154 | } |
| 155 | 155 | |
| 156 | 156 | class PddDdkRpPromUrlGenerateRequest_DiyLotteryParam extends PopBaseJsonEntity |
| 157 | 157 | { |
| 158 | 158 | |
| 159 | - public function __construct() |
|
| 160 | - { |
|
| 159 | + public function __construct() |
|
| 160 | + { |
|
| 161 | 161 | |
| 162 | - } |
|
| 162 | + } |
|
| 163 | 163 | |
| 164 | - /** |
|
| 165 | - * @JsonProperty(Integer, "opt_id") |
|
| 166 | - */ |
|
| 167 | - private $optId; |
|
| 164 | + /** |
|
| 165 | + * @JsonProperty(Integer, "opt_id") |
|
| 166 | + */ |
|
| 167 | + private $optId; |
|
| 168 | 168 | |
| 169 | - /** |
|
| 170 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddDdkRpPromUrlGenerateRequest_DiyLotteryParamRangeItemsItem>, "range_items") |
|
| 171 | - */ |
|
| 172 | - private $rangeItems; |
|
| 169 | + /** |
|
| 170 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddDdkRpPromUrlGenerateRequest_DiyLotteryParamRangeItemsItem>, "range_items") |
|
| 171 | + */ |
|
| 172 | + private $rangeItems; |
|
| 173 | 173 | |
| 174 | - public function setOptId($optId) |
|
| 175 | - { |
|
| 176 | - $this->optId = $optId; |
|
| 177 | - } |
|
| 174 | + public function setOptId($optId) |
|
| 175 | + { |
|
| 176 | + $this->optId = $optId; |
|
| 177 | + } |
|
| 178 | 178 | |
| 179 | - public function setRangeItems($rangeItems) |
|
| 180 | - { |
|
| 181 | - $this->rangeItems = $rangeItems; |
|
| 182 | - } |
|
| 179 | + public function setRangeItems($rangeItems) |
|
| 180 | + { |
|
| 181 | + $this->rangeItems = $rangeItems; |
|
| 182 | + } |
|
| 183 | 183 | |
| 184 | 184 | } |
| 185 | 185 | |
| 186 | 186 | class PddDdkRpPromUrlGenerateRequest_DiyLotteryParamRangeItemsItem extends PopBaseJsonEntity |
| 187 | 187 | { |
| 188 | 188 | |
| 189 | - public function __construct() |
|
| 190 | - { |
|
| 189 | + public function __construct() |
|
| 190 | + { |
|
| 191 | 191 | |
| 192 | - } |
|
| 192 | + } |
|
| 193 | 193 | |
| 194 | - /** |
|
| 195 | - * @JsonProperty(Long, "range_from") |
|
| 196 | - */ |
|
| 197 | - private $rangeFrom; |
|
| 194 | + /** |
|
| 195 | + * @JsonProperty(Long, "range_from") |
|
| 196 | + */ |
|
| 197 | + private $rangeFrom; |
|
| 198 | 198 | |
| 199 | - /** |
|
| 200 | - * @JsonProperty(Integer, "range_id") |
|
| 201 | - */ |
|
| 202 | - private $rangeId; |
|
| 199 | + /** |
|
| 200 | + * @JsonProperty(Integer, "range_id") |
|
| 201 | + */ |
|
| 202 | + private $rangeId; |
|
| 203 | 203 | |
| 204 | - /** |
|
| 205 | - * @JsonProperty(Long, "range_to") |
|
| 206 | - */ |
|
| 207 | - private $rangeTo; |
|
| 204 | + /** |
|
| 205 | + * @JsonProperty(Long, "range_to") |
|
| 206 | + */ |
|
| 207 | + private $rangeTo; |
|
| 208 | 208 | |
| 209 | - public function setRangeFrom($rangeFrom) |
|
| 210 | - { |
|
| 211 | - $this->rangeFrom = $rangeFrom; |
|
| 212 | - } |
|
| 209 | + public function setRangeFrom($rangeFrom) |
|
| 210 | + { |
|
| 211 | + $this->rangeFrom = $rangeFrom; |
|
| 212 | + } |
|
| 213 | 213 | |
| 214 | - public function setRangeId($rangeId) |
|
| 215 | - { |
|
| 216 | - $this->rangeId = $rangeId; |
|
| 217 | - } |
|
| 214 | + public function setRangeId($rangeId) |
|
| 215 | + { |
|
| 216 | + $this->rangeId = $rangeId; |
|
| 217 | + } |
|
| 218 | 218 | |
| 219 | - public function setRangeTo($rangeTo) |
|
| 220 | - { |
|
| 221 | - $this->rangeTo = $rangeTo; |
|
| 222 | - } |
|
| 219 | + public function setRangeTo($rangeTo) |
|
| 220 | + { |
|
| 221 | + $this->rangeTo = $rangeTo; |
|
| 222 | + } |
|
| 223 | 223 | |
| 224 | 224 | } |
| 225 | 225 | |
| 226 | 226 | class PddDdkRpPromUrlGenerateRequest_DiyRedPacketParam extends PopBaseJsonEntity |
| 227 | 227 | { |
| 228 | 228 | |
| 229 | - public function __construct() |
|
| 230 | - { |
|
| 231 | - |
|
| 232 | - } |
|
| 233 | - |
|
| 234 | - /** |
|
| 235 | - * @JsonProperty(List<Long>, "amount_probability") |
|
| 236 | - */ |
|
| 237 | - private $amountProbability; |
|
| 238 | - |
|
| 239 | - /** |
|
| 240 | - * @JsonProperty(Boolean, "dis_text") |
|
| 241 | - */ |
|
| 242 | - private $disText; |
|
| 243 | - |
|
| 244 | - /** |
|
| 245 | - * @JsonProperty(Boolean, "not_show_background") |
|
| 246 | - */ |
|
| 247 | - private $notShowBackground; |
|
| 248 | - |
|
| 249 | - /** |
|
| 250 | - * @JsonProperty(Integer, "opt_id") |
|
| 251 | - */ |
|
| 252 | - private $optId; |
|
| 253 | - |
|
| 254 | - /** |
|
| 255 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddDdkRpPromUrlGenerateRequest_DiyRedPacketParamRangeItemsItem>, "range_items") |
|
| 256 | - */ |
|
| 257 | - private $rangeItems; |
|
| 258 | - |
|
| 259 | - public function setAmountProbability($amountProbability) |
|
| 260 | - { |
|
| 261 | - $this->amountProbability = $amountProbability; |
|
| 262 | - } |
|
| 263 | - |
|
| 264 | - public function setDisText($disText) |
|
| 265 | - { |
|
| 266 | - $this->disText = $disText; |
|
| 267 | - } |
|
| 268 | - |
|
| 269 | - public function setNotShowBackground($notShowBackground) |
|
| 270 | - { |
|
| 271 | - $this->notShowBackground = $notShowBackground; |
|
| 272 | - } |
|
| 273 | - |
|
| 274 | - public function setOptId($optId) |
|
| 275 | - { |
|
| 276 | - $this->optId = $optId; |
|
| 277 | - } |
|
| 278 | - |
|
| 279 | - public function setRangeItems($rangeItems) |
|
| 280 | - { |
|
| 281 | - $this->rangeItems = $rangeItems; |
|
| 282 | - } |
|
| 229 | + public function __construct() |
|
| 230 | + { |
|
| 231 | + |
|
| 232 | + } |
|
| 233 | + |
|
| 234 | + /** |
|
| 235 | + * @JsonProperty(List<Long>, "amount_probability") |
|
| 236 | + */ |
|
| 237 | + private $amountProbability; |
|
| 238 | + |
|
| 239 | + /** |
|
| 240 | + * @JsonProperty(Boolean, "dis_text") |
|
| 241 | + */ |
|
| 242 | + private $disText; |
|
| 243 | + |
|
| 244 | + /** |
|
| 245 | + * @JsonProperty(Boolean, "not_show_background") |
|
| 246 | + */ |
|
| 247 | + private $notShowBackground; |
|
| 248 | + |
|
| 249 | + /** |
|
| 250 | + * @JsonProperty(Integer, "opt_id") |
|
| 251 | + */ |
|
| 252 | + private $optId; |
|
| 253 | + |
|
| 254 | + /** |
|
| 255 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddDdkRpPromUrlGenerateRequest_DiyRedPacketParamRangeItemsItem>, "range_items") |
|
| 256 | + */ |
|
| 257 | + private $rangeItems; |
|
| 258 | + |
|
| 259 | + public function setAmountProbability($amountProbability) |
|
| 260 | + { |
|
| 261 | + $this->amountProbability = $amountProbability; |
|
| 262 | + } |
|
| 263 | + |
|
| 264 | + public function setDisText($disText) |
|
| 265 | + { |
|
| 266 | + $this->disText = $disText; |
|
| 267 | + } |
|
| 268 | + |
|
| 269 | + public function setNotShowBackground($notShowBackground) |
|
| 270 | + { |
|
| 271 | + $this->notShowBackground = $notShowBackground; |
|
| 272 | + } |
|
| 273 | + |
|
| 274 | + public function setOptId($optId) |
|
| 275 | + { |
|
| 276 | + $this->optId = $optId; |
|
| 277 | + } |
|
| 278 | + |
|
| 279 | + public function setRangeItems($rangeItems) |
|
| 280 | + { |
|
| 281 | + $this->rangeItems = $rangeItems; |
|
| 282 | + } |
|
| 283 | 283 | |
| 284 | 284 | } |
| 285 | 285 | |
| 286 | 286 | class PddDdkRpPromUrlGenerateRequest_DiyRedPacketParamRangeItemsItem extends PopBaseJsonEntity |
| 287 | 287 | { |
| 288 | 288 | |
| 289 | - public function __construct() |
|
| 290 | - { |
|
| 291 | - |
|
| 292 | - } |
|
| 293 | - |
|
| 294 | - /** |
|
| 295 | - * @JsonProperty(Long, "range_from") |
|
| 296 | - */ |
|
| 297 | - private $rangeFrom; |
|
| 298 | - |
|
| 299 | - /** |
|
| 300 | - * @JsonProperty(Integer, "range_id") |
|
| 301 | - */ |
|
| 302 | - private $rangeId; |
|
| 303 | - |
|
| 304 | - /** |
|
| 305 | - * @JsonProperty(Long, "range_to") |
|
| 306 | - */ |
|
| 307 | - private $rangeTo; |
|
| 308 | - |
|
| 309 | - public function setRangeFrom($rangeFrom) |
|
| 310 | - { |
|
| 311 | - $this->rangeFrom = $rangeFrom; |
|
| 312 | - } |
|
| 313 | - |
|
| 314 | - public function setRangeId($rangeId) |
|
| 315 | - { |
|
| 316 | - $this->rangeId = $rangeId; |
|
| 317 | - } |
|
| 318 | - |
|
| 319 | - public function setRangeTo($rangeTo) |
|
| 320 | - { |
|
| 321 | - $this->rangeTo = $rangeTo; |
|
| 322 | - } |
|
| 289 | + public function __construct() |
|
| 290 | + { |
|
| 291 | + |
|
| 292 | + } |
|
| 293 | + |
|
| 294 | + /** |
|
| 295 | + * @JsonProperty(Long, "range_from") |
|
| 296 | + */ |
|
| 297 | + private $rangeFrom; |
|
| 298 | + |
|
| 299 | + /** |
|
| 300 | + * @JsonProperty(Integer, "range_id") |
|
| 301 | + */ |
|
| 302 | + private $rangeId; |
|
| 303 | + |
|
| 304 | + /** |
|
| 305 | + * @JsonProperty(Long, "range_to") |
|
| 306 | + */ |
|
| 307 | + private $rangeTo; |
|
| 308 | + |
|
| 309 | + public function setRangeFrom($rangeFrom) |
|
| 310 | + { |
|
| 311 | + $this->rangeFrom = $rangeFrom; |
|
| 312 | + } |
|
| 313 | + |
|
| 314 | + public function setRangeId($rangeId) |
|
| 315 | + { |
|
| 316 | + $this->rangeId = $rangeId; |
|
| 317 | + } |
|
| 318 | + |
|
| 319 | + public function setRangeTo($rangeTo) |
|
| 320 | + { |
|
| 321 | + $this->rangeTo = $rangeTo; |
|
| 322 | + } |
|
| 323 | 323 | |
| 324 | 324 | } |
@@ -7,104 +7,104 @@ |
||
| 7 | 7 | class PddDdkGoodsDetailRequest extends PopBaseHttpRequest |
| 8 | 8 | { |
| 9 | 9 | public function __construct() |
| 10 | - { |
|
| 11 | - |
|
| 12 | - } |
|
| 13 | - /** |
|
| 14 | - * @JsonProperty(String, "custom_parameters") |
|
| 15 | - */ |
|
| 16 | - private $customParameters; |
|
| 17 | - |
|
| 18 | - /** |
|
| 19 | - * @JsonProperty(List<Long>, "goods_id_list") |
|
| 20 | - */ |
|
| 21 | - private $goodsIdList; |
|
| 22 | - |
|
| 23 | - /** |
|
| 24 | - * @JsonProperty(String, "pid") |
|
| 25 | - */ |
|
| 26 | - private $pid; |
|
| 27 | - |
|
| 28 | - /** |
|
| 29 | - * @JsonProperty(Integer, "plan_type") |
|
| 30 | - */ |
|
| 31 | - private $planType; |
|
| 32 | - |
|
| 33 | - /** |
|
| 34 | - * @JsonProperty(String, "search_id") |
|
| 35 | - */ |
|
| 36 | - private $searchId; |
|
| 37 | - |
|
| 38 | - /** |
|
| 39 | - * @JsonProperty(Long, "zs_duo_id") |
|
| 40 | - */ |
|
| 41 | - private $zsDuoId; |
|
| 42 | - |
|
| 43 | - /** |
|
| 44 | - * @JsonProperty(String, "goods_sign") |
|
| 45 | - */ |
|
| 46 | - private $goodsSign; |
|
| 47 | - |
|
| 48 | - protected function setUserParams(&$params) |
|
| 49 | - { |
|
| 50 | - $this->setUserParam($params, "custom_parameters", $this->customParameters); |
|
| 51 | - $this->setUserParam($params, "goods_id_list", $this->goodsIdList); |
|
| 52 | - $this->setUserParam($params, "pid", $this->pid); |
|
| 53 | - $this->setUserParam($params, "plan_type", $this->planType); |
|
| 54 | - $this->setUserParam($params, "search_id", $this->searchId); |
|
| 55 | - $this->setUserParam($params, "zs_duo_id", $this->zsDuoId); |
|
| 56 | - $this->setUserParam($params, "goods_sign", $this->goodsSign); |
|
| 57 | - |
|
| 58 | - } |
|
| 59 | - |
|
| 60 | - public function getVersion() |
|
| 61 | - { |
|
| 62 | - return "V1"; |
|
| 63 | - } |
|
| 64 | - |
|
| 65 | - public function getDataType() |
|
| 66 | - { |
|
| 67 | - return "JSON"; |
|
| 68 | - } |
|
| 69 | - |
|
| 70 | - public function getType() |
|
| 71 | - { |
|
| 72 | - return "pdd.ddk.goods.detail"; |
|
| 73 | - } |
|
| 74 | - |
|
| 75 | - public function setCustomParameters($customParameters) |
|
| 76 | - { |
|
| 77 | - $this->customParameters = $customParameters; |
|
| 78 | - } |
|
| 79 | - |
|
| 80 | - public function setGoodsIdList($goodsIdList) |
|
| 81 | - { |
|
| 82 | - $this->goodsIdList = $goodsIdList; |
|
| 83 | - } |
|
| 84 | - |
|
| 85 | - public function setPid($pid) |
|
| 86 | - { |
|
| 87 | - $this->pid = $pid; |
|
| 88 | - } |
|
| 89 | - |
|
| 90 | - public function setPlanType($planType) |
|
| 91 | - { |
|
| 92 | - $this->planType = $planType; |
|
| 93 | - } |
|
| 94 | - |
|
| 95 | - public function setSearchId($searchId) |
|
| 96 | - { |
|
| 97 | - $this->searchId = $searchId; |
|
| 98 | - } |
|
| 99 | - |
|
| 100 | - public function setZsDuoId($zsDuoId) |
|
| 101 | - { |
|
| 102 | - $this->zsDuoId = $zsDuoId; |
|
| 103 | - } |
|
| 104 | - |
|
| 105 | - public function setGoodsSign($goodsSign) |
|
| 106 | - { |
|
| 107 | - $this->goodsSign = $goodsSign; |
|
| 108 | - } |
|
| 10 | + { |
|
| 11 | + |
|
| 12 | + } |
|
| 13 | + /** |
|
| 14 | + * @JsonProperty(String, "custom_parameters") |
|
| 15 | + */ |
|
| 16 | + private $customParameters; |
|
| 17 | + |
|
| 18 | + /** |
|
| 19 | + * @JsonProperty(List<Long>, "goods_id_list") |
|
| 20 | + */ |
|
| 21 | + private $goodsIdList; |
|
| 22 | + |
|
| 23 | + /** |
|
| 24 | + * @JsonProperty(String, "pid") |
|
| 25 | + */ |
|
| 26 | + private $pid; |
|
| 27 | + |
|
| 28 | + /** |
|
| 29 | + * @JsonProperty(Integer, "plan_type") |
|
| 30 | + */ |
|
| 31 | + private $planType; |
|
| 32 | + |
|
| 33 | + /** |
|
| 34 | + * @JsonProperty(String, "search_id") |
|
| 35 | + */ |
|
| 36 | + private $searchId; |
|
| 37 | + |
|
| 38 | + /** |
|
| 39 | + * @JsonProperty(Long, "zs_duo_id") |
|
| 40 | + */ |
|
| 41 | + private $zsDuoId; |
|
| 42 | + |
|
| 43 | + /** |
|
| 44 | + * @JsonProperty(String, "goods_sign") |
|
| 45 | + */ |
|
| 46 | + private $goodsSign; |
|
| 47 | + |
|
| 48 | + protected function setUserParams(&$params) |
|
| 49 | + { |
|
| 50 | + $this->setUserParam($params, "custom_parameters", $this->customParameters); |
|
| 51 | + $this->setUserParam($params, "goods_id_list", $this->goodsIdList); |
|
| 52 | + $this->setUserParam($params, "pid", $this->pid); |
|
| 53 | + $this->setUserParam($params, "plan_type", $this->planType); |
|
| 54 | + $this->setUserParam($params, "search_id", $this->searchId); |
|
| 55 | + $this->setUserParam($params, "zs_duo_id", $this->zsDuoId); |
|
| 56 | + $this->setUserParam($params, "goods_sign", $this->goodsSign); |
|
| 57 | + |
|
| 58 | + } |
|
| 59 | + |
|
| 60 | + public function getVersion() |
|
| 61 | + { |
|
| 62 | + return "V1"; |
|
| 63 | + } |
|
| 64 | + |
|
| 65 | + public function getDataType() |
|
| 66 | + { |
|
| 67 | + return "JSON"; |
|
| 68 | + } |
|
| 69 | + |
|
| 70 | + public function getType() |
|
| 71 | + { |
|
| 72 | + return "pdd.ddk.goods.detail"; |
|
| 73 | + } |
|
| 74 | + |
|
| 75 | + public function setCustomParameters($customParameters) |
|
| 76 | + { |
|
| 77 | + $this->customParameters = $customParameters; |
|
| 78 | + } |
|
| 79 | + |
|
| 80 | + public function setGoodsIdList($goodsIdList) |
|
| 81 | + { |
|
| 82 | + $this->goodsIdList = $goodsIdList; |
|
| 83 | + } |
|
| 84 | + |
|
| 85 | + public function setPid($pid) |
|
| 86 | + { |
|
| 87 | + $this->pid = $pid; |
|
| 88 | + } |
|
| 89 | + |
|
| 90 | + public function setPlanType($planType) |
|
| 91 | + { |
|
| 92 | + $this->planType = $planType; |
|
| 93 | + } |
|
| 94 | + |
|
| 95 | + public function setSearchId($searchId) |
|
| 96 | + { |
|
| 97 | + $this->searchId = $searchId; |
|
| 98 | + } |
|
| 99 | + |
|
| 100 | + public function setZsDuoId($zsDuoId) |
|
| 101 | + { |
|
| 102 | + $this->zsDuoId = $zsDuoId; |
|
| 103 | + } |
|
| 104 | + |
|
| 105 | + public function setGoodsSign($goodsSign) |
|
| 106 | + { |
|
| 107 | + $this->goodsSign = $goodsSign; |
|
| 108 | + } |
|
| 109 | 109 | |
| 110 | 110 | } |
@@ -7,38 +7,38 @@ |
||
| 7 | 7 | class PddDeleteDraftCommitRequest extends PopBaseHttpRequest |
| 8 | 8 | { |
| 9 | 9 | public function __construct() |
| 10 | - { |
|
| 11 | - |
|
| 12 | - } |
|
| 13 | - /** |
|
| 14 | - * @JsonProperty(Long, "goods_commit_id") |
|
| 15 | - */ |
|
| 16 | - private $goodsCommitId; |
|
| 17 | - |
|
| 18 | - protected function setUserParams(&$params) |
|
| 19 | - { |
|
| 20 | - $this->setUserParam($params, "goods_commit_id", $this->goodsCommitId); |
|
| 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.delete.draft.commit"; |
|
| 37 | - } |
|
| 38 | - |
|
| 39 | - public function setGoodsCommitId($goodsCommitId) |
|
| 40 | - { |
|
| 41 | - $this->goodsCommitId = $goodsCommitId; |
|
| 42 | - } |
|
| 10 | + { |
|
| 11 | + |
|
| 12 | + } |
|
| 13 | + /** |
|
| 14 | + * @JsonProperty(Long, "goods_commit_id") |
|
| 15 | + */ |
|
| 16 | + private $goodsCommitId; |
|
| 17 | + |
|
| 18 | + protected function setUserParams(&$params) |
|
| 19 | + { |
|
| 20 | + $this->setUserParam($params, "goods_commit_id", $this->goodsCommitId); |
|
| 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.delete.draft.commit"; |
|
| 37 | + } |
|
| 38 | + |
|
| 39 | + public function setGoodsCommitId($goodsCommitId) |
|
| 40 | + { |
|
| 41 | + $this->goodsCommitId = $goodsCommitId; |
|
| 42 | + } |
|
| 43 | 43 | |
| 44 | 44 | } |
@@ -7,49 +7,49 @@ |
||
| 7 | 7 | class PddExpressDepotListGetRequest extends PopBaseHttpRequest |
| 8 | 8 | { |
| 9 | 9 | public function __construct() |
| 10 | - { |
|
| 11 | - |
|
| 12 | - } |
|
| 13 | - /** |
|
| 14 | - * @JsonProperty(Long, "length") |
|
| 15 | - */ |
|
| 16 | - private $length; |
|
| 17 | - |
|
| 18 | - /** |
|
| 19 | - * @JsonProperty(Long, "start") |
|
| 20 | - */ |
|
| 21 | - private $start; |
|
| 22 | - |
|
| 23 | - protected function setUserParams(&$params) |
|
| 24 | - { |
|
| 25 | - $this->setUserParam($params, "length", $this->length); |
|
| 26 | - $this->setUserParam($params, "start", $this->start); |
|
| 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.express.depot.list.get"; |
|
| 43 | - } |
|
| 44 | - |
|
| 45 | - public function setLength($length) |
|
| 46 | - { |
|
| 47 | - $this->length = $length; |
|
| 48 | - } |
|
| 49 | - |
|
| 50 | - public function setStart($start) |
|
| 51 | - { |
|
| 52 | - $this->start = $start; |
|
| 53 | - } |
|
| 10 | + { |
|
| 11 | + |
|
| 12 | + } |
|
| 13 | + /** |
|
| 14 | + * @JsonProperty(Long, "length") |
|
| 15 | + */ |
|
| 16 | + private $length; |
|
| 17 | + |
|
| 18 | + /** |
|
| 19 | + * @JsonProperty(Long, "start") |
|
| 20 | + */ |
|
| 21 | + private $start; |
|
| 22 | + |
|
| 23 | + protected function setUserParams(&$params) |
|
| 24 | + { |
|
| 25 | + $this->setUserParam($params, "length", $this->length); |
|
| 26 | + $this->setUserParam($params, "start", $this->start); |
|
| 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.express.depot.list.get"; |
|
| 43 | + } |
|
| 44 | + |
|
| 45 | + public function setLength($length) |
|
| 46 | + { |
|
| 47 | + $this->length = $length; |
|
| 48 | + } |
|
| 49 | + |
|
| 50 | + public function setStart($start) |
|
| 51 | + { |
|
| 52 | + $this->start = $start; |
|
| 53 | + } |
|
| 54 | 54 | |
| 55 | 55 | } |