1
|
|
|
<?php |
2
|
|
|
namespace Com\Pdd\Pop\Sdk\Api\Request; |
3
|
|
|
|
4
|
|
|
use Com\Pdd\Pop\Sdk\PopBaseHttpRequest; |
5
|
|
|
use Com\Pdd\Pop\Sdk\PopBaseJsonEntity; |
6
|
|
|
|
7
|
|
|
class PddTicketSkuRuleEditRequest extends PopBaseHttpRequest |
8
|
|
|
{ |
9
|
|
|
public function __construct() |
10
|
|
|
{ |
11
|
|
|
|
12
|
|
|
} |
13
|
|
|
/** |
14
|
|
|
* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleEditRequest_BookerInfoLimitation, "booker_info_limitation") |
15
|
|
|
*/ |
16
|
|
|
private $bookerInfoLimitation; |
17
|
|
|
|
18
|
|
|
/** |
19
|
|
|
* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleEditRequest_BookingNotice, "booking_notice") |
20
|
|
|
*/ |
21
|
|
|
private $bookingNotice; |
22
|
|
|
|
23
|
|
|
/** |
24
|
|
|
* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleEditRequest_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\PddTicketSkuRuleEditRequest_ProviderContactInfo, "provider_contact_info") |
35
|
|
|
*/ |
36
|
|
|
private $providerContactInfo; |
37
|
|
|
|
38
|
|
|
/** |
39
|
|
|
* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleEditRequest_RefundLimitations, "refund_limitations") |
40
|
|
|
*/ |
41
|
|
|
private $refundLimitations; |
42
|
|
|
|
43
|
|
|
/** |
44
|
|
|
* @JsonProperty(String, "rule_id") |
45
|
|
|
*/ |
46
|
|
|
private $ruleId; |
47
|
|
|
|
48
|
|
|
/** |
49
|
|
|
* @JsonProperty(String, "rule_name") |
50
|
|
|
*/ |
51
|
|
|
private $ruleName; |
52
|
|
|
|
53
|
|
|
/** |
54
|
|
|
* @JsonProperty(String, "rule_version") |
55
|
|
|
*/ |
56
|
|
|
private $ruleVersion; |
57
|
|
|
|
58
|
|
|
/** |
59
|
|
|
* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleEditRequest_TravelerInfoLimitation, "traveler_info_limitation") |
60
|
|
|
*/ |
61
|
|
|
private $travelerInfoLimitation; |
62
|
|
|
|
63
|
|
|
/** |
64
|
|
|
* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleEditRequest_ValidLimitation, "valid_limitation") |
65
|
|
|
*/ |
66
|
|
|
private $validLimitation; |
67
|
|
|
|
68
|
|
|
protected function setUserParams(&$params) |
69
|
|
|
{ |
70
|
|
|
$this->setUserParam($params, "booker_info_limitation", $this->bookerInfoLimitation); |
71
|
|
|
$this->setUserParam($params, "booking_notice", $this->bookingNotice); |
72
|
|
|
$this->setUserParam($params, "order_limitation", $this->orderLimitation); |
73
|
|
|
$this->setUserParam($params, "out_rule_id", $this->outRuleId); |
74
|
|
|
$this->setUserParam($params, "provider_contact_info", $this->providerContactInfo); |
75
|
|
|
$this->setUserParam($params, "refund_limitations", $this->refundLimitations); |
76
|
|
|
$this->setUserParam($params, "rule_id", $this->ruleId); |
77
|
|
|
$this->setUserParam($params, "rule_name", $this->ruleName); |
78
|
|
|
$this->setUserParam($params, "rule_version", $this->ruleVersion); |
79
|
|
|
$this->setUserParam($params, "traveler_info_limitation", $this->travelerInfoLimitation); |
80
|
|
|
$this->setUserParam($params, "valid_limitation", $this->validLimitation); |
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.ticket.sku.rule.edit"; |
97
|
|
|
} |
98
|
|
|
|
99
|
|
|
public function setBookerInfoLimitation($bookerInfoLimitation) |
100
|
|
|
{ |
101
|
|
|
$this->bookerInfoLimitation = $bookerInfoLimitation; |
102
|
|
|
} |
103
|
|
|
|
104
|
|
|
public function setBookingNotice($bookingNotice) |
105
|
|
|
{ |
106
|
|
|
$this->bookingNotice = $bookingNotice; |
107
|
|
|
} |
108
|
|
|
|
109
|
|
|
public function setOrderLimitation($orderLimitation) |
110
|
|
|
{ |
111
|
|
|
$this->orderLimitation = $orderLimitation; |
112
|
|
|
} |
113
|
|
|
|
114
|
|
|
public function setOutRuleId($outRuleId) |
115
|
|
|
{ |
116
|
|
|
$this->outRuleId = $outRuleId; |
117
|
|
|
} |
118
|
|
|
|
119
|
|
|
public function setProviderContactInfo($providerContactInfo) |
120
|
|
|
{ |
121
|
|
|
$this->providerContactInfo = $providerContactInfo; |
122
|
|
|
} |
123
|
|
|
|
124
|
|
|
public function setRefundLimitations($refundLimitations) |
125
|
|
|
{ |
126
|
|
|
$this->refundLimitations = $refundLimitations; |
127
|
|
|
} |
128
|
|
|
|
129
|
|
|
public function setRuleId($ruleId) |
130
|
|
|
{ |
131
|
|
|
$this->ruleId = $ruleId; |
132
|
|
|
} |
133
|
|
|
|
134
|
|
|
public function setRuleName($ruleName) |
135
|
|
|
{ |
136
|
|
|
$this->ruleName = $ruleName; |
137
|
|
|
} |
138
|
|
|
|
139
|
|
|
public function setRuleVersion($ruleVersion) |
140
|
|
|
{ |
141
|
|
|
$this->ruleVersion = $ruleVersion; |
142
|
|
|
} |
143
|
|
|
|
144
|
|
|
public function setTravelerInfoLimitation($travelerInfoLimitation) |
145
|
|
|
{ |
146
|
|
|
$this->travelerInfoLimitation = $travelerInfoLimitation; |
147
|
|
|
} |
148
|
|
|
|
149
|
|
|
public function setValidLimitation($validLimitation) |
150
|
|
|
{ |
151
|
|
|
$this->validLimitation = $validLimitation; |
152
|
|
|
} |
153
|
|
|
|
154
|
|
|
} |
155
|
|
|
|
156
|
|
|
class PddTicketSkuRuleEditRequest_BookerInfoLimitation extends PopBaseJsonEntity |
157
|
|
|
{ |
158
|
|
|
|
159
|
|
|
public function __construct() |
160
|
|
|
{ |
161
|
|
|
|
162
|
|
|
} |
163
|
|
|
|
164
|
|
|
/** |
165
|
|
|
* @JsonProperty(Integer, "booker_required") |
166
|
|
|
*/ |
167
|
|
|
private $bookerRequired; |
168
|
|
|
|
169
|
|
|
/** |
170
|
|
|
* @JsonProperty(Integer, "mobile") |
171
|
|
|
*/ |
172
|
|
|
private $mobile; |
173
|
|
|
|
174
|
|
|
public function setBookerRequired($bookerRequired) |
175
|
|
|
{ |
176
|
|
|
$this->bookerRequired = $bookerRequired; |
177
|
|
|
} |
178
|
|
|
|
179
|
|
|
public function setMobile($mobile) |
180
|
|
|
{ |
181
|
|
|
$this->mobile = $mobile; |
182
|
|
|
} |
183
|
|
|
|
184
|
|
|
} |
185
|
|
|
|
186
|
|
|
class PddTicketSkuRuleEditRequest_BookingNotice extends PopBaseJsonEntity |
187
|
|
|
{ |
188
|
|
|
|
189
|
|
|
public function __construct() |
190
|
|
|
{ |
191
|
|
|
|
192
|
|
|
} |
193
|
|
|
|
194
|
|
|
/** |
195
|
|
|
* @JsonProperty(String, "enter_address") |
196
|
|
|
*/ |
197
|
|
|
private $enterAddress; |
198
|
|
|
|
199
|
|
|
/** |
200
|
|
|
* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleEditRequest_BookingNoticeEnterTimeItem>, "enter_time") |
201
|
|
|
*/ |
202
|
|
|
private $enterTime; |
203
|
|
|
|
204
|
|
|
/** |
205
|
|
|
* @JsonProperty(String, "enter_ways") |
206
|
|
|
*/ |
207
|
|
|
private $enterWays; |
208
|
|
|
|
209
|
|
|
/** |
210
|
|
|
* @JsonProperty(String, "extra_desc") |
211
|
|
|
*/ |
212
|
|
|
private $extraDesc; |
213
|
|
|
|
214
|
|
|
/** |
215
|
|
|
* @JsonProperty(String, "fee_include") |
216
|
|
|
*/ |
217
|
|
|
private $feeInclude; |
218
|
|
|
|
219
|
|
|
/** |
220
|
|
|
* @JsonProperty(String, "fee_not_include") |
221
|
|
|
*/ |
222
|
|
|
private $feeNotInclude; |
223
|
|
|
|
224
|
|
|
/** |
225
|
|
|
* @JsonProperty(String, "important_notice") |
226
|
|
|
*/ |
227
|
|
|
private $importantNotice; |
228
|
|
|
|
229
|
|
|
/** |
230
|
|
|
* @JsonProperty(Integer, "pass_time_limit") |
231
|
|
|
*/ |
232
|
|
|
private $passTimeLimit; |
233
|
|
|
|
234
|
|
|
/** |
235
|
|
|
* @JsonProperty(String, "ticket_place") |
236
|
|
|
*/ |
237
|
|
|
private $ticketPlace; |
238
|
|
|
|
239
|
|
|
/** |
240
|
|
|
* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleEditRequest_BookingNoticeTicketTimeItem>, "ticket_time") |
241
|
|
|
*/ |
242
|
|
|
private $ticketTime; |
243
|
|
|
|
244
|
|
|
public function setEnterAddress($enterAddress) |
245
|
|
|
{ |
246
|
|
|
$this->enterAddress = $enterAddress; |
247
|
|
|
} |
248
|
|
|
|
249
|
|
|
public function setEnterTime($enterTime) |
250
|
|
|
{ |
251
|
|
|
$this->enterTime = $enterTime; |
252
|
|
|
} |
253
|
|
|
|
254
|
|
|
public function setEnterWays($enterWays) |
255
|
|
|
{ |
256
|
|
|
$this->enterWays = $enterWays; |
257
|
|
|
} |
258
|
|
|
|
259
|
|
|
public function setExtraDesc($extraDesc) |
260
|
|
|
{ |
261
|
|
|
$this->extraDesc = $extraDesc; |
262
|
|
|
} |
263
|
|
|
|
264
|
|
|
public function setFeeInclude($feeInclude) |
265
|
|
|
{ |
266
|
|
|
$this->feeInclude = $feeInclude; |
267
|
|
|
} |
268
|
|
|
|
269
|
|
|
public function setFeeNotInclude($feeNotInclude) |
270
|
|
|
{ |
271
|
|
|
$this->feeNotInclude = $feeNotInclude; |
272
|
|
|
} |
273
|
|
|
|
274
|
|
|
public function setImportantNotice($importantNotice) |
275
|
|
|
{ |
276
|
|
|
$this->importantNotice = $importantNotice; |
277
|
|
|
} |
278
|
|
|
|
279
|
|
|
public function setPassTimeLimit($passTimeLimit) |
280
|
|
|
{ |
281
|
|
|
$this->passTimeLimit = $passTimeLimit; |
282
|
|
|
} |
283
|
|
|
|
284
|
|
|
public function setTicketPlace($ticketPlace) |
285
|
|
|
{ |
286
|
|
|
$this->ticketPlace = $ticketPlace; |
287
|
|
|
} |
288
|
|
|
|
289
|
|
|
public function setTicketTime($ticketTime) |
290
|
|
|
{ |
291
|
|
|
$this->ticketTime = $ticketTime; |
292
|
|
|
} |
293
|
|
|
|
294
|
|
|
} |
295
|
|
|
|
296
|
|
|
class PddTicketSkuRuleEditRequest_BookingNoticeEnterTimeItem extends PopBaseJsonEntity |
297
|
|
|
{ |
298
|
|
|
|
299
|
|
|
public function __construct() |
300
|
|
|
{ |
301
|
|
|
|
302
|
|
|
} |
303
|
|
|
|
304
|
|
|
/** |
305
|
|
|
* @JsonProperty(String, "comment") |
306
|
|
|
*/ |
307
|
|
|
private $comment; |
308
|
|
|
|
309
|
|
|
/** |
310
|
|
|
* @JsonProperty(String, "end_at") |
311
|
|
|
*/ |
312
|
|
|
private $endAt; |
313
|
|
|
|
314
|
|
|
/** |
315
|
|
|
* @JsonProperty(String, "start_at") |
316
|
|
|
*/ |
317
|
|
|
private $startAt; |
318
|
|
|
|
319
|
|
|
public function setComment($comment) |
320
|
|
|
{ |
321
|
|
|
$this->comment = $comment; |
322
|
|
|
} |
323
|
|
|
|
324
|
|
|
public function setEndAt($endAt) |
325
|
|
|
{ |
326
|
|
|
$this->endAt = $endAt; |
327
|
|
|
} |
328
|
|
|
|
329
|
|
|
public function setStartAt($startAt) |
330
|
|
|
{ |
331
|
|
|
$this->startAt = $startAt; |
332
|
|
|
} |
333
|
|
|
|
334
|
|
|
} |
335
|
|
|
|
336
|
|
|
class PddTicketSkuRuleEditRequest_BookingNoticeTicketTimeItem extends PopBaseJsonEntity |
337
|
|
|
{ |
338
|
|
|
|
339
|
|
|
public function __construct() |
340
|
|
|
{ |
341
|
|
|
|
342
|
|
|
} |
343
|
|
|
|
344
|
|
|
/** |
345
|
|
|
* @JsonProperty(String, "comment") |
346
|
|
|
*/ |
347
|
|
|
private $comment; |
348
|
|
|
|
349
|
|
|
/** |
350
|
|
|
* @JsonProperty(String, "end_at") |
351
|
|
|
*/ |
352
|
|
|
private $endAt; |
353
|
|
|
|
354
|
|
|
/** |
355
|
|
|
* @JsonProperty(String, "start_at") |
356
|
|
|
*/ |
357
|
|
|
private $startAt; |
358
|
|
|
|
359
|
|
|
public function setComment($comment) |
360
|
|
|
{ |
361
|
|
|
$this->comment = $comment; |
362
|
|
|
} |
363
|
|
|
|
364
|
|
|
public function setEndAt($endAt) |
365
|
|
|
{ |
366
|
|
|
$this->endAt = $endAt; |
367
|
|
|
} |
368
|
|
|
|
369
|
|
|
public function setStartAt($startAt) |
370
|
|
|
{ |
371
|
|
|
$this->startAt = $startAt; |
372
|
|
|
} |
373
|
|
|
|
374
|
|
|
} |
375
|
|
|
|
376
|
|
|
class PddTicketSkuRuleEditRequest_OrderLimitation extends PopBaseJsonEntity |
377
|
|
|
{ |
378
|
|
|
|
379
|
|
|
public function __construct() |
380
|
|
|
{ |
381
|
|
|
|
382
|
|
|
} |
383
|
|
|
|
384
|
|
|
/** |
385
|
|
|
* @JsonProperty(Integer, "cycle_length") |
386
|
|
|
*/ |
387
|
|
|
private $cycleLength; |
388
|
|
|
|
389
|
|
|
/** |
390
|
|
|
* @JsonProperty(Integer, "limitation_type") |
391
|
|
|
*/ |
392
|
|
|
private $limitationType; |
393
|
|
|
|
394
|
|
|
/** |
395
|
|
|
* @JsonProperty(Integer, "limit_cycle") |
396
|
|
|
*/ |
397
|
|
|
private $limitCycle; |
398
|
|
|
|
399
|
|
|
/** |
400
|
|
|
* @JsonProperty(Integer, "limit_num") |
401
|
|
|
*/ |
402
|
|
|
private $limitNum; |
403
|
|
|
|
404
|
|
|
public function setCycleLength($cycleLength) |
405
|
|
|
{ |
406
|
|
|
$this->cycleLength = $cycleLength; |
407
|
|
|
} |
408
|
|
|
|
409
|
|
|
public function setLimitationType($limitationType) |
410
|
|
|
{ |
411
|
|
|
$this->limitationType = $limitationType; |
412
|
|
|
} |
413
|
|
|
|
414
|
|
|
public function setLimitCycle($limitCycle) |
415
|
|
|
{ |
416
|
|
|
$this->limitCycle = $limitCycle; |
417
|
|
|
} |
418
|
|
|
|
419
|
|
|
public function setLimitNum($limitNum) |
420
|
|
|
{ |
421
|
|
|
$this->limitNum = $limitNum; |
422
|
|
|
} |
423
|
|
|
|
424
|
|
|
} |
425
|
|
|
|
426
|
|
|
class PddTicketSkuRuleEditRequest_ProviderContactInfo extends PopBaseJsonEntity |
427
|
|
|
{ |
428
|
|
|
|
429
|
|
|
public function __construct() |
430
|
|
|
{ |
431
|
|
|
|
432
|
|
|
} |
433
|
|
|
|
434
|
|
|
/** |
435
|
|
|
* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleEditRequest_ProviderContactInfoProviderBusinessHourItem>, "provider_business_hour") |
436
|
|
|
*/ |
437
|
|
|
private $providerBusinessHour; |
438
|
|
|
|
439
|
|
|
/** |
440
|
|
|
* @JsonProperty(String, "provider_name") |
441
|
|
|
*/ |
442
|
|
|
private $providerName; |
443
|
|
|
|
444
|
|
|
/** |
445
|
|
|
* @JsonProperty(String, "provider_telephone") |
446
|
|
|
*/ |
447
|
|
|
private $providerTelephone; |
448
|
|
|
|
449
|
|
|
public function setProviderBusinessHour($providerBusinessHour) |
450
|
|
|
{ |
451
|
|
|
$this->providerBusinessHour = $providerBusinessHour; |
452
|
|
|
} |
453
|
|
|
|
454
|
|
|
public function setProviderName($providerName) |
455
|
|
|
{ |
456
|
|
|
$this->providerName = $providerName; |
457
|
|
|
} |
458
|
|
|
|
459
|
|
|
public function setProviderTelephone($providerTelephone) |
460
|
|
|
{ |
461
|
|
|
$this->providerTelephone = $providerTelephone; |
462
|
|
|
} |
463
|
|
|
|
464
|
|
|
} |
465
|
|
|
|
466
|
|
|
class PddTicketSkuRuleEditRequest_ProviderContactInfoProviderBusinessHourItem extends PopBaseJsonEntity |
467
|
|
|
{ |
468
|
|
|
|
469
|
|
|
public function __construct() |
470
|
|
|
{ |
471
|
|
|
|
472
|
|
|
} |
473
|
|
|
|
474
|
|
|
/** |
475
|
|
|
* @JsonProperty(String, "close_at") |
476
|
|
|
*/ |
477
|
|
|
private $closeAt; |
478
|
|
|
|
479
|
|
|
/** |
480
|
|
|
* @JsonProperty(String, "open_at") |
481
|
|
|
*/ |
482
|
|
|
private $openAt; |
483
|
|
|
|
484
|
|
|
/** |
485
|
|
|
* @JsonProperty(String, "time_info") |
486
|
|
|
*/ |
487
|
|
|
private $timeInfo; |
488
|
|
|
|
489
|
|
|
public function setCloseAt($closeAt) |
490
|
|
|
{ |
491
|
|
|
$this->closeAt = $closeAt; |
492
|
|
|
} |
493
|
|
|
|
494
|
|
|
public function setOpenAt($openAt) |
495
|
|
|
{ |
496
|
|
|
$this->openAt = $openAt; |
497
|
|
|
} |
498
|
|
|
|
499
|
|
|
public function setTimeInfo($timeInfo) |
500
|
|
|
{ |
501
|
|
|
$this->timeInfo = $timeInfo; |
502
|
|
|
} |
503
|
|
|
|
504
|
|
|
} |
505
|
|
|
|
506
|
|
|
class PddTicketSkuRuleEditRequest_RefundLimitations extends PopBaseJsonEntity |
507
|
|
|
{ |
508
|
|
|
|
509
|
|
|
public function __construct() |
510
|
|
|
{ |
511
|
|
|
|
512
|
|
|
} |
513
|
|
|
|
514
|
|
|
/** |
515
|
|
|
* @JsonProperty(Integer, "is_refundable") |
516
|
|
|
*/ |
517
|
|
|
private $isRefundable; |
518
|
|
|
|
519
|
|
|
/** |
520
|
|
|
* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleEditRequest_RefundLimitationsRefundRulesItem>, "refund_rules") |
521
|
|
|
*/ |
522
|
|
|
private $refundRules; |
523
|
|
|
|
524
|
|
|
public function setIsRefundable($isRefundable) |
525
|
|
|
{ |
526
|
|
|
$this->isRefundable = $isRefundable; |
527
|
|
|
} |
528
|
|
|
|
529
|
|
|
public function setRefundRules($refundRules) |
530
|
|
|
{ |
531
|
|
|
$this->refundRules = $refundRules; |
532
|
|
|
} |
533
|
|
|
|
534
|
|
|
} |
535
|
|
|
|
536
|
|
|
class PddTicketSkuRuleEditRequest_RefundLimitationsRefundRulesItem extends PopBaseJsonEntity |
537
|
|
|
{ |
538
|
|
|
|
539
|
|
|
public function __construct() |
540
|
|
|
{ |
541
|
|
|
|
542
|
|
|
} |
543
|
|
|
|
544
|
|
|
/** |
545
|
|
|
* @JsonProperty(Integer, "ahead_time") |
546
|
|
|
*/ |
547
|
|
|
private $aheadTime; |
548
|
|
|
|
549
|
|
|
/** |
550
|
|
|
* @JsonProperty(Integer, "deduction_fee") |
551
|
|
|
*/ |
552
|
|
|
private $deductionFee; |
553
|
|
|
|
554
|
|
|
/** |
555
|
|
|
* @JsonProperty(Integer, "deduction_unit") |
556
|
|
|
*/ |
557
|
|
|
private $deductionUnit; |
558
|
|
|
|
559
|
|
|
/** |
560
|
|
|
* @JsonProperty(Integer, "type") |
561
|
|
|
*/ |
562
|
|
|
private $type; |
563
|
|
|
|
564
|
|
|
public function setAheadTime($aheadTime) |
565
|
|
|
{ |
566
|
|
|
$this->aheadTime = $aheadTime; |
567
|
|
|
} |
568
|
|
|
|
569
|
|
|
public function setDeductionFee($deductionFee) |
570
|
|
|
{ |
571
|
|
|
$this->deductionFee = $deductionFee; |
572
|
|
|
} |
573
|
|
|
|
574
|
|
|
public function setDeductionUnit($deductionUnit) |
575
|
|
|
{ |
576
|
|
|
$this->deductionUnit = $deductionUnit; |
577
|
|
|
} |
578
|
|
|
|
579
|
|
|
public function setType($type) |
580
|
|
|
{ |
581
|
|
|
$this->type = $type; |
582
|
|
|
} |
583
|
|
|
|
584
|
|
|
} |
585
|
|
|
|
586
|
|
|
class PddTicketSkuRuleEditRequest_TravelerInfoLimitation extends PopBaseJsonEntity |
587
|
|
|
{ |
588
|
|
|
|
589
|
|
|
public function __construct() |
590
|
|
|
{ |
591
|
|
|
|
592
|
|
|
} |
593
|
|
|
|
594
|
|
|
/** |
595
|
|
|
* @JsonProperty(Integer, "credential") |
596
|
|
|
*/ |
597
|
|
|
private $credential; |
598
|
|
|
|
599
|
|
|
/** |
600
|
|
|
* @JsonProperty(Integer, "name") |
601
|
|
|
*/ |
602
|
|
|
private $name; |
603
|
|
|
|
604
|
|
|
/** |
605
|
|
|
* @JsonProperty(Integer, "traveler_required") |
606
|
|
|
*/ |
607
|
|
|
private $travelerRequired; |
608
|
|
|
|
609
|
|
|
public function setCredential($credential) |
610
|
|
|
{ |
611
|
|
|
$this->credential = $credential; |
612
|
|
|
} |
613
|
|
|
|
614
|
|
|
public function setName($name) |
615
|
|
|
{ |
616
|
|
|
$this->name = $name; |
617
|
|
|
} |
618
|
|
|
|
619
|
|
|
public function setTravelerRequired($travelerRequired) |
620
|
|
|
{ |
621
|
|
|
$this->travelerRequired = $travelerRequired; |
622
|
|
|
} |
623
|
|
|
|
624
|
|
|
} |
625
|
|
|
|
626
|
|
|
class PddTicketSkuRuleEditRequest_ValidLimitation extends PopBaseJsonEntity |
627
|
|
|
{ |
628
|
|
|
|
629
|
|
|
public function __construct() |
630
|
|
|
{ |
631
|
|
|
|
632
|
|
|
} |
633
|
|
|
|
634
|
|
|
/** |
635
|
|
|
* @JsonProperty(Integer, "days_time") |
636
|
|
|
*/ |
637
|
|
|
private $daysTime; |
638
|
|
|
|
639
|
|
|
/** |
640
|
|
|
* @JsonProperty(Long, "end_time") |
641
|
|
|
*/ |
642
|
|
|
private $endTime; |
643
|
|
|
|
644
|
|
|
/** |
645
|
|
|
* @JsonProperty(Long, "start_time") |
646
|
|
|
*/ |
647
|
|
|
private $startTime; |
648
|
|
|
|
649
|
|
|
/** |
650
|
|
|
* @JsonProperty(Integer, "time_type") |
651
|
|
|
*/ |
652
|
|
|
private $timeType; |
653
|
|
|
|
654
|
|
|
public function setDaysTime($daysTime) |
655
|
|
|
{ |
656
|
|
|
$this->daysTime = $daysTime; |
657
|
|
|
} |
658
|
|
|
|
659
|
|
|
public function setEndTime($endTime) |
660
|
|
|
{ |
661
|
|
|
$this->endTime = $endTime; |
662
|
|
|
} |
663
|
|
|
|
664
|
|
|
public function setStartTime($startTime) |
665
|
|
|
{ |
666
|
|
|
$this->startTime = $startTime; |
667
|
|
|
} |
668
|
|
|
|
669
|
|
|
public function setTimeType($timeType) |
670
|
|
|
{ |
671
|
|
|
$this->timeType = $timeType; |
672
|
|
|
} |
673
|
|
|
|
674
|
|
|
} |
675
|
|
|
|