@@ -7,60 +7,60 @@ |
||
7 | 7 | class PddLogisticsCsSessionCloseRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
10 | + { |
|
11 | 11 | |
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(String, "session_id") |
|
15 | - */ |
|
16 | - private $sessionId; |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "session_id") |
|
15 | + */ |
|
16 | + private $sessionId; |
|
17 | 17 | |
18 | - /** |
|
19 | - * @JsonProperty(String, "wp_session_id") |
|
20 | - */ |
|
21 | - private $wpSessionId; |
|
18 | + /** |
|
19 | + * @JsonProperty(String, "wp_session_id") |
|
20 | + */ |
|
21 | + private $wpSessionId; |
|
22 | 22 | |
23 | - /** |
|
24 | - * @JsonProperty(String, "action_time") |
|
25 | - */ |
|
26 | - private $actionTime; |
|
23 | + /** |
|
24 | + * @JsonProperty(String, "action_time") |
|
25 | + */ |
|
26 | + private $actionTime; |
|
27 | 27 | |
28 | - protected function setUserParams(&$params) |
|
29 | - { |
|
30 | - $this->setUserParam($params, "session_id", $this->sessionId); |
|
31 | - $this->setUserParam($params, "wp_session_id", $this->wpSessionId); |
|
32 | - $this->setUserParam($params, "action_time", $this->actionTime); |
|
28 | + protected function setUserParams(&$params) |
|
29 | + { |
|
30 | + $this->setUserParam($params, "session_id", $this->sessionId); |
|
31 | + $this->setUserParam($params, "wp_session_id", $this->wpSessionId); |
|
32 | + $this->setUserParam($params, "action_time", $this->actionTime); |
|
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.logistics.cs.session.close"; |
|
49 | - } |
|
46 | + public function getType() |
|
47 | + { |
|
48 | + return "pdd.logistics.cs.session.close"; |
|
49 | + } |
|
50 | 50 | |
51 | - public function setSessionId($sessionId) |
|
52 | - { |
|
53 | - $this->sessionId = $sessionId; |
|
54 | - } |
|
51 | + public function setSessionId($sessionId) |
|
52 | + { |
|
53 | + $this->sessionId = $sessionId; |
|
54 | + } |
|
55 | 55 | |
56 | - public function setWpSessionId($wpSessionId) |
|
57 | - { |
|
58 | - $this->wpSessionId = $wpSessionId; |
|
59 | - } |
|
56 | + public function setWpSessionId($wpSessionId) |
|
57 | + { |
|
58 | + $this->wpSessionId = $wpSessionId; |
|
59 | + } |
|
60 | 60 | |
61 | - public function setActionTime($actionTime) |
|
62 | - { |
|
63 | - $this->actionTime = $actionTime; |
|
64 | - } |
|
61 | + public function setActionTime($actionTime) |
|
62 | + { |
|
63 | + $this->actionTime = $actionTime; |
|
64 | + } |
|
65 | 65 | |
66 | 66 | } |
@@ -7,49 +7,49 @@ |
||
7 | 7 | class PddGoodsSaleStatusSetRequest 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(Integer, "is_onsale") |
|
20 | - */ |
|
21 | - private $isOnsale; |
|
22 | - |
|
23 | - protected function setUserParams(&$params) |
|
24 | - { |
|
25 | - $this->setUserParam($params, "goods_id", $this->goodsId); |
|
26 | - $this->setUserParam($params, "is_onsale", $this->isOnsale); |
|
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.goods.sale.status.set"; |
|
43 | - } |
|
44 | - |
|
45 | - public function setGoodsId($goodsId) |
|
46 | - { |
|
47 | - $this->goodsId = $goodsId; |
|
48 | - } |
|
49 | - |
|
50 | - public function setIsOnsale($isOnsale) |
|
51 | - { |
|
52 | - $this->isOnsale = $isOnsale; |
|
53 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(Long, "goods_id") |
|
15 | + */ |
|
16 | + private $goodsId; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(Integer, "is_onsale") |
|
20 | + */ |
|
21 | + private $isOnsale; |
|
22 | + |
|
23 | + protected function setUserParams(&$params) |
|
24 | + { |
|
25 | + $this->setUserParam($params, "goods_id", $this->goodsId); |
|
26 | + $this->setUserParam($params, "is_onsale", $this->isOnsale); |
|
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.goods.sale.status.set"; |
|
43 | + } |
|
44 | + |
|
45 | + public function setGoodsId($goodsId) |
|
46 | + { |
|
47 | + $this->goodsId = $goodsId; |
|
48 | + } |
|
49 | + |
|
50 | + public function setIsOnsale($isOnsale) |
|
51 | + { |
|
52 | + $this->isOnsale = $isOnsale; |
|
53 | + } |
|
54 | 54 | |
55 | 55 | } |
@@ -7,288 +7,288 @@ |
||
7 | 7 | class PddEinvoiceVendorRuihongIssueRedInvoiceRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
10 | + { |
|
11 | 11 | |
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceVendorRuihongIssueRedInvoiceRequest_Request, "request") |
|
15 | - */ |
|
16 | - private $request; |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceVendorRuihongIssueRedInvoiceRequest_Request, "request") |
|
15 | + */ |
|
16 | + private $request; |
|
17 | 17 | |
18 | - protected function setUserParams(&$params) |
|
19 | - { |
|
20 | - $this->setUserParam($params, "request", $this->request); |
|
18 | + protected function setUserParams(&$params) |
|
19 | + { |
|
20 | + $this->setUserParam($params, "request", $this->request); |
|
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.einvoice.vendor.ruihong.issue.red.invoice"; |
|
37 | - } |
|
34 | + public function getType() |
|
35 | + { |
|
36 | + return "pdd.einvoice.vendor.ruihong.issue.red.invoice"; |
|
37 | + } |
|
38 | 38 | |
39 | - public function setRequest($request) |
|
40 | - { |
|
41 | - $this->request = $request; |
|
42 | - } |
|
39 | + public function setRequest($request) |
|
40 | + { |
|
41 | + $this->request = $request; |
|
42 | + } |
|
43 | 43 | |
44 | 44 | } |
45 | 45 | |
46 | 46 | class PddEinvoiceVendorRuihongIssueRedInvoiceRequest_Request extends PopBaseJsonEntity |
47 | 47 | { |
48 | 48 | |
49 | - public function __construct() |
|
50 | - { |
|
51 | - |
|
52 | - } |
|
53 | - |
|
54 | - /** |
|
55 | - * @JsonProperty(String, "serialNo") |
|
56 | - */ |
|
57 | - private $serialNo; |
|
58 | - |
|
59 | - /** |
|
60 | - * @JsonProperty(String, "postTime") |
|
61 | - */ |
|
62 | - private $postTime; |
|
63 | - |
|
64 | - /** |
|
65 | - * @JsonProperty(String, "originalCode") |
|
66 | - */ |
|
67 | - private $originalCode; |
|
68 | - |
|
69 | - /** |
|
70 | - * @JsonProperty(String, "reason") |
|
71 | - */ |
|
72 | - private $reason; |
|
73 | - |
|
74 | - /** |
|
75 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceVendorRuihongIssueRedInvoiceRequest_RequestItemsItem>, "items") |
|
76 | - */ |
|
77 | - private $items; |
|
78 | - |
|
79 | - /** |
|
80 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceVendorRuihongIssueRedInvoiceRequest_RequestExtendedParams, "extendedParams") |
|
81 | - */ |
|
82 | - private $extendedParams; |
|
83 | - |
|
84 | - /** |
|
85 | - * @JsonProperty(String, "appCode") |
|
86 | - */ |
|
87 | - private $appCode; |
|
88 | - |
|
89 | - /** |
|
90 | - * @JsonProperty(String, "cmdName") |
|
91 | - */ |
|
92 | - private $cmdName; |
|
93 | - |
|
94 | - /** |
|
95 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceVendorRuihongIssueRedInvoiceRequest_RequestDynamicParams, "dynamicParams") |
|
96 | - */ |
|
97 | - private $dynamicParams; |
|
98 | - |
|
99 | - public function setSerialNo($serialNo) |
|
100 | - { |
|
101 | - $this->serialNo = $serialNo; |
|
102 | - } |
|
103 | - |
|
104 | - public function setPostTime($postTime) |
|
105 | - { |
|
106 | - $this->postTime = $postTime; |
|
107 | - } |
|
108 | - |
|
109 | - public function setOriginalCode($originalCode) |
|
110 | - { |
|
111 | - $this->originalCode = $originalCode; |
|
112 | - } |
|
113 | - |
|
114 | - public function setReason($reason) |
|
115 | - { |
|
116 | - $this->reason = $reason; |
|
117 | - } |
|
118 | - |
|
119 | - public function setItems($items) |
|
120 | - { |
|
121 | - $this->items = $items; |
|
122 | - } |
|
123 | - |
|
124 | - public function setExtendedParams($extendedParams) |
|
125 | - { |
|
126 | - $this->extendedParams = $extendedParams; |
|
127 | - } |
|
128 | - |
|
129 | - public function setAppCode($appCode) |
|
130 | - { |
|
131 | - $this->appCode = $appCode; |
|
132 | - } |
|
133 | - |
|
134 | - public function setCmdName($cmdName) |
|
135 | - { |
|
136 | - $this->cmdName = $cmdName; |
|
137 | - } |
|
138 | - |
|
139 | - public function setDynamicParams($dynamicParams) |
|
140 | - { |
|
141 | - $this->dynamicParams = $dynamicParams; |
|
142 | - } |
|
49 | + public function __construct() |
|
50 | + { |
|
51 | + |
|
52 | + } |
|
53 | + |
|
54 | + /** |
|
55 | + * @JsonProperty(String, "serialNo") |
|
56 | + */ |
|
57 | + private $serialNo; |
|
58 | + |
|
59 | + /** |
|
60 | + * @JsonProperty(String, "postTime") |
|
61 | + */ |
|
62 | + private $postTime; |
|
63 | + |
|
64 | + /** |
|
65 | + * @JsonProperty(String, "originalCode") |
|
66 | + */ |
|
67 | + private $originalCode; |
|
68 | + |
|
69 | + /** |
|
70 | + * @JsonProperty(String, "reason") |
|
71 | + */ |
|
72 | + private $reason; |
|
73 | + |
|
74 | + /** |
|
75 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceVendorRuihongIssueRedInvoiceRequest_RequestItemsItem>, "items") |
|
76 | + */ |
|
77 | + private $items; |
|
78 | + |
|
79 | + /** |
|
80 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceVendorRuihongIssueRedInvoiceRequest_RequestExtendedParams, "extendedParams") |
|
81 | + */ |
|
82 | + private $extendedParams; |
|
83 | + |
|
84 | + /** |
|
85 | + * @JsonProperty(String, "appCode") |
|
86 | + */ |
|
87 | + private $appCode; |
|
88 | + |
|
89 | + /** |
|
90 | + * @JsonProperty(String, "cmdName") |
|
91 | + */ |
|
92 | + private $cmdName; |
|
93 | + |
|
94 | + /** |
|
95 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceVendorRuihongIssueRedInvoiceRequest_RequestDynamicParams, "dynamicParams") |
|
96 | + */ |
|
97 | + private $dynamicParams; |
|
98 | + |
|
99 | + public function setSerialNo($serialNo) |
|
100 | + { |
|
101 | + $this->serialNo = $serialNo; |
|
102 | + } |
|
103 | + |
|
104 | + public function setPostTime($postTime) |
|
105 | + { |
|
106 | + $this->postTime = $postTime; |
|
107 | + } |
|
108 | + |
|
109 | + public function setOriginalCode($originalCode) |
|
110 | + { |
|
111 | + $this->originalCode = $originalCode; |
|
112 | + } |
|
113 | + |
|
114 | + public function setReason($reason) |
|
115 | + { |
|
116 | + $this->reason = $reason; |
|
117 | + } |
|
118 | + |
|
119 | + public function setItems($items) |
|
120 | + { |
|
121 | + $this->items = $items; |
|
122 | + } |
|
123 | + |
|
124 | + public function setExtendedParams($extendedParams) |
|
125 | + { |
|
126 | + $this->extendedParams = $extendedParams; |
|
127 | + } |
|
128 | + |
|
129 | + public function setAppCode($appCode) |
|
130 | + { |
|
131 | + $this->appCode = $appCode; |
|
132 | + } |
|
133 | + |
|
134 | + public function setCmdName($cmdName) |
|
135 | + { |
|
136 | + $this->cmdName = $cmdName; |
|
137 | + } |
|
138 | + |
|
139 | + public function setDynamicParams($dynamicParams) |
|
140 | + { |
|
141 | + $this->dynamicParams = $dynamicParams; |
|
142 | + } |
|
143 | 143 | |
144 | 144 | } |
145 | 145 | |
146 | 146 | class PddEinvoiceVendorRuihongIssueRedInvoiceRequest_RequestItemsItem extends PopBaseJsonEntity |
147 | 147 | { |
148 | 148 | |
149 | - public function __construct() |
|
150 | - { |
|
151 | - |
|
152 | - } |
|
153 | - |
|
154 | - /** |
|
155 | - * @JsonProperty(String, "type") |
|
156 | - */ |
|
157 | - private $type; |
|
158 | - |
|
159 | - /** |
|
160 | - * @JsonProperty(String, "name") |
|
161 | - */ |
|
162 | - private $name; |
|
163 | - |
|
164 | - /** |
|
165 | - * @JsonProperty(String, "spec") |
|
166 | - */ |
|
167 | - private $spec; |
|
168 | - |
|
169 | - /** |
|
170 | - * @JsonProperty(String, "price") |
|
171 | - */ |
|
172 | - private $price; |
|
173 | - |
|
174 | - /** |
|
175 | - * @JsonProperty(String, "quantity") |
|
176 | - */ |
|
177 | - private $quantity; |
|
178 | - |
|
179 | - /** |
|
180 | - * @JsonProperty(String, "uom") |
|
181 | - */ |
|
182 | - private $uom; |
|
183 | - |
|
184 | - /** |
|
185 | - * @JsonProperty(String, "taxRate") |
|
186 | - */ |
|
187 | - private $taxRate; |
|
188 | - |
|
189 | - /** |
|
190 | - * @JsonProperty(String, "amount") |
|
191 | - */ |
|
192 | - private $amount; |
|
193 | - |
|
194 | - /** |
|
195 | - * @JsonProperty(String, "catalogCode") |
|
196 | - */ |
|
197 | - private $catalogCode; |
|
198 | - |
|
199 | - /** |
|
200 | - * @JsonProperty(String, "preferentialPolicyFlg") |
|
201 | - */ |
|
202 | - private $preferentialPolicyFlg; |
|
203 | - |
|
204 | - /** |
|
205 | - * @JsonProperty(String, "addedValueTaxFlg") |
|
206 | - */ |
|
207 | - private $addedValueTaxFlg; |
|
208 | - |
|
209 | - /** |
|
210 | - * @JsonProperty(String, "zeroTaxRateFlg") |
|
211 | - */ |
|
212 | - private $zeroTaxRateFlg; |
|
213 | - |
|
214 | - public function setType($type) |
|
215 | - { |
|
216 | - $this->type = $type; |
|
217 | - } |
|
218 | - |
|
219 | - public function setName($name) |
|
220 | - { |
|
221 | - $this->name = $name; |
|
222 | - } |
|
223 | - |
|
224 | - public function setSpec($spec) |
|
225 | - { |
|
226 | - $this->spec = $spec; |
|
227 | - } |
|
228 | - |
|
229 | - public function setPrice($price) |
|
230 | - { |
|
231 | - $this->price = $price; |
|
232 | - } |
|
233 | - |
|
234 | - public function setQuantity($quantity) |
|
235 | - { |
|
236 | - $this->quantity = $quantity; |
|
237 | - } |
|
238 | - |
|
239 | - public function setUom($uom) |
|
240 | - { |
|
241 | - $this->uom = $uom; |
|
242 | - } |
|
243 | - |
|
244 | - public function setTaxRate($taxRate) |
|
245 | - { |
|
246 | - $this->taxRate = $taxRate; |
|
247 | - } |
|
248 | - |
|
249 | - public function setAmount($amount) |
|
250 | - { |
|
251 | - $this->amount = $amount; |
|
252 | - } |
|
253 | - |
|
254 | - public function setCatalogCode($catalogCode) |
|
255 | - { |
|
256 | - $this->catalogCode = $catalogCode; |
|
257 | - } |
|
258 | - |
|
259 | - public function setPreferentialPolicyFlg($preferentialPolicyFlg) |
|
260 | - { |
|
261 | - $this->preferentialPolicyFlg = $preferentialPolicyFlg; |
|
262 | - } |
|
263 | - |
|
264 | - public function setAddedValueTaxFlg($addedValueTaxFlg) |
|
265 | - { |
|
266 | - $this->addedValueTaxFlg = $addedValueTaxFlg; |
|
267 | - } |
|
268 | - |
|
269 | - public function setZeroTaxRateFlg($zeroTaxRateFlg) |
|
270 | - { |
|
271 | - $this->zeroTaxRateFlg = $zeroTaxRateFlg; |
|
272 | - } |
|
149 | + public function __construct() |
|
150 | + { |
|
151 | + |
|
152 | + } |
|
153 | + |
|
154 | + /** |
|
155 | + * @JsonProperty(String, "type") |
|
156 | + */ |
|
157 | + private $type; |
|
158 | + |
|
159 | + /** |
|
160 | + * @JsonProperty(String, "name") |
|
161 | + */ |
|
162 | + private $name; |
|
163 | + |
|
164 | + /** |
|
165 | + * @JsonProperty(String, "spec") |
|
166 | + */ |
|
167 | + private $spec; |
|
168 | + |
|
169 | + /** |
|
170 | + * @JsonProperty(String, "price") |
|
171 | + */ |
|
172 | + private $price; |
|
173 | + |
|
174 | + /** |
|
175 | + * @JsonProperty(String, "quantity") |
|
176 | + */ |
|
177 | + private $quantity; |
|
178 | + |
|
179 | + /** |
|
180 | + * @JsonProperty(String, "uom") |
|
181 | + */ |
|
182 | + private $uom; |
|
183 | + |
|
184 | + /** |
|
185 | + * @JsonProperty(String, "taxRate") |
|
186 | + */ |
|
187 | + private $taxRate; |
|
188 | + |
|
189 | + /** |
|
190 | + * @JsonProperty(String, "amount") |
|
191 | + */ |
|
192 | + private $amount; |
|
193 | + |
|
194 | + /** |
|
195 | + * @JsonProperty(String, "catalogCode") |
|
196 | + */ |
|
197 | + private $catalogCode; |
|
198 | + |
|
199 | + /** |
|
200 | + * @JsonProperty(String, "preferentialPolicyFlg") |
|
201 | + */ |
|
202 | + private $preferentialPolicyFlg; |
|
203 | + |
|
204 | + /** |
|
205 | + * @JsonProperty(String, "addedValueTaxFlg") |
|
206 | + */ |
|
207 | + private $addedValueTaxFlg; |
|
208 | + |
|
209 | + /** |
|
210 | + * @JsonProperty(String, "zeroTaxRateFlg") |
|
211 | + */ |
|
212 | + private $zeroTaxRateFlg; |
|
213 | + |
|
214 | + public function setType($type) |
|
215 | + { |
|
216 | + $this->type = $type; |
|
217 | + } |
|
218 | + |
|
219 | + public function setName($name) |
|
220 | + { |
|
221 | + $this->name = $name; |
|
222 | + } |
|
223 | + |
|
224 | + public function setSpec($spec) |
|
225 | + { |
|
226 | + $this->spec = $spec; |
|
227 | + } |
|
228 | + |
|
229 | + public function setPrice($price) |
|
230 | + { |
|
231 | + $this->price = $price; |
|
232 | + } |
|
233 | + |
|
234 | + public function setQuantity($quantity) |
|
235 | + { |
|
236 | + $this->quantity = $quantity; |
|
237 | + } |
|
238 | + |
|
239 | + public function setUom($uom) |
|
240 | + { |
|
241 | + $this->uom = $uom; |
|
242 | + } |
|
243 | + |
|
244 | + public function setTaxRate($taxRate) |
|
245 | + { |
|
246 | + $this->taxRate = $taxRate; |
|
247 | + } |
|
248 | + |
|
249 | + public function setAmount($amount) |
|
250 | + { |
|
251 | + $this->amount = $amount; |
|
252 | + } |
|
253 | + |
|
254 | + public function setCatalogCode($catalogCode) |
|
255 | + { |
|
256 | + $this->catalogCode = $catalogCode; |
|
257 | + } |
|
258 | + |
|
259 | + public function setPreferentialPolicyFlg($preferentialPolicyFlg) |
|
260 | + { |
|
261 | + $this->preferentialPolicyFlg = $preferentialPolicyFlg; |
|
262 | + } |
|
263 | + |
|
264 | + public function setAddedValueTaxFlg($addedValueTaxFlg) |
|
265 | + { |
|
266 | + $this->addedValueTaxFlg = $addedValueTaxFlg; |
|
267 | + } |
|
268 | + |
|
269 | + public function setZeroTaxRateFlg($zeroTaxRateFlg) |
|
270 | + { |
|
271 | + $this->zeroTaxRateFlg = $zeroTaxRateFlg; |
|
272 | + } |
|
273 | 273 | |
274 | 274 | } |
275 | 275 | |
276 | 276 | class PddEinvoiceVendorRuihongIssueRedInvoiceRequest_RequestExtendedParams extends PopBaseJsonEntity |
277 | 277 | { |
278 | 278 | |
279 | - public function __construct() |
|
280 | - { |
|
279 | + public function __construct() |
|
280 | + { |
|
281 | 281 | |
282 | - } |
|
282 | + } |
|
283 | 283 | |
284 | 284 | } |
285 | 285 | |
286 | 286 | class PddEinvoiceVendorRuihongIssueRedInvoiceRequest_RequestDynamicParams extends PopBaseJsonEntity |
287 | 287 | { |
288 | 288 | |
289 | - public function __construct() |
|
290 | - { |
|
289 | + public function __construct() |
|
290 | + { |
|
291 | 291 | |
292 | - } |
|
292 | + } |
|
293 | 293 | |
294 | 294 | } |
@@ -7,71 +7,71 @@ |
||
7 | 7 | class PddDdkOauthGoodsZsUnitUrlGenRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(Boolean, "generate_schema_url") |
|
15 | - */ |
|
16 | - private $generateSchemaUrl; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(String, "pid") |
|
20 | - */ |
|
21 | - private $pid; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(String, "source_url") |
|
25 | - */ |
|
26 | - private $sourceUrl; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(String, "custom_parameters") |
|
30 | - */ |
|
31 | - private $customParameters; |
|
32 | - |
|
33 | - protected function setUserParams(&$params) |
|
34 | - { |
|
35 | - $this->setUserParam($params, "generate_schema_url", $this->generateSchemaUrl); |
|
36 | - $this->setUserParam($params, "pid", $this->pid); |
|
37 | - $this->setUserParam($params, "source_url", $this->sourceUrl); |
|
38 | - $this->setUserParam($params, "custom_parameters", $this->customParameters); |
|
39 | - |
|
40 | - } |
|
41 | - |
|
42 | - public function getVersion() |
|
43 | - { |
|
44 | - return "V1"; |
|
45 | - } |
|
46 | - |
|
47 | - public function getDataType() |
|
48 | - { |
|
49 | - return "JSON"; |
|
50 | - } |
|
51 | - |
|
52 | - public function getType() |
|
53 | - { |
|
54 | - return "pdd.ddk.oauth.goods.zs.unit.url.gen"; |
|
55 | - } |
|
56 | - |
|
57 | - public function setGenerateSchemaUrl($generateSchemaUrl) |
|
58 | - { |
|
59 | - $this->generateSchemaUrl = $generateSchemaUrl; |
|
60 | - } |
|
61 | - |
|
62 | - public function setPid($pid) |
|
63 | - { |
|
64 | - $this->pid = $pid; |
|
65 | - } |
|
66 | - |
|
67 | - public function setSourceUrl($sourceUrl) |
|
68 | - { |
|
69 | - $this->sourceUrl = $sourceUrl; |
|
70 | - } |
|
71 | - |
|
72 | - public function setCustomParameters($customParameters) |
|
73 | - { |
|
74 | - $this->customParameters = $customParameters; |
|
75 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(Boolean, "generate_schema_url") |
|
15 | + */ |
|
16 | + private $generateSchemaUrl; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(String, "pid") |
|
20 | + */ |
|
21 | + private $pid; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(String, "source_url") |
|
25 | + */ |
|
26 | + private $sourceUrl; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(String, "custom_parameters") |
|
30 | + */ |
|
31 | + private $customParameters; |
|
32 | + |
|
33 | + protected function setUserParams(&$params) |
|
34 | + { |
|
35 | + $this->setUserParam($params, "generate_schema_url", $this->generateSchemaUrl); |
|
36 | + $this->setUserParam($params, "pid", $this->pid); |
|
37 | + $this->setUserParam($params, "source_url", $this->sourceUrl); |
|
38 | + $this->setUserParam($params, "custom_parameters", $this->customParameters); |
|
39 | + |
|
40 | + } |
|
41 | + |
|
42 | + public function getVersion() |
|
43 | + { |
|
44 | + return "V1"; |
|
45 | + } |
|
46 | + |
|
47 | + public function getDataType() |
|
48 | + { |
|
49 | + return "JSON"; |
|
50 | + } |
|
51 | + |
|
52 | + public function getType() |
|
53 | + { |
|
54 | + return "pdd.ddk.oauth.goods.zs.unit.url.gen"; |
|
55 | + } |
|
56 | + |
|
57 | + public function setGenerateSchemaUrl($generateSchemaUrl) |
|
58 | + { |
|
59 | + $this->generateSchemaUrl = $generateSchemaUrl; |
|
60 | + } |
|
61 | + |
|
62 | + public function setPid($pid) |
|
63 | + { |
|
64 | + $this->pid = $pid; |
|
65 | + } |
|
66 | + |
|
67 | + public function setSourceUrl($sourceUrl) |
|
68 | + { |
|
69 | + $this->sourceUrl = $sourceUrl; |
|
70 | + } |
|
71 | + |
|
72 | + public function setCustomParameters($customParameters) |
|
73 | + { |
|
74 | + $this->customParameters = $customParameters; |
|
75 | + } |
|
76 | 76 | |
77 | 77 | } |
@@ -7,38 +7,38 @@ |
||
7 | 7 | class PddPmcUserGetRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(String, "owner_id") |
|
15 | - */ |
|
16 | - private $ownerId; |
|
17 | - |
|
18 | - protected function setUserParams(&$params) |
|
19 | - { |
|
20 | - $this->setUserParam($params, "owner_id", $this->ownerId); |
|
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.pmc.user.get"; |
|
37 | - } |
|
38 | - |
|
39 | - public function setOwnerId($ownerId) |
|
40 | - { |
|
41 | - $this->ownerId = $ownerId; |
|
42 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "owner_id") |
|
15 | + */ |
|
16 | + private $ownerId; |
|
17 | + |
|
18 | + protected function setUserParams(&$params) |
|
19 | + { |
|
20 | + $this->setUserParam($params, "owner_id", $this->ownerId); |
|
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.pmc.user.get"; |
|
37 | + } |
|
38 | + |
|
39 | + public function setOwnerId($ownerId) |
|
40 | + { |
|
41 | + $this->ownerId = $ownerId; |
|
42 | + } |
|
43 | 43 | |
44 | 44 | } |
@@ -7,88 +7,88 @@ |
||
7 | 7 | class PddFdsOrderListGetRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
10 | + { |
|
11 | 11 | |
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddFdsOrderListGetRequest_ParamFdsOrderListGetRequest, "param_fds_order_list_get_request") |
|
15 | - */ |
|
16 | - private $paramFdsOrderListGetRequest; |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddFdsOrderListGetRequest_ParamFdsOrderListGetRequest, "param_fds_order_list_get_request") |
|
15 | + */ |
|
16 | + private $paramFdsOrderListGetRequest; |
|
17 | 17 | |
18 | - protected function setUserParams(&$params) |
|
19 | - { |
|
20 | - $this->setUserParam($params, "param_fds_order_list_get_request", $this->paramFdsOrderListGetRequest); |
|
18 | + protected function setUserParams(&$params) |
|
19 | + { |
|
20 | + $this->setUserParam($params, "param_fds_order_list_get_request", $this->paramFdsOrderListGetRequest); |
|
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.fds.order.list.get"; |
|
37 | - } |
|
34 | + public function getType() |
|
35 | + { |
|
36 | + return "pdd.fds.order.list.get"; |
|
37 | + } |
|
38 | 38 | |
39 | - public function setParamFdsOrderListGetRequest($paramFdsOrderListGetRequest) |
|
40 | - { |
|
41 | - $this->paramFdsOrderListGetRequest = $paramFdsOrderListGetRequest; |
|
42 | - } |
|
39 | + public function setParamFdsOrderListGetRequest($paramFdsOrderListGetRequest) |
|
40 | + { |
|
41 | + $this->paramFdsOrderListGetRequest = $paramFdsOrderListGetRequest; |
|
42 | + } |
|
43 | 43 | |
44 | 44 | } |
45 | 45 | |
46 | 46 | class PddFdsOrderListGetRequest_ParamFdsOrderListGetRequest extends PopBaseJsonEntity |
47 | 47 | { |
48 | 48 | |
49 | - public function __construct() |
|
50 | - { |
|
51 | - |
|
52 | - } |
|
53 | - |
|
54 | - /** |
|
55 | - * @JsonProperty(Long, "end_updated_time") |
|
56 | - */ |
|
57 | - private $endUpdatedTime; |
|
58 | - |
|
59 | - /** |
|
60 | - * @JsonProperty(Integer, "page") |
|
61 | - */ |
|
62 | - private $page; |
|
63 | - |
|
64 | - /** |
|
65 | - * @JsonProperty(Integer, "page_size") |
|
66 | - */ |
|
67 | - private $pageSize; |
|
68 | - |
|
69 | - /** |
|
70 | - * @JsonProperty(Long, "start_updated_time") |
|
71 | - */ |
|
72 | - private $startUpdatedTime; |
|
73 | - |
|
74 | - public function setEndUpdatedTime($endUpdatedTime) |
|
75 | - { |
|
76 | - $this->endUpdatedTime = $endUpdatedTime; |
|
77 | - } |
|
78 | - |
|
79 | - public function setPage($page) |
|
80 | - { |
|
81 | - $this->page = $page; |
|
82 | - } |
|
83 | - |
|
84 | - public function setPageSize($pageSize) |
|
85 | - { |
|
86 | - $this->pageSize = $pageSize; |
|
87 | - } |
|
88 | - |
|
89 | - public function setStartUpdatedTime($startUpdatedTime) |
|
90 | - { |
|
91 | - $this->startUpdatedTime = $startUpdatedTime; |
|
92 | - } |
|
49 | + public function __construct() |
|
50 | + { |
|
51 | + |
|
52 | + } |
|
53 | + |
|
54 | + /** |
|
55 | + * @JsonProperty(Long, "end_updated_time") |
|
56 | + */ |
|
57 | + private $endUpdatedTime; |
|
58 | + |
|
59 | + /** |
|
60 | + * @JsonProperty(Integer, "page") |
|
61 | + */ |
|
62 | + private $page; |
|
63 | + |
|
64 | + /** |
|
65 | + * @JsonProperty(Integer, "page_size") |
|
66 | + */ |
|
67 | + private $pageSize; |
|
68 | + |
|
69 | + /** |
|
70 | + * @JsonProperty(Long, "start_updated_time") |
|
71 | + */ |
|
72 | + private $startUpdatedTime; |
|
73 | + |
|
74 | + public function setEndUpdatedTime($endUpdatedTime) |
|
75 | + { |
|
76 | + $this->endUpdatedTime = $endUpdatedTime; |
|
77 | + } |
|
78 | + |
|
79 | + public function setPage($page) |
|
80 | + { |
|
81 | + $this->page = $page; |
|
82 | + } |
|
83 | + |
|
84 | + public function setPageSize($pageSize) |
|
85 | + { |
|
86 | + $this->pageSize = $pageSize; |
|
87 | + } |
|
88 | + |
|
89 | + public function setStartUpdatedTime($startUpdatedTime) |
|
90 | + { |
|
91 | + $this->startUpdatedTime = $startUpdatedTime; |
|
92 | + } |
|
93 | 93 | |
94 | 94 | } |
@@ -7,244 +7,244 @@ |
||
7 | 7 | class PddStockWareCreateRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(Integer, "ware_type") |
|
15 | - */ |
|
16 | - private $wareType; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddStockWareCreateRequest_WareInfosItem>, "ware_infos") |
|
20 | - */ |
|
21 | - private $wareInfos; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(String, "ware_sn") |
|
25 | - */ |
|
26 | - private $wareSn; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(String, "ware_name") |
|
30 | - */ |
|
31 | - private $wareName; |
|
32 | - |
|
33 | - /** |
|
34 | - * @JsonProperty(String, "note") |
|
35 | - */ |
|
36 | - private $note; |
|
37 | - |
|
38 | - /** |
|
39 | - * @JsonProperty(Integer, "service_quality") |
|
40 | - */ |
|
41 | - private $serviceQuality; |
|
42 | - |
|
43 | - /** |
|
44 | - * @JsonProperty(Integer, "volume") |
|
45 | - */ |
|
46 | - private $volume; |
|
47 | - |
|
48 | - /** |
|
49 | - * @JsonProperty(Integer, "length") |
|
50 | - */ |
|
51 | - private $length; |
|
52 | - |
|
53 | - /** |
|
54 | - * @JsonProperty(Integer, "width") |
|
55 | - */ |
|
56 | - private $width; |
|
57 | - |
|
58 | - /** |
|
59 | - * @JsonProperty(Integer, "height") |
|
60 | - */ |
|
61 | - private $height; |
|
62 | - |
|
63 | - /** |
|
64 | - * @JsonProperty(Integer, "weight") |
|
65 | - */ |
|
66 | - private $weight; |
|
67 | - |
|
68 | - /** |
|
69 | - * @JsonProperty(Integer, "gross_weight") |
|
70 | - */ |
|
71 | - private $grossWeight; |
|
72 | - |
|
73 | - /** |
|
74 | - * @JsonProperty(Integer, "net_weight") |
|
75 | - */ |
|
76 | - private $netWeight; |
|
77 | - |
|
78 | - /** |
|
79 | - * @JsonProperty(Integer, "tare_weight") |
|
80 | - */ |
|
81 | - private $tareWeight; |
|
82 | - |
|
83 | - /** |
|
84 | - * @JsonProperty(Integer, "price") |
|
85 | - */ |
|
86 | - private $price; |
|
87 | - |
|
88 | - /** |
|
89 | - * @JsonProperty(String, "color") |
|
90 | - */ |
|
91 | - private $color; |
|
92 | - |
|
93 | - /** |
|
94 | - * @JsonProperty(String, "packing") |
|
95 | - */ |
|
96 | - private $packing; |
|
97 | - |
|
98 | - protected function setUserParams(&$params) |
|
99 | - { |
|
100 | - $this->setUserParam($params, "ware_type", $this->wareType); |
|
101 | - $this->setUserParam($params, "ware_infos", $this->wareInfos); |
|
102 | - $this->setUserParam($params, "ware_sn", $this->wareSn); |
|
103 | - $this->setUserParam($params, "ware_name", $this->wareName); |
|
104 | - $this->setUserParam($params, "note", $this->note); |
|
105 | - $this->setUserParam($params, "service_quality", $this->serviceQuality); |
|
106 | - $this->setUserParam($params, "volume", $this->volume); |
|
107 | - $this->setUserParam($params, "length", $this->length); |
|
108 | - $this->setUserParam($params, "width", $this->width); |
|
109 | - $this->setUserParam($params, "height", $this->height); |
|
110 | - $this->setUserParam($params, "weight", $this->weight); |
|
111 | - $this->setUserParam($params, "gross_weight", $this->grossWeight); |
|
112 | - $this->setUserParam($params, "net_weight", $this->netWeight); |
|
113 | - $this->setUserParam($params, "tare_weight", $this->tareWeight); |
|
114 | - $this->setUserParam($params, "price", $this->price); |
|
115 | - $this->setUserParam($params, "color", $this->color); |
|
116 | - $this->setUserParam($params, "packing", $this->packing); |
|
117 | - |
|
118 | - } |
|
119 | - |
|
120 | - public function getVersion() |
|
121 | - { |
|
122 | - return "V1"; |
|
123 | - } |
|
124 | - |
|
125 | - public function getDataType() |
|
126 | - { |
|
127 | - return "JSON"; |
|
128 | - } |
|
129 | - |
|
130 | - public function getType() |
|
131 | - { |
|
132 | - return "pdd.stock.ware.create"; |
|
133 | - } |
|
134 | - |
|
135 | - public function setWareType($wareType) |
|
136 | - { |
|
137 | - $this->wareType = $wareType; |
|
138 | - } |
|
139 | - |
|
140 | - public function setWareInfos($wareInfos) |
|
141 | - { |
|
142 | - $this->wareInfos = $wareInfos; |
|
143 | - } |
|
144 | - |
|
145 | - public function setWareSn($wareSn) |
|
146 | - { |
|
147 | - $this->wareSn = $wareSn; |
|
148 | - } |
|
149 | - |
|
150 | - public function setWareName($wareName) |
|
151 | - { |
|
152 | - $this->wareName = $wareName; |
|
153 | - } |
|
154 | - |
|
155 | - public function setNote($note) |
|
156 | - { |
|
157 | - $this->note = $note; |
|
158 | - } |
|
159 | - |
|
160 | - public function setServiceQuality($serviceQuality) |
|
161 | - { |
|
162 | - $this->serviceQuality = $serviceQuality; |
|
163 | - } |
|
164 | - |
|
165 | - public function setVolume($volume) |
|
166 | - { |
|
167 | - $this->volume = $volume; |
|
168 | - } |
|
169 | - |
|
170 | - public function setLength($length) |
|
171 | - { |
|
172 | - $this->length = $length; |
|
173 | - } |
|
174 | - |
|
175 | - public function setWidth($width) |
|
176 | - { |
|
177 | - $this->width = $width; |
|
178 | - } |
|
179 | - |
|
180 | - public function setHeight($height) |
|
181 | - { |
|
182 | - $this->height = $height; |
|
183 | - } |
|
184 | - |
|
185 | - public function setWeight($weight) |
|
186 | - { |
|
187 | - $this->weight = $weight; |
|
188 | - } |
|
189 | - |
|
190 | - public function setGrossWeight($grossWeight) |
|
191 | - { |
|
192 | - $this->grossWeight = $grossWeight; |
|
193 | - } |
|
194 | - |
|
195 | - public function setNetWeight($netWeight) |
|
196 | - { |
|
197 | - $this->netWeight = $netWeight; |
|
198 | - } |
|
199 | - |
|
200 | - public function setTareWeight($tareWeight) |
|
201 | - { |
|
202 | - $this->tareWeight = $tareWeight; |
|
203 | - } |
|
204 | - |
|
205 | - public function setPrice($price) |
|
206 | - { |
|
207 | - $this->price = $price; |
|
208 | - } |
|
209 | - |
|
210 | - public function setColor($color) |
|
211 | - { |
|
212 | - $this->color = $color; |
|
213 | - } |
|
214 | - |
|
215 | - public function setPacking($packing) |
|
216 | - { |
|
217 | - $this->packing = $packing; |
|
218 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(Integer, "ware_type") |
|
15 | + */ |
|
16 | + private $wareType; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddStockWareCreateRequest_WareInfosItem>, "ware_infos") |
|
20 | + */ |
|
21 | + private $wareInfos; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(String, "ware_sn") |
|
25 | + */ |
|
26 | + private $wareSn; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(String, "ware_name") |
|
30 | + */ |
|
31 | + private $wareName; |
|
32 | + |
|
33 | + /** |
|
34 | + * @JsonProperty(String, "note") |
|
35 | + */ |
|
36 | + private $note; |
|
37 | + |
|
38 | + /** |
|
39 | + * @JsonProperty(Integer, "service_quality") |
|
40 | + */ |
|
41 | + private $serviceQuality; |
|
42 | + |
|
43 | + /** |
|
44 | + * @JsonProperty(Integer, "volume") |
|
45 | + */ |
|
46 | + private $volume; |
|
47 | + |
|
48 | + /** |
|
49 | + * @JsonProperty(Integer, "length") |
|
50 | + */ |
|
51 | + private $length; |
|
52 | + |
|
53 | + /** |
|
54 | + * @JsonProperty(Integer, "width") |
|
55 | + */ |
|
56 | + private $width; |
|
57 | + |
|
58 | + /** |
|
59 | + * @JsonProperty(Integer, "height") |
|
60 | + */ |
|
61 | + private $height; |
|
62 | + |
|
63 | + /** |
|
64 | + * @JsonProperty(Integer, "weight") |
|
65 | + */ |
|
66 | + private $weight; |
|
67 | + |
|
68 | + /** |
|
69 | + * @JsonProperty(Integer, "gross_weight") |
|
70 | + */ |
|
71 | + private $grossWeight; |
|
72 | + |
|
73 | + /** |
|
74 | + * @JsonProperty(Integer, "net_weight") |
|
75 | + */ |
|
76 | + private $netWeight; |
|
77 | + |
|
78 | + /** |
|
79 | + * @JsonProperty(Integer, "tare_weight") |
|
80 | + */ |
|
81 | + private $tareWeight; |
|
82 | + |
|
83 | + /** |
|
84 | + * @JsonProperty(Integer, "price") |
|
85 | + */ |
|
86 | + private $price; |
|
87 | + |
|
88 | + /** |
|
89 | + * @JsonProperty(String, "color") |
|
90 | + */ |
|
91 | + private $color; |
|
92 | + |
|
93 | + /** |
|
94 | + * @JsonProperty(String, "packing") |
|
95 | + */ |
|
96 | + private $packing; |
|
97 | + |
|
98 | + protected function setUserParams(&$params) |
|
99 | + { |
|
100 | + $this->setUserParam($params, "ware_type", $this->wareType); |
|
101 | + $this->setUserParam($params, "ware_infos", $this->wareInfos); |
|
102 | + $this->setUserParam($params, "ware_sn", $this->wareSn); |
|
103 | + $this->setUserParam($params, "ware_name", $this->wareName); |
|
104 | + $this->setUserParam($params, "note", $this->note); |
|
105 | + $this->setUserParam($params, "service_quality", $this->serviceQuality); |
|
106 | + $this->setUserParam($params, "volume", $this->volume); |
|
107 | + $this->setUserParam($params, "length", $this->length); |
|
108 | + $this->setUserParam($params, "width", $this->width); |
|
109 | + $this->setUserParam($params, "height", $this->height); |
|
110 | + $this->setUserParam($params, "weight", $this->weight); |
|
111 | + $this->setUserParam($params, "gross_weight", $this->grossWeight); |
|
112 | + $this->setUserParam($params, "net_weight", $this->netWeight); |
|
113 | + $this->setUserParam($params, "tare_weight", $this->tareWeight); |
|
114 | + $this->setUserParam($params, "price", $this->price); |
|
115 | + $this->setUserParam($params, "color", $this->color); |
|
116 | + $this->setUserParam($params, "packing", $this->packing); |
|
117 | + |
|
118 | + } |
|
119 | + |
|
120 | + public function getVersion() |
|
121 | + { |
|
122 | + return "V1"; |
|
123 | + } |
|
124 | + |
|
125 | + public function getDataType() |
|
126 | + { |
|
127 | + return "JSON"; |
|
128 | + } |
|
129 | + |
|
130 | + public function getType() |
|
131 | + { |
|
132 | + return "pdd.stock.ware.create"; |
|
133 | + } |
|
134 | + |
|
135 | + public function setWareType($wareType) |
|
136 | + { |
|
137 | + $this->wareType = $wareType; |
|
138 | + } |
|
139 | + |
|
140 | + public function setWareInfos($wareInfos) |
|
141 | + { |
|
142 | + $this->wareInfos = $wareInfos; |
|
143 | + } |
|
144 | + |
|
145 | + public function setWareSn($wareSn) |
|
146 | + { |
|
147 | + $this->wareSn = $wareSn; |
|
148 | + } |
|
149 | + |
|
150 | + public function setWareName($wareName) |
|
151 | + { |
|
152 | + $this->wareName = $wareName; |
|
153 | + } |
|
154 | + |
|
155 | + public function setNote($note) |
|
156 | + { |
|
157 | + $this->note = $note; |
|
158 | + } |
|
159 | + |
|
160 | + public function setServiceQuality($serviceQuality) |
|
161 | + { |
|
162 | + $this->serviceQuality = $serviceQuality; |
|
163 | + } |
|
164 | + |
|
165 | + public function setVolume($volume) |
|
166 | + { |
|
167 | + $this->volume = $volume; |
|
168 | + } |
|
169 | + |
|
170 | + public function setLength($length) |
|
171 | + { |
|
172 | + $this->length = $length; |
|
173 | + } |
|
174 | + |
|
175 | + public function setWidth($width) |
|
176 | + { |
|
177 | + $this->width = $width; |
|
178 | + } |
|
179 | + |
|
180 | + public function setHeight($height) |
|
181 | + { |
|
182 | + $this->height = $height; |
|
183 | + } |
|
184 | + |
|
185 | + public function setWeight($weight) |
|
186 | + { |
|
187 | + $this->weight = $weight; |
|
188 | + } |
|
189 | + |
|
190 | + public function setGrossWeight($grossWeight) |
|
191 | + { |
|
192 | + $this->grossWeight = $grossWeight; |
|
193 | + } |
|
194 | + |
|
195 | + public function setNetWeight($netWeight) |
|
196 | + { |
|
197 | + $this->netWeight = $netWeight; |
|
198 | + } |
|
199 | + |
|
200 | + public function setTareWeight($tareWeight) |
|
201 | + { |
|
202 | + $this->tareWeight = $tareWeight; |
|
203 | + } |
|
204 | + |
|
205 | + public function setPrice($price) |
|
206 | + { |
|
207 | + $this->price = $price; |
|
208 | + } |
|
209 | + |
|
210 | + public function setColor($color) |
|
211 | + { |
|
212 | + $this->color = $color; |
|
213 | + } |
|
214 | + |
|
215 | + public function setPacking($packing) |
|
216 | + { |
|
217 | + $this->packing = $packing; |
|
218 | + } |
|
219 | 219 | |
220 | 220 | } |
221 | 221 | |
222 | 222 | class PddStockWareCreateRequest_WareInfosItem extends PopBaseJsonEntity |
223 | 223 | { |
224 | 224 | |
225 | - public function __construct() |
|
226 | - { |
|
225 | + public function __construct() |
|
226 | + { |
|
227 | 227 | |
228 | - } |
|
228 | + } |
|
229 | 229 | |
230 | - /** |
|
231 | - * @JsonProperty(Integer, "ware_quantity") |
|
232 | - */ |
|
233 | - private $wareQuantity; |
|
230 | + /** |
|
231 | + * @JsonProperty(Integer, "ware_quantity") |
|
232 | + */ |
|
233 | + private $wareQuantity; |
|
234 | 234 | |
235 | - /** |
|
236 | - * @JsonProperty(Long, "ware_id") |
|
237 | - */ |
|
238 | - private $wareId; |
|
235 | + /** |
|
236 | + * @JsonProperty(Long, "ware_id") |
|
237 | + */ |
|
238 | + private $wareId; |
|
239 | 239 | |
240 | - public function setWareQuantity($wareQuantity) |
|
241 | - { |
|
242 | - $this->wareQuantity = $wareQuantity; |
|
243 | - } |
|
240 | + public function setWareQuantity($wareQuantity) |
|
241 | + { |
|
242 | + $this->wareQuantity = $wareQuantity; |
|
243 | + } |
|
244 | 244 | |
245 | - public function setWareId($wareId) |
|
246 | - { |
|
247 | - $this->wareId = $wareId; |
|
248 | - } |
|
245 | + public function setWareId($wareId) |
|
246 | + { |
|
247 | + $this->wareId = $wareId; |
|
248 | + } |
|
249 | 249 | |
250 | 250 | } |
@@ -7,27 +7,27 @@ |
||
7 | 7 | class PddGooodsSkuMeasurementListRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
10 | + { |
|
11 | 11 | |
12 | - } |
|
13 | - protected function setUserParams(&$params) |
|
14 | - { |
|
12 | + } |
|
13 | + protected function setUserParams(&$params) |
|
14 | + { |
|
15 | 15 | |
16 | - } |
|
16 | + } |
|
17 | 17 | |
18 | - public function getVersion() |
|
19 | - { |
|
20 | - return "V1"; |
|
21 | - } |
|
18 | + public function getVersion() |
|
19 | + { |
|
20 | + return "V1"; |
|
21 | + } |
|
22 | 22 | |
23 | - public function getDataType() |
|
24 | - { |
|
25 | - return "JSON"; |
|
26 | - } |
|
23 | + public function getDataType() |
|
24 | + { |
|
25 | + return "JSON"; |
|
26 | + } |
|
27 | 27 | |
28 | - public function getType() |
|
29 | - { |
|
30 | - return "pdd.gooods.sku.measurement.list"; |
|
31 | - } |
|
28 | + public function getType() |
|
29 | + { |
|
30 | + return "pdd.gooods.sku.measurement.list"; |
|
31 | + } |
|
32 | 32 | |
33 | 33 | } |
@@ -7,115 +7,115 @@ |
||
7 | 7 | class PddMallInfoStoreGetRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(String, "city") |
|
15 | - */ |
|
16 | - private $city; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(String, "district") |
|
20 | - */ |
|
21 | - private $district; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(Integer, "page_number") |
|
25 | - */ |
|
26 | - private $pageNumber; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(Integer, "page_size") |
|
30 | - */ |
|
31 | - private $pageSize; |
|
32 | - |
|
33 | - /** |
|
34 | - * @JsonProperty(String, "province") |
|
35 | - */ |
|
36 | - private $province; |
|
37 | - |
|
38 | - /** |
|
39 | - * @JsonProperty(Long, "store_id") |
|
40 | - */ |
|
41 | - private $storeId; |
|
42 | - |
|
43 | - /** |
|
44 | - * @JsonProperty(String, "store_name") |
|
45 | - */ |
|
46 | - private $storeName; |
|
47 | - |
|
48 | - /** |
|
49 | - * @JsonProperty(String, "store_number") |
|
50 | - */ |
|
51 | - private $storeNumber; |
|
52 | - |
|
53 | - protected function setUserParams(&$params) |
|
54 | - { |
|
55 | - $this->setUserParam($params, "city", $this->city); |
|
56 | - $this->setUserParam($params, "district", $this->district); |
|
57 | - $this->setUserParam($params, "page_number", $this->pageNumber); |
|
58 | - $this->setUserParam($params, "page_size", $this->pageSize); |
|
59 | - $this->setUserParam($params, "province", $this->province); |
|
60 | - $this->setUserParam($params, "store_id", $this->storeId); |
|
61 | - $this->setUserParam($params, "store_name", $this->storeName); |
|
62 | - $this->setUserParam($params, "store_number", $this->storeNumber); |
|
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.mall.info.store.get"; |
|
79 | - } |
|
80 | - |
|
81 | - public function setCity($city) |
|
82 | - { |
|
83 | - $this->city = $city; |
|
84 | - } |
|
85 | - |
|
86 | - public function setDistrict($district) |
|
87 | - { |
|
88 | - $this->district = $district; |
|
89 | - } |
|
90 | - |
|
91 | - public function setPageNumber($pageNumber) |
|
92 | - { |
|
93 | - $this->pageNumber = $pageNumber; |
|
94 | - } |
|
95 | - |
|
96 | - public function setPageSize($pageSize) |
|
97 | - { |
|
98 | - $this->pageSize = $pageSize; |
|
99 | - } |
|
100 | - |
|
101 | - public function setProvince($province) |
|
102 | - { |
|
103 | - $this->province = $province; |
|
104 | - } |
|
105 | - |
|
106 | - public function setStoreId($storeId) |
|
107 | - { |
|
108 | - $this->storeId = $storeId; |
|
109 | - } |
|
110 | - |
|
111 | - public function setStoreName($storeName) |
|
112 | - { |
|
113 | - $this->storeName = $storeName; |
|
114 | - } |
|
115 | - |
|
116 | - public function setStoreNumber($storeNumber) |
|
117 | - { |
|
118 | - $this->storeNumber = $storeNumber; |
|
119 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "city") |
|
15 | + */ |
|
16 | + private $city; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(String, "district") |
|
20 | + */ |
|
21 | + private $district; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(Integer, "page_number") |
|
25 | + */ |
|
26 | + private $pageNumber; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(Integer, "page_size") |
|
30 | + */ |
|
31 | + private $pageSize; |
|
32 | + |
|
33 | + /** |
|
34 | + * @JsonProperty(String, "province") |
|
35 | + */ |
|
36 | + private $province; |
|
37 | + |
|
38 | + /** |
|
39 | + * @JsonProperty(Long, "store_id") |
|
40 | + */ |
|
41 | + private $storeId; |
|
42 | + |
|
43 | + /** |
|
44 | + * @JsonProperty(String, "store_name") |
|
45 | + */ |
|
46 | + private $storeName; |
|
47 | + |
|
48 | + /** |
|
49 | + * @JsonProperty(String, "store_number") |
|
50 | + */ |
|
51 | + private $storeNumber; |
|
52 | + |
|
53 | + protected function setUserParams(&$params) |
|
54 | + { |
|
55 | + $this->setUserParam($params, "city", $this->city); |
|
56 | + $this->setUserParam($params, "district", $this->district); |
|
57 | + $this->setUserParam($params, "page_number", $this->pageNumber); |
|
58 | + $this->setUserParam($params, "page_size", $this->pageSize); |
|
59 | + $this->setUserParam($params, "province", $this->province); |
|
60 | + $this->setUserParam($params, "store_id", $this->storeId); |
|
61 | + $this->setUserParam($params, "store_name", $this->storeName); |
|
62 | + $this->setUserParam($params, "store_number", $this->storeNumber); |
|
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.mall.info.store.get"; |
|
79 | + } |
|
80 | + |
|
81 | + public function setCity($city) |
|
82 | + { |
|
83 | + $this->city = $city; |
|
84 | + } |
|
85 | + |
|
86 | + public function setDistrict($district) |
|
87 | + { |
|
88 | + $this->district = $district; |
|
89 | + } |
|
90 | + |
|
91 | + public function setPageNumber($pageNumber) |
|
92 | + { |
|
93 | + $this->pageNumber = $pageNumber; |
|
94 | + } |
|
95 | + |
|
96 | + public function setPageSize($pageSize) |
|
97 | + { |
|
98 | + $this->pageSize = $pageSize; |
|
99 | + } |
|
100 | + |
|
101 | + public function setProvince($province) |
|
102 | + { |
|
103 | + $this->province = $province; |
|
104 | + } |
|
105 | + |
|
106 | + public function setStoreId($storeId) |
|
107 | + { |
|
108 | + $this->storeId = $storeId; |
|
109 | + } |
|
110 | + |
|
111 | + public function setStoreName($storeName) |
|
112 | + { |
|
113 | + $this->storeName = $storeName; |
|
114 | + } |
|
115 | + |
|
116 | + public function setStoreNumber($storeNumber) |
|
117 | + { |
|
118 | + $this->storeNumber = $storeNumber; |
|
119 | + } |
|
120 | 120 | |
121 | 121 | } |