Passed
Push — v6 ( fe03e1...0ec70f )
by 光春
04:11
created
src/service/pinduoduo/bin/src/Api/Request/PddTrainChangeTicketRequest.php 1 patch
Indentation   +287 added lines, -287 removed lines patch added patch discarded remove patch
@@ -7,298 +7,298 @@
 block discarded – undo
7 7
 class PddTrainChangeTicketRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(String, "pdd_order_id")
15
-	*/
16
-	private $pddOrderId;
17
-
18
-	/**
19
-	* @JsonProperty(String, "order_id")
20
-	*/
21
-	private $orderId;
22
-
23
-	/**
24
-	* @JsonProperty(String, "new_depart_station")
25
-	*/
26
-	private $newDepartStation;
27
-
28
-	/**
29
-	* @JsonProperty(String, "new_arrive_station")
30
-	*/
31
-	private $newArriveStation;
32
-
33
-	/**
34
-	* @JsonProperty(String, "new_train_date")
35
-	*/
36
-	private $newTrainDate;
37
-
38
-	/**
39
-	* @JsonProperty(String, "new_train_no")
40
-	*/
41
-	private $newTrainNo;
42
-
43
-	/**
44
-	* @JsonProperty(String, "new_depart_time")
45
-	*/
46
-	private $newDepartTime;
47
-
48
-	/**
49
-	* @JsonProperty(String, "new_arrive_time")
50
-	*/
51
-	private $newArriveTime;
52
-
53
-	/**
54
-	* @JsonProperty(Integer, "new_seat_type")
55
-	*/
56
-	private $newSeatType;
57
-
58
-	/**
59
-	* @JsonProperty(String, "new_choose_seat")
60
-	*/
61
-	private $newChooseSeat;
62
-
63
-	/**
64
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTrainChangeTicketRequest_NewPassengerInfosItem>, "new_passenger_infos")
65
-	*/
66
-	private $newPassengerInfos;
67
-
68
-	protected function setUserParams(&$params)
69
-	{
70
-		$this->setUserParam($params, "pdd_order_id", $this->pddOrderId);
71
-		$this->setUserParam($params, "order_id", $this->orderId);
72
-		$this->setUserParam($params, "new_depart_station", $this->newDepartStation);
73
-		$this->setUserParam($params, "new_arrive_station", $this->newArriveStation);
74
-		$this->setUserParam($params, "new_train_date", $this->newTrainDate);
75
-		$this->setUserParam($params, "new_train_no", $this->newTrainNo);
76
-		$this->setUserParam($params, "new_depart_time", $this->newDepartTime);
77
-		$this->setUserParam($params, "new_arrive_time", $this->newArriveTime);
78
-		$this->setUserParam($params, "new_seat_type", $this->newSeatType);
79
-		$this->setUserParam($params, "new_choose_seat", $this->newChooseSeat);
80
-		$this->setUserParam($params, "new_passenger_infos", $this->newPassengerInfos);
81
-
82
-	}
83
-
84
-	public function getVersion()
85
-	{
86
-		return "V1";
87
-	}
88
-
89
-	public function getDataType()
90
-	{
91
-		return "JSON";
92
-	}
93
-
94
-	public function getType()
95
-	{
96
-		return "pdd.train.change.ticket";
97
-	}
98
-
99
-	public function setPddOrderId($pddOrderId)
100
-	{
101
-		$this->pddOrderId = $pddOrderId;
102
-	}
103
-
104
-	public function setOrderId($orderId)
105
-	{
106
-		$this->orderId = $orderId;
107
-	}
108
-
109
-	public function setNewDepartStation($newDepartStation)
110
-	{
111
-		$this->newDepartStation = $newDepartStation;
112
-	}
113
-
114
-	public function setNewArriveStation($newArriveStation)
115
-	{
116
-		$this->newArriveStation = $newArriveStation;
117
-	}
118
-
119
-	public function setNewTrainDate($newTrainDate)
120
-	{
121
-		$this->newTrainDate = $newTrainDate;
122
-	}
123
-
124
-	public function setNewTrainNo($newTrainNo)
125
-	{
126
-		$this->newTrainNo = $newTrainNo;
127
-	}
128
-
129
-	public function setNewDepartTime($newDepartTime)
130
-	{
131
-		$this->newDepartTime = $newDepartTime;
132
-	}
133
-
134
-	public function setNewArriveTime($newArriveTime)
135
-	{
136
-		$this->newArriveTime = $newArriveTime;
137
-	}
138
-
139
-	public function setNewSeatType($newSeatType)
140
-	{
141
-		$this->newSeatType = $newSeatType;
142
-	}
143
-
144
-	public function setNewChooseSeat($newChooseSeat)
145
-	{
146
-		$this->newChooseSeat = $newChooseSeat;
147
-	}
148
-
149
-	public function setNewPassengerInfos($newPassengerInfos)
150
-	{
151
-		$this->newPassengerInfos = $newPassengerInfos;
152
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(String, "pdd_order_id")
15
+     */
16
+    private $pddOrderId;
17
+
18
+    /**
19
+     * @JsonProperty(String, "order_id")
20
+     */
21
+    private $orderId;
22
+
23
+    /**
24
+     * @JsonProperty(String, "new_depart_station")
25
+     */
26
+    private $newDepartStation;
27
+
28
+    /**
29
+     * @JsonProperty(String, "new_arrive_station")
30
+     */
31
+    private $newArriveStation;
32
+
33
+    /**
34
+     * @JsonProperty(String, "new_train_date")
35
+     */
36
+    private $newTrainDate;
37
+
38
+    /**
39
+     * @JsonProperty(String, "new_train_no")
40
+     */
41
+    private $newTrainNo;
42
+
43
+    /**
44
+     * @JsonProperty(String, "new_depart_time")
45
+     */
46
+    private $newDepartTime;
47
+
48
+    /**
49
+     * @JsonProperty(String, "new_arrive_time")
50
+     */
51
+    private $newArriveTime;
52
+
53
+    /**
54
+     * @JsonProperty(Integer, "new_seat_type")
55
+     */
56
+    private $newSeatType;
57
+
58
+    /**
59
+     * @JsonProperty(String, "new_choose_seat")
60
+     */
61
+    private $newChooseSeat;
62
+
63
+    /**
64
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTrainChangeTicketRequest_NewPassengerInfosItem>, "new_passenger_infos")
65
+     */
66
+    private $newPassengerInfos;
67
+
68
+    protected function setUserParams(&$params)
69
+    {
70
+        $this->setUserParam($params, "pdd_order_id", $this->pddOrderId);
71
+        $this->setUserParam($params, "order_id", $this->orderId);
72
+        $this->setUserParam($params, "new_depart_station", $this->newDepartStation);
73
+        $this->setUserParam($params, "new_arrive_station", $this->newArriveStation);
74
+        $this->setUserParam($params, "new_train_date", $this->newTrainDate);
75
+        $this->setUserParam($params, "new_train_no", $this->newTrainNo);
76
+        $this->setUserParam($params, "new_depart_time", $this->newDepartTime);
77
+        $this->setUserParam($params, "new_arrive_time", $this->newArriveTime);
78
+        $this->setUserParam($params, "new_seat_type", $this->newSeatType);
79
+        $this->setUserParam($params, "new_choose_seat", $this->newChooseSeat);
80
+        $this->setUserParam($params, "new_passenger_infos", $this->newPassengerInfos);
81
+
82
+    }
83
+
84
+    public function getVersion()
85
+    {
86
+        return "V1";
87
+    }
88
+
89
+    public function getDataType()
90
+    {
91
+        return "JSON";
92
+    }
93
+
94
+    public function getType()
95
+    {
96
+        return "pdd.train.change.ticket";
97
+    }
98
+
99
+    public function setPddOrderId($pddOrderId)
100
+    {
101
+        $this->pddOrderId = $pddOrderId;
102
+    }
103
+
104
+    public function setOrderId($orderId)
105
+    {
106
+        $this->orderId = $orderId;
107
+    }
108
+
109
+    public function setNewDepartStation($newDepartStation)
110
+    {
111
+        $this->newDepartStation = $newDepartStation;
112
+    }
113
+
114
+    public function setNewArriveStation($newArriveStation)
115
+    {
116
+        $this->newArriveStation = $newArriveStation;
117
+    }
118
+
119
+    public function setNewTrainDate($newTrainDate)
120
+    {
121
+        $this->newTrainDate = $newTrainDate;
122
+    }
123
+
124
+    public function setNewTrainNo($newTrainNo)
125
+    {
126
+        $this->newTrainNo = $newTrainNo;
127
+    }
128
+
129
+    public function setNewDepartTime($newDepartTime)
130
+    {
131
+        $this->newDepartTime = $newDepartTime;
132
+    }
133
+
134
+    public function setNewArriveTime($newArriveTime)
135
+    {
136
+        $this->newArriveTime = $newArriveTime;
137
+    }
138
+
139
+    public function setNewSeatType($newSeatType)
140
+    {
141
+        $this->newSeatType = $newSeatType;
142
+    }
143
+
144
+    public function setNewChooseSeat($newChooseSeat)
145
+    {
146
+        $this->newChooseSeat = $newChooseSeat;
147
+    }
148
+
149
+    public function setNewPassengerInfos($newPassengerInfos)
150
+    {
151
+        $this->newPassengerInfos = $newPassengerInfos;
152
+    }
153 153
 
154 154
 }
155 155
 
156 156
 class PddTrainChangeTicketRequest_NewPassengerInfosItem extends PopBaseJsonEntity
