@@ -7,38 +7,38 @@ |
||
7 | 7 | class PddLogisticsOnlineStatusQueryRequest 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.logistics.online.status.query"; |
|
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.logistics.online.status.query"; |
|
37 | + } |
|
38 | + |
|
39 | + public function setOrderSn($orderSn) |
|
40 | + { |
|
41 | + $this->orderSn = $orderSn; |
|
42 | + } |
|
43 | 43 | |
44 | 44 | } |
@@ -7,246 +7,246 @@ |
||
7 | 7 | class PddFlightCallbackNotifyChangeapplyreplyRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(Integer, "error_code") |
|
15 | - */ |
|
16 | - private $errorCode; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(String, "error_msg") |
|
20 | - */ |
|
21 | - private $errorMsg; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(String, "out_change_no") |
|
25 | - */ |
|
26 | - private $outChangeNo; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(String, "out_order_no") |
|
30 | - */ |
|
31 | - private $outOrderNo; |
|
32 | - |
|
33 | - /** |
|
34 | - * @JsonProperty(String, "parent_travel_sn") |
|
35 | - */ |
|
36 | - private $parentTravelSn; |
|
37 | - |
|
38 | - /** |
|
39 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightCallbackNotifyChangeapplyreplyRequest_PassengerInfoListItem>, "passenger_info_list") |
|
40 | - */ |
|
41 | - private $passengerInfoList; |
|
42 | - |
|
43 | - /** |
|
44 | - * @JsonProperty(Integer, "review_change_type") |
|
45 | - */ |
|
46 | - private $reviewChangeType; |
|
47 | - |
|
48 | - /** |
|
49 | - * @JsonProperty(String, "sub_trace_id") |
|
50 | - */ |
|
51 | - private $subTraceId; |
|
52 | - |
|
53 | - /** |
|
54 | - * @JsonProperty(String, "trace_id") |
|
55 | - */ |
|
56 | - private $traceId; |
|
57 | - |
|
58 | - protected function setUserParams(&$params) |
|
59 | - { |
|
60 | - $this->setUserParam($params, "error_code", $this->errorCode); |
|
61 | - $this->setUserParam($params, "error_msg", $this->errorMsg); |
|
62 | - $this->setUserParam($params, "out_change_no", $this->outChangeNo); |
|
63 | - $this->setUserParam($params, "out_order_no", $this->outOrderNo); |
|
64 | - $this->setUserParam($params, "parent_travel_sn", $this->parentTravelSn); |
|
65 | - $this->setUserParam($params, "passenger_info_list", $this->passengerInfoList); |
|
66 | - $this->setUserParam($params, "review_change_type", $this->reviewChangeType); |
|
67 | - $this->setUserParam($params, "sub_trace_id", $this->subTraceId); |
|
68 | - $this->setUserParam($params, "trace_id", $this->traceId); |
|
69 | - |
|
70 | - } |
|
71 | - |
|
72 | - public function getVersion() |
|
73 | - { |
|
74 | - return "V1"; |
|
75 | - } |
|
76 | - |
|
77 | - public function getDataType() |
|
78 | - { |
|
79 | - return "JSON"; |
|
80 | - } |
|
81 | - |
|
82 | - public function getType() |
|
83 | - { |
|
84 | - return "pdd.flight.callback.notify.changeapplyreply"; |
|
85 | - } |
|
86 | - |
|
87 | - public function setErrorCode($errorCode) |
|
88 | - { |
|
89 | - $this->errorCode = $errorCode; |
|
90 | - } |
|
91 | - |
|
92 | - public function setErrorMsg($errorMsg) |
|
93 | - { |
|
94 | - $this->errorMsg = $errorMsg; |
|
95 | - } |
|
96 | - |
|
97 | - public function setOutChangeNo($outChangeNo) |
|
98 | - { |
|
99 | - $this->outChangeNo = $outChangeNo; |
|
100 | - } |
|
101 | - |
|
102 | - public function setOutOrderNo($outOrderNo) |
|
103 | - { |
|
104 | - $this->outOrderNo = $outOrderNo; |
|
105 | - } |
|
106 | - |
|
107 | - public function setParentTravelSn($parentTravelSn) |
|
108 | - { |
|
109 | - $this->parentTravelSn = $parentTravelSn; |
|
110 | - } |
|
111 | - |
|
112 | - public function setPassengerInfoList($passengerInfoList) |
|
113 | - { |
|
114 | - $this->passengerInfoList = $passengerInfoList; |
|
115 | - } |
|
116 | - |
|
117 | - public function setReviewChangeType($reviewChangeType) |
|
118 | - { |
|
119 | - $this->reviewChangeType = $reviewChangeType; |
|
120 | - } |
|
121 | - |
|
122 | - public function setSubTraceId($subTraceId) |
|
123 | - { |
|
124 | - $this->subTraceId = $subTraceId; |
|
125 | - } |
|
126 | - |
|
127 | - public function setTraceId($traceId) |
|
128 | - { |
|
129 | - $this->traceId = $traceId; |
|
130 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(Integer, "error_code") |
|
15 | + */ |
|
16 | + private $errorCode; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(String, "error_msg") |
|
20 | + */ |
|
21 | + private $errorMsg; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(String, "out_change_no") |
|
25 | + */ |
|
26 | + private $outChangeNo; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(String, "out_order_no") |
|
30 | + */ |
|
31 | + private $outOrderNo; |
|
32 | + |
|
33 | + /** |
|
34 | + * @JsonProperty(String, "parent_travel_sn") |
|
35 | + */ |
|
36 | + private $parentTravelSn; |
|
37 | + |
|
38 | + /** |
|
39 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightCallbackNotifyChangeapplyreplyRequest_PassengerInfoListItem>, "passenger_info_list") |
|
40 | + */ |
|
41 | + private $passengerInfoList; |
|
42 | + |
|
43 | + /** |
|
44 | + * @JsonProperty(Integer, "review_change_type") |
|
45 | + */ |
|
46 | + private $reviewChangeType; |
|
47 | + |
|
48 | + /** |
|
49 | + * @JsonProperty(String, "sub_trace_id") |
|
50 | + */ |
|
51 | + private $subTraceId; |
|
52 | + |
|
53 | + /** |
|
54 | + * @JsonProperty(String, "trace_id") |
|
55 | + */ |
|
56 | + private $traceId; |
|
57 | + |
|
58 | + protected function setUserParams(&$params) |
|
59 | + { |
|
60 | + $this->setUserParam($params, "error_code", $this->errorCode); |
|
61 | + $this->setUserParam($params, "error_msg", $this->errorMsg); |
|
62 | + $this->setUserParam($params, "out_change_no", $this->outChangeNo); |
|
63 | + $this->setUserParam($params, "out_order_no", $this->outOrderNo); |
|
64 | + $this->setUserParam($params, "parent_travel_sn", $this->parentTravelSn); |
|
65 | + $this->setUserParam($params, "passenger_info_list", $this->passengerInfoList); |
|
66 | + $this->setUserParam($params, "review_change_type", $this->reviewChangeType); |
|
67 | + $this->setUserParam($params, "sub_trace_id", $this->subTraceId); |
|
68 | + $this->setUserParam($params, "trace_id", $this->traceId); |
|
69 | + |
|
70 | + } |
|
71 | + |
|
72 | + public function getVersion() |
|
73 | + { |
|
74 | + return "V1"; |
|
75 | + } |
|
76 | + |
|
77 | + public function getDataType() |
|
78 | + { |
|
79 | + return "JSON"; |
|
80 | + } |
|
81 | + |
|
82 | + public function getType() |
|
83 | + { |
|
84 | + return "pdd.flight.callback.notify.changeapplyreply"; |
|
85 | + } |
|
86 | + |
|
87 | + public function setErrorCode($errorCode) |
|
88 | + { |
|
89 | + $this->errorCode = $errorCode; |
|
90 | + } |
|
91 | + |
|
92 | + public function setErrorMsg($errorMsg) |
|
93 | + { |
|
94 | + $this->errorMsg = $errorMsg; |
|
95 | + } |
|
96 | + |
|
97 | + public function setOutChangeNo($outChangeNo) |
|
98 | + { |
|
99 | + $this->outChangeNo = $outChangeNo; |
|
100 | + } |
|
101 | + |
|
102 | + public function setOutOrderNo($outOrderNo) |
|
103 | + { |
|
104 | + $this->outOrderNo = $outOrderNo; |
|
105 | + } |
|
106 | + |
|
107 | + public function setParentTravelSn($parentTravelSn) |
|
108 | + { |
|
109 | + $this->parentTravelSn = $parentTravelSn; |
|
110 | + } |
|
111 | + |
|
112 | + public function setPassengerInfoList($passengerInfoList) |
|
113 | + { |
|
114 | + $this->passengerInfoList = $passengerInfoList; |
|
115 | + } |
|
116 | + |
|
117 | + public function setReviewChangeType($reviewChangeType) |
|
118 | + { |
|
119 | + $this->reviewChangeType = $reviewChangeType; |
|
120 | + } |
|
121 | + |
|
122 | + public function setSubTraceId($subTraceId) |
|
123 | + { |
|
124 | + $this->subTraceId = $subTraceId; |
|
125 | + } |
|
126 | + |
|
127 | + public function setTraceId($traceId) |
|
128 | + { |
|
129 | + $this->traceId = $traceId; |
|
130 | + } |
|
131 | 131 | |
132 | 132 | } |
133 | 133 | |
134 | 134 | class PddFlightCallbackNotifyChangeapplyreplyRequest_PassengerInfoListItem extends PopBaseJsonEntity |
135 | 135 | { |
136 | 136 | |
137 | - public function __construct() |
|
138 | - { |
|
139 | - |
|
140 | - } |
|
141 | - |
|
142 | - /** |
|
143 | - * @JsonProperty(Long, "airport_tax") |
|
144 | - */ |
|
145 | - private $airportTax; |
|
146 | - |
|
147 | - /** |
|
148 | - * @JsonProperty(Long, "airport_tax_diff") |
|
149 | - */ |
|
150 | - private $airportTaxDiff; |
|
151 | - |
|
152 | - /** |
|
153 | - * @JsonProperty(Long, "base_price") |
|
154 | - */ |
|
155 | - private $basePrice; |
|
156 | - |
|
157 | - /** |
|
158 | - * @JsonProperty(Long, "base_price_diff") |
|
159 | - */ |
|
160 | - private $basePriceDiff; |
|
161 | - |
|
162 | - /** |
|
163 | - * @JsonProperty(String, "fuel_tax") |
|
164 | - */ |
|
165 | - private $fuelTax; |
|
166 | - |
|
167 | - /** |
|
168 | - * @JsonProperty(Long, "fuel_tax_diff") |
|
169 | - */ |
|
170 | - private $fuelTaxDiff; |
|
171 | - |
|
172 | - /** |
|
173 | - * @JsonProperty(String, "origin_ticket_no") |
|
174 | - */ |
|
175 | - private $originTicketNo; |
|
176 | - |
|
177 | - /** |
|
178 | - * @JsonProperty(Long, "pay") |
|
179 | - */ |
|
180 | - private $pay; |
|
181 | - |
|
182 | - /** |
|
183 | - * @JsonProperty(Long, "pay_fee") |
|
184 | - */ |
|
185 | - private $payFee; |
|
186 | - |
|
187 | - /** |
|
188 | - * @JsonProperty(String, "sub_out_change_no") |
|
189 | - */ |
|
190 | - private $subOutChangeNo; |
|
191 | - |
|
192 | - /** |
|
193 | - * @JsonProperty(String, "travel_sn") |
|
194 | - */ |
|
195 | - private $travelSn; |
|
196 | - |
|
197 | - public function setAirportTax($airportTax) |
|
198 | - { |
|
199 | - $this->airportTax = $airportTax; |
|
200 | - } |
|
201 | - |
|
202 | - public function setAirportTaxDiff($airportTaxDiff) |
|
203 | - { |
|
204 | - $this->airportTaxDiff = $airportTaxDiff; |
|
205 | - } |
|
206 | - |
|
207 | - public function setBasePrice($basePrice) |
|
208 | - { |
|
209 | - $this->basePrice = $basePrice; |
|
210 | - } |
|
211 | - |
|
212 | - public function setBasePriceDiff($basePriceDiff) |
|
213 | - { |
|
214 | - $this->basePriceDiff = $basePriceDiff; |
|
215 | - } |
|
216 | - |
|
217 | - public function setFuelTax($fuelTax) |
|
218 | - { |
|
219 | - $this->fuelTax = $fuelTax; |
|
220 | - } |
|
221 | - |
|
222 | - public function setFuelTaxDiff($fuelTaxDiff) |
|
223 | - { |
|
224 | - $this->fuelTaxDiff = $fuelTaxDiff; |
|
225 | - } |
|
226 | - |
|
227 | - public function setOriginTicketNo($originTicketNo) |
|
228 | - { |
|
229 | - $this->originTicketNo = $originTicketNo; |
|
230 | - } |
|
231 | - |
|
232 | - public function setPay($pay) |
|
233 | - { |
|
234 | - $this->pay = $pay; |
|
235 | - } |
|
236 | - |
|
237 | - public function setPayFee($payFee) |
|
238 | - { |
|
239 | - $this->payFee = $payFee; |
|
240 | - } |
|
241 | - |
|
242 | - public function setSubOutChangeNo($subOutChangeNo) |
|
243 | - { |
|
244 | - $this->subOutChangeNo = $subOutChangeNo; |
|
245 | - } |
|
246 | - |
|
247 | - public function setTravelSn($travelSn) |
|
248 | - { |
|
249 | - $this->travelSn = $travelSn; |
|
250 | - } |
|
137 | + public function __construct() |
|
138 | + { |
|
139 | + |
|
140 | + } |
|
141 | + |
|
142 | + /** |
|
143 | + * @JsonProperty(Long, "airport_tax") |
|
144 | + */ |
|
145 | + private $airportTax; |
|
146 | + |
|
147 | + /** |
|
148 | + * @JsonProperty(Long, "airport_tax_diff") |
|
149 | + */ |
|
150 | + private $airportTaxDiff; |
|
151 | + |
|
152 | + /** |
|
153 | + * @JsonProperty(Long, "base_price") |
|
154 | + */ |
|
155 | + private $basePrice; |
|
156 | + |
|
157 | + /** |
|
158 | + * @JsonProperty(Long, "base_price_diff") |
|
159 | + */ |
|
160 | + private $basePriceDiff; |
|
161 | + |
|
162 | + /** |
|
163 | + * @JsonProperty(String, "fuel_tax") |
|
164 | + */ |
|
165 | + private $fuelTax; |
|
166 | + |
|
167 | + /** |
|
168 | + * @JsonProperty(Long, "fuel_tax_diff") |
|
169 | + */ |
|
170 | + private $fuelTaxDiff; |
|
171 | + |
|
172 | + /** |
|
173 | + * @JsonProperty(String, "origin_ticket_no") |
|
174 | + */ |
|
175 | + private $originTicketNo; |
|
176 | + |
|
177 | + /** |
|
178 | + * @JsonProperty(Long, "pay") |
|
179 | + */ |
|
180 | + private $pay; |
|
181 | + |
|
182 | + /** |
|
183 | + * @JsonProperty(Long, "pay_fee") |
|
184 | + */ |
|
185 | + private $payFee; |
|
186 | + |
|
187 | + /** |
|
188 | + * @JsonProperty(String, "sub_out_change_no") |
|
189 | + */ |
|
190 | + private $subOutChangeNo; |
|
191 | + |
|
192 | + /** |
|
193 | + * @JsonProperty(String, "travel_sn") |
|
194 | + */ |
|
195 | + private $travelSn; |
|
196 | + |
|
197 | + public function setAirportTax($airportTax) |
|
198 | + { |
|
199 | + $this->airportTax = $airportTax; |
|
200 | + } |
|
201 | + |
|
202 | + public function setAirportTaxDiff($airportTaxDiff) |
|
203 | + { |
|
204 | + $this->airportTaxDiff = $airportTaxDiff; |
|
205 | + } |
|
206 | + |
|
207 | + public function setBasePrice($basePrice) |
|
208 | + { |
|
209 | + $this->basePrice = $basePrice; |
|
210 | + } |
|
211 | + |
|
212 | + public function setBasePriceDiff($basePriceDiff) |
|
213 | + { |
|
214 | + $this->basePriceDiff = $basePriceDiff; |
|
215 | + } |
|
216 | + |
|
217 | + public function setFuelTax($fuelTax) |
|
218 | + { |
|
219 | + $this->fuelTax = $fuelTax; |
|
220 | + } |
|
221 | + |
|
222 | + public function setFuelTaxDiff($fuelTaxDiff) |
|
223 | + { |
|
224 | + $this->fuelTaxDiff = $fuelTaxDiff; |
|
225 | + } |
|
226 | + |
|
227 | + public function setOriginTicketNo($originTicketNo) |
|
228 | + { |
|
229 | + $this->originTicketNo = $originTicketNo; |
|
230 | + } |
|
231 | + |
|
232 | + public function setPay($pay) |
|
233 | + { |
|
234 | + $this->pay = $pay; |
|
235 | + } |
|
236 | + |
|
237 | + public function setPayFee($payFee) |
|
238 | + { |
|
239 | + $this->payFee = $payFee; |
|
240 | + } |
|
241 | + |
|
242 | + public function setSubOutChangeNo($subOutChangeNo) |
|
243 | + { |
|
244 | + $this->subOutChangeNo = $subOutChangeNo; |
|
245 | + } |
|
246 | + |
|
247 | + public function setTravelSn($travelSn) |
|
248 | + { |
|
249 | + $this->travelSn = $travelSn; |
|
250 | + } |
|
251 | 251 | |
252 | 252 | } |
@@ -7,1076 +7,1076 @@ |
||
7 | 7 | class PddGoodsEditGoodsCommitRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(Integer, "bad_fruit_claim") |
|
15 | - */ |
|
16 | - private $badFruitClaim; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(Long, "buy_limit") |
|
20 | - */ |
|
21 | - private $buyLimit; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(List<String>, "carousel_gallery") |
|
25 | - */ |
|
26 | - private $carouselGallery; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsEditGoodsCommitRequest_CarouselVideoItem>, "carousel_video") |
|
30 | - */ |
|
31 | - private $carouselVideo; |
|
32 | - |
|
33 | - /** |
|
34 | - * @JsonProperty(String, "carousel_video_url") |
|
35 | - */ |
|
36 | - private $carouselVideoUrl; |
|
37 | - |
|
38 | - /** |
|
39 | - * @JsonProperty(Long, "cat_id") |
|
40 | - */ |
|
41 | - private $catId; |
|
42 | - |
|
43 | - /** |
|
44 | - * @JsonProperty(Long, "cost_template_id") |
|
45 | - */ |
|
46 | - private $costTemplateId; |
|
47 | - |
|
48 | - /** |
|
49 | - * @JsonProperty(Integer, "country_id") |
|
50 | - */ |
|
51 | - private $countryId; |
|
52 | - |
|
53 | - /** |
|
54 | - * @JsonProperty(Long, "customer_num") |
|
55 | - */ |
|
56 | - private $customerNum; |
|
57 | - |
|
58 | - /** |
|
59 | - * @JsonProperty(String, "customs") |
|
60 | - */ |
|
61 | - private $customs; |
|
62 | - |
|
63 | - /** |
|
64 | - * @JsonProperty(Integer, "delivery_one_day") |
|
65 | - */ |
|
66 | - private $deliveryOneDay; |
|
67 | - |
|
68 | - /** |
|
69 | - * @JsonProperty(List<String>, "detail_gallery") |
|
70 | - */ |
|
71 | - private $detailGallery; |
|
72 | - |
|
73 | - /** |
|
74 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsEditGoodsCommitRequest_ElecGoodsAttributes, "elec_goods_attributes") |
|
75 | - */ |
|
76 | - private $elecGoodsAttributes; |
|
77 | - |
|
78 | - /** |
|
79 | - * @JsonProperty(String, "goods_desc") |
|
80 | - */ |
|
81 | - private $goodsDesc; |
|
82 | - |
|
83 | - /** |
|
84 | - * @JsonProperty(String, "goods_name") |
|
85 | - */ |
|
86 | - private $goodsName; |
|
87 | - |
|
88 | - /** |
|
89 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsEditGoodsCommitRequest_GoodsPropertiesItem>, "goods_properties") |
|
90 | - */ |
|
91 | - private $goodsProperties; |
|
92 | - |
|
93 | - /** |
|
94 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsEditGoodsCommitRequest_GoodsTradeAttr, "goods_trade_attr") |
|
95 | - */ |
|
96 | - private $goodsTradeAttr; |
|
97 | - |
|
98 | - /** |
|
99 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsEditGoodsCommitRequest_GoodsTravelAttr, "goods_travel_attr") |
|
100 | - */ |
|
101 | - private $goodsTravelAttr; |
|
102 | - |
|
103 | - /** |
|
104 | - * @JsonProperty(Integer, "goods_type") |
|
105 | - */ |
|
106 | - private $goodsType; |
|
107 | - |
|
108 | - /** |
|
109 | - * @JsonProperty(String, "image_url") |
|
110 | - */ |
|
111 | - private $imageUrl; |
|
112 | - |
|
113 | - /** |
|
114 | - * @JsonProperty(Integer, "invoice_status") |
|
115 | - */ |
|
116 | - private $invoiceStatus; |
|
117 | - |
|
118 | - /** |
|
119 | - * @JsonProperty(Boolean, "is_customs") |
|
120 | - */ |
|
121 | - private $isCustoms; |
|
122 | - |
|
123 | - /** |
|
124 | - * @JsonProperty(Boolean, "is_folt") |
|
125 | - */ |
|
126 | - private $isFolt; |
|
127 | - |
|
128 | - /** |
|
129 | - * @JsonProperty(Boolean, "is_pre_sale") |
|
130 | - */ |
|
131 | - private $isPreSale; |
|
132 | - |
|
133 | - /** |
|
134 | - * @JsonProperty(Boolean, "is_refundable") |
|
135 | - */ |
|
136 | - private $isRefundable; |
|
137 | - |
|
138 | - /** |
|
139 | - * @JsonProperty(Integer, "lack_of_weight_claim") |
|
140 | - */ |
|
141 | - private $lackOfWeightClaim; |
|
142 | - |
|
143 | - /** |
|
144 | - * @JsonProperty(String, "mai_jia_zi_ti") |
|
145 | - */ |
|
146 | - private $maiJiaZiTi; |
|
147 | - |
|
148 | - /** |
|
149 | - * @JsonProperty(Long, "market_price") |
|
150 | - */ |
|
151 | - private $marketPrice; |
|
152 | - |
|
153 | - /** |
|
154 | - * @JsonProperty(Long, "order_limit") |
|
155 | - */ |
|
156 | - private $orderLimit; |
|
157 | - |
|
158 | - /** |
|
159 | - * @JsonProperty(Integer, "origin_country_id") |
|
160 | - */ |
|
161 | - private $originCountryId; |
|
162 | - |
|
163 | - /** |
|
164 | - * @JsonProperty(String, "out_goods_id") |
|
165 | - */ |
|
166 | - private $outGoodsId; |
|
167 | - |
|
168 | - /** |
|
169 | - * @JsonProperty(String, "out_source_goods_id") |
|
170 | - */ |
|
171 | - private $outSourceGoodsId; |
|
172 | - |
|
173 | - /** |
|
174 | - * @JsonProperty(Integer, "out_source_type") |
|
175 | - */ |
|
176 | - private $outSourceType; |
|
177 | - |
|
178 | - /** |
|
179 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsEditGoodsCommitRequest_OverseaGoods, "oversea_goods") |
|
180 | - */ |
|
181 | - private $overseaGoods; |
|
182 | - |
|
183 | - /** |
|
184 | - * @JsonProperty(Integer, "oversea_type") |
|
185 | - */ |
|
186 | - private $overseaType; |
|
187 | - |
|
188 | - /** |
|
189 | - * @JsonProperty(Long, "pre_sale_time") |
|
190 | - */ |
|
191 | - private $preSaleTime; |
|
192 | - |
|
193 | - /** |
|
194 | - * @JsonProperty(Integer, "quan_guo_lian_bao") |
|
195 | - */ |
|
196 | - private $quanGuoLianBao; |
|
197 | - |
|
198 | - /** |
|
199 | - * @JsonProperty(Boolean, "second_hand") |
|
200 | - */ |
|
201 | - private $secondHand; |
|
202 | - |
|
203 | - /** |
|
204 | - * @JsonProperty(String, "shang_men_an_zhuang") |
|
205 | - */ |
|
206 | - private $shangMenAnZhuang; |
|
207 | - |
|
208 | - /** |
|
209 | - * @JsonProperty(Long, "shipment_limit_second") |
|
210 | - */ |
|
211 | - private $shipmentLimitSecond; |
|
212 | - |
|
213 | - /** |
|
214 | - * @JsonProperty(Long, "size_spec_id") |
|
215 | - */ |
|
216 | - private $sizeSpecId; |
|
217 | - |
|
218 | - /** |
|
219 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsEditGoodsCommitRequest_SkuListItem>, "sku_list") |
|
220 | - */ |
|
221 | - private $skuList; |
|
222 | - |
|
223 | - /** |
|
224 | - * @JsonProperty(Integer, "sku_type") |
|
225 | - */ |
|
226 | - private $skuType; |
|
227 | - |
|
228 | - /** |
|
229 | - * @JsonProperty(String, "song_huo_an_zhuang") |
|
230 | - */ |
|
231 | - private $songHuoAnZhuang; |
|
232 | - |
|
233 | - /** |
|
234 | - * @JsonProperty(String, "song_huo_ru_hu") |
|
235 | - */ |
|
236 | - private $songHuoRuHu; |
|
237 | - |
|
238 | - /** |
|
239 | - * @JsonProperty(String, "tiny_name") |
|
240 | - */ |
|
241 | - private $tinyName; |
|
242 | - |
|
243 | - /** |
|
244 | - * @JsonProperty(String, "warehouse") |
|
245 | - */ |
|
246 | - private $warehouse; |
|
247 | - |
|
248 | - /** |
|
249 | - * @JsonProperty(String, "warm_tips") |
|
250 | - */ |
|
251 | - private $warmTips; |
|
252 | - |
|
253 | - /** |
|
254 | - * @JsonProperty(Integer, "zhi_huan_bu_xiu") |
|
255 | - */ |
|
256 | - private $zhiHuanBuXiu; |
|
257 | - |
|
258 | - protected function setUserParams(&$params) |
|
259 | - { |
|
260 | - $this->setUserParam($params, "bad_fruit_claim", $this->badFruitClaim); |
|
261 | - $this->setUserParam($params, "buy_limit", $this->buyLimit); |
|
262 | - $this->setUserParam($params, "carousel_gallery", $this->carouselGallery); |
|
263 | - $this->setUserParam($params, "carousel_video", $this->carouselVideo); |
|
264 | - $this->setUserParam($params, "carousel_video_url", $this->carouselVideoUrl); |
|
265 | - $this->setUserParam($params, "cat_id", $this->catId); |
|
266 | - $this->setUserParam($params, "cost_template_id", $this->costTemplateId); |
|
267 | - $this->setUserParam($params, "country_id", $this->countryId); |
|
268 | - $this->setUserParam($params, "customer_num", $this->customerNum); |
|
269 | - $this->setUserParam($params, "customs", $this->customs); |
|
270 | - $this->setUserParam($params, "delivery_one_day", $this->deliveryOneDay); |
|
271 | - $this->setUserParam($params, "detail_gallery", $this->detailGallery); |
|
272 | - $this->setUserParam($params, "elec_goods_attributes", $this->elecGoodsAttributes); |
|
273 | - $this->setUserParam($params, "goods_desc", $this->goodsDesc); |
|
274 | - $this->setUserParam($params, "goods_name", $this->goodsName); |
|
275 | - $this->setUserParam($params, "goods_properties", $this->goodsProperties); |
|
276 | - $this->setUserParam($params, "goods_trade_attr", $this->goodsTradeAttr); |
|
277 | - $this->setUserParam($params, "goods_travel_attr", $this->goodsTravelAttr); |
|
278 | - $this->setUserParam($params, "goods_type", $this->goodsType); |
|
279 | - $this->setUserParam($params, "image_url", $this->imageUrl); |
|
280 | - $this->setUserParam($params, "invoice_status", $this->invoiceStatus); |
|
281 | - $this->setUserParam($params, "is_customs", $this->isCustoms); |
|
282 | - $this->setUserParam($params, "is_folt", $this->isFolt); |
|
283 | - $this->setUserParam($params, "is_pre_sale", $this->isPreSale); |
|
284 | - $this->setUserParam($params, "is_refundable", $this->isRefundable); |
|
285 | - $this->setUserParam($params, "lack_of_weight_claim", $this->lackOfWeightClaim); |
|
286 | - $this->setUserParam($params, "mai_jia_zi_ti", $this->maiJiaZiTi); |
|
287 | - $this->setUserParam($params, "market_price", $this->marketPrice); |
|
288 | - $this->setUserParam($params, "order_limit", $this->orderLimit); |
|
289 | - $this->setUserParam($params, "origin_country_id", $this->originCountryId); |
|
290 | - $this->setUserParam($params, "out_goods_id", $this->outGoodsId); |
|
291 | - $this->setUserParam($params, "out_source_goods_id", $this->outSourceGoodsId); |
|
292 | - $this->setUserParam($params, "out_source_type", $this->outSourceType); |
|
293 | - $this->setUserParam($params, "oversea_goods", $this->overseaGoods); |
|
294 | - $this->setUserParam($params, "oversea_type", $this->overseaType); |
|
295 | - $this->setUserParam($params, "pre_sale_time", $this->preSaleTime); |
|
296 | - $this->setUserParam($params, "quan_guo_lian_bao", $this->quanGuoLianBao); |
|
297 | - $this->setUserParam($params, "second_hand", $this->secondHand); |
|
298 | - $this->setUserParam($params, "shang_men_an_zhuang", $this->shangMenAnZhuang); |
|
299 | - $this->setUserParam($params, "shipment_limit_second", $this->shipmentLimitSecond); |
|
300 | - $this->setUserParam($params, "size_spec_id", $this->sizeSpecId); |
|
301 | - $this->setUserParam($params, "sku_list", $this->skuList); |
|
302 | - $this->setUserParam($params, "sku_type", $this->skuType); |
|
303 | - $this->setUserParam($params, "song_huo_an_zhuang", $this->songHuoAnZhuang); |
|
304 | - $this->setUserParam($params, "song_huo_ru_hu", $this->songHuoRuHu); |
|
305 | - $this->setUserParam($params, "tiny_name", $this->tinyName); |
|
306 | - $this->setUserParam($params, "warehouse", $this->warehouse); |
|
307 | - $this->setUserParam($params, "warm_tips", $this->warmTips); |
|
308 | - $this->setUserParam($params, "zhi_huan_bu_xiu", $this->zhiHuanBuXiu); |
|
309 | - |
|
310 | - } |
|
311 | - |
|
312 | - public function getVersion() |
|
313 | - { |
|
314 | - return "V1"; |
|
315 | - } |
|
316 | - |
|
317 | - public function getDataType() |
|
318 | - { |
|
319 | - return "JSON"; |
|
320 | - } |
|
321 | - |
|
322 | - public function getType() |
|
323 | - { |
|
324 | - return "pdd.goods.edit.goods.commit"; |
|
325 | - } |
|
326 | - |
|
327 | - public function setBadFruitClaim($badFruitClaim) |
|
328 | - { |
|
329 | - $this->badFruitClaim = $badFruitClaim; |
|
330 | - } |
|
331 | - |
|
332 | - public function setBuyLimit($buyLimit) |
|
333 | - { |
|
334 | - $this->buyLimit = $buyLimit; |
|
335 | - } |
|
336 | - |
|
337 | - public function setCarouselGallery($carouselGallery) |
|
338 | - { |
|
339 | - $this->carouselGallery = $carouselGallery; |
|
340 | - } |
|
341 | - |
|
342 | - public function setCarouselVideo($carouselVideo) |
|
343 | - { |
|
344 | - $this->carouselVideo = $carouselVideo; |
|
345 | - } |
|
346 | - |
|
347 | - public function setCarouselVideoUrl($carouselVideoUrl) |
|
348 | - { |
|
349 | - $this->carouselVideoUrl = $carouselVideoUrl; |
|
350 | - } |
|
351 | - |
|
352 | - public function setCatId($catId) |
|
353 | - { |
|
354 | - $this->catId = $catId; |
|
355 | - } |
|
356 | - |
|
357 | - public function setCostTemplateId($costTemplateId) |
|
358 | - { |
|
359 | - $this->costTemplateId = $costTemplateId; |
|
360 | - } |
|
361 | - |
|
362 | - public function setCountryId($countryId) |
|
363 | - { |
|
364 | - $this->countryId = $countryId; |
|
365 | - } |
|
366 | - |
|
367 | - public function setCustomerNum($customerNum) |
|
368 | - { |
|
369 | - $this->customerNum = $customerNum; |
|
370 | - } |
|
371 | - |
|
372 | - public function setCustoms($customs) |
|
373 | - { |
|
374 | - $this->customs = $customs; |
|
375 | - } |
|
376 | - |
|
377 | - public function setDeliveryOneDay($deliveryOneDay) |
|
378 | - { |
|
379 | - $this->deliveryOneDay = $deliveryOneDay; |
|
380 | - } |
|
381 | - |
|
382 | - public function setDetailGallery($detailGallery) |
|
383 | - { |
|
384 | - $this->detailGallery = $detailGallery; |
|
385 | - } |
|
386 | - |
|
387 | - public function setElecGoodsAttributes($elecGoodsAttributes) |
|
388 | - { |
|
389 | - $this->elecGoodsAttributes = $elecGoodsAttributes; |
|
390 | - } |
|
391 | - |
|
392 | - public function setGoodsDesc($goodsDesc) |
|
393 | - { |
|
394 | - $this->goodsDesc = $goodsDesc; |
|
395 | - } |
|
396 | - |
|
397 | - public function setGoodsName($goodsName) |
|
398 | - { |
|
399 | - $this->goodsName = $goodsName; |
|
400 | - } |
|
401 | - |
|
402 | - public function setGoodsProperties($goodsProperties) |
|
403 | - { |
|
404 | - $this->goodsProperties = $goodsProperties; |
|
405 | - } |
|
406 | - |
|
407 | - public function setGoodsTradeAttr($goodsTradeAttr) |
|
408 | - { |
|
409 | - $this->goodsTradeAttr = $goodsTradeAttr; |
|
410 | - } |
|
411 | - |
|
412 | - public function setGoodsTravelAttr($goodsTravelAttr) |
|
413 | - { |
|
414 | - $this->goodsTravelAttr = $goodsTravelAttr; |
|
415 | - } |
|
416 | - |
|
417 | - public function setGoodsType($goodsType) |
|
418 | - { |
|
419 | - $this->goodsType = $goodsType; |
|
420 | - } |
|
421 | - |
|
422 | - public function setImageUrl($imageUrl) |
|
423 | - { |
|
424 | - $this->imageUrl = $imageUrl; |
|
425 | - } |
|
426 | - |
|
427 | - public function setInvoiceStatus($invoiceStatus) |
|
428 | - { |
|
429 | - $this->invoiceStatus = $invoiceStatus; |
|
430 | - } |
|
431 | - |
|
432 | - public function setIsCustoms($isCustoms) |
|
433 | - { |
|
434 | - $this->isCustoms = $isCustoms; |
|
435 | - } |
|
436 | - |
|
437 | - public function setIsFolt($isFolt) |
|
438 | - { |
|
439 | - $this->isFolt = $isFolt; |
|
440 | - } |
|
441 | - |
|
442 | - public function setIsPreSale($isPreSale) |
|
443 | - { |
|
444 | - $this->isPreSale = $isPreSale; |
|
445 | - } |
|
446 | - |
|
447 | - public function setIsRefundable($isRefundable) |
|
448 | - { |
|
449 | - $this->isRefundable = $isRefundable; |
|
450 | - } |
|
451 | - |
|
452 | - public function setLackOfWeightClaim($lackOfWeightClaim) |
|
453 | - { |
|
454 | - $this->lackOfWeightClaim = $lackOfWeightClaim; |
|
455 | - } |
|
456 | - |
|
457 | - public function setMaiJiaZiTi($maiJiaZiTi) |
|
458 | - { |
|
459 | - $this->maiJiaZiTi = $maiJiaZiTi; |
|
460 | - } |
|
461 | - |
|
462 | - public function setMarketPrice($marketPrice) |
|
463 | - { |
|
464 | - $this->marketPrice = $marketPrice; |
|
465 | - } |
|
466 | - |
|
467 | - public function setOrderLimit($orderLimit) |
|
468 | - { |
|
469 | - $this->orderLimit = $orderLimit; |
|
470 | - } |
|
471 | - |
|
472 | - public function setOriginCountryId($originCountryId) |
|
473 | - { |
|
474 | - $this->originCountryId = $originCountryId; |
|
475 | - } |
|
476 | - |
|
477 | - public function setOutGoodsId($outGoodsId) |
|
478 | - { |
|
479 | - $this->outGoodsId = $outGoodsId; |
|
480 | - } |
|
481 | - |
|
482 | - public function setOutSourceGoodsId($outSourceGoodsId) |
|
483 | - { |
|
484 | - $this->outSourceGoodsId = $outSourceGoodsId; |
|
485 | - } |
|
486 | - |
|
487 | - public function setOutSourceType($outSourceType) |
|
488 | - { |
|
489 | - $this->outSourceType = $outSourceType; |
|
490 | - } |
|
491 | - |
|
492 | - public function setOverseaGoods($overseaGoods) |
|
493 | - { |
|
494 | - $this->overseaGoods = $overseaGoods; |
|
495 | - } |
|
496 | - |
|
497 | - public function setOverseaType($overseaType) |
|
498 | - { |
|
499 | - $this->overseaType = $overseaType; |
|
500 | - } |
|
501 | - |
|
502 | - public function setPreSaleTime($preSaleTime) |
|
503 | - { |
|
504 | - $this->preSaleTime = $preSaleTime; |
|
505 | - } |
|
506 | - |
|
507 | - public function setQuanGuoLianBao($quanGuoLianBao) |
|
508 | - { |
|
509 | - $this->quanGuoLianBao = $quanGuoLianBao; |
|
510 | - } |
|
511 | - |
|
512 | - public function setSecondHand($secondHand) |
|
513 | - { |
|
514 | - $this->secondHand = $secondHand; |
|
515 | - } |
|
516 | - |
|
517 | - public function setShangMenAnZhuang($shangMenAnZhuang) |
|
518 | - { |
|
519 | - $this->shangMenAnZhuang = $shangMenAnZhuang; |
|
520 | - } |
|
521 | - |
|
522 | - public function setShipmentLimitSecond($shipmentLimitSecond) |
|
523 | - { |
|
524 | - $this->shipmentLimitSecond = $shipmentLimitSecond; |
|
525 | - } |
|
526 | - |
|
527 | - public function setSizeSpecId($sizeSpecId) |
|
528 | - { |
|
529 | - $this->sizeSpecId = $sizeSpecId; |
|
530 | - } |
|
531 | - |
|
532 | - public function setSkuList($skuList) |
|
533 | - { |
|
534 | - $this->skuList = $skuList; |
|
535 | - } |
|
536 | - |
|
537 | - public function setSkuType($skuType) |
|
538 | - { |
|
539 | - $this->skuType = $skuType; |
|
540 | - } |
|
541 | - |
|
542 | - public function setSongHuoAnZhuang($songHuoAnZhuang) |
|
543 | - { |
|
544 | - $this->songHuoAnZhuang = $songHuoAnZhuang; |
|
545 | - } |
|
546 | - |
|
547 | - public function setSongHuoRuHu($songHuoRuHu) |
|
548 | - { |
|
549 | - $this->songHuoRuHu = $songHuoRuHu; |
|
550 | - } |
|
551 | - |
|
552 | - public function setTinyName($tinyName) |
|
553 | - { |
|
554 | - $this->tinyName = $tinyName; |
|
555 | - } |
|
556 | - |
|
557 | - public function setWarehouse($warehouse) |
|
558 | - { |
|
559 | - $this->warehouse = $warehouse; |
|
560 | - } |
|
561 | - |
|
562 | - public function setWarmTips($warmTips) |
|
563 | - { |
|
564 | - $this->warmTips = $warmTips; |
|
565 | - } |
|
566 | - |
|
567 | - public function setZhiHuanBuXiu($zhiHuanBuXiu) |
|
568 | - { |
|
569 | - $this->zhiHuanBuXiu = $zhiHuanBuXiu; |
|
570 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(Integer, "bad_fruit_claim") |
|
15 | + */ |
|
16 | + private $badFruitClaim; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(Long, "buy_limit") |
|
20 | + */ |
|
21 | + private $buyLimit; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(List<String>, "carousel_gallery") |
|
25 | + */ |
|
26 | + private $carouselGallery; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsEditGoodsCommitRequest_CarouselVideoItem>, "carousel_video") |
|
30 | + */ |
|
31 | + private $carouselVideo; |
|
32 | + |
|
33 | + /** |
|
34 | + * @JsonProperty(String, "carousel_video_url") |
|
35 | + */ |
|
36 | + private $carouselVideoUrl; |
|
37 | + |
|
38 | + /** |
|
39 | + * @JsonProperty(Long, "cat_id") |
|
40 | + */ |
|
41 | + private $catId; |
|
42 | + |
|
43 | + /** |
|
44 | + * @JsonProperty(Long, "cost_template_id") |
|
45 | + */ |
|
46 | + private $costTemplateId; |
|
47 | + |
|
48 | + /** |
|
49 | + * @JsonProperty(Integer, "country_id") |
|
50 | + */ |
|
51 | + private $countryId; |
|
52 | + |
|
53 | + /** |
|
54 | + * @JsonProperty(Long, "customer_num") |
|
55 | + */ |
|
56 | + private $customerNum; |
|
57 | + |
|
58 | + /** |
|
59 | + * @JsonProperty(String, "customs") |
|
60 | + */ |
|
61 | + private $customs; |
|
62 | + |
|
63 | + /** |
|
64 | + * @JsonProperty(Integer, "delivery_one_day") |
|
65 | + */ |
|
66 | + private $deliveryOneDay; |
|
67 | + |
|
68 | + /** |
|
69 | + * @JsonProperty(List<String>, "detail_gallery") |
|
70 | + */ |
|
71 | + private $detailGallery; |
|
72 | + |
|
73 | + /** |
|
74 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsEditGoodsCommitRequest_ElecGoodsAttributes, "elec_goods_attributes") |
|
75 | + */ |
|
76 | + private $elecGoodsAttributes; |
|
77 | + |
|
78 | + /** |
|
79 | + * @JsonProperty(String, "goods_desc") |
|
80 | + */ |
|
81 | + private $goodsDesc; |
|
82 | + |
|
83 | + /** |
|
84 | + * @JsonProperty(String, "goods_name") |
|
85 | + */ |
|
86 | + private $goodsName; |
|
87 | + |
|
88 | + /** |
|
89 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsEditGoodsCommitRequest_GoodsPropertiesItem>, "goods_properties") |
|
90 | + */ |
|
91 | + private $goodsProperties; |
|
92 | + |
|
93 | + /** |
|
94 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsEditGoodsCommitRequest_GoodsTradeAttr, "goods_trade_attr") |
|
95 | + */ |
|
96 | + private $goodsTradeAttr; |
|
97 | + |
|
98 | + /** |
|
99 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsEditGoodsCommitRequest_GoodsTravelAttr, "goods_travel_attr") |
|
100 | + */ |
|
101 | + private $goodsTravelAttr; |
|
102 | + |
|
103 | + /** |
|
104 | + * @JsonProperty(Integer, "goods_type") |
|
105 | + */ |
|
106 | + private $goodsType; |
|
107 | + |
|
108 | + /** |
|
109 | + * @JsonProperty(String, "image_url") |
|
110 | + */ |
|
111 | + private $imageUrl; |
|
112 | + |
|
113 | + /** |
|
114 | + * @JsonProperty(Integer, "invoice_status") |
|
115 | + */ |
|
116 | + private $invoiceStatus; |
|
117 | + |
|
118 | + /** |
|
119 | + * @JsonProperty(Boolean, "is_customs") |
|
120 | + */ |
|
121 | + private $isCustoms; |
|
122 | + |
|
123 | + /** |
|
124 | + * @JsonProperty(Boolean, "is_folt") |
|
125 | + */ |
|
126 | + private $isFolt; |
|
127 | + |
|
128 | + /** |
|
129 | + * @JsonProperty(Boolean, "is_pre_sale") |
|
130 | + */ |
|
131 | + private $isPreSale; |
|
132 | + |
|
133 | + /** |
|
134 | + * @JsonProperty(Boolean, "is_refundable") |
|
135 | + */ |
|
136 | + private $isRefundable; |
|
137 | + |
|
138 | + /** |
|
139 | + * @JsonProperty(Integer, "lack_of_weight_claim") |
|
140 | + */ |
|
141 | + private $lackOfWeightClaim; |
|
142 | + |
|
143 | + /** |
|
144 | + * @JsonProperty(String, "mai_jia_zi_ti") |
|
145 | + */ |
|
146 | + private $maiJiaZiTi; |
|
147 | + |
|
148 | + /** |
|
149 | + * @JsonProperty(Long, "market_price") |
|
150 | + */ |
|
151 | + private $marketPrice; |
|
152 | + |
|
153 | + /** |
|
154 | + * @JsonProperty(Long, "order_limit") |
|
155 | + */ |
|
156 | + private $orderLimit; |
|
157 | + |
|
158 | + /** |
|
159 | + * @JsonProperty(Integer, "origin_country_id") |
|
160 | + */ |
|
161 | + private $originCountryId; |
|
162 | + |
|
163 | + /** |
|
164 | + * @JsonProperty(String, "out_goods_id") |
|
165 | + */ |
|
166 | + private $outGoodsId; |
|
167 | + |
|
168 | + /** |
|
169 | + * @JsonProperty(String, "out_source_goods_id") |
|
170 | + */ |
|
171 | + private $outSourceGoodsId; |
|
172 | + |
|
173 | + /** |
|
174 | + * @JsonProperty(Integer, "out_source_type") |
|
175 | + */ |
|
176 | + private $outSourceType; |
|
177 | + |
|
178 | + /** |
|
179 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsEditGoodsCommitRequest_OverseaGoods, "oversea_goods") |
|
180 | + */ |
|
181 | + private $overseaGoods; |
|
182 | + |
|
183 | + /** |
|
184 | + * @JsonProperty(Integer, "oversea_type") |
|
185 | + */ |
|
186 | + private $overseaType; |
|
187 | + |
|
188 | + /** |
|
189 | + * @JsonProperty(Long, "pre_sale_time") |
|
190 | + */ |
|
191 | + private $preSaleTime; |
|
192 | + |
|
193 | + /** |
|
194 | + * @JsonProperty(Integer, "quan_guo_lian_bao") |
|
195 | + */ |
|
196 | + private $quanGuoLianBao; |
|
197 | + |
|
198 | + /** |
|
199 | + * @JsonProperty(Boolean, "second_hand") |
|
200 | + */ |
|
201 | + private $secondHand; |
|
202 | + |
|
203 | + /** |
|
204 | + * @JsonProperty(String, "shang_men_an_zhuang") |
|
205 | + */ |
|
206 | + private $shangMenAnZhuang; |
|
207 | + |
|
208 | + /** |
|
209 | + * @JsonProperty(Long, "shipment_limit_second") |
|
210 | + */ |
|
211 | + private $shipmentLimitSecond; |
|
212 | + |
|
213 | + /** |
|
214 | + * @JsonProperty(Long, "size_spec_id") |
|
215 | + */ |
|
216 | + private $sizeSpecId; |
|
217 | + |
|
218 | + /** |
|
219 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsEditGoodsCommitRequest_SkuListItem>, "sku_list") |
|
220 | + */ |
|
221 | + private $skuList; |
|
222 | + |
|
223 | + /** |
|
224 | + * @JsonProperty(Integer, "sku_type") |
|
225 | + */ |
|
226 | + private $skuType; |
|
227 | + |
|
228 | + /** |
|
229 | + * @JsonProperty(String, "song_huo_an_zhuang") |
|
230 | + */ |
|
231 | + private $songHuoAnZhuang; |
|
232 | + |
|
233 | + /** |
|
234 | + * @JsonProperty(String, "song_huo_ru_hu") |
|
235 | + */ |
|
236 | + private $songHuoRuHu; |
|
237 | + |
|
238 | + /** |
|
239 | + * @JsonProperty(String, "tiny_name") |
|
240 | + */ |
|
241 | + private $tinyName; |
|
242 | + |
|
243 | + /** |
|
244 | + * @JsonProperty(String, "warehouse") |
|
245 | + */ |
|
246 | + private $warehouse; |
|
247 | + |
|
248 | + /** |
|
249 | + * @JsonProperty(String, "warm_tips") |
|
250 | + */ |
|
251 | + private $warmTips; |
|
252 | + |
|
253 | + /** |
|
254 | + * @JsonProperty(Integer, "zhi_huan_bu_xiu") |
|
255 | + */ |
|
256 | + private $zhiHuanBuXiu; |
|
257 | + |
|
258 | + protected function setUserParams(&$params) |
|
259 | + { |
|
260 | + $this->setUserParam($params, "bad_fruit_claim", $this->badFruitClaim); |
|
261 | + $this->setUserParam($params, "buy_limit", $this->buyLimit); |
|
262 | + $this->setUserParam($params, "carousel_gallery", $this->carouselGallery); |
|
263 | + $this->setUserParam($params, "carousel_video", $this->carouselVideo); |
|
264 | + $this->setUserParam($params, "carousel_video_url", $this->carouselVideoUrl); |
|
265 | + $this->setUserParam($params, "cat_id", $this->catId); |
|
266 | + $this->setUserParam($params, "cost_template_id", $this->costTemplateId); |
|
267 | + $this->setUserParam($params, "country_id", $this->countryId); |
|
268 | + $this->setUserParam($params, "customer_num", $this->customerNum); |
|
269 | + $this->setUserParam($params, "customs", $this->customs); |
|
270 | + $this->setUserParam($params, "delivery_one_day", $this->deliveryOneDay); |
|
271 | + $this->setUserParam($params, "detail_gallery", $this->detailGallery); |
|
272 | + $this->setUserParam($params, "elec_goods_attributes", $this->elecGoodsAttributes); |
|
273 | + $this->setUserParam($params, "goods_desc", $this->goodsDesc); |
|
274 | + $this->setUserParam($params, "goods_name", $this->goodsName); |
|
275 | + $this->setUserParam($params, "goods_properties", $this->goodsProperties); |
|
276 | + $this->setUserParam($params, "goods_trade_attr", $this->goodsTradeAttr); |
|
277 | + $this->setUserParam($params, "goods_travel_attr", $this->goodsTravelAttr); |
|
278 | + $this->setUserParam($params, "goods_type", $this->goodsType); |
|
279 | + $this->setUserParam($params, "image_url", $this->imageUrl); |
|
280 | + $this->setUserParam($params, "invoice_status", $this->invoiceStatus); |
|
281 | + $this->setUserParam($params, "is_customs", $this->isCustoms); |
|
282 | + $this->setUserParam($params, "is_folt", $this->isFolt); |
|
283 | + $this->setUserParam($params, "is_pre_sale", $this->isPreSale); |
|
284 | + $this->setUserParam($params, "is_refundable", $this->isRefundable); |
|
285 | + $this->setUserParam($params, "lack_of_weight_claim", $this->lackOfWeightClaim); |
|
286 | + $this->setUserParam($params, "mai_jia_zi_ti", $this->maiJiaZiTi); |
|
287 | + $this->setUserParam($params, "market_price", $this->marketPrice); |
|
288 | + $this->setUserParam($params, "order_limit", $this->orderLimit); |
|
289 | + $this->setUserParam($params, "origin_country_id", $this->originCountryId); |
|
290 | + $this->setUserParam($params, "out_goods_id", $this->outGoodsId); |
|
291 | + $this->setUserParam($params, "out_source_goods_id", $this->outSourceGoodsId); |
|
292 | + $this->setUserParam($params, "out_source_type", $this->outSourceType); |
|
293 | + $this->setUserParam($params, "oversea_goods", $this->overseaGoods); |
|
294 | + $this->setUserParam($params, "oversea_type", $this->overseaType); |
|
295 | + $this->setUserParam($params, "pre_sale_time", $this->preSaleTime); |
|
296 | + $this->setUserParam($params, "quan_guo_lian_bao", $this->quanGuoLianBao); |
|
297 | + $this->setUserParam($params, "second_hand", $this->secondHand); |
|
298 | + $this->setUserParam($params, "shang_men_an_zhuang", $this->shangMenAnZhuang); |
|
299 | + $this->setUserParam($params, "shipment_limit_second", $this->shipmentLimitSecond); |
|
300 | + $this->setUserParam($params, "size_spec_id", $this->sizeSpecId); |
|
301 | + $this->setUserParam($params, "sku_list", $this->skuList); |
|
302 | + $this->setUserParam($params, "sku_type", $this->skuType); |
|
303 | + $this->setUserParam($params, "song_huo_an_zhuang", $this->songHuoAnZhuang); |
|
304 | + $this->setUserParam($params, "song_huo_ru_hu", $this->songHuoRuHu); |
|
305 | + $this->setUserParam($params, "tiny_name", $this->tinyName); |
|
306 | + $this->setUserParam($params, "warehouse", $this->warehouse); |
|
307 | + $this->setUserParam($params, "warm_tips", $this->warmTips); |
|
308 | + $this->setUserParam($params, "zhi_huan_bu_xiu", $this->zhiHuanBuXiu); |
|
309 | + |
|
310 | + } |
|
311 | + |
|
312 | + public function getVersion() |
|
313 | + { |
|
314 | + return "V1"; |
|
315 | + } |
|
316 | + |
|
317 | + public function getDataType() |
|
318 | + { |
|
319 | + return "JSON"; |
|
320 | + } |
|
321 | + |
|
322 | + public function getType() |
|
323 | + { |
|
324 | + return "pdd.goods.edit.goods.commit"; |
|
325 | + } |
|
326 | + |
|
327 | + public function setBadFruitClaim($badFruitClaim) |
|
328 | + { |
|
329 | + $this->badFruitClaim = $badFruitClaim; |
|
330 | + } |
|
331 | + |
|
332 | + public function setBuyLimit($buyLimit) |
|
333 | + { |
|
334 | + $this->buyLimit = $buyLimit; |
|
335 | + } |
|
336 | + |
|
337 | + public function setCarouselGallery($carouselGallery) |
|
338 | + { |
|
339 | + $this->carouselGallery = $carouselGallery; |
|
340 | + } |
|
341 | + |
|
342 | + public function setCarouselVideo($carouselVideo) |
|
343 | + { |
|
344 | + $this->carouselVideo = $carouselVideo; |
|
345 | + } |
|
346 | + |
|
347 | + public function setCarouselVideoUrl($carouselVideoUrl) |
|
348 | + { |
|
349 | + $this->carouselVideoUrl = $carouselVideoUrl; |
|
350 | + } |
|
351 | + |
|
352 | + public function setCatId($catId) |
|
353 | + { |
|
354 | + $this->catId = $catId; |
|
355 | + } |
|
356 | + |
|
357 | + public function setCostTemplateId($costTemplateId) |
|
358 | + { |
|
359 | + $this->costTemplateId = $costTemplateId; |
|
360 | + } |
|
361 | + |
|
362 | + public function setCountryId($countryId) |
|
363 | + { |
|
364 | + $this->countryId = $countryId; |
|
365 | + } |
|
366 | + |
|
367 | + public function setCustomerNum($customerNum) |
|
368 | + { |
|
369 | + $this->customerNum = $customerNum; |
|
370 | + } |
|
371 | + |
|
372 | + public function setCustoms($customs) |
|
373 | + { |
|
374 | + $this->customs = $customs; |
|
375 | + } |
|
376 | + |
|
377 | + public function setDeliveryOneDay($deliveryOneDay) |
|
378 | + { |
|
379 | + $this->deliveryOneDay = $deliveryOneDay; |
|
380 | + } |
|
381 | + |
|
382 | + public function setDetailGallery($detailGallery) |
|
383 | + { |
|
384 | + $this->detailGallery = $detailGallery; |
|
385 | + } |
|
386 | + |
|
387 | + public function setElecGoodsAttributes($elecGoodsAttributes) |
|
388 | + { |
|
389 | + $this->elecGoodsAttributes = $elecGoodsAttributes; |
|
390 | + } |
|
391 | + |
|
392 | + public function setGoodsDesc($goodsDesc) |
|
393 | + { |
|
394 | + $this->goodsDesc = $goodsDesc; |
|
395 | + } |
|
396 | + |
|
397 | + public function setGoodsName($goodsName) |
|
398 | + { |
|
399 | + $this->goodsName = $goodsName; |
|
400 | + } |
|
401 | + |
|
402 | + public function setGoodsProperties($goodsProperties) |
|
403 | + { |
|
404 | + $this->goodsProperties = $goodsProperties; |
|
405 | + } |
|
406 | + |
|
407 | + public function setGoodsTradeAttr($goodsTradeAttr) |
|
408 | + { |
|
409 | + $this->goodsTradeAttr = $goodsTradeAttr; |
|
410 | + } |
|
411 | + |
|
412 | + public function setGoodsTravelAttr($goodsTravelAttr) |
|
413 | + { |
|
414 | + $this->goodsTravelAttr = $goodsTravelAttr; |
|
415 | + } |
|
416 | + |
|
417 | + public function setGoodsType($goodsType) |
|
418 | + { |
|
419 | + $this->goodsType = $goodsType; |
|
420 | + } |
|
421 | + |
|
422 | + public function setImageUrl($imageUrl) |
|
423 | + { |
|
424 | + $this->imageUrl = $imageUrl; |
|
425 | + } |
|
426 | + |
|
427 | + public function setInvoiceStatus($invoiceStatus) |
|
428 | + { |
|
429 | + $this->invoiceStatus = $invoiceStatus; |
|
430 | + } |
|
431 | + |
|
432 | + public function setIsCustoms($isCustoms) |
|
433 | + { |
|
434 | + $this->isCustoms = $isCustoms; |
|
435 | + } |
|
436 | + |
|
437 | + public function setIsFolt($isFolt) |
|
438 | + { |
|
439 | + $this->isFolt = $isFolt; |
|
440 | + } |
|
441 | + |
|
442 | + public function setIsPreSale($isPreSale) |
|
443 | + { |
|
444 | + $this->isPreSale = $isPreSale; |
|
445 | + } |
|
446 | + |
|
447 | + public function setIsRefundable($isRefundable) |
|
448 | + { |
|
449 | + $this->isRefundable = $isRefundable; |
|
450 | + } |
|
451 | + |
|
452 | + public function setLackOfWeightClaim($lackOfWeightClaim) |
|
453 | + { |
|
454 | + $this->lackOfWeightClaim = $lackOfWeightClaim; |
|
455 | + } |
|
456 | + |
|
457 | + public function setMaiJiaZiTi($maiJiaZiTi) |
|
458 | + { |
|
459 | + $this->maiJiaZiTi = $maiJiaZiTi; |
|
460 | + } |
|
461 | + |
|
462 | + public function setMarketPrice($marketPrice) |
|
463 | + { |
|
464 | + $this->marketPrice = $marketPrice; |
|
465 | + } |
|
466 | + |
|
467 | + public function setOrderLimit($orderLimit) |
|
468 | + { |
|
469 | + $this->orderLimit = $orderLimit; |
|
470 | + } |
|
471 | + |
|
472 | + public function setOriginCountryId($originCountryId) |
|
473 | + { |
|
474 | + $this->originCountryId = $originCountryId; |
|
475 | + } |
|
476 | + |
|
477 | + public function setOutGoodsId($outGoodsId) |
|
478 | + { |
|
479 | + $this->outGoodsId = $outGoodsId; |
|
480 | + } |
|
481 | + |
|
482 | + public function setOutSourceGoodsId($outSourceGoodsId) |
|
483 | + { |
|
484 | + $this->outSourceGoodsId = $outSourceGoodsId; |
|
485 | + } |
|
486 | + |
|
487 | + public function setOutSourceType($outSourceType) |
|
488 | + { |
|
489 | + $this->outSourceType = $outSourceType; |
|
490 | + } |
|
491 | + |
|
492 | + public function setOverseaGoods($overseaGoods) |
|
493 | + { |
|
494 | + $this->overseaGoods = $overseaGoods; |
|
495 | + } |
|
496 | + |
|
497 | + public function setOverseaType($overseaType) |
|
498 | + { |
|
499 | + $this->overseaType = $overseaType; |
|
500 | + } |
|
501 | + |
|
502 | + public function setPreSaleTime($preSaleTime) |
|
503 | + { |
|
504 | + $this->preSaleTime = $preSaleTime; |
|
505 | + } |
|
506 | + |
|
507 | + public function setQuanGuoLianBao($quanGuoLianBao) |
|
508 | + { |
|
509 | + $this->quanGuoLianBao = $quanGuoLianBao; |
|
510 | + } |
|
511 | + |
|
512 | + public function setSecondHand($secondHand) |
|
513 | + { |
|
514 | + $this->secondHand = $secondHand; |
|
515 | + } |
|
516 | + |
|
517 | + public function setShangMenAnZhuang($shangMenAnZhuang) |
|
518 | + { |
|
519 | + $this->shangMenAnZhuang = $shangMenAnZhuang; |
|
520 | + } |
|
521 | + |
|
522 | + public function setShipmentLimitSecond($shipmentLimitSecond) |
|
523 | + { |
|
524 | + $this->shipmentLimitSecond = $shipmentLimitSecond; |
|
525 | + } |
|
526 | + |
|
527 | + public function setSizeSpecId($sizeSpecId) |
|
528 | + { |
|
529 | + $this->sizeSpecId = $sizeSpecId; |
|
530 | + } |
|
531 | + |
|
532 | + public function setSkuList($skuList) |
|
533 | + { |
|
534 | + $this->skuList = $skuList; |
|
535 | + } |
|
536 | + |
|
537 | + public function setSkuType($skuType) |
|
538 | + { |
|
539 | + $this->skuType = $skuType; |
|
540 | + } |
|
541 | + |
|
542 | + public function setSongHuoAnZhuang($songHuoAnZhuang) |
|
543 | + { |
|
544 | + $this->songHuoAnZhuang = $songHuoAnZhuang; |
|
545 | + } |
|
546 | + |
|
547 | + public function setSongHuoRuHu($songHuoRuHu) |
|
548 | + { |
|
549 | + $this->songHuoRuHu = $songHuoRuHu; |
|
550 | + } |
|
551 | + |
|
552 | + public function setTinyName($tinyName) |
|
553 | + { |
|
554 | + $this->tinyName = $tinyName; |
|
555 | + } |
|
556 | + |
|
557 | + public function setWarehouse($warehouse) |
|
558 | + { |
|
559 | + $this->warehouse = $warehouse; |
|
560 | + } |
|
561 | + |
|
562 | + public function setWarmTips($warmTips) |
|
563 | + { |
|
564 | + $this->warmTips = $warmTips; |
|
565 | + } |
|
566 | + |
|
567 | + public function setZhiHuanBuXiu($zhiHuanBuXiu) |
|
568 | + { |
|
569 | + $this->zhiHuanBuXiu = $zhiHuanBuXiu; |
|
570 | + } |
|
571 | 571 | |
572 | 572 | } |
573 | 573 | |
574 | 574 | class PddGoodsEditGoodsCommitRequest_CarouselVideoItem extends PopBaseJsonEntity |
575 | 575 | { |
576 | 576 | |
577 | - public function __construct() |
|
578 | - { |
|
577 | + public function __construct() |
|
578 | + { |
|
579 | 579 | |
580 | - } |
|
580 | + } |
|
581 | 581 | |
582 | - /** |
|
583 | - * @JsonProperty(Long, "file_id") |
|
584 | - */ |
|
585 | - private $fileId; |
|
582 | + /** |
|
583 | + * @JsonProperty(Long, "file_id") |
|
584 | + */ |
|
585 | + private $fileId; |
|
586 | 586 | |
587 | - /** |
|
588 | - * @JsonProperty(String, "video_url") |
|
589 | - */ |
|
590 | - private $videoUrl; |
|
587 | + /** |
|
588 | + * @JsonProperty(String, "video_url") |
|
589 | + */ |
|
590 | + private $videoUrl; |
|
591 | 591 | |
592 | - public function setFileId($fileId) |
|
593 | - { |
|
594 | - $this->fileId = $fileId; |
|
595 | - } |
|
592 | + public function setFileId($fileId) |
|
593 | + { |
|
594 | + $this->fileId = $fileId; |
|
595 | + } |
|
596 | 596 | |
597 | - public function setVideoUrl($videoUrl) |
|
598 | - { |
|
599 | - $this->videoUrl = $videoUrl; |
|
600 | - } |
|
597 | + public function setVideoUrl($videoUrl) |
|
598 | + { |
|
599 | + $this->videoUrl = $videoUrl; |
|
600 | + } |
|
601 | 601 | |
602 | 602 | } |
603 | 603 | |
604 | 604 | class PddGoodsEditGoodsCommitRequest_ElecGoodsAttributes extends PopBaseJsonEntity |
605 | 605 | { |
606 | 606 | |
607 | - public function __construct() |
|
608 | - { |
|
609 | - |
|
610 | - } |
|
611 | - |
|
612 | - /** |
|
613 | - * @JsonProperty(Long, "begin_time") |
|
614 | - */ |
|
615 | - private $beginTime; |
|
616 | - |
|
617 | - /** |
|
618 | - * @JsonProperty(Integer, "days_time") |
|
619 | - */ |
|
620 | - private $daysTime; |
|
621 | - |
|
622 | - /** |
|
623 | - * @JsonProperty(Long, "end_time") |
|
624 | - */ |
|
625 | - private $endTime; |
|
626 | - |
|
627 | - /** |
|
628 | - * @JsonProperty(Integer, "time_type") |
|
629 | - */ |
|
630 | - private $timeType; |
|
631 | - |
|
632 | - public function setBeginTime($beginTime) |
|
633 | - { |
|
634 | - $this->beginTime = $beginTime; |
|
635 | - } |
|
636 | - |
|
637 | - public function setDaysTime($daysTime) |
|
638 | - { |
|
639 | - $this->daysTime = $daysTime; |
|
640 | - } |
|
641 | - |
|
642 | - public function setEndTime($endTime) |
|
643 | - { |
|
644 | - $this->endTime = $endTime; |
|
645 | - } |
|
646 | - |
|
647 | - public function setTimeType($timeType) |
|
648 | - { |
|
649 | - $this->timeType = $timeType; |
|
650 | - } |
|
607 | + public function __construct() |
|
608 | + { |
|
609 | + |
|
610 | + } |
|
611 | + |
|
612 | + /** |
|
613 | + * @JsonProperty(Long, "begin_time") |
|
614 | + */ |
|
615 | + private $beginTime; |
|
616 | + |
|
617 | + /** |
|
618 | + * @JsonProperty(Integer, "days_time") |
|
619 | + */ |
|
620 | + private $daysTime; |
|
621 | + |
|
622 | + /** |
|
623 | + * @JsonProperty(Long, "end_time") |
|
624 | + */ |
|
625 | + private $endTime; |
|
626 | + |
|
627 | + /** |
|
628 | + * @JsonProperty(Integer, "time_type") |
|
629 | + */ |
|
630 | + private $timeType; |
|
631 | + |
|
632 | + public function setBeginTime($beginTime) |
|
633 | + { |
|
634 | + $this->beginTime = $beginTime; |
|
635 | + } |
|
636 | + |
|
637 | + public function setDaysTime($daysTime) |
|
638 | + { |
|
639 | + $this->daysTime = $daysTime; |
|
640 | + } |
|
641 | + |
|
642 | + public function setEndTime($endTime) |
|
643 | + { |
|
644 | + $this->endTime = $endTime; |
|
645 | + } |
|
646 | + |
|
647 | + public function setTimeType($timeType) |
|
648 | + { |
|
649 | + $this->timeType = $timeType; |
|
650 | + } |
|
651 | 651 | |
652 | 652 | } |
653 | 653 | |
654 | 654 | class PddGoodsEditGoodsCommitRequest_GoodsPropertiesItem extends PopBaseJsonEntity |
655 | 655 | { |
656 | 656 | |
657 | - public function __construct() |
|
658 | - { |
|
659 | - |
|
660 | - } |
|
661 | - |
|
662 | - /** |
|
663 | - * @JsonProperty(Integer, "group_id") |
|
664 | - */ |
|
665 | - private $groupId; |
|
666 | - |
|
667 | - /** |
|
668 | - * @JsonProperty(String, "img_url") |
|
669 | - */ |
|
670 | - private $imgUrl; |
|
671 | - |
|
672 | - /** |
|
673 | - * @JsonProperty(String, "note") |
|
674 | - */ |
|
675 | - private $note; |
|
676 | - |
|
677 | - /** |
|
678 | - * @JsonProperty(Long, "parent_spec_id") |
|
679 | - */ |
|
680 | - private $parentSpecId; |
|
681 | - |
|
682 | - /** |
|
683 | - * @JsonProperty(Long, "ref_pid") |
|
684 | - */ |
|
685 | - private $refPid; |
|
686 | - |
|
687 | - /** |
|
688 | - * @JsonProperty(Long, "spec_id") |
|
689 | - */ |
|
690 | - private $specId; |
|
691 | - |
|
692 | - /** |
|
693 | - * @JsonProperty(Long, "template_pid") |
|
694 | - */ |
|
695 | - private $templatePid; |
|
696 | - |
|
697 | - /** |
|
698 | - * @JsonProperty(String, "value") |
|
699 | - */ |
|
700 | - private $value; |
|
701 | - |
|
702 | - /** |
|
703 | - * @JsonProperty(String, "value_unit") |
|
704 | - */ |
|
705 | - private $valueUnit; |
|
706 | - |
|
707 | - /** |
|
708 | - * @JsonProperty(Long, "vid") |
|
709 | - */ |
|
710 | - private $vid; |
|
711 | - |
|
712 | - public function setGroupId($groupId) |
|
713 | - { |
|
714 | - $this->groupId = $groupId; |
|
715 | - } |
|
716 | - |
|
717 | - public function setImgUrl($imgUrl) |
|
718 | - { |
|
719 | - $this->imgUrl = $imgUrl; |
|
720 | - } |
|
721 | - |
|
722 | - public function setNote($note) |
|
723 | - { |
|
724 | - $this->note = $note; |
|
725 | - } |
|
726 | - |
|
727 | - public function setParentSpecId($parentSpecId) |
|
728 | - { |
|
729 | - $this->parentSpecId = $parentSpecId; |
|
730 | - } |
|
731 | - |
|
732 | - public function setRefPid($refPid) |
|
733 | - { |
|
734 | - $this->refPid = $refPid; |
|
735 | - } |
|
736 | - |
|
737 | - public function setSpecId($specId) |
|
738 | - { |
|
739 | - $this->specId = $specId; |
|
740 | - } |
|
741 | - |
|
742 | - public function setTemplatePid($templatePid) |
|
743 | - { |
|
744 | - $this->templatePid = $templatePid; |
|
745 | - } |
|
746 | - |
|
747 | - public function setValue($value) |
|
748 | - { |
|
749 | - $this->value = $value; |
|
750 | - } |
|
751 | - |
|
752 | - public function setValueUnit($valueUnit) |
|
753 | - { |
|
754 | - $this->valueUnit = $valueUnit; |
|
755 | - } |
|
756 | - |
|
757 | - public function setVid($vid) |
|
758 | - { |
|
759 | - $this->vid = $vid; |
|
760 | - } |
|
657 | + public function __construct() |
|
658 | + { |
|
659 | + |
|
660 | + } |
|
661 | + |
|
662 | + /** |
|
663 | + * @JsonProperty(Integer, "group_id") |
|
664 | + */ |
|
665 | + private $groupId; |
|
666 | + |
|
667 | + /** |
|
668 | + * @JsonProperty(String, "img_url") |
|
669 | + */ |
|
670 | + private $imgUrl; |
|
671 | + |
|
672 | + /** |
|
673 | + * @JsonProperty(String, "note") |
|
674 | + */ |
|
675 | + private $note; |
|
676 | + |
|
677 | + /** |
|
678 | + * @JsonProperty(Long, "parent_spec_id") |
|
679 | + */ |
|
680 | + private $parentSpecId; |
|
681 | + |
|
682 | + /** |
|
683 | + * @JsonProperty(Long, "ref_pid") |
|
684 | + */ |
|
685 | + private $refPid; |
|
686 | + |
|
687 | + /** |
|
688 | + * @JsonProperty(Long, "spec_id") |
|
689 | + */ |
|
690 | + private $specId; |
|
691 | + |
|
692 | + /** |
|
693 | + * @JsonProperty(Long, "template_pid") |
|
694 | + */ |
|
695 | + private $templatePid; |
|
696 | + |
|
697 | + /** |
|
698 | + * @JsonProperty(String, "value") |
|
699 | + */ |
|
700 | + private $value; |
|
701 | + |
|
702 | + /** |
|
703 | + * @JsonProperty(String, "value_unit") |
|
704 | + */ |
|
705 | + private $valueUnit; |
|
706 | + |
|
707 | + /** |
|
708 | + * @JsonProperty(Long, "vid") |
|
709 | + */ |
|
710 | + private $vid; |
|
711 | + |
|
712 | + public function setGroupId($groupId) |
|
713 | + { |
|
714 | + $this->groupId = $groupId; |
|
715 | + } |
|
716 | + |
|
717 | + public function setImgUrl($imgUrl) |
|
718 | + { |
|
719 | + $this->imgUrl = $imgUrl; |
|
720 | + } |
|
721 | + |
|
722 | + public function setNote($note) |
|
723 | + { |
|
724 | + $this->note = $note; |
|
725 | + } |
|
726 | + |
|
727 | + public function setParentSpecId($parentSpecId) |
|
728 | + { |
|
729 | + $this->parentSpecId = $parentSpecId; |
|
730 | + } |
|
731 | + |
|
732 | + public function setRefPid($refPid) |
|
733 | + { |
|
734 | + $this->refPid = $refPid; |
|
735 | + } |
|
736 | + |
|
737 | + public function setSpecId($specId) |
|
738 | + { |
|
739 | + $this->specId = $specId; |
|
740 | + } |
|
741 | + |
|
742 | + public function setTemplatePid($templatePid) |
|
743 | + { |
|
744 | + $this->templatePid = $templatePid; |
|
745 | + } |
|
746 | + |
|
747 | + public function setValue($value) |
|
748 | + { |
|
749 | + $this->value = $value; |
|
750 | + } |
|
751 | + |
|
752 | + public function setValueUnit($valueUnit) |
|
753 | + { |
|
754 | + $this->valueUnit = $valueUnit; |
|
755 | + } |
|
756 | + |
|
757 | + public function setVid($vid) |
|
758 | + { |
|
759 | + $this->vid = $vid; |
|
760 | + } |
|
761 | 761 | |
762 | 762 | } |
763 | 763 | |
764 | 764 | class PddGoodsEditGoodsCommitRequest_GoodsTradeAttr extends PopBaseJsonEntity |
765 | 765 | { |
766 | 766 | |
767 | - public function __construct() |
|
768 | - { |
|
767 | + public function __construct() |
|
768 | + { |
|
769 | 769 | |
770 | - } |
|
770 | + } |
|
771 | 771 | |
772 | - /** |
|
773 | - * @JsonProperty(Integer, "advances_days") |
|
774 | - */ |
|
775 | - private $advancesDays; |
|
772 | + /** |
|
773 | + * @JsonProperty(Integer, "advances_days") |
|
774 | + */ |
|
775 | + private $advancesDays; |
|
776 | 776 | |
777 | - /** |
|
778 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsEditGoodsCommitRequest_GoodsTradeAttrBookingNotes, "booking_notes") |
|
779 | - */ |
|
780 | - private $bookingNotes; |
|
777 | + /** |
|
778 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsEditGoodsCommitRequest_GoodsTradeAttrBookingNotes, "booking_notes") |
|
779 | + */ |
|
780 | + private $bookingNotes; |
|
781 | 781 | |
782 | - /** |
|
783 | - * @JsonProperty(Integer, "life_span") |
|
784 | - */ |
|
785 | - private $lifeSpan; |
|
782 | + /** |
|
783 | + * @JsonProperty(Integer, "life_span") |
|
784 | + */ |
|
785 | + private $lifeSpan; |
|
786 | 786 | |
787 | - public function setAdvancesDays($advancesDays) |
|
788 | - { |
|
789 | - $this->advancesDays = $advancesDays; |
|
790 | - } |
|
787 | + public function setAdvancesDays($advancesDays) |
|
788 | + { |
|
789 | + $this->advancesDays = $advancesDays; |
|
790 | + } |
|
791 | 791 | |
792 | - public function setBookingNotes($bookingNotes) |
|
793 | - { |
|
794 | - $this->bookingNotes = $bookingNotes; |
|
795 | - } |
|
792 | + public function setBookingNotes($bookingNotes) |
|
793 | + { |
|
794 | + $this->bookingNotes = $bookingNotes; |
|
795 | + } |
|
796 | 796 | |
797 | - public function setLifeSpan($lifeSpan) |
|
798 | - { |
|
799 | - $this->lifeSpan = $lifeSpan; |
|
800 | - } |
|
797 | + public function setLifeSpan($lifeSpan) |
|
798 | + { |
|
799 | + $this->lifeSpan = $lifeSpan; |
|
800 | + } |
|
801 | 801 | |
802 | 802 | } |
803 | 803 | |
804 | 804 | class PddGoodsEditGoodsCommitRequest_GoodsTradeAttrBookingNotes extends PopBaseJsonEntity |
805 | 805 | { |
806 | 806 | |
807 | - public function __construct() |
|
808 | - { |
|
807 | + public function __construct() |
|
808 | + { |
|
809 | 809 | |
810 | - } |
|
810 | + } |
|
811 | 811 | |
812 | - /** |
|
813 | - * @JsonProperty(String, "url") |
|
814 | - */ |
|
815 | - private $url; |
|
812 | + /** |
|
813 | + * @JsonProperty(String, "url") |
|
814 | + */ |
|
815 | + private $url; |
|
816 | 816 | |
817 | - public function setUrl($url) |
|
818 | - { |
|
819 | - $this->url = $url; |
|
820 | - } |
|
817 | + public function setUrl($url) |
|
818 | + { |
|
819 | + $this->url = $url; |
|
820 | + } |
|
821 | 821 | |
822 | 822 | } |
823 | 823 | |
824 | 824 | class PddGoodsEditGoodsCommitRequest_GoodsTravelAttr extends PopBaseJsonEntity |
825 | 825 | { |
826 | 826 | |
827 | - public function __construct() |
|
828 | - { |
|
827 | + public function __construct() |
|
828 | + { |
|
829 | 829 | |
830 | - } |
|
830 | + } |
|
831 | 831 | |
832 | - /** |
|
833 | - * @JsonProperty(Boolean, "need_tourist") |
|
834 | - */ |
|
835 | - private $needTourist; |
|
832 | + /** |
|
833 | + * @JsonProperty(Boolean, "need_tourist") |
|
834 | + */ |
|
835 | + private $needTourist; |
|
836 | 836 | |
837 | - /** |
|
838 | - * @JsonProperty(Integer, "type") |
|
839 | - */ |
|
840 | - private $type; |
|
837 | + /** |
|
838 | + * @JsonProperty(Integer, "type") |
|
839 | + */ |
|
840 | + private $type; |
|
841 | 841 | |
842 | - public function setNeedTourist($needTourist) |
|
843 | - { |
|
844 | - $this->needTourist = $needTourist; |
|
845 | - } |
|
842 | + public function setNeedTourist($needTourist) |
|
843 | + { |
|
844 | + $this->needTourist = $needTourist; |
|
845 | + } |
|
846 | 846 | |
847 | - public function setType($type) |
|
848 | - { |
|
849 | - $this->type = $type; |
|
850 | - } |
|
847 | + public function setType($type) |
|
848 | + { |
|
849 | + $this->type = $type; |
|
850 | + } |
|
851 | 851 | |
852 | 852 | } |
853 | 853 | |
854 | 854 | class PddGoodsEditGoodsCommitRequest_OverseaGoods extends PopBaseJsonEntity |
855 | 855 | { |
856 | 856 | |
857 | - public function __construct() |
|
858 | - { |
|
859 | - |
|
860 | - } |
|
861 | - |
|
862 | - /** |
|
863 | - * @JsonProperty(String, "bonded_warehouse_key") |
|
864 | - */ |
|
865 | - private $bondedWarehouseKey; |
|
866 | - |
|
867 | - /** |
|
868 | - * @JsonProperty(Integer, "consumption_tax_rate") |
|
869 | - */ |
|
870 | - private $consumptionTaxRate; |
|
871 | - |
|
872 | - /** |
|
873 | - * @JsonProperty(String, "customs_broker") |
|
874 | - */ |
|
875 | - private $customsBroker; |
|
876 | - |
|
877 | - /** |
|
878 | - * @JsonProperty(String, "hs_code") |
|
879 | - */ |
|
880 | - private $hsCode; |
|
881 | - |
|
882 | - /** |
|
883 | - * @JsonProperty(Integer, "value_added_tax_rate") |
|
884 | - */ |
|
885 | - private $valueAddedTaxRate; |
|
886 | - |
|
887 | - public function setBondedWarehouseKey($bondedWarehouseKey) |
|
888 | - { |
|
889 | - $this->bondedWarehouseKey = $bondedWarehouseKey; |
|
890 | - } |
|
891 | - |
|
892 | - public function setConsumptionTaxRate($consumptionTaxRate) |
|
893 | - { |
|
894 | - $this->consumptionTaxRate = $consumptionTaxRate; |
|
895 | - } |
|
896 | - |
|
897 | - public function setCustomsBroker($customsBroker) |
|
898 | - { |
|
899 | - $this->customsBroker = $customsBroker; |
|
900 | - } |
|
901 | - |
|
902 | - public function setHsCode($hsCode) |
|
903 | - { |
|
904 | - $this->hsCode = $hsCode; |
|
905 | - } |
|
906 | - |
|
907 | - public function setValueAddedTaxRate($valueAddedTaxRate) |
|
908 | - { |
|
909 | - $this->valueAddedTaxRate = $valueAddedTaxRate; |
|
910 | - } |
|
857 | + public function __construct() |
|
858 | + { |
|
859 | + |
|
860 | + } |
|
861 | + |
|
862 | + /** |
|
863 | + * @JsonProperty(String, "bonded_warehouse_key") |
|
864 | + */ |
|
865 | + private $bondedWarehouseKey; |
|
866 | + |
|
867 | + /** |
|
868 | + * @JsonProperty(Integer, "consumption_tax_rate") |
|
869 | + */ |
|
870 | + private $consumptionTaxRate; |
|
871 | + |
|
872 | + /** |
|
873 | + * @JsonProperty(String, "customs_broker") |
|
874 | + */ |
|
875 | + private $customsBroker; |
|
876 | + |
|
877 | + /** |
|
878 | + * @JsonProperty(String, "hs_code") |
|
879 | + */ |
|
880 | + private $hsCode; |
|
881 | + |
|
882 | + /** |
|
883 | + * @JsonProperty(Integer, "value_added_tax_rate") |
|
884 | + */ |
|
885 | + private $valueAddedTaxRate; |
|
886 | + |
|
887 | + public function setBondedWarehouseKey($bondedWarehouseKey) |
|
888 | + { |
|
889 | + $this->bondedWarehouseKey = $bondedWarehouseKey; |
|
890 | + } |
|
891 | + |
|
892 | + public function setConsumptionTaxRate($consumptionTaxRate) |
|
893 | + { |
|
894 | + $this->consumptionTaxRate = $consumptionTaxRate; |
|
895 | + } |
|
896 | + |
|
897 | + public function setCustomsBroker($customsBroker) |
|
898 | + { |
|
899 | + $this->customsBroker = $customsBroker; |
|
900 | + } |
|
901 | + |
|
902 | + public function setHsCode($hsCode) |
|
903 | + { |
|
904 | + $this->hsCode = $hsCode; |
|
905 | + } |
|
906 | + |
|
907 | + public function setValueAddedTaxRate($valueAddedTaxRate) |
|
908 | + { |
|
909 | + $this->valueAddedTaxRate = $valueAddedTaxRate; |
|
910 | + } |
|
911 | 911 | |
912 | 912 | } |
913 | 913 | |
914 | 914 | class PddGoodsEditGoodsCommitRequest_SkuListItem extends PopBaseJsonEntity |
915 | 915 | { |
916 | 916 | |
917 | - public function __construct() |
|
918 | - { |
|
919 | - |
|
920 | - } |
|
921 | - |
|
922 | - /** |
|
923 | - * @JsonProperty(Integer, "is_onsale") |
|
924 | - */ |
|
925 | - private $isOnsale; |
|
926 | - |
|
927 | - /** |
|
928 | - * @JsonProperty(Long, "length") |
|
929 | - */ |
|
930 | - private $length; |
|
931 | - |
|
932 | - /** |
|
933 | - * @JsonProperty(Long, "limit_quantity") |
|
934 | - */ |
|
935 | - private $limitQuantity; |
|
936 | - |
|
937 | - /** |
|
938 | - * @JsonProperty(Long, "multi_price") |
|
939 | - */ |
|
940 | - private $multiPrice; |
|
941 | - |
|
942 | - /** |
|
943 | - * @JsonProperty(String, "out_sku_sn") |
|
944 | - */ |
|
945 | - private $outSkuSn; |
|
946 | - |
|
947 | - /** |
|
948 | - * @JsonProperty(String, "out_source_sku_id") |
|
949 | - */ |
|
950 | - private $outSourceSkuId; |
|
951 | - |
|
952 | - /** |
|
953 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsEditGoodsCommitRequest_SkuListItemOverseaSku, "oversea_sku") |
|
954 | - */ |
|
955 | - private $overseaSku; |
|
956 | - |
|
957 | - /** |
|
958 | - * @JsonProperty(Long, "price") |
|
959 | - */ |
|
960 | - private $price; |
|
961 | - |
|
962 | - /** |
|
963 | - * @JsonProperty(Long, "quantity") |
|
964 | - */ |
|
965 | - private $quantity; |
|
966 | - |
|
967 | - /** |
|
968 | - * @JsonProperty(String, "spec_id_list") |
|
969 | - */ |
|
970 | - private $specIdList; |
|
971 | - |
|
972 | - /** |
|
973 | - * @JsonProperty(String, "thumb_url") |
|
974 | - */ |
|
975 | - private $thumbUrl; |
|
976 | - |
|
977 | - /** |
|
978 | - * @JsonProperty(Long, "weight") |
|
979 | - */ |
|
980 | - private $weight; |
|
981 | - |
|
982 | - public function setIsOnsale($isOnsale) |
|
983 | - { |
|
984 | - $this->isOnsale = $isOnsale; |
|
985 | - } |
|
986 | - |
|
987 | - public function setLength($length) |
|
988 | - { |
|
989 | - $this->length = $length; |
|
990 | - } |
|
991 | - |
|
992 | - public function setLimitQuantity($limitQuantity) |
|
993 | - { |
|
994 | - $this->limitQuantity = $limitQuantity; |
|
995 | - } |
|
996 | - |
|
997 | - public function setMultiPrice($multiPrice) |
|
998 | - { |
|
999 | - $this->multiPrice = $multiPrice; |
|
1000 | - } |
|
1001 | - |
|
1002 | - public function setOutSkuSn($outSkuSn) |
|
1003 | - { |
|
1004 | - $this->outSkuSn = $outSkuSn; |
|
1005 | - } |
|
1006 | - |
|
1007 | - public function setOutSourceSkuId($outSourceSkuId) |
|
1008 | - { |
|
1009 | - $this->outSourceSkuId = $outSourceSkuId; |
|
1010 | - } |
|
1011 | - |
|
1012 | - public function setOverseaSku($overseaSku) |
|
1013 | - { |
|
1014 | - $this->overseaSku = $overseaSku; |
|
1015 | - } |
|
1016 | - |
|
1017 | - public function setPrice($price) |
|
1018 | - { |
|
1019 | - $this->price = $price; |
|
1020 | - } |
|
1021 | - |
|
1022 | - public function setQuantity($quantity) |
|
1023 | - { |
|
1024 | - $this->quantity = $quantity; |
|
1025 | - } |
|
1026 | - |
|
1027 | - public function setSpecIdList($specIdList) |
|
1028 | - { |
|
1029 | - $this->specIdList = $specIdList; |
|
1030 | - } |
|
1031 | - |
|
1032 | - public function setThumbUrl($thumbUrl) |
|
1033 | - { |
|
1034 | - $this->thumbUrl = $thumbUrl; |
|
1035 | - } |
|
1036 | - |
|
1037 | - public function setWeight($weight) |
|
1038 | - { |
|
1039 | - $this->weight = $weight; |
|
1040 | - } |
|
917 | + public function __construct() |
|
918 | + { |
|
919 | + |
|
920 | + } |
|
921 | + |
|
922 | + /** |
|
923 | + * @JsonProperty(Integer, "is_onsale") |
|
924 | + */ |
|
925 | + private $isOnsale; |
|
926 | + |
|
927 | + /** |
|
928 | + * @JsonProperty(Long, "length") |
|
929 | + */ |
|
930 | + private $length; |
|
931 | + |
|
932 | + /** |
|
933 | + * @JsonProperty(Long, "limit_quantity") |
|
934 | + */ |
|
935 | + private $limitQuantity; |
|
936 | + |
|
937 | + /** |
|
938 | + * @JsonProperty(Long, "multi_price") |
|
939 | + */ |
|
940 | + private $multiPrice; |
|
941 | + |
|
942 | + /** |
|
943 | + * @JsonProperty(String, "out_sku_sn") |
|
944 | + */ |
|
945 | + private $outSkuSn; |
|
946 | + |
|
947 | + /** |
|
948 | + * @JsonProperty(String, "out_source_sku_id") |
|
949 | + */ |
|
950 | + private $outSourceSkuId; |
|
951 | + |
|
952 | + /** |
|
953 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsEditGoodsCommitRequest_SkuListItemOverseaSku, "oversea_sku") |
|
954 | + */ |
|
955 | + private $overseaSku; |
|
956 | + |
|
957 | + /** |
|
958 | + * @JsonProperty(Long, "price") |
|
959 | + */ |
|
960 | + private $price; |
|
961 | + |
|
962 | + /** |
|
963 | + * @JsonProperty(Long, "quantity") |
|
964 | + */ |
|
965 | + private $quantity; |
|
966 | + |
|
967 | + /** |
|
968 | + * @JsonProperty(String, "spec_id_list") |
|
969 | + */ |
|
970 | + private $specIdList; |
|
971 | + |
|
972 | + /** |
|
973 | + * @JsonProperty(String, "thumb_url") |
|
974 | + */ |
|
975 | + private $thumbUrl; |
|
976 | + |
|
977 | + /** |
|
978 | + * @JsonProperty(Long, "weight") |
|
979 | + */ |
|
980 | + private $weight; |
|
981 | + |
|
982 | + public function setIsOnsale($isOnsale) |
|
983 | + { |
|
984 | + $this->isOnsale = $isOnsale; |
|
985 | + } |
|
986 | + |
|
987 | + public function setLength($length) |
|
988 | + { |
|
989 | + $this->length = $length; |
|
990 | + } |
|
991 | + |
|
992 | + public function setLimitQuantity($limitQuantity) |
|
993 | + { |
|
994 | + $this->limitQuantity = $limitQuantity; |
|
995 | + } |
|
996 | + |
|
997 | + public function setMultiPrice($multiPrice) |
|
998 | + { |
|
999 | + $this->multiPrice = $multiPrice; |
|
1000 | + } |
|
1001 | + |
|
1002 | + public function setOutSkuSn($outSkuSn) |
|
1003 | + { |
|
1004 | + $this->outSkuSn = $outSkuSn; |
|
1005 | + } |
|
1006 | + |
|
1007 | + public function setOutSourceSkuId($outSourceSkuId) |
|
1008 | + { |
|
1009 | + $this->outSourceSkuId = $outSourceSkuId; |
|
1010 | + } |
|
1011 | + |
|
1012 | + public function setOverseaSku($overseaSku) |
|
1013 | + { |
|
1014 | + $this->overseaSku = $overseaSku; |
|
1015 | + } |
|
1016 | + |
|
1017 | + public function setPrice($price) |
|
1018 | + { |
|
1019 | + $this->price = $price; |
|
1020 | + } |
|
1021 | + |
|
1022 | + public function setQuantity($quantity) |
|
1023 | + { |
|
1024 | + $this->quantity = $quantity; |
|
1025 | + } |
|
1026 | + |
|
1027 | + public function setSpecIdList($specIdList) |
|
1028 | + { |
|
1029 | + $this->specIdList = $specIdList; |
|
1030 | + } |
|
1031 | + |
|
1032 | + public function setThumbUrl($thumbUrl) |
|
1033 | + { |
|
1034 | + $this->thumbUrl = $thumbUrl; |
|
1035 | + } |
|
1036 | + |
|
1037 | + public function setWeight($weight) |
|
1038 | + { |
|
1039 | + $this->weight = $weight; |
|
1040 | + } |
|
1041 | 1041 | |
1042 | 1042 | } |
1043 | 1043 | |
1044 | 1044 | class PddGoodsEditGoodsCommitRequest_SkuListItemOverseaSku extends PopBaseJsonEntity |
1045 | 1045 | { |
1046 | 1046 | |
1047 | - public function __construct() |
|
1048 | - { |
|
1049 | - |
|
1050 | - } |
|
1051 | - |
|
1052 | - /** |
|
1053 | - * @JsonProperty(String, "measurement_code") |
|
1054 | - */ |
|
1055 | - private $measurementCode; |
|
1056 | - |
|
1057 | - /** |
|
1058 | - * @JsonProperty(String, "specifications") |
|
1059 | - */ |
|
1060 | - private $specifications; |
|
1061 | - |
|
1062 | - /** |
|
1063 | - * @JsonProperty(Integer, "taxation") |
|
1064 | - */ |
|
1065 | - private $taxation; |
|
1066 | - |
|
1067 | - public function setMeasurementCode($measurementCode) |
|
1068 | - { |
|
1069 | - $this->measurementCode = $measurementCode; |
|
1070 | - } |
|
1071 | - |
|
1072 | - public function setSpecifications($specifications) |
|
1073 | - { |
|
1074 | - $this->specifications = $specifications; |
|
1075 | - } |
|
1076 | - |
|
1077 | - public function setTaxation($taxation) |
|
1078 | - { |
|
1079 | - $this->taxation = $taxation; |
|
1080 | - } |
|
1047 | + public function __construct() |
|
1048 | + { |
|
1049 | + |
|
1050 | + } |
|
1051 | + |
|
1052 | + /** |
|
1053 | + * @JsonProperty(String, "measurement_code") |
|
1054 | + */ |
|
1055 | + private $measurementCode; |
|
1056 | + |
|
1057 | + /** |
|
1058 | + * @JsonProperty(String, "specifications") |
|
1059 | + */ |
|
1060 | + private $specifications; |
|
1061 | + |
|
1062 | + /** |
|
1063 | + * @JsonProperty(Integer, "taxation") |
|
1064 | + */ |
|
1065 | + private $taxation; |
|
1066 | + |
|
1067 | + public function setMeasurementCode($measurementCode) |
|
1068 | + { |
|
1069 | + $this->measurementCode = $measurementCode; |
|
1070 | + } |
|
1071 | + |
|
1072 | + public function setSpecifications($specifications) |
|
1073 | + { |
|
1074 | + $this->specifications = $specifications; |
|
1075 | + } |
|
1076 | + |
|
1077 | + public function setTaxation($taxation) |
|
1078 | + { |
|
1079 | + $this->taxation = $taxation; |
|
1080 | + } |
|
1081 | 1081 | |
1082 | 1082 | } |
@@ -7,104 +7,104 @@ |
||
7 | 7 | class PddDdkOauthResourceUrlGenRequest 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_we_app") |
|
20 | - */ |
|
21 | - private $generateWeApp; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(String, "pid") |
|
25 | - */ |
|
26 | - private $pid; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(Integer, "resource_type") |
|
30 | - */ |
|
31 | - private $resourceType; |
|
32 | - |
|
33 | - /** |
|
34 | - * @JsonProperty(String, "url") |
|
35 | - */ |
|
36 | - private $url; |
|
37 | - |
|
38 | - /** |
|
39 | - * @JsonProperty(Boolean, "generate_schema_url") |
|
40 | - */ |
|
41 | - private $generateSchemaUrl; |
|
42 | - |
|
43 | - /** |
|
44 | - * @JsonProperty(Boolean, "generate_qq_app") |
|
45 | - */ |
|
46 | - private $generateQqApp; |
|
47 | - |
|
48 | - protected function setUserParams(&$params) |
|
49 | - { |
|
50 | - $this->setUserParam($params, "custom_parameters", $this->customParameters); |
|
51 | - $this->setUserParam($params, "generate_we_app", $this->generateWeApp); |
|
52 | - $this->setUserParam($params, "pid", $this->pid); |
|
53 | - $this->setUserParam($params, "resource_type", $this->resourceType); |
|
54 | - $this->setUserParam($params, "url", $this->url); |
|
55 | - $this->setUserParam($params, "generate_schema_url", $this->generateSchemaUrl); |
|
56 | - $this->setUserParam($params, "generate_qq_app", $this->generateQqApp); |
|
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.oauth.resource.url.gen"; |
|
73 | - } |
|
74 | - |
|
75 | - public function setCustomParameters($customParameters) |
|
76 | - { |
|
77 | - $this->customParameters = $customParameters; |
|
78 | - } |
|
79 | - |
|
80 | - public function setGenerateWeApp($generateWeApp) |
|
81 | - { |
|
82 | - $this->generateWeApp = $generateWeApp; |
|
83 | - } |
|
84 | - |
|
85 | - public function setPid($pid) |
|
86 | - { |
|
87 | - $this->pid = $pid; |
|
88 | - } |
|
89 | - |
|
90 | - public function setResourceType($resourceType) |
|
91 | - { |
|
92 | - $this->resourceType = $resourceType; |
|
93 | - } |
|
94 | - |
|
95 | - public function setUrl($url) |
|
96 | - { |
|
97 | - $this->url = $url; |
|
98 | - } |
|
99 | - |
|
100 | - public function setGenerateSchemaUrl($generateSchemaUrl) |
|
101 | - { |
|
102 | - $this->generateSchemaUrl = $generateSchemaUrl; |
|
103 | - } |
|
104 | - |
|
105 | - public function setGenerateQqApp($generateQqApp) |
|
106 | - { |
|
107 | - $this->generateQqApp = $generateQqApp; |
|
108 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "custom_parameters") |
|
15 | + */ |
|
16 | + private $customParameters; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(Boolean, "generate_we_app") |
|
20 | + */ |
|
21 | + private $generateWeApp; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(String, "pid") |
|
25 | + */ |
|
26 | + private $pid; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(Integer, "resource_type") |
|
30 | + */ |
|
31 | + private $resourceType; |
|
32 | + |
|
33 | + /** |
|
34 | + * @JsonProperty(String, "url") |
|
35 | + */ |
|
36 | + private $url; |
|
37 | + |
|
38 | + /** |
|
39 | + * @JsonProperty(Boolean, "generate_schema_url") |
|
40 | + */ |
|
41 | + private $generateSchemaUrl; |
|
42 | + |
|
43 | + /** |
|
44 | + * @JsonProperty(Boolean, "generate_qq_app") |
|
45 | + */ |
|
46 | + private $generateQqApp; |
|
47 | + |
|
48 | + protected function setUserParams(&$params) |
|
49 | + { |
|
50 | + $this->setUserParam($params, "custom_parameters", $this->customParameters); |
|
51 | + $this->setUserParam($params, "generate_we_app", $this->generateWeApp); |
|
52 | + $this->setUserParam($params, "pid", $this->pid); |
|
53 | + $this->setUserParam($params, "resource_type", $this->resourceType); |
|
54 | + $this->setUserParam($params, "url", $this->url); |
|
55 | + $this->setUserParam($params, "generate_schema_url", $this->generateSchemaUrl); |
|
56 | + $this->setUserParam($params, "generate_qq_app", $this->generateQqApp); |
|
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.oauth.resource.url.gen"; |
|
73 | + } |
|
74 | + |
|
75 | + public function setCustomParameters($customParameters) |
|
76 | + { |
|
77 | + $this->customParameters = $customParameters; |
|
78 | + } |
|
79 | + |
|
80 | + public function setGenerateWeApp($generateWeApp) |
|
81 | + { |
|
82 | + $this->generateWeApp = $generateWeApp; |
|
83 | + } |
|
84 | + |
|
85 | + public function setPid($pid) |
|
86 | + { |
|
87 | + $this->pid = $pid; |
|
88 | + } |
|
89 | + |
|
90 | + public function setResourceType($resourceType) |
|
91 | + { |
|
92 | + $this->resourceType = $resourceType; |
|
93 | + } |
|
94 | + |
|
95 | + public function setUrl($url) |
|
96 | + { |
|
97 | + $this->url = $url; |
|
98 | + } |
|
99 | + |
|
100 | + public function setGenerateSchemaUrl($generateSchemaUrl) |
|
101 | + { |
|
102 | + $this->generateSchemaUrl = $generateSchemaUrl; |
|
103 | + } |
|
104 | + |
|
105 | + public function setGenerateQqApp($generateQqApp) |
|
106 | + { |
|
107 | + $this->generateQqApp = $generateQqApp; |
|
108 | + } |
|
109 | 109 | |
110 | 110 | } |
@@ -7,49 +7,49 @@ |
||
7 | 7 | class PddAdApiUnitBidQueryBaseTargetProfileRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(Long, "goodsId") |
|
15 | - */ |
|
16 | - private $goodsId; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(Integer, "scenesType") |
|
20 | - */ |
|
21 | - private $scenesType; |
|
22 | - |
|
23 | - protected function setUserParams(&$params) |
|
24 | - { |
|
25 | - $this->setUserParam($params, "goodsId", $this->goodsId); |
|
26 | - $this->setUserParam($params, "scenesType", $this->scenesType); |
|
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.ad.api.unit.bid.query.base.target.profile"; |
|
43 | - } |
|
44 | - |
|
45 | - public function setGoodsId($goodsId) |
|
46 | - { |
|
47 | - $this->goodsId = $goodsId; |
|
48 | - } |
|
49 | - |
|
50 | - public function setScenesType($scenesType) |
|
51 | - { |
|
52 | - $this->scenesType = $scenesType; |
|
53 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(Long, "goodsId") |
|
15 | + */ |
|
16 | + private $goodsId; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(Integer, "scenesType") |
|
20 | + */ |
|
21 | + private $scenesType; |
|
22 | + |
|
23 | + protected function setUserParams(&$params) |
|
24 | + { |
|
25 | + $this->setUserParam($params, "goodsId", $this->goodsId); |
|
26 | + $this->setUserParam($params, "scenesType", $this->scenesType); |
|
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.ad.api.unit.bid.query.base.target.profile"; |
|
43 | + } |
|
44 | + |
|
45 | + public function setGoodsId($goodsId) |
|
46 | + { |
|
47 | + $this->goodsId = $goodsId; |
|
48 | + } |
|
49 | + |
|
50 | + public function setScenesType($scenesType) |
|
51 | + { |
|
52 | + $this->scenesType = $scenesType; |
|
53 | + } |
|
54 | 54 | |
55 | 55 | } |
@@ -7,71 +7,71 @@ |
||
7 | 7 | class PddErpOrderSyncRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(String, "order_sn") |
|
15 | - */ |
|
16 | - private $orderSn; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(Integer, "order_state") |
|
20 | - */ |
|
21 | - private $orderState; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(String, "waybill_no") |
|
25 | - */ |
|
26 | - private $waybillNo; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(Long, "logistics_id") |
|
30 | - */ |
|
31 | - private $logisticsId; |
|
32 | - |
|
33 | - protected function setUserParams(&$params) |
|
34 | - { |
|
35 | - $this->setUserParam($params, "order_sn", $this->orderSn); |
|
36 | - $this->setUserParam($params, "order_state", $this->orderState); |
|
37 | - $this->setUserParam($params, "waybill_no", $this->waybillNo); |
|
38 | - $this->setUserParam($params, "logistics_id", $this->logisticsId); |
|
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.erp.order.sync"; |
|
55 | - } |
|
56 | - |
|
57 | - public function setOrderSn($orderSn) |
|
58 | - { |
|
59 | - $this->orderSn = $orderSn; |
|
60 | - } |
|
61 | - |
|
62 | - public function setOrderState($orderState) |
|
63 | - { |
|
64 | - $this->orderState = $orderState; |
|
65 | - } |
|
66 | - |
|
67 | - public function setWaybillNo($waybillNo) |
|
68 | - { |
|
69 | - $this->waybillNo = $waybillNo; |
|
70 | - } |
|
71 | - |
|
72 | - public function setLogisticsId($logisticsId) |
|
73 | - { |
|
74 | - $this->logisticsId = $logisticsId; |
|
75 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "order_sn") |
|
15 | + */ |
|
16 | + private $orderSn; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(Integer, "order_state") |
|
20 | + */ |
|
21 | + private $orderState; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(String, "waybill_no") |
|
25 | + */ |
|
26 | + private $waybillNo; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(Long, "logistics_id") |
|
30 | + */ |
|
31 | + private $logisticsId; |
|
32 | + |
|
33 | + protected function setUserParams(&$params) |
|
34 | + { |
|
35 | + $this->setUserParam($params, "order_sn", $this->orderSn); |
|
36 | + $this->setUserParam($params, "order_state", $this->orderState); |
|
37 | + $this->setUserParam($params, "waybill_no", $this->waybillNo); |
|
38 | + $this->setUserParam($params, "logistics_id", $this->logisticsId); |
|
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.erp.order.sync"; |
|
55 | + } |
|
56 | + |
|
57 | + public function setOrderSn($orderSn) |
|
58 | + { |
|
59 | + $this->orderSn = $orderSn; |
|
60 | + } |
|
61 | + |
|
62 | + public function setOrderState($orderState) |
|
63 | + { |
|
64 | + $this->orderState = $orderState; |
|
65 | + } |
|
66 | + |
|
67 | + public function setWaybillNo($waybillNo) |
|
68 | + { |
|
69 | + $this->waybillNo = $waybillNo; |
|
70 | + } |
|
71 | + |
|
72 | + public function setLogisticsId($logisticsId) |
|
73 | + { |
|
74 | + $this->logisticsId = $logisticsId; |
|
75 | + } |
|
76 | 76 | |
77 | 77 | } |
@@ -7,82 +7,82 @@ |
||
7 | 7 | class PddTicketOrderRefundNotifycationRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(String, "order_no") |
|
15 | - */ |
|
16 | - private $orderNo; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(Long, "refund_amount") |
|
20 | - */ |
|
21 | - private $refundAmount; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(String, "reject_reason") |
|
25 | - */ |
|
26 | - private $rejectReason; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(String, "serial_no") |
|
30 | - */ |
|
31 | - private $serialNo; |
|
32 | - |
|
33 | - /** |
|
34 | - * @JsonProperty(Integer, "status") |
|
35 | - */ |
|
36 | - private $status; |
|
37 | - |
|
38 | - protected function setUserParams(&$params) |
|
39 | - { |
|
40 | - $this->setUserParam($params, "order_no", $this->orderNo); |
|
41 | - $this->setUserParam($params, "refund_amount", $this->refundAmount); |
|
42 | - $this->setUserParam($params, "reject_reason", $this->rejectReason); |
|
43 | - $this->setUserParam($params, "serial_no", $this->serialNo); |
|
44 | - $this->setUserParam($params, "status", $this->status); |
|
45 | - |
|
46 | - } |
|
47 | - |
|
48 | - public function getVersion() |
|
49 | - { |
|
50 | - return "V1"; |
|
51 | - } |
|
52 | - |
|
53 | - public function getDataType() |
|
54 | - { |
|
55 | - return "JSON"; |
|
56 | - } |
|
57 | - |
|
58 | - public function getType() |
|
59 | - { |
|
60 | - return "pdd.ticket.order.refund.notifycation"; |
|
61 | - } |
|
62 | - |
|
63 | - public function setOrderNo($orderNo) |
|
64 | - { |
|
65 | - $this->orderNo = $orderNo; |
|
66 | - } |
|
67 | - |
|
68 | - public function setRefundAmount($refundAmount) |
|
69 | - { |
|
70 | - $this->refundAmount = $refundAmount; |
|
71 | - } |
|
72 | - |
|
73 | - public function setRejectReason($rejectReason) |
|
74 | - { |
|
75 | - $this->rejectReason = $rejectReason; |
|
76 | - } |
|
77 | - |
|
78 | - public function setSerialNo($serialNo) |
|
79 | - { |
|
80 | - $this->serialNo = $serialNo; |
|
81 | - } |
|
82 | - |
|
83 | - public function setStatus($status) |
|
84 | - { |
|
85 | - $this->status = $status; |
|
86 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "order_no") |
|
15 | + */ |
|
16 | + private $orderNo; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(Long, "refund_amount") |
|
20 | + */ |
|
21 | + private $refundAmount; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(String, "reject_reason") |
|
25 | + */ |
|
26 | + private $rejectReason; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(String, "serial_no") |
|
30 | + */ |
|
31 | + private $serialNo; |
|
32 | + |
|
33 | + /** |
|
34 | + * @JsonProperty(Integer, "status") |
|
35 | + */ |
|
36 | + private $status; |
|
37 | + |
|
38 | + protected function setUserParams(&$params) |
|
39 | + { |
|
40 | + $this->setUserParam($params, "order_no", $this->orderNo); |
|
41 | + $this->setUserParam($params, "refund_amount", $this->refundAmount); |
|
42 | + $this->setUserParam($params, "reject_reason", $this->rejectReason); |
|
43 | + $this->setUserParam($params, "serial_no", $this->serialNo); |
|
44 | + $this->setUserParam($params, "status", $this->status); |
|
45 | + |
|
46 | + } |
|
47 | + |
|
48 | + public function getVersion() |
|
49 | + { |
|
50 | + return "V1"; |
|
51 | + } |
|
52 | + |
|
53 | + public function getDataType() |
|
54 | + { |
|
55 | + return "JSON"; |
|
56 | + } |
|
57 | + |
|
58 | + public function getType() |
|
59 | + { |
|
60 | + return "pdd.ticket.order.refund.notifycation"; |
|
61 | + } |
|
62 | + |
|
63 | + public function setOrderNo($orderNo) |
|
64 | + { |
|
65 | + $this->orderNo = $orderNo; |
|
66 | + } |
|
67 | + |
|
68 | + public function setRefundAmount($refundAmount) |
|
69 | + { |
|
70 | + $this->refundAmount = $refundAmount; |
|
71 | + } |
|
72 | + |
|
73 | + public function setRejectReason($rejectReason) |
|
74 | + { |
|
75 | + $this->rejectReason = $rejectReason; |
|
76 | + } |
|
77 | + |
|
78 | + public function setSerialNo($serialNo) |
|
79 | + { |
|
80 | + $this->serialNo = $serialNo; |
|
81 | + } |
|
82 | + |
|
83 | + public function setStatus($status) |
|
84 | + { |
|
85 | + $this->status = $status; |
|
86 | + } |
|
87 | 87 | |
88 | 88 | } |
@@ -7,38 +7,38 @@ |
||
7 | 7 | class PddPmcUserPermitRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(String, "topics") |
|
15 | - */ |
|
16 | - private $topics; |
|
17 | - |
|
18 | - protected function setUserParams(&$params) |
|
19 | - { |
|
20 | - $this->setUserParam($params, "topics", $this->topics); |
|
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.permit"; |
|
37 | - } |
|
38 | - |
|
39 | - public function setTopics($topics) |
|
40 | - { |
|
41 | - $this->topics = $topics; |
|
42 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "topics") |
|
15 | + */ |
|
16 | + private $topics; |
|
17 | + |
|
18 | + protected function setUserParams(&$params) |
|
19 | + { |
|
20 | + $this->setUserParam($params, "topics", $this->topics); |
|
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.permit"; |
|
37 | + } |
|
38 | + |
|
39 | + public function setTopics($topics) |
|
40 | + { |
|
41 | + $this->topics = $topics; |
|
42 | + } |
|
43 | 43 | |
44 | 44 | } |
@@ -7,60 +7,60 @@ |
||
7 | 7 | class PddGoodsSizespecTemplatesGetRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
10 | + { |
|
11 | 11 | |
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(Long, "class_id") |
|
15 | - */ |
|
16 | - private $classId; |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(Long, "class_id") |
|
15 | + */ |
|
16 | + private $classId; |
|
17 | 17 | |
18 | - /** |
|
19 | - * @JsonProperty(Long, "limit") |
|
20 | - */ |
|
21 | - private $limit; |
|
18 | + /** |
|
19 | + * @JsonProperty(Long, "limit") |
|
20 | + */ |
|
21 | + private $limit; |
|
22 | 22 | |
23 | - /** |
|
24 | - * @JsonProperty(Long, "offset") |
|
25 | - */ |
|
26 | - private $offset; |
|
23 | + /** |
|
24 | + * @JsonProperty(Long, "offset") |
|
25 | + */ |
|
26 | + private $offset; |
|
27 | 27 | |
28 | - protected function setUserParams(&$params) |
|
29 | - { |
|
30 | - $this->setUserParam($params, "class_id", $this->classId); |
|
31 | - $this->setUserParam($params, "limit", $this->limit); |
|
32 | - $this->setUserParam($params, "offset", $this->offset); |
|
28 | + protected function setUserParams(&$params) |
|
29 | + { |
|
30 | + $this->setUserParam($params, "class_id", $this->classId); |
|
31 | + $this->setUserParam($params, "limit", $this->limit); |
|
32 | + $this->setUserParam($params, "offset", $this->offset); |
|
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.goods.sizespec.templates.get"; |
|
49 | - } |
|
46 | + public function getType() |
|
47 | + { |
|
48 | + return "pdd.goods.sizespec.templates.get"; |
|
49 | + } |
|
50 | 50 | |
51 | - public function setClassId($classId) |
|
52 | - { |
|
53 | - $this->classId = $classId; |
|
54 | - } |
|
51 | + public function setClassId($classId) |
|
52 | + { |
|
53 | + $this->classId = $classId; |
|
54 | + } |
|
55 | 55 | |
56 | - public function setLimit($limit) |
|
57 | - { |
|
58 | - $this->limit = $limit; |
|
59 | - } |
|
56 | + public function setLimit($limit) |
|
57 | + { |
|
58 | + $this->limit = $limit; |
|
59 | + } |
|
60 | 60 | |
61 | - public function setOffset($offset) |
|
62 | - { |
|
63 | - $this->offset = $offset; |
|
64 | - } |
|
61 | + public function setOffset($offset) |
|
62 | + { |
|
63 | + $this->offset = $offset; |
|
64 | + } |
|
65 | 65 | |
66 | 66 | } |