@@ -7,185 +7,185 @@ |
||
7 | 7 | class PddFlightRefundableRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(String, "trace_id") |
|
15 | - */ |
|
16 | - private $traceId; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(String, "sub_trace_id") |
|
20 | - */ |
|
21 | - private $subTraceId; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(String, "out_order_no") |
|
25 | - */ |
|
26 | - private $outOrderNo; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(String, "parent_travel_sn") |
|
30 | - */ |
|
31 | - private $parentTravelSn; |
|
32 | - |
|
33 | - /** |
|
34 | - * @JsonProperty(Integer, "refund_type") |
|
35 | - */ |
|
36 | - private $refundType; |
|
37 | - |
|
38 | - /** |
|
39 | - * @JsonProperty(String, "refund_reason") |
|
40 | - */ |
|
41 | - private $refundReason; |
|
42 | - |
|
43 | - /** |
|
44 | - * @JsonProperty(String, "attachment_path") |
|
45 | - */ |
|
46 | - private $attachmentPath; |
|
47 | - |
|
48 | - /** |
|
49 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightRefundableRequest_PassengerInfoListItem>, "passenger_info_list") |
|
50 | - */ |
|
51 | - private $passengerInfoList; |
|
52 | - |
|
53 | - protected function setUserParams(&$params) |
|
54 | - { |
|
55 | - $this->setUserParam($params, "trace_id", $this->traceId); |
|
56 | - $this->setUserParam($params, "sub_trace_id", $this->subTraceId); |
|
57 | - $this->setUserParam($params, "out_order_no", $this->outOrderNo); |
|
58 | - $this->setUserParam($params, "parent_travel_sn", $this->parentTravelSn); |
|
59 | - $this->setUserParam($params, "refund_type", $this->refundType); |
|
60 | - $this->setUserParam($params, "refund_reason", $this->refundReason); |
|
61 | - $this->setUserParam($params, "attachment_path", $this->attachmentPath); |
|
62 | - $this->setUserParam($params, "passenger_info_list", $this->passengerInfoList); |
|
63 | - |
|
64 | - } |
|
65 | - |
|
66 | - public function getVersion() |
|
67 | - { |
|
68 | - return "V1"; |
|
69 | - } |
|
70 | - |
|
71 | - public function getDataType() |
|
72 | - { |
|
73 | - return "JSON"; |
|
74 | - } |
|
75 | - |
|
76 | - public function getType() |
|
77 | - { |
|
78 | - return "pdd.flight.refundable"; |
|
79 | - } |
|
80 | - |
|
81 | - public function setTraceId($traceId) |
|
82 | - { |
|
83 | - $this->traceId = $traceId; |
|
84 | - } |
|
85 | - |
|
86 | - public function setSubTraceId($subTraceId) |
|
87 | - { |
|
88 | - $this->subTraceId = $subTraceId; |
|
89 | - } |
|
90 | - |
|
91 | - public function setOutOrderNo($outOrderNo) |
|
92 | - { |
|
93 | - $this->outOrderNo = $outOrderNo; |
|
94 | - } |
|
95 | - |
|
96 | - public function setParentTravelSn($parentTravelSn) |
|
97 | - { |
|
98 | - $this->parentTravelSn = $parentTravelSn; |
|
99 | - } |
|
100 | - |
|
101 | - public function setRefundType($refundType) |
|
102 | - { |
|
103 | - $this->refundType = $refundType; |
|
104 | - } |
|
105 | - |
|
106 | - public function setRefundReason($refundReason) |
|
107 | - { |
|
108 | - $this->refundReason = $refundReason; |
|
109 | - } |
|
110 | - |
|
111 | - public function setAttachmentPath($attachmentPath) |
|
112 | - { |
|
113 | - $this->attachmentPath = $attachmentPath; |
|
114 | - } |
|
115 | - |
|
116 | - public function setPassengerInfoList($passengerInfoList) |
|
117 | - { |
|
118 | - $this->passengerInfoList = $passengerInfoList; |
|
119 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "trace_id") |
|
15 | + */ |
|
16 | + private $traceId; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(String, "sub_trace_id") |
|
20 | + */ |
|
21 | + private $subTraceId; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(String, "out_order_no") |
|
25 | + */ |
|
26 | + private $outOrderNo; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(String, "parent_travel_sn") |
|
30 | + */ |
|
31 | + private $parentTravelSn; |
|
32 | + |
|
33 | + /** |
|
34 | + * @JsonProperty(Integer, "refund_type") |
|
35 | + */ |
|
36 | + private $refundType; |
|
37 | + |
|
38 | + /** |
|
39 | + * @JsonProperty(String, "refund_reason") |
|
40 | + */ |
|
41 | + private $refundReason; |
|
42 | + |
|
43 | + /** |
|
44 | + * @JsonProperty(String, "attachment_path") |
|
45 | + */ |
|
46 | + private $attachmentPath; |
|
47 | + |
|
48 | + /** |
|
49 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightRefundableRequest_PassengerInfoListItem>, "passenger_info_list") |
|
50 | + */ |
|
51 | + private $passengerInfoList; |
|
52 | + |
|
53 | + protected function setUserParams(&$params) |
|
54 | + { |
|
55 | + $this->setUserParam($params, "trace_id", $this->traceId); |
|
56 | + $this->setUserParam($params, "sub_trace_id", $this->subTraceId); |
|
57 | + $this->setUserParam($params, "out_order_no", $this->outOrderNo); |
|
58 | + $this->setUserParam($params, "parent_travel_sn", $this->parentTravelSn); |
|
59 | + $this->setUserParam($params, "refund_type", $this->refundType); |
|
60 | + $this->setUserParam($params, "refund_reason", $this->refundReason); |
|
61 | + $this->setUserParam($params, "attachment_path", $this->attachmentPath); |
|
62 | + $this->setUserParam($params, "passenger_info_list", $this->passengerInfoList); |
|
63 | + |
|
64 | + } |
|
65 | + |
|
66 | + public function getVersion() |
|
67 | + { |
|
68 | + return "V1"; |
|
69 | + } |
|
70 | + |
|
71 | + public function getDataType() |
|
72 | + { |
|
73 | + return "JSON"; |
|
74 | + } |
|
75 | + |
|
76 | + public function getType() |
|
77 | + { |
|
78 | + return "pdd.flight.refundable"; |
|
79 | + } |
|
80 | + |
|
81 | + public function setTraceId($traceId) |
|
82 | + { |
|
83 | + $this->traceId = $traceId; |
|
84 | + } |
|
85 | + |
|
86 | + public function setSubTraceId($subTraceId) |
|
87 | + { |
|
88 | + $this->subTraceId = $subTraceId; |
|
89 | + } |
|
90 | + |
|
91 | + public function setOutOrderNo($outOrderNo) |
|
92 | + { |
|
93 | + $this->outOrderNo = $outOrderNo; |
|
94 | + } |
|
95 | + |
|
96 | + public function setParentTravelSn($parentTravelSn) |
|
97 | + { |
|
98 | + $this->parentTravelSn = $parentTravelSn; |
|
99 | + } |
|
100 | + |
|
101 | + public function setRefundType($refundType) |
|
102 | + { |
|
103 | + $this->refundType = $refundType; |
|
104 | + } |
|
105 | + |
|
106 | + public function setRefundReason($refundReason) |
|
107 | + { |
|
108 | + $this->refundReason = $refundReason; |
|
109 | + } |
|
110 | + |
|
111 | + public function setAttachmentPath($attachmentPath) |
|
112 | + { |
|
113 | + $this->attachmentPath = $attachmentPath; |
|
114 | + } |
|
115 | + |
|
116 | + public function setPassengerInfoList($passengerInfoList) |
|
117 | + { |
|
118 | + $this->passengerInfoList = $passengerInfoList; |
|
119 | + } |
|
120 | 120 | |
121 | 121 | } |
122 | 122 | |
123 | 123 | class PddFlightRefundableRequest_PassengerInfoListItem extends PopBaseJsonEntity |
124 | 124 | { |
125 | 125 | |
126 | - public function __construct() |
|
127 | - { |
|
128 | - |
|
129 | - } |
|
130 | - |
|
131 | - /** |
|
132 | - * @JsonProperty(String, "passenger_type") |
|
133 | - */ |
|
134 | - private $passengerType; |
|
135 | - |
|
136 | - /** |
|
137 | - * @JsonProperty(String, "name") |
|
138 | - */ |
|
139 | - private $name; |
|
140 | - |
|
141 | - /** |
|
142 | - * @JsonProperty(String, "identity_type") |
|
143 | - */ |
|
144 | - private $identityType; |
|
145 | - |
|
146 | - /** |
|
147 | - * @JsonProperty(String, "identity_no") |
|
148 | - */ |
|
149 | - private $identityNo; |
|
150 | - |
|
151 | - /** |
|
152 | - * @JsonProperty(String, "travel_sn") |
|
153 | - */ |
|
154 | - private $travelSn; |
|
155 | - |
|
156 | - /** |
|
157 | - * @JsonProperty(String, "ticket_no") |
|
158 | - */ |
|
159 | - private $ticketNo; |
|
160 | - |
|
161 | - public function setPassengerType($passengerType) |
|
162 | - { |
|
163 | - $this->passengerType = $passengerType; |
|
164 | - } |
|
165 | - |
|
166 | - public function setName($name) |
|
167 | - { |
|
168 | - $this->name = $name; |
|
169 | - } |
|
170 | - |
|
171 | - public function setIdentityType($identityType) |
|
172 | - { |
|
173 | - $this->identityType = $identityType; |
|
174 | - } |
|
175 | - |
|
176 | - public function setIdentityNo($identityNo) |
|
177 | - { |
|
178 | - $this->identityNo = $identityNo; |
|
179 | - } |
|
180 | - |
|
181 | - public function setTravelSn($travelSn) |
|
182 | - { |
|
183 | - $this->travelSn = $travelSn; |
|
184 | - } |
|
185 | - |
|
186 | - public function setTicketNo($ticketNo) |
|
187 | - { |
|
188 | - $this->ticketNo = $ticketNo; |
|
189 | - } |
|
126 | + public function __construct() |
|
127 | + { |
|
128 | + |
|
129 | + } |
|
130 | + |
|
131 | + /** |
|
132 | + * @JsonProperty(String, "passenger_type") |
|
133 | + */ |
|
134 | + private $passengerType; |
|
135 | + |
|
136 | + /** |
|
137 | + * @JsonProperty(String, "name") |
|
138 | + */ |
|
139 | + private $name; |
|
140 | + |
|
141 | + /** |
|
142 | + * @JsonProperty(String, "identity_type") |
|
143 | + */ |
|
144 | + private $identityType; |
|
145 | + |
|
146 | + /** |
|
147 | + * @JsonProperty(String, "identity_no") |
|
148 | + */ |
|
149 | + private $identityNo; |
|
150 | + |
|
151 | + /** |
|
152 | + * @JsonProperty(String, "travel_sn") |
|
153 | + */ |
|
154 | + private $travelSn; |
|
155 | + |
|
156 | + /** |
|
157 | + * @JsonProperty(String, "ticket_no") |
|
158 | + */ |
|
159 | + private $ticketNo; |
|
160 | + |
|
161 | + public function setPassengerType($passengerType) |
|
162 | + { |
|
163 | + $this->passengerType = $passengerType; |
|
164 | + } |
|
165 | + |
|
166 | + public function setName($name) |
|
167 | + { |
|
168 | + $this->name = $name; |
|
169 | + } |
|
170 | + |
|
171 | + public function setIdentityType($identityType) |
|
172 | + { |
|
173 | + $this->identityType = $identityType; |
|
174 | + } |
|
175 | + |
|
176 | + public function setIdentityNo($identityNo) |
|
177 | + { |
|
178 | + $this->identityNo = $identityNo; |
|
179 | + } |
|
180 | + |
|
181 | + public function setTravelSn($travelSn) |
|
182 | + { |
|
183 | + $this->travelSn = $travelSn; |
|
184 | + } |
|
185 | + |
|
186 | + public function setTicketNo($ticketNo) |
|
187 | + { |
|
188 | + $this->ticketNo = $ticketNo; |
|
189 | + } |
|
190 | 190 | |
191 | 191 | } |
@@ -7,234 +7,234 @@ |
||
7 | 7 | class PddFlightChangeableFlightListRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(String, "trace_id") |
|
15 | - */ |
|
16 | - private $traceId; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(String, "sub_trace_id") |
|
20 | - */ |
|
21 | - private $subTraceId; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(String, "trip_type") |
|
25 | - */ |
|
26 | - private $tripType; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(String, "parent_travel_sn") |
|
30 | - */ |
|
31 | - private $parentTravelSn; |
|
32 | - |
|
33 | - /** |
|
34 | - * @JsonProperty(String, "out_order_no") |
|
35 | - */ |
|
36 | - private $outOrderNo; |
|
37 | - |
|
38 | - /** |
|
39 | - * @JsonProperty(String, "change_date") |
|
40 | - */ |
|
41 | - private $changeDate; |
|
42 | - |
|
43 | - /** |
|
44 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightChangeableFlightListRequest_PassengerInfoListItem>, "passenger_info_list") |
|
45 | - */ |
|
46 | - private $passengerInfoList; |
|
47 | - |
|
48 | - protected function setUserParams(&$params) |
|
49 | - { |
|
50 | - $this->setUserParam($params, "trace_id", $this->traceId); |
|
51 | - $this->setUserParam($params, "sub_trace_id", $this->subTraceId); |
|
52 | - $this->setUserParam($params, "trip_type", $this->tripType); |
|
53 | - $this->setUserParam($params, "parent_travel_sn", $this->parentTravelSn); |
|
54 | - $this->setUserParam($params, "out_order_no", $this->outOrderNo); |
|
55 | - $this->setUserParam($params, "change_date", $this->changeDate); |
|
56 | - $this->setUserParam($params, "passenger_info_list", $this->passengerInfoList); |
|
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.flight.changeable.flight.list"; |
|
73 | - } |
|
74 | - |
|
75 | - public function setTraceId($traceId) |
|
76 | - { |
|
77 | - $this->traceId = $traceId; |
|
78 | - } |
|
79 | - |
|
80 | - public function setSubTraceId($subTraceId) |
|
81 | - { |
|
82 | - $this->subTraceId = $subTraceId; |
|
83 | - } |
|
84 | - |
|
85 | - public function setTripType($tripType) |
|
86 | - { |
|
87 | - $this->tripType = $tripType; |
|
88 | - } |
|
89 | - |
|
90 | - public function setParentTravelSn($parentTravelSn) |
|
91 | - { |
|
92 | - $this->parentTravelSn = $parentTravelSn; |
|
93 | - } |
|
94 | - |
|
95 | - public function setOutOrderNo($outOrderNo) |
|
96 | - { |
|
97 | - $this->outOrderNo = $outOrderNo; |
|
98 | - } |
|
99 | - |
|
100 | - public function setChangeDate($changeDate) |
|
101 | - { |
|
102 | - $this->changeDate = $changeDate; |
|
103 | - } |
|
104 | - |
|
105 | - public function setPassengerInfoList($passengerInfoList) |
|
106 | - { |
|
107 | - $this->passengerInfoList = $passengerInfoList; |
|
108 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "trace_id") |
|
15 | + */ |
|
16 | + private $traceId; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(String, "sub_trace_id") |
|
20 | + */ |
|
21 | + private $subTraceId; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(String, "trip_type") |
|
25 | + */ |
|
26 | + private $tripType; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(String, "parent_travel_sn") |
|
30 | + */ |
|
31 | + private $parentTravelSn; |
|
32 | + |
|
33 | + /** |
|
34 | + * @JsonProperty(String, "out_order_no") |
|
35 | + */ |
|
36 | + private $outOrderNo; |
|
37 | + |
|
38 | + /** |
|
39 | + * @JsonProperty(String, "change_date") |
|
40 | + */ |
|
41 | + private $changeDate; |
|
42 | + |
|
43 | + /** |
|
44 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightChangeableFlightListRequest_PassengerInfoListItem>, "passenger_info_list") |
|
45 | + */ |
|
46 | + private $passengerInfoList; |
|
47 | + |
|
48 | + protected function setUserParams(&$params) |
|
49 | + { |
|
50 | + $this->setUserParam($params, "trace_id", $this->traceId); |
|
51 | + $this->setUserParam($params, "sub_trace_id", $this->subTraceId); |
|
52 | + $this->setUserParam($params, "trip_type", $this->tripType); |
|
53 | + $this->setUserParam($params, "parent_travel_sn", $this->parentTravelSn); |
|
54 | + $this->setUserParam($params, "out_order_no", $this->outOrderNo); |
|
55 | + $this->setUserParam($params, "change_date", $this->changeDate); |
|
56 | + $this->setUserParam($params, "passenger_info_list", $this->passengerInfoList); |
|
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.flight.changeable.flight.list"; |
|
73 | + } |
|
74 | + |
|
75 | + public function setTraceId($traceId) |
|
76 | + { |
|
77 | + $this->traceId = $traceId; |
|
78 | + } |
|
79 | + |
|
80 | + public function setSubTraceId($subTraceId) |
|
81 | + { |
|
82 | + $this->subTraceId = $subTraceId; |
|
83 | + } |
|
84 | + |
|
85 | + public function setTripType($tripType) |
|
86 | + { |
|
87 | + $this->tripType = $tripType; |
|
88 | + } |
|
89 | + |
|
90 | + public function setParentTravelSn($parentTravelSn) |
|
91 | + { |
|
92 | + $this->parentTravelSn = $parentTravelSn; |
|
93 | + } |
|
94 | + |
|
95 | + public function setOutOrderNo($outOrderNo) |
|
96 | + { |
|
97 | + $this->outOrderNo = $outOrderNo; |
|
98 | + } |
|
99 | + |
|
100 | + public function setChangeDate($changeDate) |
|
101 | + { |
|
102 | + $this->changeDate = $changeDate; |
|
103 | + } |
|
104 | + |
|
105 | + public function setPassengerInfoList($passengerInfoList) |
|
106 | + { |
|
107 | + $this->passengerInfoList = $passengerInfoList; |
|
108 | + } |
|
109 | 109 | |
110 | 110 | } |
111 | 111 | |
112 | 112 | class PddFlightChangeableFlightListRequest_PassengerInfoListItem extends PopBaseJsonEntity |
113 | 113 | { |
114 | 114 | |
115 | - public function __construct() |
|
116 | - { |
|
117 | - |
|
118 | - } |
|
119 | - |
|
120 | - /** |
|
121 | - * @JsonProperty(String, "passenger_type") |
|
122 | - */ |
|
123 | - private $passengerType; |
|
124 | - |
|
125 | - /** |
|
126 | - * @JsonProperty(String, "name") |
|
127 | - */ |
|
128 | - private $name; |
|
129 | - |
|
130 | - /** |
|
131 | - * @JsonProperty(String, "identity_type") |
|
132 | - */ |
|
133 | - private $identityType; |
|
134 | - |
|
135 | - /** |
|
136 | - * @JsonProperty(String, "identity_no") |
|
137 | - */ |
|
138 | - private $identityNo; |
|
139 | - |
|
140 | - /** |
|
141 | - * @JsonProperty(String, "travel_sn") |
|
142 | - */ |
|
143 | - private $travelSn; |
|
144 | - |
|
145 | - /** |
|
146 | - * @JsonProperty(String, "ticket_no") |
|
147 | - */ |
|
148 | - private $ticketNo; |
|
149 | - |
|
150 | - /** |
|
151 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightChangeableFlightListRequest_PassengerInfoListItemFlightListItem>, "flight_list") |
|
152 | - */ |
|
153 | - private $flightList; |
|
154 | - |
|
155 | - public function setPassengerType($passengerType) |
|
156 | - { |
|
157 | - $this->passengerType = $passengerType; |
|
158 | - } |
|
159 | - |
|
160 | - public function setName($name) |
|
161 | - { |
|
162 | - $this->name = $name; |
|
163 | - } |
|
164 | - |
|
165 | - public function setIdentityType($identityType) |
|
166 | - { |
|
167 | - $this->identityType = $identityType; |
|
168 | - } |
|
169 | - |
|
170 | - public function setIdentityNo($identityNo) |
|
171 | - { |
|
172 | - $this->identityNo = $identityNo; |
|
173 | - } |
|
174 | - |
|
175 | - public function setTravelSn($travelSn) |
|
176 | - { |
|
177 | - $this->travelSn = $travelSn; |
|
178 | - } |
|
179 | - |
|
180 | - public function setTicketNo($ticketNo) |
|
181 | - { |
|
182 | - $this->ticketNo = $ticketNo; |
|
183 | - } |
|
184 | - |
|
185 | - public function setFlightList($flightList) |
|
186 | - { |
|
187 | - $this->flightList = $flightList; |
|
188 | - } |
|
115 | + public function __construct() |
|
116 | + { |
|
117 | + |
|
118 | + } |
|
119 | + |
|
120 | + /** |
|
121 | + * @JsonProperty(String, "passenger_type") |
|
122 | + */ |
|
123 | + private $passengerType; |
|
124 | + |
|
125 | + /** |
|
126 | + * @JsonProperty(String, "name") |
|
127 | + */ |
|
128 | + private $name; |
|
129 | + |
|
130 | + /** |
|
131 | + * @JsonProperty(String, "identity_type") |
|
132 | + */ |
|
133 | + private $identityType; |
|
134 | + |
|
135 | + /** |
|
136 | + * @JsonProperty(String, "identity_no") |
|
137 | + */ |
|
138 | + private $identityNo; |
|
139 | + |
|
140 | + /** |
|
141 | + * @JsonProperty(String, "travel_sn") |
|
142 | + */ |
|
143 | + private $travelSn; |
|
144 | + |
|
145 | + /** |
|
146 | + * @JsonProperty(String, "ticket_no") |
|
147 | + */ |
|
148 | + private $ticketNo; |
|
149 | + |
|
150 | + /** |
|
151 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightChangeableFlightListRequest_PassengerInfoListItemFlightListItem>, "flight_list") |
|
152 | + */ |
|
153 | + private $flightList; |
|
154 | + |
|
155 | + public function setPassengerType($passengerType) |
|
156 | + { |
|
157 | + $this->passengerType = $passengerType; |
|
158 | + } |
|
159 | + |
|
160 | + public function setName($name) |
|
161 | + { |
|
162 | + $this->name = $name; |
|
163 | + } |
|
164 | + |
|
165 | + public function setIdentityType($identityType) |
|
166 | + { |
|
167 | + $this->identityType = $identityType; |
|
168 | + } |
|
169 | + |
|
170 | + public function setIdentityNo($identityNo) |
|
171 | + { |
|
172 | + $this->identityNo = $identityNo; |
|
173 | + } |
|
174 | + |
|
175 | + public function setTravelSn($travelSn) |
|
176 | + { |
|
177 | + $this->travelSn = $travelSn; |
|
178 | + } |
|
179 | + |
|
180 | + public function setTicketNo($ticketNo) |
|
181 | + { |
|
182 | + $this->ticketNo = $ticketNo; |
|
183 | + } |
|
184 | + |
|
185 | + public function setFlightList($flightList) |
|
186 | + { |
|
187 | + $this->flightList = $flightList; |
|
188 | + } |
|
189 | 189 | |
190 | 190 | } |
191 | 191 | |
192 | 192 | class PddFlightChangeableFlightListRequest_PassengerInfoListItemFlightListItem extends PopBaseJsonEntity |
193 | 193 | { |
194 | 194 | |
195 | - public function __construct() |
|
196 | - { |
|
197 | - |
|
198 | - } |
|
199 | - |
|
200 | - /** |
|
201 | - * @JsonProperty(String, "flight_no") |
|
202 | - */ |
|
203 | - private $flightNo; |
|
204 | - |
|
205 | - /** |
|
206 | - * @JsonProperty(Integer, "segment_no") |
|
207 | - */ |
|
208 | - private $segmentNo; |
|
209 | - |
|
210 | - /** |
|
211 | - * @JsonProperty(Integer, "sequence_no") |
|
212 | - */ |
|
213 | - private $sequenceNo; |
|
214 | - |
|
215 | - /** |
|
216 | - * @JsonProperty(String, "sub_class") |
|
217 | - */ |
|
218 | - private $subClass; |
|
219 | - |
|
220 | - public function setFlightNo($flightNo) |
|
221 | - { |
|
222 | - $this->flightNo = $flightNo; |
|
223 | - } |
|
224 | - |
|
225 | - public function setSegmentNo($segmentNo) |
|
226 | - { |
|
227 | - $this->segmentNo = $segmentNo; |
|
228 | - } |
|
229 | - |
|
230 | - public function setSequenceNo($sequenceNo) |
|
231 | - { |
|
232 | - $this->sequenceNo = $sequenceNo; |
|
233 | - } |
|
234 | - |
|
235 | - public function setSubClass($subClass) |
|
236 | - { |
|
237 | - $this->subClass = $subClass; |
|
238 | - } |
|
195 | + public function __construct() |
|
196 | + { |
|
197 | + |
|
198 | + } |
|
199 | + |
|
200 | + /** |
|
201 | + * @JsonProperty(String, "flight_no") |
|
202 | + */ |
|
203 | + private $flightNo; |
|
204 | + |
|
205 | + /** |
|
206 | + * @JsonProperty(Integer, "segment_no") |
|
207 | + */ |
|
208 | + private $segmentNo; |
|
209 | + |
|
210 | + /** |
|
211 | + * @JsonProperty(Integer, "sequence_no") |
|
212 | + */ |
|
213 | + private $sequenceNo; |
|
214 | + |
|
215 | + /** |
|
216 | + * @JsonProperty(String, "sub_class") |
|
217 | + */ |
|
218 | + private $subClass; |
|
219 | + |
|
220 | + public function setFlightNo($flightNo) |
|
221 | + { |
|
222 | + $this->flightNo = $flightNo; |
|
223 | + } |
|
224 | + |
|
225 | + public function setSegmentNo($segmentNo) |
|
226 | + { |
|
227 | + $this->segmentNo = $segmentNo; |
|
228 | + } |
|
229 | + |
|
230 | + public function setSequenceNo($sequenceNo) |
|
231 | + { |
|
232 | + $this->sequenceNo = $sequenceNo; |
|
233 | + } |
|
234 | + |
|
235 | + public function setSubClass($subClass) |
|
236 | + { |
|
237 | + $this->subClass = $subClass; |
|
238 | + } |
|
239 | 239 | |
240 | 240 | } |
@@ -7,498 +7,498 @@ |
||
7 | 7 | class PddEinvoiceVendorRuihongIssueInvoiceRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
10 | + { |
|
11 | 11 | |
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceVendorRuihongIssueInvoiceRequest_Request, "request") |
|
15 | - */ |
|
16 | - private $request; |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceVendorRuihongIssueInvoiceRequest_Request, "request") |
|
15 | + */ |
|
16 | + private $request; |
|
17 | 17 | |
18 | - protected function setUserParams(&$params) |
|
19 | - { |
|
20 | - $this->setUserParam($params, "request", $this->request); |
|
18 | + protected function setUserParams(&$params) |
|
19 | + { |
|
20 | + $this->setUserParam($params, "request", $this->request); |
|
21 | 21 | |
22 | - } |
|
22 | + } |
|
23 | 23 | |
24 | - public function getVersion() |
|
25 | - { |
|
26 | - return "V1"; |
|
27 | - } |
|
24 | + public function getVersion() |
|
25 | + { |
|
26 | + return "V1"; |
|
27 | + } |
|
28 | 28 | |
29 | - public function getDataType() |
|
30 | - { |
|
31 | - return "JSON"; |
|
32 | - } |
|
29 | + public function getDataType() |
|
30 | + { |
|
31 | + return "JSON"; |
|
32 | + } |
|
33 | 33 | |
34 | - public function getType() |
|
35 | - { |
|
36 | - return "pdd.einvoice.vendor.ruihong.issue.invoice"; |
|
37 | - } |
|
34 | + public function getType() |
|
35 | + { |
|
36 | + return "pdd.einvoice.vendor.ruihong.issue.invoice"; |
|
37 | + } |
|
38 | 38 | |
39 | - public function setRequest($request) |
|
40 | - { |
|
41 | - $this->request = $request; |
|
42 | - } |
|
39 | + public function setRequest($request) |
|
40 | + { |
|
41 | + $this->request = $request; |
|
42 | + } |
|
43 | 43 | |
44 | 44 | } |
45 | 45 | |
46 | 46 | class PddEinvoiceVendorRuihongIssueInvoiceRequest_Request extends PopBaseJsonEntity |
47 | 47 | { |
48 | 48 | |
49 | - public function __construct() |
|
50 | - { |
|
51 | - |
|
52 | - } |
|
53 | - |
|
54 | - /** |
|
55 | - * @JsonProperty(String, "serialNo") |
|
56 | - */ |
|
57 | - private $serialNo; |
|
58 | - |
|
59 | - /** |
|
60 | - * @JsonProperty(String, "postTime") |
|
61 | - */ |
|
62 | - private $postTime; |
|
63 | - |
|
64 | - /** |
|
65 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceVendorRuihongIssueInvoiceRequest_RequestOrder, "order") |
|
66 | - */ |
|
67 | - private $order; |
|
68 | - |
|
69 | - /** |
|
70 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceVendorRuihongIssueInvoiceRequest_RequestInvoice, "invoice") |
|
71 | - */ |
|
72 | - private $invoice; |
|
73 | - |
|
74 | - /** |
|
75 | - * @JsonProperty(String, "appCode") |
|
76 | - */ |
|
77 | - private $appCode; |
|
78 | - |
|
79 | - /** |
|
80 | - * @JsonProperty(String, "cmdName") |
|
81 | - */ |
|
82 | - private $cmdName; |
|
83 | - |
|
84 | - /** |
|
85 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceVendorRuihongIssueInvoiceRequest_RequestExtendedParams, "extendedParams") |
|
86 | - */ |
|
87 | - private $extendedParams; |
|
88 | - |
|
89 | - /** |
|
90 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceVendorRuihongIssueInvoiceRequest_RequestDynamicParams, "dynamicParams") |
|
91 | - */ |
|
92 | - private $dynamicParams; |
|
93 | - |
|
94 | - public function setSerialNo($serialNo) |
|
95 | - { |
|
96 | - $this->serialNo = $serialNo; |
|
97 | - } |
|
98 | - |
|
99 | - public function setPostTime($postTime) |
|
100 | - { |
|
101 | - $this->postTime = $postTime; |
|
102 | - } |
|
103 | - |
|
104 | - public function setOrder($order) |
|
105 | - { |
|
106 | - $this->order = $order; |
|
107 | - } |
|
108 | - |
|
109 | - public function setInvoice($invoice) |
|
110 | - { |
|
111 | - $this->invoice = $invoice; |
|
112 | - } |
|
113 | - |
|
114 | - public function setAppCode($appCode) |
|
115 | - { |
|
116 | - $this->appCode = $appCode; |
|
117 | - } |
|
118 | - |
|
119 | - public function setCmdName($cmdName) |
|
120 | - { |
|
121 | - $this->cmdName = $cmdName; |
|
122 | - } |
|
123 | - |
|
124 | - public function setExtendedParams($extendedParams) |
|
125 | - { |
|
126 | - $this->extendedParams = $extendedParams; |
|
127 | - } |
|
128 | - |
|
129 | - public function setDynamicParams($dynamicParams) |
|
130 | - { |
|
131 | - $this->dynamicParams = $dynamicParams; |
|
132 | - } |
|
49 | + public function __construct() |
|
50 | + { |
|
51 | + |
|
52 | + } |
|
53 | + |
|
54 | + /** |
|
55 | + * @JsonProperty(String, "serialNo") |
|
56 | + */ |
|
57 | + private $serialNo; |
|
58 | + |
|
59 | + /** |
|
60 | + * @JsonProperty(String, "postTime") |
|
61 | + */ |
|
62 | + private $postTime; |
|
63 | + |
|
64 | + /** |
|
65 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceVendorRuihongIssueInvoiceRequest_RequestOrder, "order") |
|
66 | + */ |
|
67 | + private $order; |
|
68 | + |
|
69 | + /** |
|
70 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceVendorRuihongIssueInvoiceRequest_RequestInvoice, "invoice") |
|
71 | + */ |
|
72 | + private $invoice; |
|
73 | + |
|
74 | + /** |
|
75 | + * @JsonProperty(String, "appCode") |
|
76 | + */ |
|
77 | + private $appCode; |
|
78 | + |
|
79 | + /** |
|
80 | + * @JsonProperty(String, "cmdName") |
|
81 | + */ |
|
82 | + private $cmdName; |
|
83 | + |
|
84 | + /** |
|
85 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceVendorRuihongIssueInvoiceRequest_RequestExtendedParams, "extendedParams") |
|
86 | + */ |
|
87 | + private $extendedParams; |
|
88 | + |
|
89 | + /** |
|
90 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceVendorRuihongIssueInvoiceRequest_RequestDynamicParams, "dynamicParams") |
|
91 | + */ |
|
92 | + private $dynamicParams; |
|
93 | + |
|
94 | + public function setSerialNo($serialNo) |
|
95 | + { |
|
96 | + $this->serialNo = $serialNo; |
|
97 | + } |
|
98 | + |
|
99 | + public function setPostTime($postTime) |
|
100 | + { |
|
101 | + $this->postTime = $postTime; |
|
102 | + } |
|
103 | + |
|
104 | + public function setOrder($order) |
|
105 | + { |
|
106 | + $this->order = $order; |
|
107 | + } |
|
108 | + |
|
109 | + public function setInvoice($invoice) |
|
110 | + { |
|
111 | + $this->invoice = $invoice; |
|
112 | + } |
|
113 | + |
|
114 | + public function setAppCode($appCode) |
|
115 | + { |
|
116 | + $this->appCode = $appCode; |
|
117 | + } |
|
118 | + |
|
119 | + public function setCmdName($cmdName) |
|
120 | + { |
|
121 | + $this->cmdName = $cmdName; |
|
122 | + } |
|
123 | + |
|
124 | + public function setExtendedParams($extendedParams) |
|
125 | + { |
|
126 | + $this->extendedParams = $extendedParams; |
|
127 | + } |
|
128 | + |
|
129 | + public function setDynamicParams($dynamicParams) |
|
130 | + { |
|
131 | + $this->dynamicParams = $dynamicParams; |
|
132 | + } |
|
133 | 133 | |
134 | 134 | } |
135 | 135 | |
136 | 136 | class PddEinvoiceVendorRuihongIssueInvoiceRequest_RequestOrder extends PopBaseJsonEntity |
137 | 137 | { |
138 | 138 | |
139 | - public function __construct() |
|
140 | - { |
|
139 | + public function __construct() |
|
140 | + { |
|
141 | 141 | |
142 | - } |
|
142 | + } |
|
143 | 143 | |
144 | - /** |
|
145 | - * @JsonProperty(String, "orderNo") |
|
146 | - */ |
|
147 | - private $orderNo; |
|
144 | + /** |
|
145 | + * @JsonProperty(String, "orderNo") |
|
146 | + */ |
|
147 | + private $orderNo; |
|
148 | 148 | |
149 | - public function setOrderNo($orderNo) |
|
150 | - { |
|
151 | - $this->orderNo = $orderNo; |
|
152 | - } |
|
149 | + public function setOrderNo($orderNo) |
|
150 | + { |
|
151 | + $this->orderNo = $orderNo; |
|
152 | + } |
|
153 | 153 | |
154 | 154 | } |
155 | 155 | |
156 | 156 | class PddEinvoiceVendorRuihongIssueInvoiceRequest_RequestInvoice extends PopBaseJsonEntity |
157 | 157 | { |
158 | 158 | |
159 | - public function __construct() |
|
160 | - { |
|
161 | - |
|
162 | - } |
|
163 | - |
|
164 | - /** |
|
165 | - * @JsonProperty(String, "taxpayerCode") |
|
166 | - */ |
|
167 | - private $taxpayerCode; |
|
168 | - |
|
169 | - /** |
|
170 | - * @JsonProperty(String, "taxpayerName") |
|
171 | - */ |
|
172 | - private $taxpayerName; |
|
173 | - |
|
174 | - /** |
|
175 | - * @JsonProperty(String, "taxpayerAddress") |
|
176 | - */ |
|
177 | - private $taxpayerAddress; |
|
178 | - |
|
179 | - /** |
|
180 | - * @JsonProperty(String, "taxpayerTel") |
|
181 | - */ |
|
182 | - private $taxpayerTel; |
|
183 | - |
|
184 | - /** |
|
185 | - * @JsonProperty(String, "taxpayerBankName") |
|
186 | - */ |
|
187 | - private $taxpayerBankName; |
|
188 | - |
|
189 | - /** |
|
190 | - * @JsonProperty(String, "taxpayerBankAccount") |
|
191 | - */ |
|
192 | - private $taxpayerBankAccount; |
|
193 | - |
|
194 | - /** |
|
195 | - * @JsonProperty(String, "customerName") |
|
196 | - */ |
|
197 | - private $customerName; |
|
198 | - |
|
199 | - /** |
|
200 | - * @JsonProperty(String, "customerCode") |
|
201 | - */ |
|
202 | - private $customerCode; |
|
203 | - |
|
204 | - /** |
|
205 | - * @JsonProperty(String, "customerAddress") |
|
206 | - */ |
|
207 | - private $customerAddress; |
|
208 | - |
|
209 | - /** |
|
210 | - * @JsonProperty(String, "customerTel") |
|
211 | - */ |
|
212 | - private $customerTel; |
|
213 | - |
|
214 | - /** |
|
215 | - * @JsonProperty(String, "customerBankName") |
|
216 | - */ |
|
217 | - private $customerBankName; |
|
218 | - |
|
219 | - /** |
|
220 | - * @JsonProperty(String, "customerBankAccount") |
|
221 | - */ |
|
222 | - private $customerBankAccount; |
|
223 | - |
|
224 | - /** |
|
225 | - * @JsonProperty(String, "invoiceType") |
|
226 | - */ |
|
227 | - private $invoiceType; |
|
228 | - |
|
229 | - /** |
|
230 | - * @JsonProperty(String, "drawer") |
|
231 | - */ |
|
232 | - private $drawer; |
|
233 | - |
|
234 | - /** |
|
235 | - * @JsonProperty(String, "payee") |
|
236 | - */ |
|
237 | - private $payee; |
|
238 | - |
|
239 | - /** |
|
240 | - * @JsonProperty(String, "reviewer") |
|
241 | - */ |
|
242 | - private $reviewer; |
|
243 | - |
|
244 | - /** |
|
245 | - * @JsonProperty(String, "totalAmount") |
|
246 | - */ |
|
247 | - private $totalAmount; |
|
248 | - |
|
249 | - /** |
|
250 | - * @JsonProperty(String, "remark") |
|
251 | - */ |
|
252 | - private $remark; |
|
253 | - |
|
254 | - /** |
|
255 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceVendorRuihongIssueInvoiceRequest_RequestInvoiceItemsItem>, "items") |
|
256 | - */ |
|
257 | - private $items; |
|
258 | - |
|
259 | - public function setTaxpayerCode($taxpayerCode) |
|
260 | - { |
|
261 | - $this->taxpayerCode = $taxpayerCode; |
|
262 | - } |
|
263 | - |
|
264 | - public function setTaxpayerName($taxpayerName) |
|
265 | - { |
|
266 | - $this->taxpayerName = $taxpayerName; |
|
267 | - } |
|
268 | - |
|
269 | - public function setTaxpayerAddress($taxpayerAddress) |
|
270 | - { |
|
271 | - $this->taxpayerAddress = $taxpayerAddress; |
|
272 | - } |
|
273 | - |
|
274 | - public function setTaxpayerTel($taxpayerTel) |
|
275 | - { |
|
276 | - $this->taxpayerTel = $taxpayerTel; |
|
277 | - } |
|
278 | - |
|
279 | - public function setTaxpayerBankName($taxpayerBankName) |
|
280 | - { |
|
281 | - $this->taxpayerBankName = $taxpayerBankName; |
|
282 | - } |
|
283 | - |
|
284 | - public function setTaxpayerBankAccount($taxpayerBankAccount) |
|
285 | - { |
|
286 | - $this->taxpayerBankAccount = $taxpayerBankAccount; |
|
287 | - } |
|
288 | - |
|
289 | - public function setCustomerName($customerName) |
|
290 | - { |
|
291 | - $this->customerName = $customerName; |
|
292 | - } |
|
293 | - |
|
294 | - public function setCustomerCode($customerCode) |
|
295 | - { |
|
296 | - $this->customerCode = $customerCode; |
|
297 | - } |
|
298 | - |
|
299 | - public function setCustomerAddress($customerAddress) |
|
300 | - { |
|
301 | - $this->customerAddress = $customerAddress; |
|
302 | - } |
|
303 | - |
|
304 | - public function setCustomerTel($customerTel) |
|
305 | - { |
|
306 | - $this->customerTel = $customerTel; |
|
307 | - } |
|
308 | - |
|
309 | - public function setCustomerBankName($customerBankName) |
|
310 | - { |
|
311 | - $this->customerBankName = $customerBankName; |
|
312 | - } |
|
313 | - |
|
314 | - public function setCustomerBankAccount($customerBankAccount) |
|
315 | - { |
|
316 | - $this->customerBankAccount = $customerBankAccount; |
|
317 | - } |
|
318 | - |
|
319 | - public function setInvoiceType($invoiceType) |
|
320 | - { |
|
321 | - $this->invoiceType = $invoiceType; |
|
322 | - } |
|
323 | - |
|
324 | - public function setDrawer($drawer) |
|
325 | - { |
|
326 | - $this->drawer = $drawer; |
|
327 | - } |
|
328 | - |
|
329 | - public function setPayee($payee) |
|
330 | - { |
|
331 | - $this->payee = $payee; |
|
332 | - } |
|
333 | - |
|
334 | - public function setReviewer($reviewer) |
|
335 | - { |
|
336 | - $this->reviewer = $reviewer; |
|
337 | - } |
|
338 | - |
|
339 | - public function setTotalAmount($totalAmount) |
|
340 | - { |
|
341 | - $this->totalAmount = $totalAmount; |
|
342 | - } |
|
343 | - |
|
344 | - public function setRemark($remark) |
|
345 | - { |
|
346 | - $this->remark = $remark; |
|
347 | - } |
|
348 | - |
|
349 | - public function setItems($items) |
|
350 | - { |
|
351 | - $this->items = $items; |
|
352 | - } |
|
159 | + public function __construct() |
|
160 | + { |
|
161 | + |
|
162 | + } |
|
163 | + |
|
164 | + /** |
|
165 | + * @JsonProperty(String, "taxpayerCode") |
|
166 | + */ |
|
167 | + private $taxpayerCode; |
|
168 | + |
|
169 | + /** |
|
170 | + * @JsonProperty(String, "taxpayerName") |
|
171 | + */ |
|
172 | + private $taxpayerName; |
|
173 | + |
|
174 | + /** |
|
175 | + * @JsonProperty(String, "taxpayerAddress") |
|
176 | + */ |
|
177 | + private $taxpayerAddress; |
|
178 | + |
|
179 | + /** |
|
180 | + * @JsonProperty(String, "taxpayerTel") |
|
181 | + */ |
|
182 | + private $taxpayerTel; |
|
183 | + |
|
184 | + /** |
|
185 | + * @JsonProperty(String, "taxpayerBankName") |
|
186 | + */ |
|
187 | + private $taxpayerBankName; |
|
188 | + |
|
189 | + /** |
|
190 | + * @JsonProperty(String, "taxpayerBankAccount") |
|
191 | + */ |
|
192 | + private $taxpayerBankAccount; |
|
193 | + |
|
194 | + /** |
|
195 | + * @JsonProperty(String, "customerName") |
|
196 | + */ |
|
197 | + private $customerName; |
|
198 | + |
|
199 | + /** |
|
200 | + * @JsonProperty(String, "customerCode") |
|
201 | + */ |
|
202 | + private $customerCode; |
|
203 | + |
|
204 | + /** |
|
205 | + * @JsonProperty(String, "customerAddress") |
|
206 | + */ |
|
207 | + private $customerAddress; |
|
208 | + |
|
209 | + /** |
|
210 | + * @JsonProperty(String, "customerTel") |
|
211 | + */ |
|
212 | + private $customerTel; |
|
213 | + |
|
214 | + /** |
|
215 | + * @JsonProperty(String, "customerBankName") |
|
216 | + */ |
|
217 | + private $customerBankName; |
|
218 | + |
|
219 | + /** |
|
220 | + * @JsonProperty(String, "customerBankAccount") |
|
221 | + */ |
|
222 | + private $customerBankAccount; |
|
223 | + |
|
224 | + /** |
|
225 | + * @JsonProperty(String, "invoiceType") |
|
226 | + */ |
|
227 | + private $invoiceType; |
|
228 | + |
|
229 | + /** |
|
230 | + * @JsonProperty(String, "drawer") |
|
231 | + */ |
|
232 | + private $drawer; |
|
233 | + |
|
234 | + /** |
|
235 | + * @JsonProperty(String, "payee") |
|
236 | + */ |
|
237 | + private $payee; |
|
238 | + |
|
239 | + /** |
|
240 | + * @JsonProperty(String, "reviewer") |
|
241 | + */ |
|
242 | + private $reviewer; |
|
243 | + |
|
244 | + /** |
|
245 | + * @JsonProperty(String, "totalAmount") |
|
246 | + */ |
|
247 | + private $totalAmount; |
|
248 | + |
|
249 | + /** |
|
250 | + * @JsonProperty(String, "remark") |
|
251 | + */ |
|
252 | + private $remark; |
|
253 | + |
|
254 | + /** |
|
255 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceVendorRuihongIssueInvoiceRequest_RequestInvoiceItemsItem>, "items") |
|
256 | + */ |
|
257 | + private $items; |
|
258 | + |
|
259 | + public function setTaxpayerCode($taxpayerCode) |
|
260 | + { |
|
261 | + $this->taxpayerCode = $taxpayerCode; |
|
262 | + } |
|
263 | + |
|
264 | + public function setTaxpayerName($taxpayerName) |
|
265 | + { |
|
266 | + $this->taxpayerName = $taxpayerName; |
|
267 | + } |
|
268 | + |
|
269 | + public function setTaxpayerAddress($taxpayerAddress) |
|
270 | + { |
|
271 | + $this->taxpayerAddress = $taxpayerAddress; |
|
272 | + } |
|
273 | + |
|
274 | + public function setTaxpayerTel($taxpayerTel) |
|
275 | + { |
|
276 | + $this->taxpayerTel = $taxpayerTel; |
|
277 | + } |
|
278 | + |
|
279 | + public function setTaxpayerBankName($taxpayerBankName) |
|
280 | + { |
|
281 | + $this->taxpayerBankName = $taxpayerBankName; |
|
282 | + } |
|
283 | + |
|
284 | + public function setTaxpayerBankAccount($taxpayerBankAccount) |
|
285 | + { |
|
286 | + $this->taxpayerBankAccount = $taxpayerBankAccount; |
|
287 | + } |
|
288 | + |
|
289 | + public function setCustomerName($customerName) |
|
290 | + { |
|
291 | + $this->customerName = $customerName; |
|
292 | + } |
|
293 | + |
|
294 | + public function setCustomerCode($customerCode) |
|
295 | + { |
|
296 | + $this->customerCode = $customerCode; |
|
297 | + } |
|
298 | + |
|
299 | + public function setCustomerAddress($customerAddress) |
|
300 | + { |
|
301 | + $this->customerAddress = $customerAddress; |
|
302 | + } |
|
303 | + |
|
304 | + public function setCustomerTel($customerTel) |
|
305 | + { |
|
306 | + $this->customerTel = $customerTel; |
|
307 | + } |
|
308 | + |
|
309 | + public function setCustomerBankName($customerBankName) |
|
310 | + { |
|
311 | + $this->customerBankName = $customerBankName; |
|
312 | + } |
|
313 | + |
|
314 | + public function setCustomerBankAccount($customerBankAccount) |
|
315 | + { |
|
316 | + $this->customerBankAccount = $customerBankAccount; |
|
317 | + } |
|
318 | + |
|
319 | + public function setInvoiceType($invoiceType) |
|
320 | + { |
|
321 | + $this->invoiceType = $invoiceType; |
|
322 | + } |
|
323 | + |
|
324 | + public function setDrawer($drawer) |
|
325 | + { |
|
326 | + $this->drawer = $drawer; |
|
327 | + } |
|
328 | + |
|
329 | + public function setPayee($payee) |
|
330 | + { |
|
331 | + $this->payee = $payee; |
|
332 | + } |
|
333 | + |
|
334 | + public function setReviewer($reviewer) |
|
335 | + { |
|
336 | + $this->reviewer = $reviewer; |
|
337 | + } |
|
338 | + |
|
339 | + public function setTotalAmount($totalAmount) |
|
340 | + { |
|
341 | + $this->totalAmount = $totalAmount; |
|
342 | + } |
|
343 | + |
|
344 | + public function setRemark($remark) |
|
345 | + { |
|
346 | + $this->remark = $remark; |
|
347 | + } |
|
348 | + |
|
349 | + public function setItems($items) |
|
350 | + { |
|
351 | + $this->items = $items; |
|
352 | + } |
|
353 | 353 | |
354 | 354 | } |
355 | 355 | |
356 | 356 | class PddEinvoiceVendorRuihongIssueInvoiceRequest_RequestInvoiceItemsItem extends PopBaseJsonEntity |
357 | 357 | { |
358 | 358 | |
359 | - public function __construct() |
|
360 | - { |
|
361 | - |
|
362 | - } |
|
363 | - |
|
364 | - /** |
|
365 | - * @JsonProperty(String, "type") |
|
366 | - */ |
|
367 | - private $type; |
|
368 | - |
|
369 | - /** |
|
370 | - * @JsonProperty(String, "catalogCode") |
|
371 | - */ |
|
372 | - private $catalogCode; |
|
373 | - |
|
374 | - /** |
|
375 | - * @JsonProperty(String, "name") |
|
376 | - */ |
|
377 | - private $name; |
|
378 | - |
|
379 | - /** |
|
380 | - * @JsonProperty(String, "spec") |
|
381 | - */ |
|
382 | - private $spec; |
|
383 | - |
|
384 | - /** |
|
385 | - * @JsonProperty(String, "price") |
|
386 | - */ |
|
387 | - private $price; |
|
388 | - |
|
389 | - /** |
|
390 | - * @JsonProperty(String, "quantity") |
|
391 | - */ |
|
392 | - private $quantity; |
|
393 | - |
|
394 | - /** |
|
395 | - * @JsonProperty(String, "uom") |
|
396 | - */ |
|
397 | - private $uom; |
|
398 | - |
|
399 | - /** |
|
400 | - * @JsonProperty(String, "taxRate") |
|
401 | - */ |
|
402 | - private $taxRate; |
|
403 | - |
|
404 | - /** |
|
405 | - * @JsonProperty(String, "amount") |
|
406 | - */ |
|
407 | - private $amount; |
|
408 | - |
|
409 | - /** |
|
410 | - * @JsonProperty(String, "preferentialPolicyFlg") |
|
411 | - */ |
|
412 | - private $preferentialPolicyFlg; |
|
413 | - |
|
414 | - /** |
|
415 | - * @JsonProperty(String, "addedValueTaxFlg") |
|
416 | - */ |
|
417 | - private $addedValueTaxFlg; |
|
418 | - |
|
419 | - /** |
|
420 | - * @JsonProperty(String, "zeroTaxRateFlg") |
|
421 | - */ |
|
422 | - private $zeroTaxRateFlg; |
|
423 | - |
|
424 | - public function setType($type) |
|
425 | - { |
|
426 | - $this->type = $type; |
|
427 | - } |
|
428 | - |
|
429 | - public function setCatalogCode($catalogCode) |
|
430 | - { |
|
431 | - $this->catalogCode = $catalogCode; |
|
432 | - } |
|
433 | - |
|
434 | - public function setName($name) |
|
435 | - { |
|
436 | - $this->name = $name; |
|
437 | - } |
|
438 | - |
|
439 | - public function setSpec($spec) |
|
440 | - { |
|
441 | - $this->spec = $spec; |
|
442 | - } |
|
443 | - |
|
444 | - public function setPrice($price) |
|
445 | - { |
|
446 | - $this->price = $price; |
|
447 | - } |
|
448 | - |
|
449 | - public function setQuantity($quantity) |
|
450 | - { |
|
451 | - $this->quantity = $quantity; |
|
452 | - } |
|
453 | - |
|
454 | - public function setUom($uom) |
|
455 | - { |
|
456 | - $this->uom = $uom; |
|
457 | - } |
|
458 | - |
|
459 | - public function setTaxRate($taxRate) |
|
460 | - { |
|
461 | - $this->taxRate = $taxRate; |
|
462 | - } |
|
463 | - |
|
464 | - public function setAmount($amount) |
|
465 | - { |
|
466 | - $this->amount = $amount; |
|
467 | - } |
|
468 | - |
|
469 | - public function setPreferentialPolicyFlg($preferentialPolicyFlg) |
|
470 | - { |
|
471 | - $this->preferentialPolicyFlg = $preferentialPolicyFlg; |
|
472 | - } |
|
473 | - |
|
474 | - public function setAddedValueTaxFlg($addedValueTaxFlg) |
|
475 | - { |
|
476 | - $this->addedValueTaxFlg = $addedValueTaxFlg; |
|
477 | - } |
|
478 | - |
|
479 | - public function setZeroTaxRateFlg($zeroTaxRateFlg) |
|
480 | - { |
|
481 | - $this->zeroTaxRateFlg = $zeroTaxRateFlg; |
|
482 | - } |
|
359 | + public function __construct() |
|
360 | + { |
|
361 | + |
|
362 | + } |
|
363 | + |
|
364 | + /** |
|
365 | + * @JsonProperty(String, "type") |
|
366 | + */ |
|
367 | + private $type; |
|
368 | + |
|
369 | + /** |
|
370 | + * @JsonProperty(String, "catalogCode") |
|
371 | + */ |
|
372 | + private $catalogCode; |
|
373 | + |
|
374 | + /** |
|
375 | + * @JsonProperty(String, "name") |
|
376 | + */ |
|
377 | + private $name; |
|
378 | + |
|
379 | + /** |
|
380 | + * @JsonProperty(String, "spec") |
|
381 | + */ |
|
382 | + private $spec; |
|
383 | + |
|
384 | + /** |
|
385 | + * @JsonProperty(String, "price") |
|
386 | + */ |
|
387 | + private $price; |
|
388 | + |
|
389 | + /** |
|
390 | + * @JsonProperty(String, "quantity") |
|
391 | + */ |
|
392 | + private $quantity; |
|
393 | + |
|
394 | + /** |
|
395 | + * @JsonProperty(String, "uom") |
|
396 | + */ |
|
397 | + private $uom; |
|
398 | + |
|
399 | + /** |
|
400 | + * @JsonProperty(String, "taxRate") |
|
401 | + */ |
|
402 | + private $taxRate; |
|
403 | + |
|
404 | + /** |
|
405 | + * @JsonProperty(String, "amount") |
|
406 | + */ |
|
407 | + private $amount; |
|
408 | + |
|
409 | + /** |
|
410 | + * @JsonProperty(String, "preferentialPolicyFlg") |
|
411 | + */ |
|
412 | + private $preferentialPolicyFlg; |
|
413 | + |
|
414 | + /** |
|
415 | + * @JsonProperty(String, "addedValueTaxFlg") |
|
416 | + */ |
|
417 | + private $addedValueTaxFlg; |
|
418 | + |
|
419 | + /** |
|
420 | + * @JsonProperty(String, "zeroTaxRateFlg") |
|
421 | + */ |
|
422 | + private $zeroTaxRateFlg; |
|
423 | + |
|
424 | + public function setType($type) |
|
425 | + { |
|
426 | + $this->type = $type; |
|
427 | + } |
|
428 | + |
|
429 | + public function setCatalogCode($catalogCode) |
|
430 | + { |
|
431 | + $this->catalogCode = $catalogCode; |
|
432 | + } |
|
433 | + |
|
434 | + public function setName($name) |
|
435 | + { |
|
436 | + $this->name = $name; |
|
437 | + } |
|
438 | + |
|
439 | + public function setSpec($spec) |
|
440 | + { |
|
441 | + $this->spec = $spec; |
|
442 | + } |
|
443 | + |
|
444 | + public function setPrice($price) |
|
445 | + { |
|
446 | + $this->price = $price; |
|
447 | + } |
|
448 | + |
|
449 | + public function setQuantity($quantity) |
|
450 | + { |
|
451 | + $this->quantity = $quantity; |
|
452 | + } |
|
453 | + |
|
454 | + public function setUom($uom) |
|
455 | + { |
|
456 | + $this->uom = $uom; |
|
457 | + } |
|
458 | + |
|
459 | + public function setTaxRate($taxRate) |
|
460 | + { |
|
461 | + $this->taxRate = $taxRate; |
|
462 | + } |
|
463 | + |
|
464 | + public function setAmount($amount) |
|
465 | + { |
|
466 | + $this->amount = $amount; |
|
467 | + } |
|
468 | + |
|
469 | + public function setPreferentialPolicyFlg($preferentialPolicyFlg) |
|
470 | + { |
|
471 | + $this->preferentialPolicyFlg = $preferentialPolicyFlg; |
|
472 | + } |
|
473 | + |
|
474 | + public function setAddedValueTaxFlg($addedValueTaxFlg) |
|
475 | + { |
|
476 | + $this->addedValueTaxFlg = $addedValueTaxFlg; |
|
477 | + } |
|
478 | + |
|
479 | + public function setZeroTaxRateFlg($zeroTaxRateFlg) |
|
480 | + { |
|
481 | + $this->zeroTaxRateFlg = $zeroTaxRateFlg; |
|
482 | + } |
|
483 | 483 | |
484 | 484 | } |
485 | 485 | |
486 | 486 | class PddEinvoiceVendorRuihongIssueInvoiceRequest_RequestExtendedParams extends PopBaseJsonEntity |
487 | 487 | { |
488 | 488 | |
489 | - public function __construct() |
|
490 | - { |
|
489 | + public function __construct() |
|
490 | + { |
|
491 | 491 | |
492 | - } |
|
492 | + } |
|
493 | 493 | |
494 | 494 | } |
495 | 495 | |
496 | 496 | class PddEinvoiceVendorRuihongIssueInvoiceRequest_RequestDynamicParams extends PopBaseJsonEntity |
497 | 497 | { |
498 | 498 | |
499 | - public function __construct() |
|
500 | - { |
|
499 | + public function __construct() |
|
500 | + { |
|
501 | 501 | |
502 | - } |
|
502 | + } |
|
503 | 503 | |
504 | 504 | } |
@@ -7,104 +7,104 @@ |
||
7 | 7 | class PddPromotionGoodsCouponCreateRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(String, "batch_desc") |
|
15 | - */ |
|
16 | - private $batchDesc; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(Long, "batch_start_time") |
|
20 | - */ |
|
21 | - private $batchStartTime; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(Long, "batch_end_time") |
|
25 | - */ |
|
26 | - private $batchEndTime; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(Long, "discount") |
|
30 | - */ |
|
31 | - private $discount; |
|
32 | - |
|
33 | - /** |
|
34 | - * @JsonProperty(Long, "init_quantity") |
|
35 | - */ |
|
36 | - private $initQuantity; |
|
37 | - |
|
38 | - /** |
|
39 | - * @JsonProperty(Long, "user_limit") |
|
40 | - */ |
|
41 | - private $userLimit; |
|
42 | - |
|
43 | - /** |
|
44 | - * @JsonProperty(Long, "goods_id") |
|
45 | - */ |
|
46 | - private $goodsId; |
|
47 | - |
|
48 | - protected function setUserParams(&$params) |
|
49 | - { |
|
50 | - $this->setUserParam($params, "batch_desc", $this->batchDesc); |
|
51 | - $this->setUserParam($params, "batch_start_time", $this->batchStartTime); |
|
52 | - $this->setUserParam($params, "batch_end_time", $this->batchEndTime); |
|
53 | - $this->setUserParam($params, "discount", $this->discount); |
|
54 | - $this->setUserParam($params, "init_quantity", $this->initQuantity); |
|
55 | - $this->setUserParam($params, "user_limit", $this->userLimit); |
|
56 | - $this->setUserParam($params, "goods_id", $this->goodsId); |
|
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.promotion.goods.coupon.create"; |
|
73 | - } |
|
74 | - |
|
75 | - public function setBatchDesc($batchDesc) |
|
76 | - { |
|
77 | - $this->batchDesc = $batchDesc; |
|
78 | - } |
|
79 | - |
|
80 | - public function setBatchStartTime($batchStartTime) |
|
81 | - { |
|
82 | - $this->batchStartTime = $batchStartTime; |
|
83 | - } |
|
84 | - |
|
85 | - public function setBatchEndTime($batchEndTime) |
|
86 | - { |
|
87 | - $this->batchEndTime = $batchEndTime; |
|
88 | - } |
|
89 | - |
|
90 | - public function setDiscount($discount) |
|
91 | - { |
|
92 | - $this->discount = $discount; |
|
93 | - } |
|
94 | - |
|
95 | - public function setInitQuantity($initQuantity) |
|
96 | - { |
|
97 | - $this->initQuantity = $initQuantity; |
|
98 | - } |
|
99 | - |
|
100 | - public function setUserLimit($userLimit) |
|
101 | - { |
|
102 | - $this->userLimit = $userLimit; |
|
103 | - } |
|
104 | - |
|
105 | - public function setGoodsId($goodsId) |
|
106 | - { |
|
107 | - $this->goodsId = $goodsId; |
|
108 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "batch_desc") |
|
15 | + */ |
|
16 | + private $batchDesc; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(Long, "batch_start_time") |
|
20 | + */ |
|
21 | + private $batchStartTime; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(Long, "batch_end_time") |
|
25 | + */ |
|
26 | + private $batchEndTime; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(Long, "discount") |
|
30 | + */ |
|
31 | + private $discount; |
|
32 | + |
|
33 | + /** |
|
34 | + * @JsonProperty(Long, "init_quantity") |
|
35 | + */ |
|
36 | + private $initQuantity; |
|
37 | + |
|
38 | + /** |
|
39 | + * @JsonProperty(Long, "user_limit") |
|
40 | + */ |
|
41 | + private $userLimit; |
|
42 | + |
|
43 | + /** |
|
44 | + * @JsonProperty(Long, "goods_id") |
|
45 | + */ |
|
46 | + private $goodsId; |
|
47 | + |
|
48 | + protected function setUserParams(&$params) |
|
49 | + { |
|
50 | + $this->setUserParam($params, "batch_desc", $this->batchDesc); |
|
51 | + $this->setUserParam($params, "batch_start_time", $this->batchStartTime); |
|
52 | + $this->setUserParam($params, "batch_end_time", $this->batchEndTime); |
|
53 | + $this->setUserParam($params, "discount", $this->discount); |
|
54 | + $this->setUserParam($params, "init_quantity", $this->initQuantity); |
|
55 | + $this->setUserParam($params, "user_limit", $this->userLimit); |
|
56 | + $this->setUserParam($params, "goods_id", $this->goodsId); |
|
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.promotion.goods.coupon.create"; |
|
73 | + } |
|
74 | + |
|
75 | + public function setBatchDesc($batchDesc) |
|
76 | + { |
|
77 | + $this->batchDesc = $batchDesc; |
|
78 | + } |
|
79 | + |
|
80 | + public function setBatchStartTime($batchStartTime) |
|
81 | + { |
|
82 | + $this->batchStartTime = $batchStartTime; |
|
83 | + } |
|
84 | + |
|
85 | + public function setBatchEndTime($batchEndTime) |
|
86 | + { |
|
87 | + $this->batchEndTime = $batchEndTime; |
|
88 | + } |
|
89 | + |
|
90 | + public function setDiscount($discount) |
|
91 | + { |
|
92 | + $this->discount = $discount; |
|
93 | + } |
|
94 | + |
|
95 | + public function setInitQuantity($initQuantity) |
|
96 | + { |
|
97 | + $this->initQuantity = $initQuantity; |
|
98 | + } |
|
99 | + |
|
100 | + public function setUserLimit($userLimit) |
|
101 | + { |
|
102 | + $this->userLimit = $userLimit; |
|
103 | + } |
|
104 | + |
|
105 | + public function setGoodsId($goodsId) |
|
106 | + { |
|
107 | + $this->goodsId = $goodsId; |
|
108 | + } |
|
109 | 109 | |
110 | 110 | } |
@@ -7,60 +7,60 @@ |
||
7 | 7 | class PddCloudIsvPageCodeRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
10 | + { |
|
11 | 11 | |
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(List<String>, "mallIdList") |
|
15 | - */ |
|
16 | - private $mallIdList; |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(List<String>, "mallIdList") |
|
15 | + */ |
|
16 | + private $mallIdList; |
|
17 | 17 | |
18 | - /** |
|
19 | - * @JsonProperty(String, "httpReferer") |
|
20 | - */ |
|
21 | - private $httpReferer; |
|
18 | + /** |
|
19 | + * @JsonProperty(String, "httpReferer") |
|
20 | + */ |
|
21 | + private $httpReferer; |
|
22 | 22 | |
23 | - /** |
|
24 | - * @JsonProperty(String, "userId") |
|
25 | - */ |
|
26 | - private $userId; |
|
23 | + /** |
|
24 | + * @JsonProperty(String, "userId") |
|
25 | + */ |
|
26 | + private $userId; |
|
27 | 27 | |
28 | - protected function setUserParams(&$params) |
|
29 | - { |
|
30 | - $this->setUserParam($params, "mallIdList", $this->mallIdList); |
|
31 | - $this->setUserParam($params, "httpReferer", $this->httpReferer); |
|
32 | - $this->setUserParam($params, "userId", $this->userId); |
|
28 | + protected function setUserParams(&$params) |
|
29 | + { |
|
30 | + $this->setUserParam($params, "mallIdList", $this->mallIdList); |
|
31 | + $this->setUserParam($params, "httpReferer", $this->httpReferer); |
|
32 | + $this->setUserParam($params, "userId", $this->userId); |
|
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.cloud.isv.page.code"; |
|
49 | - } |
|
46 | + public function getType() |
|
47 | + { |
|
48 | + return "pdd.cloud.isv.page.code"; |
|
49 | + } |
|
50 | 50 | |
51 | - public function setMallIdList($mallIdList) |
|
52 | - { |
|
53 | - $this->mallIdList = $mallIdList; |
|
54 | - } |
|
51 | + public function setMallIdList($mallIdList) |
|
52 | + { |
|
53 | + $this->mallIdList = $mallIdList; |
|
54 | + } |
|
55 | 55 | |
56 | - public function setHttpReferer($httpReferer) |
|
57 | - { |
|
58 | - $this->httpReferer = $httpReferer; |
|
59 | - } |
|
56 | + public function setHttpReferer($httpReferer) |
|
57 | + { |
|
58 | + $this->httpReferer = $httpReferer; |
|
59 | + } |
|
60 | 60 | |
61 | - public function setUserId($userId) |
|
62 | - { |
|
63 | - $this->userId = $userId; |
|
64 | - } |
|
61 | + public function setUserId($userId) |
|
62 | + { |
|
63 | + $this->userId = $userId; |
|
64 | + } |
|
65 | 65 | |
66 | 66 | } |
@@ -7,49 +7,49 @@ |
||
7 | 7 | class PddAdApiUnitCreativeUpdateSmartCreativeRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(String, "text") |
|
15 | - */ |
|
16 | - private $text; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(Long, "unitCreativeId") |
|
20 | - */ |
|
21 | - private $unitCreativeId; |
|
22 | - |
|
23 | - protected function setUserParams(&$params) |
|
24 | - { |
|
25 | - $this->setUserParam($params, "text", $this->text); |
|
26 | - $this->setUserParam($params, "unitCreativeId", $this->unitCreativeId); |
|
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.creative.update.smart.creative"; |
|
43 | - } |
|
44 | - |
|
45 | - public function setText($text) |
|
46 | - { |
|
47 | - $this->text = $text; |
|
48 | - } |
|
49 | - |
|
50 | - public function setUnitCreativeId($unitCreativeId) |
|
51 | - { |
|
52 | - $this->unitCreativeId = $unitCreativeId; |
|
53 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "text") |
|
15 | + */ |
|
16 | + private $text; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(Long, "unitCreativeId") |
|
20 | + */ |
|
21 | + private $unitCreativeId; |
|
22 | + |
|
23 | + protected function setUserParams(&$params) |
|
24 | + { |
|
25 | + $this->setUserParam($params, "text", $this->text); |
|
26 | + $this->setUserParam($params, "unitCreativeId", $this->unitCreativeId); |
|
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.creative.update.smart.creative"; |
|
43 | + } |
|
44 | + |
|
45 | + public function setText($text) |
|
46 | + { |
|
47 | + $this->text = $text; |
|
48 | + } |
|
49 | + |
|
50 | + public function setUnitCreativeId($unitCreativeId) |
|
51 | + { |
|
52 | + $this->unitCreativeId = $unitCreativeId; |
|
53 | + } |
|
54 | 54 | |
55 | 55 | } |
@@ -7,252 +7,252 @@ |
||
7 | 7 | class PddGoodsLogisticsSerTemplateCreateRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(Integer, "template_type") |
|
15 | - */ |
|
16 | - private $templateType; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(String, "template_name") |
|
20 | - */ |
|
21 | - private $templateName; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(Integer, "price_unit") |
|
25 | - */ |
|
26 | - private $priceUnit; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsLogisticsSerTemplateCreateRequest_ServiceAreaListItem>, "service_area_list") |
|
30 | - */ |
|
31 | - private $serviceAreaList; |
|
32 | - |
|
33 | - /** |
|
34 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsLogisticsSerTemplateCreateRequest_CatListItem>, "cat_list") |
|
35 | - */ |
|
36 | - private $catList; |
|
37 | - |
|
38 | - protected function setUserParams(&$params) |
|
39 | - { |
|
40 | - $this->setUserParam($params, "template_type", $this->templateType); |
|
41 | - $this->setUserParam($params, "template_name", $this->templateName); |
|
42 | - $this->setUserParam($params, "price_unit", $this->priceUnit); |
|
43 | - $this->setUserParam($params, "service_area_list", $this->serviceAreaList); |
|
44 | - $this->setUserParam($params, "cat_list", $this->catList); |
|
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.goods.logistics.ser.template.create"; |
|
61 | - } |
|
62 | - |
|
63 | - public function setTemplateType($templateType) |
|
64 | - { |
|
65 | - $this->templateType = $templateType; |
|
66 | - } |
|
67 | - |
|
68 | - public function setTemplateName($templateName) |
|
69 | - { |
|
70 | - $this->templateName = $templateName; |
|
71 | - } |
|
72 | - |
|
73 | - public function setPriceUnit($priceUnit) |
|
74 | - { |
|
75 | - $this->priceUnit = $priceUnit; |
|
76 | - } |
|
77 | - |
|
78 | - public function setServiceAreaList($serviceAreaList) |
|
79 | - { |
|
80 | - $this->serviceAreaList = $serviceAreaList; |
|
81 | - } |
|
82 | - |
|
83 | - public function setCatList($catList) |
|
84 | - { |
|
85 | - $this->catList = $catList; |
|
86 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(Integer, "template_type") |
|
15 | + */ |
|
16 | + private $templateType; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(String, "template_name") |
|
20 | + */ |
|
21 | + private $templateName; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(Integer, "price_unit") |
|
25 | + */ |
|
26 | + private $priceUnit; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsLogisticsSerTemplateCreateRequest_ServiceAreaListItem>, "service_area_list") |
|
30 | + */ |
|
31 | + private $serviceAreaList; |
|
32 | + |
|
33 | + /** |
|
34 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsLogisticsSerTemplateCreateRequest_CatListItem>, "cat_list") |
|
35 | + */ |
|
36 | + private $catList; |
|
37 | + |
|
38 | + protected function setUserParams(&$params) |
|
39 | + { |
|
40 | + $this->setUserParam($params, "template_type", $this->templateType); |
|
41 | + $this->setUserParam($params, "template_name", $this->templateName); |
|
42 | + $this->setUserParam($params, "price_unit", $this->priceUnit); |
|
43 | + $this->setUserParam($params, "service_area_list", $this->serviceAreaList); |
|
44 | + $this->setUserParam($params, "cat_list", $this->catList); |
|
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.goods.logistics.ser.template.create"; |
|
61 | + } |
|
62 | + |
|
63 | + public function setTemplateType($templateType) |
|
64 | + { |
|
65 | + $this->templateType = $templateType; |
|
66 | + } |
|
67 | + |
|
68 | + public function setTemplateName($templateName) |
|
69 | + { |
|
70 | + $this->templateName = $templateName; |
|
71 | + } |
|
72 | + |
|
73 | + public function setPriceUnit($priceUnit) |
|
74 | + { |
|
75 | + $this->priceUnit = $priceUnit; |
|
76 | + } |
|
77 | + |
|
78 | + public function setServiceAreaList($serviceAreaList) |
|
79 | + { |
|
80 | + $this->serviceAreaList = $serviceAreaList; |
|
81 | + } |
|
82 | + |
|
83 | + public function setCatList($catList) |
|
84 | + { |
|
85 | + $this->catList = $catList; |
|
86 | + } |
|
87 | 87 | |
88 | 88 | } |
89 | 89 | |
90 | 90 | class PddGoodsLogisticsSerTemplateCreateRequest_ServiceAreaListItem extends PopBaseJsonEntity |
91 | 91 | { |
92 | 92 | |
93 | - public function __construct() |
|
94 | - { |
|
95 | - |
|
96 | - } |
|
97 | - |
|
98 | - /** |
|
99 | - * @JsonProperty(String, "value") |
|
100 | - */ |
|
101 | - private $value; |
|
102 | - |
|
103 | - /** |
|
104 | - * @JsonProperty(String, "district_id") |
|
105 | - */ |
|
106 | - private $districtId; |
|
107 | - |
|
108 | - /** |
|
109 | - * @JsonProperty(String, "city_id") |
|
110 | - */ |
|
111 | - private $cityId; |
|
112 | - |
|
113 | - /** |
|
114 | - * @JsonProperty(String, "province_id") |
|
115 | - */ |
|
116 | - private $provinceId; |
|
117 | - |
|
118 | - public function setValue($value) |
|
119 | - { |
|
120 | - $this->value = $value; |
|
121 | - } |
|
122 | - |
|
123 | - public function setDistrictId($districtId) |
|
124 | - { |
|
125 | - $this->districtId = $districtId; |
|
126 | - } |
|
127 | - |
|
128 | - public function setCityId($cityId) |
|
129 | - { |
|
130 | - $this->cityId = $cityId; |
|
131 | - } |
|
132 | - |
|
133 | - public function setProvinceId($provinceId) |
|
134 | - { |
|
135 | - $this->provinceId = $provinceId; |
|
136 | - } |
|
93 | + public function __construct() |
|
94 | + { |
|
95 | + |
|
96 | + } |
|
97 | + |
|
98 | + /** |
|
99 | + * @JsonProperty(String, "value") |
|
100 | + */ |
|
101 | + private $value; |
|
102 | + |
|
103 | + /** |
|
104 | + * @JsonProperty(String, "district_id") |
|
105 | + */ |
|
106 | + private $districtId; |
|
107 | + |
|
108 | + /** |
|
109 | + * @JsonProperty(String, "city_id") |
|
110 | + */ |
|
111 | + private $cityId; |
|
112 | + |
|
113 | + /** |
|
114 | + * @JsonProperty(String, "province_id") |
|
115 | + */ |
|
116 | + private $provinceId; |
|
117 | + |
|
118 | + public function setValue($value) |
|
119 | + { |
|
120 | + $this->value = $value; |
|
121 | + } |
|
122 | + |
|
123 | + public function setDistrictId($districtId) |
|
124 | + { |
|
125 | + $this->districtId = $districtId; |
|
126 | + } |
|
127 | + |
|
128 | + public function setCityId($cityId) |
|
129 | + { |
|
130 | + $this->cityId = $cityId; |
|
131 | + } |
|
132 | + |
|
133 | + public function setProvinceId($provinceId) |
|
134 | + { |
|
135 | + $this->provinceId = $provinceId; |
|
136 | + } |
|
137 | 137 | |
138 | 138 | } |
139 | 139 | |
140 | 140 | class PddGoodsLogisticsSerTemplateCreateRequest_CatListItem extends PopBaseJsonEntity |
141 | 141 | { |
142 | 142 | |
143 | - public function __construct() |
|
144 | - { |
|
143 | + public function __construct() |
|
144 | + { |
|
145 | 145 | |
146 | - } |
|
146 | + } |
|
147 | 147 | |
148 | - /** |
|
149 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsLogisticsSerTemplateCreateRequest_CatListItemListItem>, "list") |
|
150 | - */ |
|
151 | - private $list; |
|
148 | + /** |
|
149 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsLogisticsSerTemplateCreateRequest_CatListItemListItem>, "list") |
|
150 | + */ |
|
151 | + private $list; |
|
152 | 152 | |
153 | - /** |
|
154 | - * @JsonProperty(Long, "cat_id4") |
|
155 | - */ |
|
156 | - private $catId4; |
|
153 | + /** |
|
154 | + * @JsonProperty(Long, "cat_id4") |
|
155 | + */ |
|
156 | + private $catId4; |
|
157 | 157 | |
158 | - /** |
|
159 | - * @JsonProperty(Long, "cat_id3") |
|
160 | - */ |
|
161 | - private $catId3; |
|
158 | + /** |
|
159 | + * @JsonProperty(Long, "cat_id3") |
|
160 | + */ |
|
161 | + private $catId3; |
|
162 | 162 | |
163 | - public function setList($list) |
|
164 | - { |
|
165 | - $this->list = $list; |
|
166 | - } |
|
163 | + public function setList($list) |
|
164 | + { |
|
165 | + $this->list = $list; |
|
166 | + } |
|
167 | 167 | |
168 | - public function setCatId4($catId4) |
|
169 | - { |
|
170 | - $this->catId4 = $catId4; |
|
171 | - } |
|
168 | + public function setCatId4($catId4) |
|
169 | + { |
|
170 | + $this->catId4 = $catId4; |
|
171 | + } |
|
172 | 172 | |
173 | - public function setCatId3($catId3) |
|
174 | - { |
|
175 | - $this->catId3 = $catId3; |
|
176 | - } |
|
173 | + public function setCatId3($catId3) |
|
174 | + { |
|
175 | + $this->catId3 = $catId3; |
|
176 | + } |
|
177 | 177 | |
178 | 178 | } |
179 | 179 | |
180 | 180 | class PddGoodsLogisticsSerTemplateCreateRequest_CatListItemListItem extends PopBaseJsonEntity |
181 | 181 | { |
182 | 182 | |
183 | - public function __construct() |
|
184 | - { |
|
183 | + public function __construct() |
|
184 | + { |
|
185 | 185 | |
186 | - } |
|
186 | + } |
|
187 | 187 | |
188 | - /** |
|
189 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsLogisticsSerTemplateCreateRequest_CatListItemListItemContentItem>, "content") |
|
190 | - */ |
|
191 | - private $content; |
|
188 | + /** |
|
189 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsLogisticsSerTemplateCreateRequest_CatListItemListItemContentItem>, "content") |
|
190 | + */ |
|
191 | + private $content; |
|
192 | 192 | |
193 | - /** |
|
194 | - * @JsonProperty(Long, "value") |
|
195 | - */ |
|
196 | - private $value; |
|
193 | + /** |
|
194 | + * @JsonProperty(Long, "value") |
|
195 | + */ |
|
196 | + private $value; |
|
197 | 197 | |
198 | - /** |
|
199 | - * @JsonProperty(Integer, "limit_type") |
|
200 | - */ |
|
201 | - private $limitType; |
|
198 | + /** |
|
199 | + * @JsonProperty(Integer, "limit_type") |
|
200 | + */ |
|
201 | + private $limitType; |
|
202 | 202 | |
203 | - public function setContent($content) |
|
204 | - { |
|
205 | - $this->content = $content; |
|
206 | - } |
|
203 | + public function setContent($content) |
|
204 | + { |
|
205 | + $this->content = $content; |
|
206 | + } |
|
207 | 207 | |
208 | - public function setValue($value) |
|
209 | - { |
|
210 | - $this->value = $value; |
|
211 | - } |
|
208 | + public function setValue($value) |
|
209 | + { |
|
210 | + $this->value = $value; |
|
211 | + } |
|
212 | 212 | |
213 | - public function setLimitType($limitType) |
|
214 | - { |
|
215 | - $this->limitType = $limitType; |
|
216 | - } |
|
213 | + public function setLimitType($limitType) |
|
214 | + { |
|
215 | + $this->limitType = $limitType; |
|
216 | + } |
|
217 | 217 | |
218 | 218 | } |
219 | 219 | |
220 | 220 | class PddGoodsLogisticsSerTemplateCreateRequest_CatListItemListItemContentItem extends PopBaseJsonEntity |
221 | 221 | { |
222 | 222 | |
223 | - public function __construct() |
|
224 | - { |
|
225 | - |
|
226 | - } |
|
227 | - |
|
228 | - /** |
|
229 | - * @JsonProperty(Long, "price") |
|
230 | - */ |
|
231 | - private $price; |
|
232 | - |
|
233 | - /** |
|
234 | - * @JsonProperty(Long, "max_pro") |
|
235 | - */ |
|
236 | - private $maxPro; |
|
237 | - |
|
238 | - /** |
|
239 | - * @JsonProperty(Long, "min_pro") |
|
240 | - */ |
|
241 | - private $minPro; |
|
242 | - |
|
243 | - public function setPrice($price) |
|
244 | - { |
|
245 | - $this->price = $price; |
|
246 | - } |
|
247 | - |
|
248 | - public function setMaxPro($maxPro) |
|
249 | - { |
|
250 | - $this->maxPro = $maxPro; |
|
251 | - } |
|
252 | - |
|
253 | - public function setMinPro($minPro) |
|
254 | - { |
|
255 | - $this->minPro = $minPro; |
|
256 | - } |
|
223 | + public function __construct() |
|
224 | + { |
|
225 | + |
|
226 | + } |
|
227 | + |
|
228 | + /** |
|
229 | + * @JsonProperty(Long, "price") |
|
230 | + */ |
|
231 | + private $price; |
|
232 | + |
|
233 | + /** |
|
234 | + * @JsonProperty(Long, "max_pro") |
|
235 | + */ |
|
236 | + private $maxPro; |
|
237 | + |
|
238 | + /** |
|
239 | + * @JsonProperty(Long, "min_pro") |
|
240 | + */ |
|
241 | + private $minPro; |
|
242 | + |
|
243 | + public function setPrice($price) |
|
244 | + { |
|
245 | + $this->price = $price; |
|
246 | + } |
|
247 | + |
|
248 | + public function setMaxPro($maxPro) |
|
249 | + { |
|
250 | + $this->maxPro = $maxPro; |
|
251 | + } |
|
252 | + |
|
253 | + public function setMinPro($minPro) |
|
254 | + { |
|
255 | + $this->minPro = $minPro; |
|
256 | + } |
|
257 | 257 | |
258 | 258 | } |
@@ -7,192 +7,192 @@ |
||
7 | 7 | class PddDdkOauthGoodsPromUrlGenerateRequest 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_mall_collect_coupon") |
|
20 | - */ |
|
21 | - private $generateMallCollectCoupon; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(Boolean, "generate_qq_app") |
|
25 | - */ |
|
26 | - private $generateQqApp; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(Boolean, "generate_schema_url") |
|
30 | - */ |
|
31 | - private $generateSchemaUrl; |
|
32 | - |
|
33 | - /** |
|
34 | - * @JsonProperty(Boolean, "generate_short_url") |
|
35 | - */ |
|
36 | - private $generateShortUrl; |
|
37 | - |
|
38 | - /** |
|
39 | - * @JsonProperty(Boolean, "generate_weapp_webview") |
|
40 | - */ |
|
41 | - private $generateWeappWebview; |
|
42 | - |
|
43 | - /** |
|
44 | - * @JsonProperty(Boolean, "generate_weiboapp_webview") |
|
45 | - */ |
|
46 | - private $generateWeiboappWebview; |
|
47 | - |
|
48 | - /** |
|
49 | - * @JsonProperty(Boolean, "generate_we_app") |
|
50 | - */ |
|
51 | - private $generateWeApp; |
|
52 | - |
|
53 | - /** |
|
54 | - * @JsonProperty(List<Long>, "goods_id_list") |
|
55 | - */ |
|
56 | - private $goodsIdList; |
|
57 | - |
|
58 | - /** |
|
59 | - * @JsonProperty(Boolean, "multi_group") |
|
60 | - */ |
|
61 | - private $multiGroup; |
|
62 | - |
|
63 | - /** |
|
64 | - * @JsonProperty(String, "p_id") |
|
65 | - */ |
|
66 | - private $pId; |
|
67 | - |
|
68 | - /** |
|
69 | - * @JsonProperty(String, "search_id") |
|
70 | - */ |
|
71 | - private $searchId; |
|
72 | - |
|
73 | - /** |
|
74 | - * @JsonProperty(Long, "zs_duo_id") |
|
75 | - */ |
|
76 | - private $zsDuoId; |
|
77 | - |
|
78 | - /** |
|
79 | - * @JsonProperty(Boolean, "force_duo_id") |
|
80 | - */ |
|
81 | - private $forceDuoId; |
|
82 | - |
|
83 | - /** |
|
84 | - * @JsonProperty(Boolean, "generate_authority_url") |
|
85 | - */ |
|
86 | - private $generateAuthorityUrl; |
|
87 | - |
|
88 | - protected function setUserParams(&$params) |
|
89 | - { |
|
90 | - $this->setUserParam($params, "custom_parameters", $this->customParameters); |
|
91 | - $this->setUserParam($params, "generate_mall_collect_coupon", $this->generateMallCollectCoupon); |
|
92 | - $this->setUserParam($params, "generate_qq_app", $this->generateQqApp); |
|
93 | - $this->setUserParam($params, "generate_schema_url", $this->generateSchemaUrl); |
|
94 | - $this->setUserParam($params, "generate_short_url", $this->generateShortUrl); |
|
95 | - $this->setUserParam($params, "generate_weapp_webview", $this->generateWeappWebview); |
|
96 | - $this->setUserParam($params, "generate_weiboapp_webview", $this->generateWeiboappWebview); |
|
97 | - $this->setUserParam($params, "generate_we_app", $this->generateWeApp); |
|
98 | - $this->setUserParam($params, "goods_id_list", $this->goodsIdList); |
|
99 | - $this->setUserParam($params, "multi_group", $this->multiGroup); |
|
100 | - $this->setUserParam($params, "p_id", $this->pId); |
|
101 | - $this->setUserParam($params, "search_id", $this->searchId); |
|
102 | - $this->setUserParam($params, "zs_duo_id", $this->zsDuoId); |
|
103 | - $this->setUserParam($params, "force_duo_id", $this->forceDuoId); |
|
104 | - $this->setUserParam($params, "generate_authority_url", $this->generateAuthorityUrl); |
|
105 | - |
|
106 | - } |
|
107 | - |
|
108 | - public function getVersion() |
|
109 | - { |
|
110 | - return "V1"; |
|
111 | - } |
|
112 | - |
|
113 | - public function getDataType() |
|
114 | - { |
|
115 | - return "JSON"; |
|
116 | - } |
|
117 | - |
|
118 | - public function getType() |
|
119 | - { |
|
120 | - return "pdd.ddk.oauth.goods.prom.url.generate"; |
|
121 | - } |
|
122 | - |
|
123 | - public function setCustomParameters($customParameters) |
|
124 | - { |
|
125 | - $this->customParameters = $customParameters; |
|
126 | - } |
|
127 | - |
|
128 | - public function setGenerateMallCollectCoupon($generateMallCollectCoupon) |
|
129 | - { |
|
130 | - $this->generateMallCollectCoupon = $generateMallCollectCoupon; |
|
131 | - } |
|
132 | - |
|
133 | - public function setGenerateQqApp($generateQqApp) |
|
134 | - { |
|
135 | - $this->generateQqApp = $generateQqApp; |
|
136 | - } |
|
137 | - |
|
138 | - public function setGenerateSchemaUrl($generateSchemaUrl) |
|
139 | - { |
|
140 | - $this->generateSchemaUrl = $generateSchemaUrl; |
|
141 | - } |
|
142 | - |
|
143 | - public function setGenerateShortUrl($generateShortUrl) |
|
144 | - { |
|
145 | - $this->generateShortUrl = $generateShortUrl; |
|
146 | - } |
|
147 | - |
|
148 | - public function setGenerateWeappWebview($generateWeappWebview) |
|
149 | - { |
|
150 | - $this->generateWeappWebview = $generateWeappWebview; |
|
151 | - } |
|
152 | - |
|
153 | - public function setGenerateWeiboappWebview($generateWeiboappWebview) |
|
154 | - { |
|
155 | - $this->generateWeiboappWebview = $generateWeiboappWebview; |
|
156 | - } |
|
157 | - |
|
158 | - public function setGenerateWeApp($generateWeApp) |
|
159 | - { |
|
160 | - $this->generateWeApp = $generateWeApp; |
|
161 | - } |
|
162 | - |
|
163 | - public function setGoodsIdList($goodsIdList) |
|
164 | - { |
|
165 | - $this->goodsIdList = $goodsIdList; |
|
166 | - } |
|
167 | - |
|
168 | - public function setMultiGroup($multiGroup) |
|
169 | - { |
|
170 | - $this->multiGroup = $multiGroup; |
|
171 | - } |
|
172 | - |
|
173 | - public function setPId($pId) |
|
174 | - { |
|
175 | - $this->pId = $pId; |
|
176 | - } |
|
177 | - |
|
178 | - public function setSearchId($searchId) |
|
179 | - { |
|
180 | - $this->searchId = $searchId; |
|
181 | - } |
|
182 | - |
|
183 | - public function setZsDuoId($zsDuoId) |
|
184 | - { |
|
185 | - $this->zsDuoId = $zsDuoId; |
|
186 | - } |
|
187 | - |
|
188 | - public function setForceDuoId($forceDuoId) |
|
189 | - { |
|
190 | - $this->forceDuoId = $forceDuoId; |
|
191 | - } |
|
192 | - |
|
193 | - public function setGenerateAuthorityUrl($generateAuthorityUrl) |
|
194 | - { |
|
195 | - $this->generateAuthorityUrl = $generateAuthorityUrl; |
|
196 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "custom_parameters") |
|
15 | + */ |
|
16 | + private $customParameters; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(Boolean, "generate_mall_collect_coupon") |
|
20 | + */ |
|
21 | + private $generateMallCollectCoupon; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(Boolean, "generate_qq_app") |
|
25 | + */ |
|
26 | + private $generateQqApp; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(Boolean, "generate_schema_url") |
|
30 | + */ |
|
31 | + private $generateSchemaUrl; |
|
32 | + |
|
33 | + /** |
|
34 | + * @JsonProperty(Boolean, "generate_short_url") |
|
35 | + */ |
|
36 | + private $generateShortUrl; |
|
37 | + |
|
38 | + /** |
|
39 | + * @JsonProperty(Boolean, "generate_weapp_webview") |
|
40 | + */ |
|
41 | + private $generateWeappWebview; |
|
42 | + |
|
43 | + /** |
|
44 | + * @JsonProperty(Boolean, "generate_weiboapp_webview") |
|
45 | + */ |
|
46 | + private $generateWeiboappWebview; |
|
47 | + |
|
48 | + /** |
|
49 | + * @JsonProperty(Boolean, "generate_we_app") |
|
50 | + */ |
|
51 | + private $generateWeApp; |
|
52 | + |
|
53 | + /** |
|
54 | + * @JsonProperty(List<Long>, "goods_id_list") |
|
55 | + */ |
|
56 | + private $goodsIdList; |
|
57 | + |
|
58 | + /** |
|
59 | + * @JsonProperty(Boolean, "multi_group") |
|
60 | + */ |
|
61 | + private $multiGroup; |
|
62 | + |
|
63 | + /** |
|
64 | + * @JsonProperty(String, "p_id") |
|
65 | + */ |
|
66 | + private $pId; |
|
67 | + |
|
68 | + /** |
|
69 | + * @JsonProperty(String, "search_id") |
|
70 | + */ |
|
71 | + private $searchId; |
|
72 | + |
|
73 | + /** |
|
74 | + * @JsonProperty(Long, "zs_duo_id") |
|
75 | + */ |
|
76 | + private $zsDuoId; |
|
77 | + |
|
78 | + /** |
|
79 | + * @JsonProperty(Boolean, "force_duo_id") |
|
80 | + */ |
|
81 | + private $forceDuoId; |
|
82 | + |
|
83 | + /** |
|
84 | + * @JsonProperty(Boolean, "generate_authority_url") |
|
85 | + */ |
|
86 | + private $generateAuthorityUrl; |
|
87 | + |
|
88 | + protected function setUserParams(&$params) |
|
89 | + { |
|
90 | + $this->setUserParam($params, "custom_parameters", $this->customParameters); |
|
91 | + $this->setUserParam($params, "generate_mall_collect_coupon", $this->generateMallCollectCoupon); |
|
92 | + $this->setUserParam($params, "generate_qq_app", $this->generateQqApp); |
|
93 | + $this->setUserParam($params, "generate_schema_url", $this->generateSchemaUrl); |
|
94 | + $this->setUserParam($params, "generate_short_url", $this->generateShortUrl); |
|
95 | + $this->setUserParam($params, "generate_weapp_webview", $this->generateWeappWebview); |
|
96 | + $this->setUserParam($params, "generate_weiboapp_webview", $this->generateWeiboappWebview); |
|
97 | + $this->setUserParam($params, "generate_we_app", $this->generateWeApp); |
|
98 | + $this->setUserParam($params, "goods_id_list", $this->goodsIdList); |
|
99 | + $this->setUserParam($params, "multi_group", $this->multiGroup); |
|
100 | + $this->setUserParam($params, "p_id", $this->pId); |
|
101 | + $this->setUserParam($params, "search_id", $this->searchId); |
|
102 | + $this->setUserParam($params, "zs_duo_id", $this->zsDuoId); |
|
103 | + $this->setUserParam($params, "force_duo_id", $this->forceDuoId); |
|
104 | + $this->setUserParam($params, "generate_authority_url", $this->generateAuthorityUrl); |
|
105 | + |
|
106 | + } |
|
107 | + |
|
108 | + public function getVersion() |
|
109 | + { |
|
110 | + return "V1"; |
|
111 | + } |
|
112 | + |
|
113 | + public function getDataType() |
|
114 | + { |
|
115 | + return "JSON"; |
|
116 | + } |
|
117 | + |
|
118 | + public function getType() |
|
119 | + { |
|
120 | + return "pdd.ddk.oauth.goods.prom.url.generate"; |
|
121 | + } |
|
122 | + |
|
123 | + public function setCustomParameters($customParameters) |
|
124 | + { |
|
125 | + $this->customParameters = $customParameters; |
|
126 | + } |
|
127 | + |
|
128 | + public function setGenerateMallCollectCoupon($generateMallCollectCoupon) |
|
129 | + { |
|
130 | + $this->generateMallCollectCoupon = $generateMallCollectCoupon; |
|
131 | + } |
|
132 | + |
|
133 | + public function setGenerateQqApp($generateQqApp) |
|
134 | + { |
|
135 | + $this->generateQqApp = $generateQqApp; |
|
136 | + } |
|
137 | + |
|
138 | + public function setGenerateSchemaUrl($generateSchemaUrl) |
|
139 | + { |
|
140 | + $this->generateSchemaUrl = $generateSchemaUrl; |
|
141 | + } |
|
142 | + |
|
143 | + public function setGenerateShortUrl($generateShortUrl) |
|
144 | + { |
|
145 | + $this->generateShortUrl = $generateShortUrl; |
|
146 | + } |
|
147 | + |
|
148 | + public function setGenerateWeappWebview($generateWeappWebview) |
|
149 | + { |
|
150 | + $this->generateWeappWebview = $generateWeappWebview; |
|
151 | + } |
|
152 | + |
|
153 | + public function setGenerateWeiboappWebview($generateWeiboappWebview) |
|
154 | + { |
|
155 | + $this->generateWeiboappWebview = $generateWeiboappWebview; |
|
156 | + } |
|
157 | + |
|
158 | + public function setGenerateWeApp($generateWeApp) |
|
159 | + { |
|
160 | + $this->generateWeApp = $generateWeApp; |
|
161 | + } |
|
162 | + |
|
163 | + public function setGoodsIdList($goodsIdList) |
|
164 | + { |
|
165 | + $this->goodsIdList = $goodsIdList; |
|
166 | + } |
|
167 | + |
|
168 | + public function setMultiGroup($multiGroup) |
|
169 | + { |
|
170 | + $this->multiGroup = $multiGroup; |
|
171 | + } |
|
172 | + |
|
173 | + public function setPId($pId) |
|
174 | + { |
|
175 | + $this->pId = $pId; |
|
176 | + } |
|
177 | + |
|
178 | + public function setSearchId($searchId) |
|
179 | + { |
|
180 | + $this->searchId = $searchId; |
|
181 | + } |
|
182 | + |
|
183 | + public function setZsDuoId($zsDuoId) |
|
184 | + { |
|
185 | + $this->zsDuoId = $zsDuoId; |
|
186 | + } |
|
187 | + |
|
188 | + public function setForceDuoId($forceDuoId) |
|
189 | + { |
|
190 | + $this->forceDuoId = $forceDuoId; |
|
191 | + } |
|
192 | + |
|
193 | + public function setGenerateAuthorityUrl($generateAuthorityUrl) |
|
194 | + { |
|
195 | + $this->generateAuthorityUrl = $generateAuthorityUrl; |
|
196 | + } |
|
197 | 197 | |
198 | 198 | } |
@@ -7,38 +7,38 @@ |
||
7 | 7 | class PddFinanceBalanceDailyBillUrlGetRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(String, "bill_date") |
|
15 | - */ |
|
16 | - private $billDate; |
|
17 | - |
|
18 | - protected function setUserParams(&$params) |
|
19 | - { |
|
20 | - $this->setUserParam($params, "bill_date", $this->billDate); |
|
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.finance.balance.daily.bill.url.get"; |
|
37 | - } |
|
38 | - |
|
39 | - public function setBillDate($billDate) |
|
40 | - { |
|
41 | - $this->billDate = $billDate; |
|
42 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "bill_date") |
|
15 | + */ |
|
16 | + private $billDate; |
|
17 | + |
|
18 | + protected function setUserParams(&$params) |
|
19 | + { |
|
20 | + $this->setUserParam($params, "bill_date", $this->billDate); |
|
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.finance.balance.daily.bill.url.get"; |
|
37 | + } |
|
38 | + |
|
39 | + public function setBillDate($billDate) |
|
40 | + { |
|
41 | + $this->billDate = $billDate; |
|
42 | + } |
|
43 | 43 | |
44 | 44 | } |