157 157
 {
158 158
 
159
-	public function __construct()
160
-	{
161
-
162
-	}
163
-
164
-	/**
165
-	* @JsonProperty(String, "card_type")
166
-	*/
167
-	private $cardType;
168
-
169
-	/**
170
-	* @JsonProperty(String, "card_no")
171
-	*/
172
-	private $cardNo;
173
-
174
-	/**
175
-	* @JsonProperty(String, "name")
176
-	*/
177
-	private $name;
178
-
179
-	/**
180
-	* @JsonProperty(Integer, "ticket_type")
181
-	*/
182
-	private $ticketType;
183
-
184
-	/**
185
-	* @JsonProperty(Integer, "seat_type")
186
-	*/
187
-	private $seatType;
188
-
189
-	/**
190
-	* @JsonProperty(Long, "ticket_price")
191
-	*/
192
-	private $ticketPrice;
193
-
194
-	/**
195
-	* @JsonProperty(String, "sub_order_id")
196
-	*/
197
-	private $subOrderId;
198
-
199
-	/**
200
-	* @JsonProperty(String, "new_sub_pdd_order_id")
201
-	*/
202
-	private $newSubPddOrderId;
203
-
204
-	/**
205
-	* @JsonProperty(String, "birthday")
206
-	*/
207
-	private $birthday;
208
-
209
-	/**
210
-	* @JsonProperty(String, "effective_date")
211
-	*/
212
-	private $effectiveDate;
213
-
214
-	/**
215
-	* @JsonProperty(String, "sex")
216
-	*/
217
-	private $sex;
218
-
219
-	/**
220
-	* @JsonProperty(String, "country")
221
-	*/
222
-	private $country;
223
-
224
-	/**
225
-	* @JsonProperty(String, "mobile")
226
-	*/
227
-	private $mobile;
228
-
229
-	/**
230
-	* @JsonProperty(String, "email")
231
-	*/
232
-	private $email;
233
-
234
-	public function setCardType($cardType)
235
-	{
236
-		$this->cardType = $cardType;
237
-	}
238
-
239
-	public function setCardNo($cardNo)
240
-	{
241
-		$this->cardNo = $cardNo;
242
-	}
243
-
244
-	public function setName($name)
245
-	{
246
-		$this->name = $name;
247
-	}
248
-
249
-	public function setTicketType($ticketType)
250
-	{
251
-		$this->ticketType = $ticketType;
252
-	}
253
-
254
-	public function setSeatType($seatType)
255
-	{
256
-		$this->seatType = $seatType;
257
-	}
258
-
259
-	public function setTicketPrice($ticketPrice)
260
-	{
261
-		$this->ticketPrice = $ticketPrice;
262
-	}
263
-
264
-	public function setSubOrderId($subOrderId)
265
-	{
266
-		$this->subOrderId = $subOrderId;
267
-	}
268
-
269
-	public function setNewSubPddOrderId($newSubPddOrderId)
270
-	{
271
-		$this->newSubPddOrderId = $newSubPddOrderId;
272
-	}
273
-
274
-	public function setBirthday($birthday)
275
-	{
276
-		$this->birthday = $birthday;
277
-	}
278
-
279
-	public function setEffectiveDate($effectiveDate)
280
-	{
281
-		$this->effectiveDate = $effectiveDate;
282
-	}
283
-
284
-	public function setSex($sex)
285
-	{
286
-		$this->sex = $sex;
287
-	}
288
-
289
-	public function setCountry($country)
290
-	{
291
-		$this->country = $country;
292
-	}
293
-
294
-	public function setMobile($mobile)
295
-	{
296
-		$this->mobile = $mobile;
297
-	}
298
-
299
-	public function setEmail($email)
300
-	{
301
-		$this->email = $email;
302
-	}
159
+    public function __construct()
160
+    {
161
+
162
+    }
163
+
164
+    /**
165
+     * @JsonProperty(String, "card_type")
166
+     */
167
+    private $cardType;
168
+
169
+    /**
170
+     * @JsonProperty(String, "card_no")
171
+     */
172
+    private $cardNo;
173
+
174
+    /**
175
+     * @JsonProperty(String, "name")
176
+     */
177
+    private $name;
178
+
179
+    /**
180
+     * @JsonProperty(Integer, "ticket_type")
181
+     */
182
+    private $ticketType;
183
+
184
+    /**
185
+     * @JsonProperty(Integer, "seat_type")
186
+     */
187
+    private $seatType;
188
+
189
+    /**
190
+     * @JsonProperty(Long, "ticket_price")
191
+     */
192
+    private $ticketPrice;
193
+
194
+    /**
195
+     * @JsonProperty(String, "sub_order_id")
196
+     */
197
+    private $subOrderId;
198
+
199
+    /**
200
+     * @JsonProperty(String, "new_sub_pdd_order_id")
201
+     */
202
+    private $newSubPddOrderId;
203
+
204
+    /**
205
+     * @JsonProperty(String, "birthday")
206
+     */
207
+    private $birthday;
208
+
209
+    /**
210
+     * @JsonProperty(String, "effective_date")
211
+     */
212
+    private $effectiveDate;
213
+
214
+    /**
215
+     * @JsonProperty(String, "sex")
216
+     */
217
+    private $sex;
218
+
219
+    /**
220
+     * @JsonProperty(String, "country")
221
+     */
222
+    private $country;
223
+
224
+    /**
225
+     * @JsonProperty(String, "mobile")
226
+     */
227
+    private $mobile;
228
+
229
+    /**
230
+     * @JsonProperty(String, "email")
231
+     */
232
+    private $email;
233
+
234
+    public function setCardType($cardType)
235
+    {
236
+        $this->cardType = $cardType;
237
+    }
238
+
239
+    public function setCardNo($cardNo)
240
+    {
241
+        $this->cardNo = $cardNo;
242
+    }
243
+
244
+    public function setName($name)
245
+    {
246
+        $this->name = $name;
247
+    }
248
+
249
+    public function setTicketType($ticketType)
250
+    {
251
+        $this->ticketType = $ticketType;
252
+    }
253
+
254
+    public function setSeatType($seatType)
255
+    {
256
+        $this->seatType = $seatType;
257
+    }
258
+
259
+    public function setTicketPrice($ticketPrice)
260
+    {
261
+        $this->ticketPrice = $ticketPrice;
262
+    }
263
+
264
+    public function setSubOrderId($subOrderId)
265
+    {
266
+        $this->subOrderId = $subOrderId;
267
+    }
268
+
269
+    public function setNewSubPddOrderId($newSubPddOrderId)
270
+    {
271
+        $this->newSubPddOrderId = $newSubPddOrderId;
272
+    }
273
+
274
+    public function setBirthday($birthday)
275
+    {
276
+        $this->birthday = $birthday;
277
+    }
278
+
279
+    public function setEffectiveDate($effectiveDate)
280
+    {
281
+        $this->effectiveDate = $effectiveDate;
282
+    }
283
+
284
+    public function setSex($sex)
285
+    {
286
+        $this->sex = $sex;
287
+    }
288
+
289
+    public function setCountry($country)
290
+    {
291
+        $this->country = $country;
292
+    }
293
+
294
+    public function setMobile($mobile)
295
+    {
296
+        $this->mobile = $mobile;
297
+    }
298
+
299
+    public function setEmail($email)
300
+    {
301
+        $this->email = $email;
302
+    }
303 303
 
304 304
 }
Please login to merge, or discard this patch.
service/pinduoduo/bin/src/Api/Request/PddWmsDeliveryorderCreateRequest.php 1 patch
Indentation   +214 added lines, -214 removed lines patch added patch discarded remove patch
@@ -7,238 +7,238 @@
 block discarded – undo
7 7
 class PddWmsDeliveryorderCreateRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
10
+    {
11 11
 
12
-	}
13
-	/**
14
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWmsDeliveryorderCreateRequest_Request, "request")
15
-	*/
16
-	private $request;
12
+    }
13
+    /**
14
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWmsDeliveryorderCreateRequest_Request, "request")
15
+     */
16
+    private $request;
17 17
 
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "request", $this->request);
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "request", $this->request);
21 21
 
22
-	}
22
+    }
23 23
 
24
-	public function getVersion()
25
-	{
26
-		return "V1";
27
-	}
24
+    public function getVersion()
25
+    {
26
+        return "V1";
27
+    }
28 28
 
29
-	public function getDataType()
30
-	{
31
-		return "JSON";
32
-	}
29
+    public function getDataType()
30
+    {
31
+        return "JSON";
32
+    }
33 33
 
34
-	public function getType()
35
-	{
36
-		return "pdd.wms.deliveryorder.create";
37
-	}
34
+    public function getType()
35
+    {
36
+        return "pdd.wms.deliveryorder.create";
37
+    }
38 38
 
39
-	public function setRequest($request)
40
-	{
41
-		$this->request = $request;
42
-	}
39
+    public function setRequest($request)
40
+    {
41
+        $this->request = $request;
42
+    }
43 43
 
44 44
 }
45 45
 
46 46
 class PddWmsDeliveryorderCreateRequest_Request extends PopBaseJsonEntity
