@@ -7,263 +7,263 @@ |
||
7 | 7 | class PddGoodsLogisticsSerTemplateUpdateRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(String, "template_id") |
|
15 | - */ |
|
16 | - private $templateId; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(Integer, "template_type") |
|
20 | - */ |
|
21 | - private $templateType; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(String, "template_name") |
|
25 | - */ |
|
26 | - private $templateName; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(Integer, "price_unit") |
|
30 | - */ |
|
31 | - private $priceUnit; |
|
32 | - |
|
33 | - /** |
|
34 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsLogisticsSerTemplateUpdateRequest_ServiceAreaListItem>, "service_area_list") |
|
35 | - */ |
|
36 | - private $serviceAreaList; |
|
37 | - |
|
38 | - /** |
|
39 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsLogisticsSerTemplateUpdateRequest_CatListItem>, "cat_list") |
|
40 | - */ |
|
41 | - private $catList; |
|
42 | - |
|
43 | - protected function setUserParams(&$params) |
|
44 | - { |
|
45 | - $this->setUserParam($params, "template_id", $this->templateId); |
|
46 | - $this->setUserParam($params, "template_type", $this->templateType); |
|
47 | - $this->setUserParam($params, "template_name", $this->templateName); |
|
48 | - $this->setUserParam($params, "price_unit", $this->priceUnit); |
|
49 | - $this->setUserParam($params, "service_area_list", $this->serviceAreaList); |
|
50 | - $this->setUserParam($params, "cat_list", $this->catList); |
|
51 | - |
|
52 | - } |
|
53 | - |
|
54 | - public function getVersion() |
|
55 | - { |
|
56 | - return "V1"; |
|
57 | - } |
|
58 | - |
|
59 | - public function getDataType() |
|
60 | - { |
|
61 | - return "JSON"; |
|
62 | - } |
|
63 | - |
|
64 | - public function getType() |
|
65 | - { |
|
66 | - return "pdd.goods.logistics.ser.template.update"; |
|
67 | - } |
|
68 | - |
|
69 | - public function setTemplateId($templateId) |
|
70 | - { |
|
71 | - $this->templateId = $templateId; |
|
72 | - } |
|
73 | - |
|
74 | - public function setTemplateType($templateType) |
|
75 | - { |
|
76 | - $this->templateType = $templateType; |
|
77 | - } |
|
78 | - |
|
79 | - public function setTemplateName($templateName) |
|
80 | - { |
|
81 | - $this->templateName = $templateName; |
|
82 | - } |
|
83 | - |
|
84 | - public function setPriceUnit($priceUnit) |
|
85 | - { |
|
86 | - $this->priceUnit = $priceUnit; |
|
87 | - } |
|
88 | - |
|
89 | - public function setServiceAreaList($serviceAreaList) |
|
90 | - { |
|
91 | - $this->serviceAreaList = $serviceAreaList; |
|
92 | - } |
|
93 | - |
|
94 | - public function setCatList($catList) |
|
95 | - { |
|
96 | - $this->catList = $catList; |
|
97 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "template_id") |
|
15 | + */ |
|
16 | + private $templateId; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(Integer, "template_type") |
|
20 | + */ |
|
21 | + private $templateType; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(String, "template_name") |
|
25 | + */ |
|
26 | + private $templateName; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(Integer, "price_unit") |
|
30 | + */ |
|
31 | + private $priceUnit; |
|
32 | + |
|
33 | + /** |
|
34 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsLogisticsSerTemplateUpdateRequest_ServiceAreaListItem>, "service_area_list") |
|
35 | + */ |
|
36 | + private $serviceAreaList; |
|
37 | + |
|
38 | + /** |
|
39 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsLogisticsSerTemplateUpdateRequest_CatListItem>, "cat_list") |
|
40 | + */ |
|
41 | + private $catList; |
|
42 | + |
|
43 | + protected function setUserParams(&$params) |
|
44 | + { |
|
45 | + $this->setUserParam($params, "template_id", $this->templateId); |
|
46 | + $this->setUserParam($params, "template_type", $this->templateType); |
|
47 | + $this->setUserParam($params, "template_name", $this->templateName); |
|
48 | + $this->setUserParam($params, "price_unit", $this->priceUnit); |
|
49 | + $this->setUserParam($params, "service_area_list", $this->serviceAreaList); |
|
50 | + $this->setUserParam($params, "cat_list", $this->catList); |
|
51 | + |
|
52 | + } |
|
53 | + |
|
54 | + public function getVersion() |
|
55 | + { |
|
56 | + return "V1"; |
|
57 | + } |
|
58 | + |
|
59 | + public function getDataType() |
|
60 | + { |
|
61 | + return "JSON"; |
|
62 | + } |
|
63 | + |
|
64 | + public function getType() |
|
65 | + { |
|
66 | + return "pdd.goods.logistics.ser.template.update"; |
|
67 | + } |
|
68 | + |
|
69 | + public function setTemplateId($templateId) |
|
70 | + { |
|
71 | + $this->templateId = $templateId; |
|
72 | + } |
|
73 | + |
|
74 | + public function setTemplateType($templateType) |
|
75 | + { |
|
76 | + $this->templateType = $templateType; |
|
77 | + } |
|
78 | + |
|
79 | + public function setTemplateName($templateName) |
|
80 | + { |
|
81 | + $this->templateName = $templateName; |
|
82 | + } |
|
83 | + |
|
84 | + public function setPriceUnit($priceUnit) |
|
85 | + { |
|
86 | + $this->priceUnit = $priceUnit; |
|
87 | + } |
|
88 | + |
|
89 | + public function setServiceAreaList($serviceAreaList) |
|
90 | + { |
|
91 | + $this->serviceAreaList = $serviceAreaList; |
|
92 | + } |
|
93 | + |
|
94 | + public function setCatList($catList) |
|
95 | + { |
|
96 | + $this->catList = $catList; |
|
97 | + } |
|
98 | 98 | |
99 | 99 | } |
100 | 100 | |
101 | 101 | class PddGoodsLogisticsSerTemplateUpdateRequest_ServiceAreaListItem extends PopBaseJsonEntity |
102 | 102 | { |
103 | 103 | |
104 | - public function __construct() |
|
105 | - { |
|
106 | - |
|
107 | - } |
|
108 | - |
|
109 | - /** |
|
110 | - * @JsonProperty(String, "value") |
|
111 | - */ |
|
112 | - private $value; |
|
113 | - |
|
114 | - /** |
|
115 | - * @JsonProperty(String, "district_id") |
|
116 | - */ |
|
117 | - private $districtId; |
|
118 | - |
|
119 | - /** |
|
120 | - * @JsonProperty(String, "city_id") |
|
121 | - */ |
|
122 | - private $cityId; |
|
123 | - |
|
124 | - /** |
|
125 | - * @JsonProperty(String, "province_id") |
|
126 | - */ |
|
127 | - private $provinceId; |
|
128 | - |
|
129 | - public function setValue($value) |
|
130 | - { |
|
131 | - $this->value = $value; |
|
132 | - } |
|
133 | - |
|
134 | - public function setDistrictId($districtId) |
|
135 | - { |
|
136 | - $this->districtId = $districtId; |
|
137 | - } |
|
138 | - |
|
139 | - public function setCityId($cityId) |
|
140 | - { |
|
141 | - $this->cityId = $cityId; |
|
142 | - } |
|
143 | - |
|
144 | - public function setProvinceId($provinceId) |
|
145 | - { |
|
146 | - $this->provinceId = $provinceId; |
|
147 | - } |
|
104 | + public function __construct() |
|
105 | + { |
|
106 | + |
|
107 | + } |
|
108 | + |
|
109 | + /** |
|
110 | + * @JsonProperty(String, "value") |
|
111 | + */ |
|
112 | + private $value; |
|
113 | + |
|
114 | + /** |
|
115 | + * @JsonProperty(String, "district_id") |
|
116 | + */ |
|
117 | + private $districtId; |
|
118 | + |
|
119 | + /** |
|
120 | + * @JsonProperty(String, "city_id") |
|
121 | + */ |
|
122 | + private $cityId; |
|
123 | + |
|
124 | + /** |
|
125 | + * @JsonProperty(String, "province_id") |
|
126 | + */ |
|
127 | + private $provinceId; |
|
128 | + |
|
129 | + public function setValue($value) |
|
130 | + { |
|
131 | + $this->value = $value; |
|
132 | + } |
|
133 | + |
|
134 | + public function setDistrictId($districtId) |
|
135 | + { |
|
136 | + $this->districtId = $districtId; |
|
137 | + } |
|
138 | + |
|
139 | + public function setCityId($cityId) |
|
140 | + { |
|
141 | + $this->cityId = $cityId; |
|
142 | + } |
|
143 | + |
|
144 | + public function setProvinceId($provinceId) |
|
145 | + { |
|
146 | + $this->provinceId = $provinceId; |
|
147 | + } |
|
148 | 148 | |
149 | 149 | } |
150 | 150 | |
151 | 151 | class PddGoodsLogisticsSerTemplateUpdateRequest_CatListItem extends PopBaseJsonEntity |
152 | 152 | { |
153 | 153 | |
154 | - public function __construct() |
|
155 | - { |
|
154 | + public function __construct() |
|
155 | + { |
|
156 | 156 | |
157 | - } |
|
157 | + } |
|
158 | 158 | |
159 | - /** |
|
160 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsLogisticsSerTemplateUpdateRequest_CatListItemListItem>, "list") |
|
161 | - */ |
|
162 | - private $list; |
|
159 | + /** |
|
160 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsLogisticsSerTemplateUpdateRequest_CatListItemListItem>, "list") |
|
161 | + */ |
|
162 | + private $list; |
|
163 | 163 | |
164 | - /** |
|
165 | - * @JsonProperty(Long, "cat_id4") |
|
166 | - */ |
|
167 | - private $catId4; |
|
164 | + /** |
|
165 | + * @JsonProperty(Long, "cat_id4") |
|
166 | + */ |
|
167 | + private $catId4; |
|
168 | 168 | |
169 | - /** |
|
170 | - * @JsonProperty(Long, "cat_id3") |
|
171 | - */ |
|
172 | - private $catId3; |
|
169 | + /** |
|
170 | + * @JsonProperty(Long, "cat_id3") |
|
171 | + */ |
|
172 | + private $catId3; |
|
173 | 173 | |
174 | - public function setList($list) |
|
175 | - { |
|
176 | - $this->list = $list; |
|
177 | - } |
|
174 | + public function setList($list) |
|
175 | + { |
|
176 | + $this->list = $list; |
|
177 | + } |
|
178 | 178 | |
179 | - public function setCatId4($catId4) |
|
180 | - { |
|
181 | - $this->catId4 = $catId4; |
|
182 | - } |
|
179 | + public function setCatId4($catId4) |
|
180 | + { |
|
181 | + $this->catId4 = $catId4; |
|
182 | + } |
|
183 | 183 | |
184 | - public function setCatId3($catId3) |
|
185 | - { |
|
186 | - $this->catId3 = $catId3; |
|
187 | - } |
|
184 | + public function setCatId3($catId3) |
|
185 | + { |
|
186 | + $this->catId3 = $catId3; |
|
187 | + } |
|
188 | 188 | |
189 | 189 | } |
190 | 190 | |
191 | 191 | class PddGoodsLogisticsSerTemplateUpdateRequest_CatListItemListItem extends PopBaseJsonEntity |
192 | 192 | { |
193 | 193 | |
194 | - public function __construct() |
|
195 | - { |
|
194 | + public function __construct() |
|
195 | + { |
|
196 | 196 | |
197 | - } |
|
197 | + } |
|
198 | 198 | |
199 | - /** |
|
200 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsLogisticsSerTemplateUpdateRequest_CatListItemListItemContentItem>, "content") |
|
201 | - */ |
|
202 | - private $content; |
|
199 | + /** |
|
200 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsLogisticsSerTemplateUpdateRequest_CatListItemListItemContentItem>, "content") |
|
201 | + */ |
|
202 | + private $content; |
|
203 | 203 | |
204 | - /** |
|
205 | - * @JsonProperty(Long, "value") |
|
206 | - */ |
|
207 | - private $value; |
|
204 | + /** |
|
205 | + * @JsonProperty(Long, "value") |
|
206 | + */ |
|
207 | + private $value; |
|
208 | 208 | |
209 | - /** |
|
210 | - * @JsonProperty(Integer, "limit_type") |
|
211 | - */ |
|
212 | - private $limitType; |
|
209 | + /** |
|
210 | + * @JsonProperty(Integer, "limit_type") |
|
211 | + */ |
|
212 | + private $limitType; |
|
213 | 213 | |
214 | - public function setContent($content) |
|
215 | - { |
|
216 | - $this->content = $content; |
|
217 | - } |
|
214 | + public function setContent($content) |
|
215 | + { |
|
216 | + $this->content = $content; |
|
217 | + } |
|
218 | 218 | |
219 | - public function setValue($value) |
|
220 | - { |
|
221 | - $this->value = $value; |
|
222 | - } |
|
219 | + public function setValue($value) |
|
220 | + { |
|
221 | + $this->value = $value; |
|
222 | + } |
|
223 | 223 | |
224 | - public function setLimitType($limitType) |
|
225 | - { |
|
226 | - $this->limitType = $limitType; |
|
227 | - } |
|
224 | + public function setLimitType($limitType) |
|
225 | + { |
|
226 | + $this->limitType = $limitType; |
|
227 | + } |
|
228 | 228 | |
229 | 229 | } |
230 | 230 | |
231 | 231 | class PddGoodsLogisticsSerTemplateUpdateRequest_CatListItemListItemContentItem extends PopBaseJsonEntity |
232 | 232 | { |
233 | 233 | |
234 | - public function __construct() |
|
235 | - { |
|
236 | - |
|
237 | - } |
|
238 | - |
|
239 | - /** |
|
240 | - * @JsonProperty(Long, "price") |
|
241 | - */ |
|
242 | - private $price; |
|
243 | - |
|
244 | - /** |
|
245 | - * @JsonProperty(Long, "max_pro") |
|
246 | - */ |
|
247 | - private $maxPro; |
|
248 | - |
|
249 | - /** |
|
250 | - * @JsonProperty(Long, "min_pro") |
|
251 | - */ |
|
252 | - private $minPro; |
|
253 | - |
|
254 | - public function setPrice($price) |
|
255 | - { |
|
256 | - $this->price = $price; |
|
257 | - } |
|
258 | - |
|
259 | - public function setMaxPro($maxPro) |
|
260 | - { |
|
261 | - $this->maxPro = $maxPro; |
|
262 | - } |
|
263 | - |
|
264 | - public function setMinPro($minPro) |
|
265 | - { |
|
266 | - $this->minPro = $minPro; |
|
267 | - } |
|
234 | + public function __construct() |
|
235 | + { |
|
236 | + |
|
237 | + } |
|
238 | + |
|
239 | + /** |
|
240 | + * @JsonProperty(Long, "price") |
|
241 | + */ |
|
242 | + private $price; |
|
243 | + |
|
244 | + /** |
|
245 | + * @JsonProperty(Long, "max_pro") |
|
246 | + */ |
|
247 | + private $maxPro; |
|
248 | + |
|
249 | + /** |
|
250 | + * @JsonProperty(Long, "min_pro") |
|
251 | + */ |
|
252 | + private $minPro; |
|
253 | + |
|
254 | + public function setPrice($price) |
|
255 | + { |
|
256 | + $this->price = $price; |
|
257 | + } |
|
258 | + |
|
259 | + public function setMaxPro($maxPro) |
|
260 | + { |
|
261 | + $this->maxPro = $maxPro; |
|
262 | + } |
|
263 | + |
|
264 | + public function setMinPro($minPro) |
|
265 | + { |
|
266 | + $this->minPro = $minPro; |
|
267 | + } |
|
268 | 268 | |
269 | 269 | } |
@@ -7,38 +7,38 @@ |
||
7 | 7 | class PddPromotionLimitedQualifiedSkuGetRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(Long, "goods_id") |
|
15 | - */ |
|
16 | - private $goodsId; |
|
17 | - |
|
18 | - protected function setUserParams(&$params) |
|
19 | - { |
|
20 | - $this->setUserParam($params, "goods_id", $this->goodsId); |
|
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.promotion.limited.qualified.sku.get"; |
|
37 | - } |
|
38 | - |
|
39 | - public function setGoodsId($goodsId) |
|
40 | - { |
|
41 | - $this->goodsId = $goodsId; |
|
42 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(Long, "goods_id") |
|
15 | + */ |
|
16 | + private $goodsId; |
|
17 | + |
|
18 | + protected function setUserParams(&$params) |
|
19 | + { |
|
20 | + $this->setUserParam($params, "goods_id", $this->goodsId); |
|
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.promotion.limited.qualified.sku.get"; |
|
37 | + } |
|
38 | + |
|
39 | + public function setGoodsId($goodsId) |
|
40 | + { |
|
41 | + $this->goodsId = $goodsId; |
|
42 | + } |
|
43 | 43 | |
44 | 44 | } |
@@ -7,38 +7,38 @@ |
||
7 | 7 | class PddGoodsCpsUnitQueryRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(Long, "goods_id") |
|
15 | - */ |
|
16 | - private $goodsId; |
|
17 | - |
|
18 | - protected function setUserParams(&$params) |
|
19 | - { |
|
20 | - $this->setUserParam($params, "goods_id", $this->goodsId); |
|
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.goods.cps.unit.query"; |
|
37 | - } |
|
38 | - |
|
39 | - public function setGoodsId($goodsId) |
|
40 | - { |
|
41 | - $this->goodsId = $goodsId; |
|
42 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(Long, "goods_id") |
|
15 | + */ |
|
16 | + private $goodsId; |
|
17 | + |
|
18 | + protected function setUserParams(&$params) |
|
19 | + { |
|
20 | + $this->setUserParam($params, "goods_id", $this->goodsId); |
|
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.goods.cps.unit.query"; |
|
37 | + } |
|
38 | + |
|
39 | + public function setGoodsId($goodsId) |
|
40 | + { |
|
41 | + $this->goodsId = $goodsId; |
|
42 | + } |
|
43 | 43 | |
44 | 44 | } |
@@ -7,181 +7,181 @@ |
||
7 | 7 | class PddCloudDtsOrderListIncrementGetRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(Integer, "is_lucky_flag") |
|
15 | - */ |
|
16 | - private $isLuckyFlag; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(Integer, "order_status") |
|
20 | - */ |
|
21 | - private $orderStatus; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(Long, "start_updated_at") |
|
25 | - */ |
|
26 | - private $startUpdatedAt; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(Long, "end_updated_at") |
|
30 | - */ |
|
31 | - private $endUpdatedAt; |
|
32 | - |
|
33 | - /** |
|
34 | - * @JsonProperty(Integer, "page_size") |
|
35 | - */ |
|
36 | - private $pageSize; |
|
37 | - |
|
38 | - /** |
|
39 | - * @JsonProperty(Integer, "page") |
|
40 | - */ |
|
41 | - private $page; |
|
42 | - |
|
43 | - /** |
|
44 | - * @JsonProperty(Integer, "refund_status") |
|
45 | - */ |
|
46 | - private $refundStatus; |
|
47 | - |
|
48 | - /** |
|
49 | - * @JsonProperty(Integer, "trade_type") |
|
50 | - */ |
|
51 | - private $tradeType; |
|
52 | - |
|
53 | - /** |
|
54 | - * @JsonProperty(Boolean, "use_has_next") |
|
55 | - */ |
|
56 | - private $useHasNext; |
|
57 | - |
|
58 | - /** |
|
59 | - * @JsonProperty(Long, "mall_id") |
|
60 | - */ |
|
61 | - private $mallId; |
|
62 | - |
|
63 | - /** |
|
64 | - * @JsonProperty(Long, "ext_id") |
|
65 | - */ |
|
66 | - private $extId; |
|
67 | - |
|
68 | - /** |
|
69 | - * @JsonProperty(String, "token") |
|
70 | - */ |
|
71 | - private $token; |
|
72 | - |
|
73 | - /** |
|
74 | - * @JsonProperty(List<String>, "order_sn_list") |
|
75 | - */ |
|
76 | - private $orderSnList; |
|
77 | - |
|
78 | - /** |
|
79 | - * @JsonProperty(String, "extendProps") |
|
80 | - */ |
|
81 | - private $extendProps; |
|
82 | - |
|
83 | - protected function setUserParams(&$params) |
|
84 | - { |
|
85 | - $this->setUserParam($params, "is_lucky_flag", $this->isLuckyFlag); |
|
86 | - $this->setUserParam($params, "order_status", $this->orderStatus); |
|
87 | - $this->setUserParam($params, "start_updated_at", $this->startUpdatedAt); |
|
88 | - $this->setUserParam($params, "end_updated_at", $this->endUpdatedAt); |
|
89 | - $this->setUserParam($params, "page_size", $this->pageSize); |
|
90 | - $this->setUserParam($params, "page", $this->page); |
|
91 | - $this->setUserParam($params, "refund_status", $this->refundStatus); |
|
92 | - $this->setUserParam($params, "trade_type", $this->tradeType); |
|
93 | - $this->setUserParam($params, "use_has_next", $this->useHasNext); |
|
94 | - $this->setUserParam($params, "mall_id", $this->mallId); |
|
95 | - $this->setUserParam($params, "ext_id", $this->extId); |
|
96 | - $this->setUserParam($params, "token", $this->token); |
|
97 | - $this->setUserParam($params, "order_sn_list", $this->orderSnList); |
|
98 | - $this->setUserParam($params, "extendProps", $this->extendProps); |
|
99 | - |
|
100 | - } |
|
101 | - |
|
102 | - public function getVersion() |
|
103 | - { |
|
104 | - return "V1"; |
|
105 | - } |
|
106 | - |
|
107 | - public function getDataType() |
|
108 | - { |
|
109 | - return "JSON"; |
|
110 | - } |
|
111 | - |
|
112 | - public function getType() |
|
113 | - { |
|
114 | - return "pdd.cloud.dts.order.list.increment.get"; |
|
115 | - } |
|
116 | - |
|
117 | - public function setIsLuckyFlag($isLuckyFlag) |
|
118 | - { |
|
119 | - $this->isLuckyFlag = $isLuckyFlag; |
|
120 | - } |
|
121 | - |
|
122 | - public function setOrderStatus($orderStatus) |
|
123 | - { |
|
124 | - $this->orderStatus = $orderStatus; |
|
125 | - } |
|
126 | - |
|
127 | - public function setStartUpdatedAt($startUpdatedAt) |
|
128 | - { |
|
129 | - $this->startUpdatedAt = $startUpdatedAt; |
|
130 | - } |
|
131 | - |
|
132 | - public function setEndUpdatedAt($endUpdatedAt) |
|
133 | - { |
|
134 | - $this->endUpdatedAt = $endUpdatedAt; |
|
135 | - } |
|
136 | - |
|
137 | - public function setPageSize($pageSize) |
|
138 | - { |
|
139 | - $this->pageSize = $pageSize; |
|
140 | - } |
|
141 | - |
|
142 | - public function setPage($page) |
|
143 | - { |
|
144 | - $this->page = $page; |
|
145 | - } |
|
146 | - |
|
147 | - public function setRefundStatus($refundStatus) |
|
148 | - { |
|
149 | - $this->refundStatus = $refundStatus; |
|
150 | - } |
|
151 | - |
|
152 | - public function setTradeType($tradeType) |
|
153 | - { |
|
154 | - $this->tradeType = $tradeType; |
|
155 | - } |
|
156 | - |
|
157 | - public function setUseHasNext($useHasNext) |
|
158 | - { |
|
159 | - $this->useHasNext = $useHasNext; |
|
160 | - } |
|
161 | - |
|
162 | - public function setMallId($mallId) |
|
163 | - { |
|
164 | - $this->mallId = $mallId; |
|
165 | - } |
|
166 | - |
|
167 | - public function setExtId($extId) |
|
168 | - { |
|
169 | - $this->extId = $extId; |
|
170 | - } |
|
171 | - |
|
172 | - public function setToken($token) |
|
173 | - { |
|
174 | - $this->token = $token; |
|
175 | - } |
|
176 | - |
|
177 | - public function setOrderSnList($orderSnList) |
|
178 | - { |
|
179 | - $this->orderSnList = $orderSnList; |
|
180 | - } |
|
181 | - |
|
182 | - public function setExtendProps($extendProps) |
|
183 | - { |
|
184 | - $this->extendProps = $extendProps; |
|
185 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(Integer, "is_lucky_flag") |
|
15 | + */ |
|
16 | + private $isLuckyFlag; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(Integer, "order_status") |
|
20 | + */ |
|
21 | + private $orderStatus; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(Long, "start_updated_at") |
|
25 | + */ |
|
26 | + private $startUpdatedAt; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(Long, "end_updated_at") |
|
30 | + */ |
|
31 | + private $endUpdatedAt; |
|
32 | + |
|
33 | + /** |
|
34 | + * @JsonProperty(Integer, "page_size") |
|
35 | + */ |
|
36 | + private $pageSize; |
|
37 | + |
|
38 | + /** |
|
39 | + * @JsonProperty(Integer, "page") |
|
40 | + */ |
|
41 | + private $page; |
|
42 | + |
|
43 | + /** |
|
44 | + * @JsonProperty(Integer, "refund_status") |
|
45 | + */ |
|
46 | + private $refundStatus; |
|
47 | + |
|
48 | + /** |
|
49 | + * @JsonProperty(Integer, "trade_type") |
|
50 | + */ |
|
51 | + private $tradeType; |
|
52 | + |
|
53 | + /** |
|
54 | + * @JsonProperty(Boolean, "use_has_next") |
|
55 | + */ |
|
56 | + private $useHasNext; |
|
57 | + |
|
58 | + /** |
|
59 | + * @JsonProperty(Long, "mall_id") |
|
60 | + */ |
|
61 | + private $mallId; |
|
62 | + |
|
63 | + /** |
|
64 | + * @JsonProperty(Long, "ext_id") |
|
65 | + */ |
|
66 | + private $extId; |
|
67 | + |
|
68 | + /** |
|
69 | + * @JsonProperty(String, "token") |
|
70 | + */ |
|
71 | + private $token; |
|
72 | + |
|
73 | + /** |
|
74 | + * @JsonProperty(List<String>, "order_sn_list") |
|
75 | + */ |
|
76 | + private $orderSnList; |
|
77 | + |
|
78 | + /** |
|
79 | + * @JsonProperty(String, "extendProps") |
|
80 | + */ |
|
81 | + private $extendProps; |
|
82 | + |
|
83 | + protected function setUserParams(&$params) |
|
84 | + { |
|
85 | + $this->setUserParam($params, "is_lucky_flag", $this->isLuckyFlag); |
|
86 | + $this->setUserParam($params, "order_status", $this->orderStatus); |
|
87 | + $this->setUserParam($params, "start_updated_at", $this->startUpdatedAt); |
|
88 | + $this->setUserParam($params, "end_updated_at", $this->endUpdatedAt); |
|
89 | + $this->setUserParam($params, "page_size", $this->pageSize); |
|
90 | + $this->setUserParam($params, "page", $this->page); |
|
91 | + $this->setUserParam($params, "refund_status", $this->refundStatus); |
|
92 | + $this->setUserParam($params, "trade_type", $this->tradeType); |
|
93 | + $this->setUserParam($params, "use_has_next", $this->useHasNext); |
|
94 | + $this->setUserParam($params, "mall_id", $this->mallId); |
|
95 | + $this->setUserParam($params, "ext_id", $this->extId); |
|
96 | + $this->setUserParam($params, "token", $this->token); |
|
97 | + $this->setUserParam($params, "order_sn_list", $this->orderSnList); |
|
98 | + $this->setUserParam($params, "extendProps", $this->extendProps); |
|
99 | + |
|
100 | + } |
|
101 | + |
|
102 | + public function getVersion() |
|
103 | + { |
|
104 | + return "V1"; |
|
105 | + } |
|
106 | + |
|
107 | + public function getDataType() |
|
108 | + { |
|
109 | + return "JSON"; |
|
110 | + } |
|
111 | + |
|
112 | + public function getType() |
|
113 | + { |
|
114 | + return "pdd.cloud.dts.order.list.increment.get"; |
|
115 | + } |
|
116 | + |
|
117 | + public function setIsLuckyFlag($isLuckyFlag) |
|
118 | + { |
|
119 | + $this->isLuckyFlag = $isLuckyFlag; |
|
120 | + } |
|
121 | + |
|
122 | + public function setOrderStatus($orderStatus) |
|
123 | + { |
|
124 | + $this->orderStatus = $orderStatus; |
|
125 | + } |
|
126 | + |
|
127 | + public function setStartUpdatedAt($startUpdatedAt) |
|
128 | + { |
|
129 | + $this->startUpdatedAt = $startUpdatedAt; |
|
130 | + } |
|
131 | + |
|
132 | + public function setEndUpdatedAt($endUpdatedAt) |
|
133 | + { |
|
134 | + $this->endUpdatedAt = $endUpdatedAt; |
|
135 | + } |
|
136 | + |
|
137 | + public function setPageSize($pageSize) |
|
138 | + { |
|
139 | + $this->pageSize = $pageSize; |
|
140 | + } |
|
141 | + |
|
142 | + public function setPage($page) |
|
143 | + { |
|
144 | + $this->page = $page; |
|
145 | + } |
|
146 | + |
|
147 | + public function setRefundStatus($refundStatus) |
|
148 | + { |
|
149 | + $this->refundStatus = $refundStatus; |
|
150 | + } |
|
151 | + |
|
152 | + public function setTradeType($tradeType) |
|
153 | + { |
|
154 | + $this->tradeType = $tradeType; |
|
155 | + } |
|
156 | + |
|
157 | + public function setUseHasNext($useHasNext) |
|
158 | + { |
|
159 | + $this->useHasNext = $useHasNext; |
|
160 | + } |
|
161 | + |
|
162 | + public function setMallId($mallId) |
|
163 | + { |
|
164 | + $this->mallId = $mallId; |
|
165 | + } |
|
166 | + |
|
167 | + public function setExtId($extId) |
|
168 | + { |
|
169 | + $this->extId = $extId; |
|
170 | + } |
|
171 | + |
|
172 | + public function setToken($token) |
|
173 | + { |
|
174 | + $this->token = $token; |
|
175 | + } |
|
176 | + |
|
177 | + public function setOrderSnList($orderSnList) |
|
178 | + { |
|
179 | + $this->orderSnList = $orderSnList; |
|
180 | + } |
|
181 | + |
|
182 | + public function setExtendProps($extendProps) |
|
183 | + { |
|
184 | + $this->extendProps = $extendProps; |
|
185 | + } |
|
186 | 186 | |
187 | 187 | } |
@@ -7,27 +7,27 @@ |
||
7 | 7 | class PddAdApiUnitBidQueryTargetingTagListRequest 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.ad.api.unit.bid.query.targeting.tag.list"; |
|
31 | - } |
|
28 | + public function getType() |
|
29 | + { |
|
30 | + return "pdd.ad.api.unit.bid.query.targeting.tag.list"; |
|
31 | + } |
|
32 | 32 | |
33 | 33 | } |
@@ -7,104 +7,104 @@ |
||
7 | 7 | class PddDdkResourceUrlGenRequest 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(Boolean, "generate_qq_app") |
|
20 | - */ |
|
21 | - private $generateQqApp; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(Boolean, "generate_schema_url") |
|
25 | - */ |
|
26 | - private $generateSchemaUrl; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(Boolean, "generate_we_app") |
|
30 | - */ |
|
31 | - private $generateWeApp; |
|
32 | - |
|
33 | - /** |
|
34 | - * @JsonProperty(String, "pid") |
|
35 | - */ |
|
36 | - private $pid; |
|
37 | - |
|
38 | - /** |
|
39 | - * @JsonProperty(Integer, "resource_type") |
|
40 | - */ |
|
41 | - private $resourceType; |
|
42 | - |
|
43 | - /** |
|
44 | - * @JsonProperty(String, "url") |
|
45 | - */ |
|
46 | - private $url; |
|
47 | - |
|
48 | - protected function setUserParams(&$params) |
|
49 | - { |
|
50 | - $this->setUserParam($params, "custom_parameters", $this->customParameters); |
|
51 | - $this->setUserParam($params, "generate_qq_app", $this->generateQqApp); |
|
52 | - $this->setUserParam($params, "generate_schema_url", $this->generateSchemaUrl); |
|
53 | - $this->setUserParam($params, "generate_we_app", $this->generateWeApp); |
|
54 | - $this->setUserParam($params, "pid", $this->pid); |
|
55 | - $this->setUserParam($params, "resource_type", $this->resourceType); |
|
56 | - $this->setUserParam($params, "url", $this->url); |
|
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.resource.url.gen"; |
|
73 | - } |
|
74 | - |
|
75 | - public function setCustomParameters($customParameters) |
|
76 | - { |
|
77 | - $this->customParameters = $customParameters; |
|
78 | - } |
|
79 | - |
|
80 | - public function setGenerateQqApp($generateQqApp) |
|
81 | - { |
|
82 | - $this->generateQqApp = $generateQqApp; |
|
83 | - } |
|
84 | - |
|
85 | - public function setGenerateSchemaUrl($generateSchemaUrl) |
|
86 | - { |
|
87 | - $this->generateSchemaUrl = $generateSchemaUrl; |
|
88 | - } |
|
89 | - |
|
90 | - public function setGenerateWeApp($generateWeApp) |
|
91 | - { |
|
92 | - $this->generateWeApp = $generateWeApp; |
|
93 | - } |
|
94 | - |
|
95 | - public function setPid($pid) |
|
96 | - { |
|
97 | - $this->pid = $pid; |
|
98 | - } |
|
99 | - |
|
100 | - public function setResourceType($resourceType) |
|
101 | - { |
|
102 | - $this->resourceType = $resourceType; |
|
103 | - } |
|
104 | - |
|
105 | - public function setUrl($url) |
|
106 | - { |
|
107 | - $this->url = $url; |
|
108 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "custom_parameters") |
|
15 | + */ |
|
16 | + private $customParameters; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(Boolean, "generate_qq_app") |
|
20 | + */ |
|
21 | + private $generateQqApp; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(Boolean, "generate_schema_url") |
|
25 | + */ |
|
26 | + private $generateSchemaUrl; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(Boolean, "generate_we_app") |
|
30 | + */ |
|
31 | + private $generateWeApp; |
|
32 | + |
|
33 | + /** |
|
34 | + * @JsonProperty(String, "pid") |
|
35 | + */ |
|
36 | + private $pid; |
|
37 | + |
|
38 | + /** |
|
39 | + * @JsonProperty(Integer, "resource_type") |
|
40 | + */ |
|
41 | + private $resourceType; |
|
42 | + |
|
43 | + /** |
|
44 | + * @JsonProperty(String, "url") |
|
45 | + */ |
|
46 | + private $url; |
|
47 | + |
|
48 | + protected function setUserParams(&$params) |
|
49 | + { |
|
50 | + $this->setUserParam($params, "custom_parameters", $this->customParameters); |
|
51 | + $this->setUserParam($params, "generate_qq_app", $this->generateQqApp); |
|
52 | + $this->setUserParam($params, "generate_schema_url", $this->generateSchemaUrl); |
|
53 | + $this->setUserParam($params, "generate_we_app", $this->generateWeApp); |
|
54 | + $this->setUserParam($params, "pid", $this->pid); |
|
55 | + $this->setUserParam($params, "resource_type", $this->resourceType); |
|
56 | + $this->setUserParam($params, "url", $this->url); |
|
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.resource.url.gen"; |
|
73 | + } |
|
74 | + |
|
75 | + public function setCustomParameters($customParameters) |
|
76 | + { |
|
77 | + $this->customParameters = $customParameters; |
|
78 | + } |
|
79 | + |
|
80 | + public function setGenerateQqApp($generateQqApp) |
|
81 | + { |
|
82 | + $this->generateQqApp = $generateQqApp; |
|
83 | + } |
|
84 | + |
|
85 | + public function setGenerateSchemaUrl($generateSchemaUrl) |
|
86 | + { |
|
87 | + $this->generateSchemaUrl = $generateSchemaUrl; |
|
88 | + } |
|
89 | + |
|
90 | + public function setGenerateWeApp($generateWeApp) |
|
91 | + { |
|
92 | + $this->generateWeApp = $generateWeApp; |
|
93 | + } |
|
94 | + |
|
95 | + public function setPid($pid) |
|
96 | + { |
|
97 | + $this->pid = $pid; |
|
98 | + } |
|
99 | + |
|
100 | + public function setResourceType($resourceType) |
|
101 | + { |
|
102 | + $this->resourceType = $resourceType; |
|
103 | + } |
|
104 | + |
|
105 | + public function setUrl($url) |
|
106 | + { |
|
107 | + $this->url = $url; |
|
108 | + } |
|
109 | 109 | |
110 | 110 | } |
@@ -7,38 +7,38 @@ |
||
7 | 7 | class PddOverseaClearanceGetRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(String, "order_sn") |
|
15 | - */ |
|
16 | - private $orderSn; |
|
17 | - |
|
18 | - protected function setUserParams(&$params) |
|
19 | - { |
|
20 | - $this->setUserParam($params, "order_sn", $this->orderSn); |
|
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.oversea.clearance.get"; |
|
37 | - } |
|
38 | - |
|
39 | - public function setOrderSn($orderSn) |
|
40 | - { |
|
41 | - $this->orderSn = $orderSn; |
|
42 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "order_sn") |
|
15 | + */ |
|
16 | + private $orderSn; |
|
17 | + |
|
18 | + protected function setUserParams(&$params) |
|
19 | + { |
|
20 | + $this->setUserParam($params, "order_sn", $this->orderSn); |
|
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.oversea.clearance.get"; |
|
37 | + } |
|
38 | + |
|
39 | + public function setOrderSn($orderSn) |
|
40 | + { |
|
41 | + $this->orderSn = $orderSn; |
|
42 | + } |
|
43 | 43 | |
44 | 44 | } |
@@ -7,128 +7,128 @@ |
||
7 | 7 | class PddGoodsCpsUnitCreateRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
10 | + { |
|
11 | 11 | |
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsCpsUnitCreateRequest_UnitsItem>, "units") |
|
15 | - */ |
|
16 | - private $units; |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsCpsUnitCreateRequest_UnitsItem>, "units") |
|
15 | + */ |
|
16 | + private $units; |
|
17 | 17 | |
18 | - protected function setUserParams(&$params) |
|
19 | - { |
|
20 | - $this->setUserParam($params, "units", $this->units); |
|
18 | + protected function setUserParams(&$params) |
|
19 | + { |
|
20 | + $this->setUserParam($params, "units", $this->units); |
|
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.goods.cps.unit.create"; |
|
37 | - } |
|
34 | + public function getType() |
|
35 | + { |
|
36 | + return "pdd.goods.cps.unit.create"; |
|
37 | + } |
|
38 | 38 | |
39 | - public function setUnits($units) |
|
40 | - { |
|
41 | - $this->units = $units; |
|
42 | - } |
|
39 | + public function setUnits($units) |
|
40 | + { |
|
41 | + $this->units = $units; |
|
42 | + } |
|
43 | 43 | |
44 | 44 | } |
45 | 45 | |
46 | 46 | class PddGoodsCpsUnitCreateRequest_UnitsItem extends PopBaseJsonEntity |
47 | 47 | { |
48 | 48 | |
49 | - public function __construct() |
|
50 | - { |
|
51 | - |
|
52 | - } |
|
53 | - |
|
54 | - /** |
|
55 | - * @JsonProperty(Long, "goods_id") |
|
56 | - */ |
|
57 | - private $goodsId; |
|
58 | - |
|
59 | - /** |
|
60 | - * @JsonProperty(Long, "rate") |
|
61 | - */ |
|
62 | - private $rate; |
|
63 | - |
|
64 | - /** |
|
65 | - * @JsonProperty(Long, "coupon_id") |
|
66 | - */ |
|
67 | - private $couponId; |
|
68 | - |
|
69 | - /** |
|
70 | - * @JsonProperty(String, "coupon_start_time") |
|
71 | - */ |
|
72 | - private $couponStartTime; |
|
73 | - |
|
74 | - /** |
|
75 | - * @JsonProperty(String, "coupon_end_time") |
|
76 | - */ |
|
77 | - private $couponEndTime; |
|
78 | - |
|
79 | - /** |
|
80 | - * @JsonProperty(Long, "discount") |
|
81 | - */ |
|
82 | - private $discount; |
|
83 | - |
|
84 | - /** |
|
85 | - * @JsonProperty(Long, "init_quantity") |
|
86 | - */ |
|
87 | - private $initQuantity; |
|
88 | - |
|
89 | - /** |
|
90 | - * @JsonProperty(Long, "remain_quantity") |
|
91 | - */ |
|
92 | - private $remainQuantity; |
|
93 | - |
|
94 | - public function setGoodsId($goodsId) |
|
95 | - { |
|
96 | - $this->goodsId = $goodsId; |
|
97 | - } |
|
98 | - |
|
99 | - public function setRate($rate) |
|
100 | - { |
|
101 | - $this->rate = $rate; |
|
102 | - } |
|
103 | - |
|
104 | - public function setCouponId($couponId) |
|
105 | - { |
|
106 | - $this->couponId = $couponId; |
|
107 | - } |
|
108 | - |
|
109 | - public function setCouponStartTime($couponStartTime) |
|
110 | - { |
|
111 | - $this->couponStartTime = $couponStartTime; |
|
112 | - } |
|
113 | - |
|
114 | - public function setCouponEndTime($couponEndTime) |
|
115 | - { |
|
116 | - $this->couponEndTime = $couponEndTime; |
|
117 | - } |
|
118 | - |
|
119 | - public function setDiscount($discount) |
|
120 | - { |
|
121 | - $this->discount = $discount; |
|
122 | - } |
|
123 | - |
|
124 | - public function setInitQuantity($initQuantity) |
|
125 | - { |
|
126 | - $this->initQuantity = $initQuantity; |
|
127 | - } |
|
128 | - |
|
129 | - public function setRemainQuantity($remainQuantity) |
|
130 | - { |
|
131 | - $this->remainQuantity = $remainQuantity; |
|
132 | - } |
|
49 | + public function __construct() |
|
50 | + { |
|
51 | + |
|
52 | + } |
|
53 | + |
|
54 | + /** |
|
55 | + * @JsonProperty(Long, "goods_id") |
|
56 | + */ |
|
57 | + private $goodsId; |
|
58 | + |
|
59 | + /** |
|
60 | + * @JsonProperty(Long, "rate") |
|
61 | + */ |
|
62 | + private $rate; |
|
63 | + |
|
64 | + /** |
|
65 | + * @JsonProperty(Long, "coupon_id") |
|
66 | + */ |
|
67 | + private $couponId; |
|
68 | + |
|
69 | + /** |
|
70 | + * @JsonProperty(String, "coupon_start_time") |
|
71 | + */ |
|
72 | + private $couponStartTime; |
|
73 | + |
|
74 | + /** |
|
75 | + * @JsonProperty(String, "coupon_end_time") |
|
76 | + */ |
|
77 | + private $couponEndTime; |
|
78 | + |
|
79 | + /** |
|
80 | + * @JsonProperty(Long, "discount") |
|
81 | + */ |
|
82 | + private $discount; |
|
83 | + |
|
84 | + /** |
|
85 | + * @JsonProperty(Long, "init_quantity") |
|
86 | + */ |
|
87 | + private $initQuantity; |
|
88 | + |
|
89 | + /** |
|
90 | + * @JsonProperty(Long, "remain_quantity") |
|
91 | + */ |
|
92 | + private $remainQuantity; |
|
93 | + |
|
94 | + public function setGoodsId($goodsId) |
|
95 | + { |
|
96 | + $this->goodsId = $goodsId; |
|
97 | + } |
|
98 | + |
|
99 | + public function setRate($rate) |
|
100 | + { |
|
101 | + $this->rate = $rate; |
|
102 | + } |
|
103 | + |
|
104 | + public function setCouponId($couponId) |
|
105 | + { |
|
106 | + $this->couponId = $couponId; |
|
107 | + } |
|
108 | + |
|
109 | + public function setCouponStartTime($couponStartTime) |
|
110 | + { |
|
111 | + $this->couponStartTime = $couponStartTime; |
|
112 | + } |
|
113 | + |
|
114 | + public function setCouponEndTime($couponEndTime) |
|
115 | + { |
|
116 | + $this->couponEndTime = $couponEndTime; |
|
117 | + } |
|
118 | + |
|
119 | + public function setDiscount($discount) |
|
120 | + { |
|
121 | + $this->discount = $discount; |
|
122 | + } |
|
123 | + |
|
124 | + public function setInitQuantity($initQuantity) |
|
125 | + { |
|
126 | + $this->initQuantity = $initQuantity; |
|
127 | + } |
|
128 | + |
|
129 | + public function setRemainQuantity($remainQuantity) |
|
130 | + { |
|
131 | + $this->remainQuantity = $remainQuantity; |
|
132 | + } |
|
133 | 133 | |
134 | 134 | } |
@@ -7,38 +7,38 @@ |
||
7 | 7 | class PddKttOrderGetRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(String, "order_sn") |
|
15 | - */ |
|
16 | - private $orderSn; |
|
17 | - |
|
18 | - protected function setUserParams(&$params) |
|
19 | - { |
|
20 | - $this->setUserParam($params, "order_sn", $this->orderSn); |
|
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.ktt.order.get"; |
|
37 | - } |
|
38 | - |
|
39 | - public function setOrderSn($orderSn) |
|
40 | - { |
|
41 | - $this->orderSn = $orderSn; |
|
42 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "order_sn") |
|
15 | + */ |
|
16 | + private $orderSn; |
|
17 | + |
|
18 | + protected function setUserParams(&$params) |
|
19 | + { |
|
20 | + $this->setUserParam($params, "order_sn", $this->orderSn); |
|
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.ktt.order.get"; |
|
37 | + } |
|
38 | + |
|
39 | + public function setOrderSn($orderSn) |
|
40 | + { |
|
41 | + $this->orderSn = $orderSn; |
|
42 | + } |
|
43 | 43 | |
44 | 44 | } |