47 47
 {
48 48
 
49
-	public function __construct()
50
-	{
51
-
52
-	}
53
-
54
-	/**
55
-	* @JsonProperty(String, "createTime")
56
-	*/
57
-	private $createTime;
58
-
59
-	/**
60
-	* @JsonProperty(String, "deliveryOrderCode")
61
-	*/
62
-	private $deliveryOrderCode;
63
-
64
-	/**
65
-	* @JsonProperty(String, "orderFlag")
66
-	*/
67
-	private $orderFlag;
68
-
69
-	/**
70
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddWmsDeliveryorderCreateRequest_RequestOrderLinesItem>, "orderLines")
71
-	*/
72
-	private $orderLines;
73
-
74
-	/**
75
-	* @JsonProperty(String, "orderType")
76
-	*/
77
-	private $orderType;
78
-
79
-	/**
80
-	* @JsonProperty(String, "ownerCode")
81
-	*/
82
-	private $ownerCode;
83
-
84
-	/**
85
-	* @JsonProperty(String, "placeOrderTime")
86
-	*/
87
-	private $placeOrderTime;
88
-
89
-	/**
90
-	* @JsonProperty(String, "receiverCity")
91
-	*/
92
-	private $receiverCity;
93
-
94
-	/**
95
-	* @JsonProperty(String, "receiverDetailAddress")
96
-	*/
97
-	private $receiverDetailAddress;
98
-
99
-	/**
100
-	* @JsonProperty(String, "receiverDistrict")
101
-	*/
102
-	private $receiverDistrict;
103
-
104
-	/**
105
-	* @JsonProperty(String, "receiverName")
106
-	*/
107
-	private $receiverName;
108
-
109
-	/**
110
-	* @JsonProperty(String, "receiverPhone")
111
-	*/
112
-	private $receiverPhone;
113
-
114
-	/**
115
-	* @JsonProperty(String, "receiverProvince")
116
-	*/
117
-	private $receiverProvince;
118
-
119
-	/**
120
-	* @JsonProperty(String, "shopNick")
121
-	*/
122
-	private $shopNick;
123
-
124
-	/**
125
-	* @JsonProperty(String, "warehouseCode")
126
-	*/
127
-	private $warehouseCode;
128
-
129
-	public function setCreateTime($createTime)
130
-	{
131
-		$this->createTime = $createTime;
132
-	}
133
-
134
-	public function setDeliveryOrderCode($deliveryOrderCode)
135
-	{
136
-		$this->deliveryOrderCode = $deliveryOrderCode;
137
-	}
138
-
139
-	public function setOrderFlag($orderFlag)
140
-	{
141
-		$this->orderFlag = $orderFlag;
142
-	}
143
-
144
-	public function setOrderLines($orderLines)
145
-	{
146
-		$this->orderLines = $orderLines;
147
-	}
148
-
149
-	public function setOrderType($orderType)
150
-	{
151
-		$this->orderType = $orderType;
152
-	}
153
-
154
-	public function setOwnerCode($ownerCode)
155
-	{
156
-		$this->ownerCode = $ownerCode;
157
-	}
158
-
159
-	public function setPlaceOrderTime($placeOrderTime)
160
-	{
161
-		$this->placeOrderTime = $placeOrderTime;
162
-	}
163
-
164
-	public function setReceiverCity($receiverCity)
165
-	{
166
-		$this->receiverCity = $receiverCity;
167
-	}
168
-
169
-	public function setReceiverDetailAddress($receiverDetailAddress)
170
-	{
171
-		$this->receiverDetailAddress = $receiverDetailAddress;
172
-	}
173
-
174
-	public function setReceiverDistrict($receiverDistrict)
175
-	{
176
-		$this->receiverDistrict = $receiverDistrict;
177
-	}
178
-
179
-	public function setReceiverName($receiverName)
180
-	{
181
-		$this->receiverName = $receiverName;
182
-	}
183
-
184
-	public function setReceiverPhone($receiverPhone)
185
-	{
186
-		$this->receiverPhone = $receiverPhone;
187
-	}
188
-
189
-	public function setReceiverProvince($receiverProvince)
190
-	{
191
-		$this->receiverProvince = $receiverProvince;
192
-	}
193
-
194
-	public function setShopNick($shopNick)
195
-	{
196
-		$this->shopNick = $shopNick;
197
-	}
198
-
199
-	public function setWarehouseCode($warehouseCode)
200
-	{
201
-		$this->warehouseCode = $warehouseCode;
202
-	}
49
+    public function __construct()
50
+    {
51
+
52
+    }
53
+
54
+    /**
55
+     * @JsonProperty(String, "createTime")
56
+     */
57
+    private $createTime;
58
+
59
+    /**
60
+     * @JsonProperty(String, "deliveryOrderCode")
61
+     */
62
+    private $deliveryOrderCode;
63
+
64
+    /**
65
+     * @JsonProperty(String, "orderFlag")
66
+     */
67
+    private $orderFlag;
68
+
69
+    /**
70
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddWmsDeliveryorderCreateRequest_RequestOrderLinesItem>, "orderLines")
71
+     */
72
+    private $orderLines;
73
+
74
+    /**
75
+     * @JsonProperty(String, "orderType")
76
+     */
77
+    private $orderType;
78
+
79
+    /**
80
+     * @JsonProperty(String, "ownerCode")
81
+     */
82
+    private $ownerCode;
83
+
84
+    /**
85
+     * @JsonProperty(String, "placeOrderTime")
86
+     */
87
+    private $placeOrderTime;
88
+
89
+    /**
90
+     * @JsonProperty(String, "receiverCity")
91
+     */
92
+    private $receiverCity;
93
+
94
+    /**
95
+     * @JsonProperty(String, "receiverDetailAddress")
96
+     */
97
+    private $receiverDetailAddress;
98
+
99
+    /**
100
+     * @JsonProperty(String, "receiverDistrict")
101
+     */
102
+    private $receiverDistrict;
103
+
104
+    /**
105
+     * @JsonProperty(String, "receiverName")
106
+     */
107
+    private $receiverName;
108
+
109
+    /**
110
+     * @JsonProperty(String, "receiverPhone")
111
+     */
112
+    private $receiverPhone;
113
+
114
+    /**
115
+     * @JsonProperty(String, "receiverProvince")
116
+     */
117
+    private $receiverProvince;
118
+
119
+    /**
120
+     * @JsonProperty(String, "shopNick")
121
+     */
122
+    private $shopNick;
123
+
124
+    /**
125
+     * @JsonProperty(String, "warehouseCode")
126
+     */
127
+    private $warehouseCode;
128
+
129
+    public function setCreateTime($createTime)
130
+    {
131
+        $this->createTime = $createTime;
132
+    }
133
+
134
+    public function setDeliveryOrderCode($deliveryOrderCode)
135
+    {
136
+        $this->deliveryOrderCode = $deliveryOrderCode;
137
+    }
138
+
139
+    public function setOrderFlag($orderFlag)
140
+    {
141
+        $this->orderFlag = $orderFlag;
142
+    }
143
+
144
+    public function setOrderLines($orderLines)
145
+    {
146
+        $this->orderLines = $orderLines;
147
+    }
148
+
149
+    public function setOrderType($orderType)
150
+    {
151
+        $this->orderType = $orderType;
152
+    }
153
+
154
+    public function setOwnerCode($ownerCode)
155
+    {
156
+        $this->ownerCode = $ownerCode;
157
+    }
158
+
159
+    public function setPlaceOrderTime($placeOrderTime)
160
+    {
161
+        $this->placeOrderTime = $placeOrderTime;
162
+    }
163
+
164
+    public function setReceiverCity($receiverCity)
165
+    {
166
+        $this->receiverCity = $receiverCity;
167
+    }
168
+
169
+    public function setReceiverDetailAddress($receiverDetailAddress)
170
+    {
171
+        $this->receiverDetailAddress = $receiverDetailAddress;
172
+    }
173
+
174
+    public function setReceiverDistrict($receiverDistrict)
175
+    {
176
+        $this->receiverDistrict = $receiverDistrict;
177
+    }
178
+
179
+    public function setReceiverName($receiverName)
180
+    {
181
+        $this->receiverName = $receiverName;
182
+    }
183
+
184
+    public function setReceiverPhone($receiverPhone)
185
+    {
186
+        $this->receiverPhone = $receiverPhone;
187
+    }
188
+
189
+    public function setReceiverProvince($receiverProvince)
190
+    {
191
+        $this->receiverProvince = $receiverProvince;
192
+    }
193
+
194
+    public function setShopNick($shopNick)
195
+    {
196
+        $this->shopNick = $shopNick;
197
+    }
198
+
199
+    public function setWarehouseCode($warehouseCode)
200
+    {
201
+        $this->warehouseCode = $warehouseCode;
202
+    }
203 203
 
204 204
 }
205 205
 
206 206
 class PddWmsDeliveryorderCreateRequest_RequestOrderLinesItem extends PopBaseJsonEntity
207 207
 {
208 208
 
209
-	public function __construct()
210
-	{
211
-
212
-	}
213
-
214
-	/**
215
-	* @JsonProperty(String, "parentWareSn")
216
-	*/
217
-	private $parentWareSn;
218
-
219
-	/**
220
-	* @JsonProperty(String, "quantity")
221
-	*/
222
-	private $quantity;
223
-
224
-	/**
225
-	* @JsonProperty(String, "wareSn")
226
-	*/
227
-	private $wareSn;
228
-
229
-	public function setParentWareSn($parentWareSn)
230
-	{
231
-		$this->parentWareSn = $parentWareSn;
232
-	}
233
-
234
-	public function setQuantity($quantity)
235
-	{
236
-		$this->quantity = $quantity;
237
-	}
238
-
239
-	public function setWareSn($wareSn)
240
-	{
241
-		$this->wareSn = $wareSn;
242
-	}
209
+    public function __construct()
210
+    {
211
+
212
+    }
213
+
214
+    /**
215
+     * @JsonProperty(String, "parentWareSn")
216
+     */
217
+    private $parentWareSn;
218
+
219
+    /**
220
+     * @JsonProperty(String, "quantity")
221
+     */
222
+    private $quantity;
223
+
224
+    /**
225
+     * @JsonProperty(String, "wareSn")
226
+     */
227
+    private $wareSn;
228
+
229
+    public function setParentWareSn($parentWareSn)
230
+    {
231
+        $this->parentWareSn = $parentWareSn;
232
+    }
233
+
234
+    public function setQuantity($quantity)
235
+    {
236
+        $this->quantity = $quantity;
237
+    }
238
+
239
+    public function setWareSn($wareSn)
240
+    {
241
+        $this->wareSn = $wareSn;
242
+    }
243 243
 
244 244
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddWmsDepotTicketAckRequest.php 1 patch
Indentation   +33 added lines, -33 removed lines patch added patch discarded remove patch
@@ -7,38 +7,38 @@
 block discarded – undo
7 7
 class PddWmsDepotTicketAckRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(List<Long>, "ticketIds")
15
-	*/
16
-	private $ticketIds;
17
-
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "ticketIds", $this->ticketIds);
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.wms.depot.ticket.ack";
37
-	}
38
-
39
-	public function setTicketIds($ticketIds)
40
-	{
41
-		$this->ticketIds = $ticketIds;
42
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(List<Long>, "ticketIds")
15
+     */
16
+    private $ticketIds;
17
+
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "ticketIds", $this->ticketIds);
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.wms.depot.ticket.ack";
37
+    }
38
+
39
+    public function setTicketIds($ticketIds)
40
+    {
41
+        $this->ticketIds = $ticketIds;
42
+    }
43 43
 
44 44
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddTicketSkuRuleAddRequest.php 1 patch
Indentation   +530 added lines, -530 removed lines patch added patch discarded remove patch
@@ -7,646 +7,646 @@
 block discarded – undo
7 7
 class PddTicketSkuRuleAddRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleAddRequest_BookerInfoLimitation, "booker_info_limitation")
15
-	*/
16
-	private $bookerInfoLimitation;
17
-
18
-	/**
19
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleAddRequest_BookingNotice, "booking_notice")
20
-	*/
21
-	private $bookingNotice;
22
-
23
-	/**
24
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleAddRequest_OrderLimitation, "order_limitation")
25
-	*/
26
-	private $orderLimitation;
27
-
28
-	/**
29
-	* @JsonProperty(String, "out_rule_id")
30
-	*/
31
-	private $outRuleId;
32
-
33
-	/**
34
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleAddRequest_ProviderContactInfo, "provider_contact_info")
35
-	*/
36
-	private $providerContactInfo;
37
-
38
-	/**
39
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleAddRequest_RefundLimitations, "refund_limitations")
40
-	*/
41
-	private $refundLimitations;
42
-
43
-	/**
44
-	* @JsonProperty(String, "rule_name")
45
-	*/
46
-	private $ruleName;
47
-
48
-	/**
49
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleAddRequest_TravelerInfoLimitation, "traveler_info_limitation")
50
-	*/
51
-	private $travelerInfoLimitation;
52
-
53
-	/**
54
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleAddRequest_ValidLimitation, "valid_limitation")
55
-	*/
56
-	private $validLimitation;
57
-
58
-	protected function setUserParams(&$params)
59
-	{
60
-		$this->setUserParam($params, "booker_info_limitation", $this->bookerInfoLimitation);
61
-		$this->setUserParam($params, "booking_notice", $this->bookingNotice);
62
-		$this->setUserParam($params, "order_limitation", $this->orderLimitation);
63
-		$this->setUserParam($params, "out_rule_id", $this->outRuleId);
64
-		$this->setUserParam($params, "provider_contact_info", $this->providerContactInfo);
65
-		$this->setUserParam($params, "refund_limitations", $this->refundLimitations);
66
-		$this->setUserParam($params, "rule_name", $this->ruleName);
67
-		$this->setUserParam($params, "traveler_info_limitation", $this->travelerInfoLimitation);
68
-		$this->setUserParam($params, "valid_limitation", $this->validLimitation);
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.ticket.sku.rule.add";
85
-	}
86
-
87
-	public function setBookerInfoLimitation($bookerInfoLimitation)
88
-	{
89
-		$this->bookerInfoLimitation = $bookerInfoLimitation;
90
-	}
91
-
92
-	public function setBookingNotice($bookingNotice)
93
-	{
94
-		$this->bookingNotice = $bookingNotice;
95
-	}
96
-
97
-	public function setOrderLimitation($orderLimitation)
98
-	{
99
-		$this->orderLimitation = $orderLimitation;
100
-	}
101
-
102
-	public function setOutRuleId($outRuleId)
103
-	{
104
-		$this->outRuleId = $outRuleId;
105
-	}
106
-
107
-	public function setProviderContactInfo($providerContactInfo)
108
-	{
109
-		$this->providerContactInfo = $providerContactInfo;
110
-	}
111
-
112
-	public function setRefundLimitations($refundLimitations)
113
-	{
114
-		$this->refundLimitations = $refundLimitations;
115
-	}
116
-
117
-	public function setRuleName($ruleName)
118
-	{
119
-		$this->ruleName = $ruleName;
120
-	}
121
-
122
-	public function setTravelerInfoLimitation($travelerInfoLimitation)
123
-	{
124
-		$this->travelerInfoLimitation = $travelerInfoLimitation;
125
-	}
126
-
127
-	public function setValidLimitation($validLimitation)
128
-	{
129
-		$this->validLimitation = $validLimitation;
130
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleAddRequest_BookerInfoLimitation, "booker_info_limitation")
15
+     */
16
+    private $bookerInfoLimitation;
17
+
18
+    /**
19
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleAddRequest_BookingNotice, "booking_notice")
20
+     */
21
+    private $bookingNotice;
22
+
23
+    /**
24
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleAddRequest_OrderLimitation, "order_limitation")
25
+     */
26
+    private $orderLimitation;
27
+
28
+    /**
29
+     * @JsonProperty(String, "out_rule_id")
30
+     */
31
+    private $outRuleId;
32
+
33
+    /**
34
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleAddRequest_ProviderContactInfo, "provider_contact_info")
35
+     */
36
+    private $providerContactInfo;
37
+
38
+    /**
39
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleAddRequest_RefundLimitations, "refund_limitations")
40
+     */
41
+    private $refundLimitations;
42
+
43
+    /**
44
+     * @JsonProperty(String, "rule_name")
45
+     */
46
+    private $ruleName;
47
+
48
+    /**
49
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleAddRequest_TravelerInfoLimitation, "traveler_info_limitation")
50
+     */
51
+    private $travelerInfoLimitation;
52
+
53
+    /**
54
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleAddRequest_ValidLimitation, "valid_limitation")
55
+     */
56
+    private $validLimitation;
57
+
58
+    protected function setUserParams(&$params)
59
+    {
60
+        $this->setUserParam($params, "booker_info_limitation", $this->bookerInfoLimitation);
61
+        $this->setUserParam($params, "booking_notice", $this->bookingNotice);
62
+        $this->setUserParam($params, "order_limitation", $this->orderLimitation);
63
+        $this->setUserParam($params, "out_rule_id", $this->outRuleId);
64
+        $this->setUserParam($params, "provider_contact_info", $this->providerContactInfo);
65
+        $this->setUserParam($params, "refund_limitations", $this->refundLimitations);
66
+        $this->setUserParam($params, "rule_name", $this->ruleName);
67
+        $this->setUserParam($params, "traveler_info_limitation", $this->travelerInfoLimitation);
68
+        $this->setUserParam($params, "valid_limitation", $this->validLimitation);
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.ticket.sku.rule.add";
85
+    }
86
+
87
+    public function setBookerInfoLimitation($bookerInfoLimitation)
88
+    {
89
+        $this->bookerInfoLimitation = $bookerInfoLimitation;
90
+    }
91
+
92
+    public function setBookingNotice($bookingNotice)
93
+    {
94
+        $this->bookingNotice = $bookingNotice;
95
+    }
96
+
97
+    public function setOrderLimitation($orderLimitation)
98
+    {
99
+        $this->orderLimitation = $orderLimitation;
100
+    }
101
+
102
+    public function setOutRuleId($outRuleId)
103
+    {
104
+        $this->outRuleId = $outRuleId;
105
+    }
106
+
107
+    public function setProviderContactInfo($providerContactInfo)
108
+    {
109
+        $this->providerContactInfo = $providerContactInfo;
110
+    }
111
+
112
+    public function setRefundLimitations($refundLimitations)
113
+    {
114
+        $this->refundLimitations = $refundLimitations;
115
+    }
116
+
117
+    public function setRuleName($ruleName)
118
+    {
119
+        $this->ruleName = $ruleName;
120
+    }
121
+
122
+    public function setTravelerInfoLimitation($travelerInfoLimitation)
123
+    {
124
+        $this->travelerInfoLimitation = $travelerInfoLimitation;
125
+    }
126
+
127
+    public function setValidLimitation($validLimitation)
128
+    {
129
+        $this->validLimitation = $validLimitation;
130
+    }
131 131
 
132 132
 }
133 133
 
134 134
 class PddTicketSkuRuleAddRequest_BookerInfoLimitation extends PopBaseJsonEntity
135 135
 {
136 136
 
137
-	public function __construct()
138
-	{
137
+    public function __construct()
138
+    {
139 139
 
140
-	}
140
+    }
141 141
 
142
-	/**
143
-	* @JsonProperty(Integer, "booker_required")
144
-	*/
145
-	private $bookerRequired;
142
+    /**
143
+     * @JsonProperty(Integer, "booker_required")
144
+     */
145
+    private $bookerRequired;
146 146
 
147
-	/**
148
-	* @JsonProperty(Integer, "mobile")
149
-	*/
150
-	private $mobile;
147
+    /**
148
+     * @JsonProperty(Integer, "mobile")
149
+     */
150
+    private $mobile;
151 151
 
152
-	public function setBookerRequired($bookerRequired)
153
-	{
154
-		$this->bookerRequired = $bookerRequired;
155
-	}
152
+    public function setBookerRequired($bookerRequired)
153
+    {
154
+        $this->bookerRequired = $bookerRequired;
155
+    }
156 156
 
157
-	public function setMobile($mobile)
158
-	{
159
-		$this->mobile = $mobile;
160
-	}
157
+    public function setMobile($mobile)
158
+    {
159
+        $this->mobile = $mobile;
160
+    }
161 161
 
162 162
 }
163 163
 
164 164
 class PddTicketSkuRuleAddRequest_BookingNotice extends PopBaseJsonEntity
165 165
 {
166 166
 
167
-	public function __construct()
168
-	{
169
-
170
-	}
171
-
172
-	/**
173
-	* @JsonProperty(String, "enter_address")
174
-	*/
175
-	private $enterAddress;
176
-
177
-	/**
178
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleAddRequest_BookingNoticeEnterTimeItem>, "enter_time")
179
-	*/
180
-	private $enterTime;
181
-
182
-	/**
183
-	* @JsonProperty(String, "enter_ways")
184
-	*/
185
-	private $enterWays;
186
-
187
-	/**
188
-	* @JsonProperty(String, "extra_desc")
189
-	*/
190
-	private $extraDesc;
191
-
192
-	/**
193
-	* @JsonProperty(String, "fee_include")
194
-	*/
195
-	private $feeInclude;
196
-
197
-	/**
198
-	* @JsonProperty(String, "fee_not_include")
199
-	*/
200
-	private $feeNotInclude;
201
-
202
-	/**
203
-	* @JsonProperty(String, "important_notice")
204
-	*/
205
-	private $importantNotice;
206
-
207
-	/**
208
-	* @JsonProperty(Integer, "pass_time_limit")
209
-	*/
210
-	private $passTimeLimit;
211
-
212
-	/**
213
-	* @JsonProperty(String, "ticket_place")
214
-	*/
215
-	private $ticketPlace;
216
-
217
-	/**
218
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleAddRequest_BookingNoticeTicketTimeItem>, "ticket_time")
219
-	*/
220
-	private $ticketTime;
221
-
222
-	public function setEnterAddress($enterAddress)
223
-	{
224
-		$this->enterAddress = $enterAddress;
225
-	}
226
-
227
-	public function setEnterTime($enterTime)
228
-	{
229
-		$this->enterTime = $enterTime;
230
-	}
231
-
232
-	public function setEnterWays($enterWays)
233
-	{
234
-		$this->enterWays = $enterWays;
235
-	}
236
-
237
-	public function setExtraDesc($extraDesc)
238
-	{
239
-		$this->extraDesc = $extraDesc;
240
-	}
241
-
242
-	public function setFeeInclude($feeInclude)
243
-	{
244
-		$this->feeInclude = $feeInclude;
245
-	}
246
-
247
-	public function setFeeNotInclude($feeNotInclude)
248
-	{
249
-		$this->feeNotInclude = $feeNotInclude;
250
-	}
251
-
252
-	public function setImportantNotice($importantNotice)
253
-	{
254
-		$this->importantNotice = $importantNotice;
255
-	}
256
-
257
-	public function setPassTimeLimit($passTimeLimit)
258
-	{
259
-		$this->passTimeLimit = $passTimeLimit;
260
-	}
261
-
262
-	public function setTicketPlace($ticketPlace)
263
-	{
264
-		$this->ticketPlace = $ticketPlace;
265
-	}
266
-
267
-	public function setTicketTime($ticketTime)
268
-	{
269
-		$this->ticketTime = $ticketTime;
270
-	}
167
+    public function __construct()
168
+    {
169
+
170
+    }
171
+
172
+    /**
173
+     * @JsonProperty(String, "enter_address")
174
+     */
175
+    private $enterAddress;
176
+
177
+    /**
178
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleAddRequest_BookingNoticeEnterTimeItem>, "enter_time")
179
+     */
180
+    private $enterTime;
181
+
182
+    /**
183
+     * @JsonProperty(String, "enter_ways")
184
+     */
185
+    private $enterWays;
186
+
187
+    /**
188
+     * @JsonProperty(String, "extra_desc")
189
+     */
190
+    private $extraDesc;
191
+
192
+    /**
193
+     * @JsonProperty(String, "fee_include")
194
+     */
195
+    private $feeInclude;
196
+
197
+    /**
198
+     * @JsonProperty(String, "fee_not_include")
199
+     */
200
+    private $feeNotInclude;
201
+
202
+    /**
203
+     * @JsonProperty(String, "important_notice")
204
+     */
205
+    private $importantNotice;
206
+
207
+    /**
208
+     * @JsonProperty(Integer, "pass_time_limit")
209
+     */
210
+    private $passTimeLimit;
211
+
212
+    /**
213
+     * @JsonProperty(String, "ticket_place")
214
+     */
215
+    private $ticketPlace;
216
+
217
+    /**
218
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleAddRequest_BookingNoticeTicketTimeItem>, "ticket_time")
219
+     */
220
+    private $ticketTime;
221
+
222
+    public function setEnterAddress($enterAddress)
223
+    {
224
+        $this->enterAddress = $enterAddress;
225
+    }
226
+
227
+    public function setEnterTime($enterTime)
228
+    {
229
+        $this->enterTime = $enterTime;
230
+    }
231
+
232
+    public function setEnterWays($enterWays)
233
+    {
234
+        $this->enterWays = $enterWays;
235
+    }
236
+
237
+    public function setExtraDesc($extraDesc)
238
+    {
239
+        $this->extraDesc = $extraDesc;
240
+    }
241
+
242
+    public function setFeeInclude($feeInclude)
243
+    {
244
+        $this->feeInclude = $feeInclude;
245
+    }
246
+
247
+    public function setFeeNotInclude($feeNotInclude)
248
+    {
249
+        $this->feeNotInclude = $feeNotInclude;
250
+    }
251
+
252
+    public function setImportantNotice($importantNotice)
253
+    {
254
+        $this->importantNotice = $importantNotice;
255
+    }
256
+
257
+    public function setPassTimeLimit($passTimeLimit)
258
+    {
259
+        $this->passTimeLimit = $passTimeLimit;
260
+    }
261
+
262
+    public function setTicketPlace($ticketPlace)
263
+    {
264
+        $this->ticketPlace = $ticketPlace;
265
+    }
266
+
267
+    public function setTicketTime($ticketTime)
268
+    {
269
+        $this->ticketTime = $ticketTime;
270
+    }
271 271
 
272 272
 }
273 273
 
274 274
 class PddTicketSkuRuleAddRequest_BookingNoticeEnterTimeItem extends PopBaseJsonEntity
275 275
 {
276 276
 
277
-	public function __construct()
278
-	{
277
+    public function __construct()
278
+    {
279 279
 
280
-	}
280
+    }
281 281
 
282
-	/**
283
-	* @JsonProperty(String, "comment")
284
-	*/
285
-	private $comment;
282
+    /**
283
+     * @JsonProperty(String, "comment")
284
+     */
285
+    private $comment;
286 286
 
287
-	/**
288
-	* @JsonProperty(String, "end_at")
289
-	*/
290
-	private $endAt;
287
+    /**
288
+     * @JsonProperty(String, "end_at")
289
+     */
290
+    private $endAt;
291 291
 
292
-	/**
293
-	* @JsonProperty(String, "start_at")
294
-	*/
295
-	private $startAt;
292
+    /**
293
+     * @JsonProperty(String, "start_at")
294
+     */
295
+    private $startAt;
296 296
 
297
-	public function setComment($comment)
298
-	{
299
-		$this->comment = $comment;
300
-	}
297
+    public function setComment($comment)
298
+    {
299
+        $this->comment = $comment;
300
+    }
301 301
 
302
-	public function setEndAt($endAt)
303
-	{
304
-		$this->endAt = $endAt;
305
-	}
302
+    public function setEndAt($endAt)
303
+    {
304
+        $this->endAt = $endAt;
305
+    }
306 306
 
307
-	public function setStartAt($startAt)
308
-	{
309
-		$this->startAt = $startAt;
310
-	}
307
+    public function setStartAt($startAt)
308
+    {
309
+        $this->startAt = $startAt;
310
+    }
311 311
 
312 312
 }
313 313
 
314 314
 class PddTicketSkuRuleAddRequest_BookingNoticeTicketTimeItem extends PopBaseJsonEntity
315 315
 {
316 316
 
317
-	public function __construct()
318
-	{
317
+    public function __construct()
318
+    {
319 319
 
320
-	}
320
+    }
321 321
 
322
-	/**
323
-	* @JsonProperty(String, "comment")
324
-	*/
325
-	private $comment;
322
+    /**
323
+     * @JsonProperty(String, "comment")
324
+     */
325
+    private $comment;
326 326
 
327
-	/**
328
-	* @JsonProperty(String, "end_at")
329
-	*/
330
-	private $endAt;
327
+    /**
328
+     * @JsonProperty(String, "end_at")
329
+     */
330
+    private $endAt;
331 331
 
332
-	/**
333
-	* @JsonProperty(String, "start_at")
334
-	*/
335
-	private $startAt;
332
+    /**
333
+     * @JsonProperty(String, "start_at")
334
+     */
335
+    private $startAt;
336 336
 
337
-	public function setComment($comment)
338
-	{
339
-		$this->comment = $comment;
340
-	}
337
+    public function setComment($comment)
338
+    {
339
+        $this->comment = $comment;
340
+    }
341 341
 
342
-	public function setEndAt($endAt)
343
-	{
344
-		$this->endAt = $endAt;
345
-	}
342
+    public function setEndAt($endAt)
343
+    {
344
+        $this->endAt = $endAt;
345
+    }
346 346
 
347
-	public function setStartAt($startAt)
348
-	{
349
-		$this->startAt = $startAt;
350
-	}
347
+    public function setStartAt($startAt)
348
+    {
349
+        $this->startAt = $startAt;
350
+    }
351 351
 
352 352
 }
353 353
 
354 354
 class PddTicketSkuRuleAddRequest_OrderLimitation extends PopBaseJsonEntity
355 355
 {
356 356
 
357
-	public function __construct()
358
-	{
359
-
360
-	}
361
-
362
-	/**
363
-	* @JsonProperty(Integer, "cycle_length")
364
-	*/
365
-	private $cycleLength;
366
-
367
-	/**
368
-	* @JsonProperty(Integer, "limitation_type")
369
-	*/
370
-	private $limitationType;
371
-
372
-	/**
373
-	* @JsonProperty(Integer, "limit_cycle")
374
-	*/
375
-	private $limitCycle;
376
-
377
-	/**
378
-	* @JsonProperty(Integer, "limit_num")
379
-	*/
380
-	private $limitNum;
381
-
382
-	public function setCycleLength($cycleLength)
383
-	{
384
-		$this->cycleLength = $cycleLength;
385
-	}
386
-
387
-	public function setLimitationType($limitationType)
388
-	{
389
-		$this->limitationType = $limitationType;
390
-	}
391
-
392
-	public function setLimitCycle($limitCycle)
393
-	{
394
-		$this->limitCycle = $limitCycle;
395
-	}
396
-
397
-	public function setLimitNum($limitNum)
398
-	{
399
-		$this->limitNum = $limitNum;
400
-	}
357
+    public function __construct()
358
+    {
359
+
360
+    }
361
+
362
+    /**
363
+     * @JsonProperty(Integer, "cycle_length")
364
+     */
365
+    private $cycleLength;
366
+
367
+    /**
368
+     * @JsonProperty(Integer, "limitation_type")
369
+     */
370
+    private $limitationType;
371
+
372
+    /**
373
+     * @JsonProperty(Integer, "limit_cycle")
374
+     */
375
+    private $limitCycle;
376
+
377
+    /**
378
+     * @JsonProperty(Integer, "limit_num")
379
+     */
380
+    private $limitNum;
381
+
382
+    public function setCycleLength($cycleLength)
383
+    {
384
+        $this->cycleLength = $cycleLength;
385
+    }
386
+
387
+    public function setLimitationType($limitationType)
388
+    {
389
+        $this->limitationType = $limitationType;
390
+    }
391
+
392
+    public function setLimitCycle($limitCycle)
393
+    {
394
+        $this->limitCycle = $limitCycle;
395
+    }
396
+
397
+    public function setLimitNum($limitNum)
398
+    {
399
+        $this->limitNum = $limitNum;
400
+    }
401 401
 
402 402
 }
403 403
 
404 404
 class PddTicketSkuRuleAddRequest_ProviderContactInfo extends PopBaseJsonEntity
405 405
 {
406 406
 
407
-	public function __construct()
408
-	{
407
+    public function __construct()
408
+    {
409 409
 
410
-	}
410
+    }
411 411
 
412
-	/**
413
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleAddRequest_ProviderContactInfoProviderBusinessHourItem>, "provider_business_hour")
414
-	*/
415
-	private $providerBusinessHour;
412
+    /**
413
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleAddRequest_ProviderContactInfoProviderBusinessHourItem>, "provider_business_hour")
414
+     */
415
+    private $providerBusinessHour;
416 416
 
417
-	/**
418
-	* @JsonProperty(String, "provider_name")
419
-	*/
420
-	private $providerName;
417
+    /**
418
+     * @JsonProperty(String, "provider_name")
419
+     */
420
+    private $providerName;
421 421
 
422
-	/**
423
-	* @JsonProperty(String, "provider_telephone")
424
-	*/
425
-	private $providerTelephone;
422
+    /**
423
+     * @JsonProperty(String, "provider_telephone")
424
+     */
425
+    private $providerTelephone;
426 426
 
427
-	public function setProviderBusinessHour($providerBusinessHour)
428
-	{
429
-		$this->providerBusinessHour = $providerBusinessHour;
430
-	}
427
+    public function setProviderBusinessHour($providerBusinessHour)
428
+    {
429
+        $this->providerBusinessHour = $providerBusinessHour;
430
+    }
431 431
 
432
-	public function setProviderName($providerName)
433
-	{
434
-		$this->providerName = $providerName;
435
-	}
432
+    public function setProviderName($providerName)
433
+    {
434
+        $this->providerName = $providerName;
435
+    }
436 436
 
437
-	public function setProviderTelephone($providerTelephone)
438
-	{
439
-		$this->providerTelephone = $providerTelephone;
440
-	}
437
+    public function setProviderTelephone($providerTelephone)
438
+    {
439
+        $this->providerTelephone = $providerTelephone;
440
+    }
441 441
 
442 442
 }
443 443
 
444 444
 class PddTicketSkuRuleAddRequest_ProviderContactInfoProviderBusinessHourItem extends PopBaseJsonEntity
445 445
 {
446 446
 
447
-	public function __construct()
448
-	{
447
+    public function __construct()
448
+    {
449 449
 
450
-	}
450
+    }
451 451
 
452
-	/**
453
-	* @JsonProperty(String, "close_at")
454
-	*/
455
-	private $closeAt;
452
+    /**
453
+     * @JsonProperty(String, "close_at")
454
+     */
455
+    private $closeAt;
456 456
 
457
-	/**
458
-	* @JsonProperty(String, "open_at")
459
-	*/
460
-	private $openAt;
457
+    /**
458
+     * @JsonProperty(String, "open_at")
459
+     */
460
+    private $openAt;
461 461
 
462
-	/**
463
-	* @JsonProperty(String, "time_info")
464
-	*/
465
-	private $timeInfo;
462
+    /**
463
+     * @JsonProperty(String, "time_info")
464
+     */
465
+    private $timeInfo;
466 466
 
467
-	public function setCloseAt($closeAt)
468
-	{
469
-		$this->closeAt = $closeAt;
470
-	}
467
+    public function setCloseAt($closeAt)
468
+    {
469
+        $this->closeAt = $closeAt;
470
+    }
471 471
 
472
-	public function setOpenAt($openAt)
473
-	{
474
-		$this->openAt = $openAt;
475
-	}
472
+    public function setOpenAt($openAt)
473
+    {
474
+        $this->openAt = $openAt;
475
+    }
476 476
 
477
-	public function setTimeInfo($timeInfo)
478
-	{
479
-		$this->timeInfo = $timeInfo;
480
-	}
477
+    public function setTimeInfo($timeInfo)
478
+    {
479
+        $this->timeInfo = $timeInfo;
480
+    }
481 481
 
482 482
 }
483 483
 
484 484
 class PddTicketSkuRuleAddRequest_RefundLimitations extends PopBaseJsonEntity
485 485
 {
486 486
 
487
-	public function __construct()
488
-	{
487
+    public function __construct()
488
+    {
489 489
 
490
-	}
490
+    }
491 491
 
492
-	/**
493
-	* @JsonProperty(Integer, "is_refundable")
494
-	*/
495
-	private $isRefundable;
492
+    /**
493
+     * @JsonProperty(Integer, "is_refundable")
494
+     */
495
+    private $isRefundable;
496 496
 
497
-	/**
498
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleAddRequest_RefundLimitationsRefundRulesItem>, "refund_rules")
499
-	*/
500
-	private $refundRules;
497
+    /**
498
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleAddRequest_RefundLimitationsRefundRulesItem>, "refund_rules")
499
+     */
500
+    private $refundRules;
501 501
 
502
-	public function setIsRefundable($isRefundable)
503
-	{
504
-		$this->isRefundable = $isRefundable;
505
-	}
502
+    public function setIsRefundable($isRefundable)
503
+    {
504
+        $this->isRefundable = $isRefundable;
505
+    }
506 506
 
507
-	public function setRefundRules($refundRules)
508
-	{
509
-		$this->refundRules = $refundRules;
510
-	}
507
+    public function setRefundRules($refundRules)
508
+    {
509
+        $this->refundRules = $refundRules;
510
+    }
511 511
 
512 512
 }
513 513
 
514 514
 class PddTicketSkuRuleAddRequest_RefundLimitationsRefundRulesItem extends PopBaseJsonEntity
515 515
 {
516 516
 
517
-	public function __construct()
518
-	{
519
-
520
-	}
521
-
522
-	/**
523
-	* @JsonProperty(Integer, "ahead_time")
524
-	*/
525
-	private $aheadTime;
526
-
527
-	/**
528
-	* @JsonProperty(Integer, "deduction_fee")
529
-	*/
530
-	private $deductionFee;
531
-
532
-	/**
533
-	* @JsonProperty(Integer, "deduction_unit")
534
-	*/
535
-	private $deductionUnit;
536
-
537
-	/**
538
-	* @JsonProperty(Integer, "type")
539
-	*/
540
-	private $type;
541
-
542
-	public function setAheadTime($aheadTime)
543
-	{
544
-		$this->aheadTime = $aheadTime;
545
-	}
546
-
547
-	public function setDeductionFee($deductionFee)
548
-	{
549
-		$this->deductionFee = $deductionFee;
550
-	}
551
-
552
-	public function setDeductionUnit($deductionUnit)
553
-	{
554
-		$this->deductionUnit = $deductionUnit;
555
-	}
556
-
557
-	public function setType($type)
558
-	{
559
-		$this->type = $type;
560
-	}
517
+    public function __construct()
518
+    {
519
+
520
+    }
521
+
522
+    /**
523
+     * @JsonProperty(Integer, "ahead_time")
524
+     */
525
+    private $aheadTime;
526
+
527
+    /**
528
+     * @JsonProperty(Integer, "deduction_fee")
529
+     */
530
+    private $deductionFee;
531
+
532
+    /**
533
+     * @JsonProperty(Integer, "deduction_unit")
534
+     */
535
+    private $deductionUnit;
536
+
537
+    /**
538
+     * @JsonProperty(Integer, "type")
539
+     */
540
+    private $type;
541
+
542
+    public function setAheadTime($aheadTime)
543
+    {
544
+        $this->aheadTime = $aheadTime;
545
+    }
546
+
547
+    public function setDeductionFee($deductionFee)
548
+    {
549
+        $this->deductionFee = $deductionFee;
550
+    }
551
+
552
+    public function setDeductionUnit($deductionUnit)
553
+    {
554
+        $this->deductionUnit = $deductionUnit;
555
+    }
556
+
557
+    public function setType($type)
558
+    {
559
+        $this->type = $type;
560
+    }
561 561
 
562 562
 }
563 563
 
564 564
 class PddTicketSkuRuleAddRequest_TravelerInfoLimitation extends PopBaseJsonEntity
565 565
 {
566 566
 
567
-	public function __construct()
568
-	{
567
+    public function __construct()
568
+    {
569 569
 
570
-	}
570
+    }
571 571
 
572
-	/**
573
-	* @JsonProperty(Integer, "credential")
574
-	*/
575
-	private $credential;
572
+    /**
573
+     * @JsonProperty(Integer, "credential")
574
+     */
575
+    private $credential;
576 576
 
577
-	/**
578
-	* @JsonProperty(Integer, "name")
579
-	*/
580
-	private $name;
577
+    /**
578
+     * @JsonProperty(Integer, "name")
579
+     */
580
+    private $name;
581 581
 
582
-	/**
583
-	* @JsonProperty(Integer, "traveler_required")
584
-	*/
585
-	private $travelerRequired;
582
+    /**
583
+     * @JsonProperty(Integer, "traveler_required")
584
+     */
585
+    private $travelerRequired;
586 586
 
587
-	public function setCredential($credential)
588
-	{
589
-		$this->credential = $credential;
590
-	}
587
+    public function setCredential($credential)
588
+    {
589
+        $this->credential = $credential;
590
+    }
591 591
 
592
-	public function setName($name)
593
-	{
594
-		$this->name = $name;
595
-	}
592
+    public function setName($name)
593
+    {
594
+        $this->name = $name;
595
+    }
596 596
 
597
-	public function setTravelerRequired($travelerRequired)
598
-	{
599
-		$this->travelerRequired = $travelerRequired;
600
-	}
597
+    public function setTravelerRequired($travelerRequired)
598
+    {
599
+        $this->travelerRequired = $travelerRequired;
600
+    }
601 601
 
602 602
 }
603 603
 
604 604
 class PddTicketSkuRuleAddRequest_ValidLimitation extends PopBaseJsonEntity
605 605
 {
606 606
 
607
-	public function __construct()
608
-	{
609
-
610
-	}
611
-
612
-	/**
613
-	* @JsonProperty(Integer, "days_time")
614
-	*/
615
-	private $daysTime;
616
-
617
-	/**
618
-	* @JsonProperty(Long, "end_time")
619
-	*/
620
-	private $endTime;
621
-
622
-	/**
623
-	* @JsonProperty(Long, "start_time")
624
-	*/
625
-	private $startTime;
626
-
627
-	/**
628
-	* @JsonProperty(Integer, "time_type")
629
-	*/
630
-	private $timeType;
631
-
632
-	public function setDaysTime($daysTime)
633
-	{
634
-		$this->daysTime = $daysTime;
635
-	}
636
-
637
-	public function setEndTime($endTime)
638
-	{
639
-		$this->endTime = $endTime;
640
-	}
641
-
642
-	public function setStartTime($startTime)
643
-	{
644
-		$this->startTime = $startTime;
645
-	}
646
-
647
-	public function setTimeType($timeType)
648
-	{
649
-		$this->timeType = $timeType;
650
-	}
607
+    public function __construct()
608
+    {
609
+
610
+    }
611
+
612
+    /**
613
+     * @JsonProperty(Integer, "days_time")
614
+     */
615
+    private $daysTime;
616
+
617
+    /**
618
+     * @JsonProperty(Long, "end_time")
619
+     */
620
+    private $endTime;
621
+
622
+    /**
623
+     * @JsonProperty(Long, "start_time")
624
+     */
625
+    private $startTime;
626
+
627
+    /**
628
+     * @JsonProperty(Integer, "time_type")
629
+     */
630
+    private $timeType;
631
+
632
+    public function setDaysTime($daysTime)
633
+    {
634
+        $this->daysTime = $daysTime;
635
+    }
636
+
637
+    public function setEndTime($endTime)
638
+    {
639
+        $this->endTime = $endTime;
640
+    }
641
+
642
+    public function setStartTime($startTime)
643
+    {
644
+        $this->startTime = $startTime;
645
+    }
646
+
647
+    public function setTimeType($timeType)
648
+    {
649
+        $this->timeType = $timeType;
650
+    }
651 651
 
652 652
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddWmsOrderCancelRequest.php 1 patch
Indentation   +80 added lines, -80 removed lines patch added patch discarded remove patch
@@ -7,98 +7,98 @@
 block discarded – undo
7 7
 class PddWmsOrderCancelRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
10
+    {
11 11
 
12
-	}
13
-	/**
14
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWmsOrderCancelRequest_Request, "request")
15
-	*/
16
-	private $request;
12
+    }
13
+    /**
14
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWmsOrderCancelRequest_Request, "request")
15
+     */
16
+    private $request;
17 17
 
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "request", $this->request);
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "request", $this->request);
21 21
 
22
-	}
22
+    }
23 23
 
24
-	public function getVersion()
25
-	{
26
-		return "V1";
27
-	}
24
+    public function getVersion()
25
+    {
26
+        return "V1";
27
+    }
28 28
 
29
-	public function getDataType()
30
-	{
31
-		return "JSON";
32
-	}
29
+    public function getDataType()
30
+    {
31
+        return "JSON";
32
+    }
33 33
 
34
-	public function getType()
35
-	{
36
-		return "pdd.wms.order.cancel";
37
-	}
34
+    public function getType()
35
+    {
36
+        return "pdd.wms.order.cancel";
37
+    }
38 38
 
39
-	public function setRequest($request)
40
-	{
41
-		$this->request = $request;
42
-	}
39
+    public function setRequest($request)
40
+    {
41
+        $this->request = $request;
42
+    }
43 43
 
44 44
 }
45 45
 
46 46
 class PddWmsOrderCancelRequest_Request extends PopBaseJsonEntity
47 47
 {
48 48
 
49
-	public function __construct()
50
-	{
51
-
52
-	}
53
-
54
-	/**
55
-	* @JsonProperty(String, "cancelReason")
56
-	*/
57
-	private $cancelReason;
58
-
59
-	/**
60
-	* @JsonProperty(String, "orderCode")
61
-	*/
62
-	private $orderCode;
63
-
64
-	/**
65
-	* @JsonProperty(String, "orderType")
66
-	*/
67
-	private $orderType;
68
-
69
-	/**
70
-	* @JsonProperty(String, "ownerCode")
71
-	*/
72
-	private $ownerCode;
73
-
74
-	/**
75
-	* @JsonProperty(String, "warehouseCode")
76
-	*/
77
-	private $warehouseCode;
78
-
79
-	public function setCancelReason($cancelReason)
80
-	{
81
-		$this->cancelReason = $cancelReason;
82
-	}
83
-
84
-	public function setOrderCode($orderCode)
85
-	{
86
-		$this->orderCode = $orderCode;
87
-	}
88
-
89
-	public function setOrderType($orderType)
90
-	{
91
-		$this->orderType = $orderType;
92
-	}
93
-
94
-	public function setOwnerCode($ownerCode)
95
-	{
96
-		$this->ownerCode = $ownerCode;
97
-	}
98
-
99
-	public function setWarehouseCode($warehouseCode)
100
-	{
101
-		$this->warehouseCode = $warehouseCode;
102
-	}
49
+    public function __construct()
50
+    {
51
+
52
+    }
53
+
54
+    /**
55
+     * @JsonProperty(String, "cancelReason")
56
+     */
57
+    private $cancelReason;
58
+
59
+    /**
60
+     * @JsonProperty(String, "orderCode")
61
+     */
62
+    private $orderCode;
63
+
64
+    /**
65
+     * @JsonProperty(String, "orderType")
66
+     */
67
+    private $orderType;
68
+
69
+    /**
70
+     * @JsonProperty(String, "ownerCode")
71
+     */
72
+    private $ownerCode;
73
+
74
+    /**
75
+     * @JsonProperty(String, "warehouseCode")
76
+     */
77
+    private $warehouseCode;
78
+
79
+    public function setCancelReason($cancelReason)
80
+    {
81
+        $this->cancelReason = $cancelReason;
82
+    }
83
+
84
+    public function setOrderCode($orderCode)
85
+    {
86
+        $this->orderCode = $orderCode;
87
+    }
88
+
89
+    public function setOrderType($orderType)
90
+    {
91
+        $this->orderType = $orderType;
92
+    }
93
+
94
+    public function setOwnerCode($ownerCode)
95
+    {
96
+        $this->ownerCode = $ownerCode;
97
+    }
98
+
99
+    public function setWarehouseCode($warehouseCode)
100
+    {
101
+        $this->warehouseCode = $warehouseCode;
102
+    }
103 103
 
104 104
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddTrainCancelChangeRequest.php 1 patch
Indentation   +74 added lines, -74 removed lines patch added patch discarded remove patch
@@ -7,90 +7,90 @@
 block discarded – undo
7 7
 class PddTrainCancelChangeRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(String, "pdd_order_id")
15
-	*/
16
-	private $pddOrderId;
17
-
18
-	/**
19
-	* @JsonProperty(String, "order_id")
20
-	*/
21
-	private $orderId;
22
-
23
-	/**
24
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTrainCancelChangeRequest_PassengerInfosItem>, "passenger_infos")
25
-	*/
26
-	private $passengerInfos;
27
-
28
-	protected function setUserParams(&$params)
29
-	{
30
-		$this->setUserParam($params, "pdd_order_id", $this->pddOrderId);
31
-		$this->setUserParam($params, "order_id", $this->orderId);
32
-		$this->setUserParam($params, "passenger_infos", $this->passengerInfos);
33
-
34
-	}
35
-
36
-	public function getVersion()
37
-	{
38
-		return "V1";
39
-	}
40
-
41
-	public function getDataType()
42
-	{
43
-		return "JSON";
44
-	}
45
-
46
-	public function getType()
47
-	{
48
-		return "pdd.train.cancel.change";
49
-	}
50
-
51
-	public function setPddOrderId($pddOrderId)
52
-	{
53
-		$this->pddOrderId = $pddOrderId;
54
-	}
55
-
56
-	public function setOrderId($orderId)
57
-	{
58
-		$this->orderId = $orderId;
59
-	}
60
-
61
-	public function setPassengerInfos($passengerInfos)
62
-	{
63
-		$this->passengerInfos = $passengerInfos;
64
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(String, "pdd_order_id")
15
+     */
16
+    private $pddOrderId;
17
+
18
+    /**
19
+     * @JsonProperty(String, "order_id")
20
+     */
21
+    private $orderId;
22
+
23
+    /**
24
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTrainCancelChangeRequest_PassengerInfosItem>, "passenger_infos")
25
+     */
26
+    private $passengerInfos;
27
+
28
+    protected function setUserParams(&$params)
29
+    {
30
+        $this->setUserParam($params, "pdd_order_id", $this->pddOrderId);
31
+        $this->setUserParam($params, "order_id", $this->orderId);
32
+        $this->setUserParam($params, "passenger_infos", $this->passengerInfos);
33
+
34
+    }
35
+
36
+    public function getVersion()
37
+    {
38
+        return "V1";
39
+    }
40
+
41
+    public function getDataType()
42
+    {
43
+        return "JSON";
44
+    }
45
+
46
+    public function getType()
47
+    {
48
+        return "pdd.train.cancel.change";
49
+    }
50
+
51
+    public function setPddOrderId($pddOrderId)
52
+    {
53
+        $this->pddOrderId = $pddOrderId;
54
+    }
55
+
56
+    public function setOrderId($orderId)
57
+    {
58
+        $this->orderId = $orderId;
59
+    }
60
+
61
+    public function setPassengerInfos($passengerInfos)
62
+    {
63
+        $this->passengerInfos = $passengerInfos;
64
+    }
65 65
 
66 66
 }
67 67
 
68 68
 class PddTrainCancelChangeRequest_PassengerInfosItem extends PopBaseJsonEntity
69 69
 {
70 70
 
71
-	public function __construct()
72
-	{
71
+    public function __construct()
72
+    {
73 73
 
74
-	}
74
+    }
75 75
 
76
-	/**
77
-	* @JsonProperty(String, "new_sub_order_Id")
78
-	*/
79
-	private $newSubOrderId;
76
+    /**
77
+     * @JsonProperty(String, "new_sub_order_Id")
78
+     */
79
+    private $newSubOrderId;
80 80
 
81
-	/**
82
-	* @JsonProperty(String, "old_sub_order_id")
83
-	*/
84
-	private $oldSubOrderId;
81
+    /**
82
+     * @JsonProperty(String, "old_sub_order_id")
83
+     */
84
+    private $oldSubOrderId;
85 85
 
86
-	public function setNewSubOrderId($newSubOrderId)
87
-	{
88
-		$this->newSubOrderId = $newSubOrderId;
89
-	}
86
+    public function setNewSubOrderId($newSubOrderId)
87
+    {
88
+        $this->newSubOrderId = $newSubOrderId;
89
+    }
90 90
 
91
-	public function setOldSubOrderId($oldSubOrderId)
92
-	{
93
-		$this->oldSubOrderId = $oldSubOrderId;
94
-	}
91
+    public function setOldSubOrderId($oldSubOrderId)
92
+    {
93
+        $this->oldSubOrderId = $oldSubOrderId;
94
+    }
95 95
 
96 96
 }
Please login to merge, or discard this patch.
pinduoduo/bin/src/Api/Request/PddWmsDepotTicketProblemGetRequest.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -7,27 +7,27 @@
 block discarded – undo
7 7
 class PddWmsDepotTicketProblemGetRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
10
+    {
11 11
 
12
-	}
13
-	protected function setUserParams(&$params)
14
-	{
12
+    }
13
+    protected function setUserParams(&$params)
14
+    {
15 15
 
16
-	}
16
+    }
17 17
 
18
-	public function getVersion()
19
-	{
20
-		return "V1";
21
-	}
18
+    public function getVersion()
19
+    {
20
+        return "V1";
21
+    }
22 22
 
23
-	public function getDataType()
24
-	{
25
-		return "JSON";
26
-	}
23
+    public function getDataType()
24
+    {
25
+        return "JSON";
26
+    }
27 27
 
28
-	public function getType()
29
-	{
30
-		return "pdd.wms.depot.ticket.problem.get";
31
-	}
28
+    public function getType()
29
+    {
30
+        return "pdd.wms.depot.ticket.problem.get";
31
+    }
32 32
 
33 33
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddTrainConfirmChangeRequest.php 1 patch
Indentation   +99 added lines, -99 removed lines patch added patch discarded remove patch
@@ -7,110 +7,110 @@
 block discarded – undo
7 7
 class PddTrainConfirmChangeRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(String, "pdd_order_id")
15
-	*/
16
-	private $pddOrderId;
17
-
18
-	/**
19
-	* @JsonProperty(String, "order_id")
20
-	*/
21
-	private $orderId;
22
-
23
-	/**
24
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTrainConfirmChangeRequest_NewPassengerInfosItem>, "new_passenger_infos")
25
-	*/
26
-	private $newPassengerInfos;
27
-
28
-	protected function setUserParams(&$params)
29
-	{
30
-		$this->setUserParam($params, "pdd_order_id", $this->pddOrderId);
31
-		$this->setUserParam($params, "order_id", $this->orderId);
32
-		$this->setUserParam($params, "new_passenger_infos", $this->newPassengerInfos);
33
-
34
-	}
35
-
36
-	public function getVersion()
37
-	{
38
-		return "V1";
39
-	}
40
-
41
-	public function getDataType()
42
-	{
43
-		return "JSON";
44
-	}
45
-
46
-	public function getType()
47
-	{
48
-		return "pdd.train.confirm.change";
49
-	}
50
-
51
-	public function setPddOrderId($pddOrderId)
52
-	{
53
-		$this->pddOrderId = $pddOrderId;
54
-	}
55
-
56
-	public function setOrderId($orderId)
57
-	{
58
-		$this->orderId = $orderId;
59
-	}
60
-
61
-	public function setNewPassengerInfos($newPassengerInfos)
62
-	{
63
-		$this->newPassengerInfos = $newPassengerInfos;
64
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(String, "pdd_order_id")
15
+     */
16
+    private $pddOrderId;
17
+
18
+    /**
19
+     * @JsonProperty(String, "order_id")
20
+     */
21
+    private $orderId;
22
+
23
+    /**
24
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTrainConfirmChangeRequest_NewPassengerInfosItem>, "new_passenger_infos")
25
+     */
26
+    private $newPassengerInfos;
27
+
28
+    protected function setUserParams(&$params)
29
+    {
30
+        $this->setUserParam($params, "pdd_order_id", $this->pddOrderId);
31
+        $this->setUserParam($params, "order_id", $this->orderId);
32
+        $this->setUserParam($params, "new_passenger_infos", $this->newPassengerInfos);
33
+
34
+    }
35
+
36
+    public function getVersion()
37
+    {
38
+        return "V1";
39
+    }
40
+
41
+    public function getDataType()
42
+    {
43
+        return "JSON";
44
+    }
45
+
46
+    public function getType()
47
+    {
48
+        return "pdd.train.confirm.change";
49
+    }
50
+
51
+    public function setPddOrderId($pddOrderId)
52
+    {
53
+        $this->pddOrderId = $pddOrderId;
54
+    }
55
+
56
+    public function setOrderId($orderId)
57
+    {
58
+        $this->orderId = $orderId;
59
+    }
60
+
61
+    public function setNewPassengerInfos($newPassengerInfos)
62
+    {
63
+        $this->newPassengerInfos = $newPassengerInfos;
64
+    }
65 65
 
66 66
 }
67 67
 
68 68
 class PddTrainConfirmChangeRequest_NewPassengerInfosItem extends PopBaseJsonEntity
69 69
 {
70 70
 
71
-	public function __construct()
72
-	{
73
-
74
-	}
75
-
76
-	/**
77
-	* @JsonProperty(String, "order_id")
78
-	*/
79
-	private $orderId;
80
-
81
-	/**
82
-	* @JsonProperty(String, "new_sub_order_id")
83
-	*/
84
-	private $newSubOrderId;
85
-
86
-	/**
87
-	* @JsonProperty(String, "old_sub_order_Id")
88
-	*/
89
-	private $oldSubOrderId;
90
-
91
-	/**
92
-	* @JsonProperty(String, "order_sn")
93
-	*/
94
-	private $orderSn;
95
-
96
-	public function setOrderId($orderId)
97
-	{
98
-		$this->orderId = $orderId;
99
-	}
100
-
101
-	public function setNewSubOrderId($newSubOrderId)
102
-	{
103
-		$this->newSubOrderId = $newSubOrderId;
104
-	}
105
-
106
-	public function setOldSubOrderId($oldSubOrderId)
107
-	{
108
-		$this->oldSubOrderId = $oldSubOrderId;
109
-	}
110
-
111
-	public function setOrderSn($orderSn)
112
-	{
113
-		$this->orderSn = $orderSn;
114
-	}
71
+    public function __construct()
72
+    {
73
+
74
+    }
75
+
76
+    /**
77
+     * @JsonProperty(String, "order_id")
78
+     */
79
+    private $orderId;
80
+
81
+    /**
82
+     * @JsonProperty(String, "new_sub_order_id")
83
+     */
84
+    private $newSubOrderId;
85
+
86
+    /**
87
+     * @JsonProperty(String, "old_sub_order_Id")
88
+     */
89
+    private $oldSubOrderId;
90
+
91
+    /**
92
+     * @JsonProperty(String, "order_sn")
93
+     */
94
+    private $orderSn;
95
+
96
+    public function setOrderId($orderId)
97
+    {
98
+        $this->orderId = $orderId;
99
+    }
100
+
101
+    public function setNewSubOrderId($newSubOrderId)
102
+    {
103
+        $this->newSubOrderId = $newSubOrderId;
104
+    }
105
+
106
+    public function setOldSubOrderId($oldSubOrderId)
107
+    {
108
+        $this->oldSubOrderId = $oldSubOrderId;
109
+    }
110
+
111
+    public function setOrderSn($orderSn)
112
+    {
113
+        $this->orderSn = $orderSn;
114
+    }
115 115
 
116 116
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Common/JsonUtil.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
         preg_match($pattern, $doc, $matches);
18 18
         if ($matches && count($matches) == 3) {
19 19
             return array($matches[1], $matches[2]);
20
-        } else {
20
+        }else {
21 21
             return NULL;
22 22
         }
23 23
     }
Please login to merge, or discard this patch.