@@ -7,184 +7,184 @@ |
||
7 | 7 | class PddFlightRefundApplyRequest 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(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightRefundApplyRequest_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, "out_order_no", $this->outOrderNo); |
|
53 | - $this->setUserParam($params, "parent_travel_sn", $this->parentTravelSn); |
|
54 | - $this->setUserParam($params, "refund_type", $this->refundType); |
|
55 | - $this->setUserParam($params, "refund_reason", $this->refundReason); |
|
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.refund.apply"; |
|
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 setOutOrderNo($outOrderNo) |
|
86 | - { |
|
87 | - $this->outOrderNo = $outOrderNo; |
|
88 | - } |
|
89 | - |
|
90 | - public function setParentTravelSn($parentTravelSn) |
|
91 | - { |
|
92 | - $this->parentTravelSn = $parentTravelSn; |
|
93 | - } |
|
94 | - |
|
95 | - public function setRefundType($refundType) |
|
96 | - { |
|
97 | - $this->refundType = $refundType; |
|
98 | - } |
|
99 | - |
|
100 | - public function setRefundReason($refundReason) |
|
101 | - { |
|
102 | - $this->refundReason = $refundReason; |
|
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, "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(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightRefundApplyRequest_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, "out_order_no", $this->outOrderNo); |
|
53 | + $this->setUserParam($params, "parent_travel_sn", $this->parentTravelSn); |
|
54 | + $this->setUserParam($params, "refund_type", $this->refundType); |
|
55 | + $this->setUserParam($params, "refund_reason", $this->refundReason); |
|
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.refund.apply"; |
|
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 setOutOrderNo($outOrderNo) |
|
86 | + { |
|
87 | + $this->outOrderNo = $outOrderNo; |
|
88 | + } |
|
89 | + |
|
90 | + public function setParentTravelSn($parentTravelSn) |
|
91 | + { |
|
92 | + $this->parentTravelSn = $parentTravelSn; |
|
93 | + } |
|
94 | + |
|
95 | + public function setRefundType($refundType) |
|
96 | + { |
|
97 | + $this->refundType = $refundType; |
|
98 | + } |
|
99 | + |
|
100 | + public function setRefundReason($refundReason) |
|
101 | + { |
|
102 | + $this->refundReason = $refundReason; |
|
103 | + } |
|
104 | + |
|
105 | + public function setPassengerInfoList($passengerInfoList) |
|
106 | + { |
|
107 | + $this->passengerInfoList = $passengerInfoList; |
|
108 | + } |
|
109 | 109 | |
110 | 110 | } |
111 | 111 | |
112 | 112 | class PddFlightRefundApplyRequest_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(String, "old_ticket_no") |
|
152 | - */ |
|
153 | - private $oldTicketNo; |
|
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 setOldTicketNo($oldTicketNo) |
|
186 | - { |
|
187 | - $this->oldTicketNo = $oldTicketNo; |
|
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(String, "old_ticket_no") |
|
152 | + */ |
|
153 | + private $oldTicketNo; |
|
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 setOldTicketNo($oldTicketNo) |
|
186 | + { |
|
187 | + $this->oldTicketNo = $oldTicketNo; |
|
188 | + } |
|
189 | 189 | |
190 | 190 | } |
@@ -7,60 +7,60 @@ |
||
7 | 7 | class PddMallTicketNotifyRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
10 | + { |
|
11 | 11 | |
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(String, "content") |
|
15 | - */ |
|
16 | - private $content; |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "content") |
|
15 | + */ |
|
16 | + private $content; |
|
17 | 17 | |
18 | - /** |
|
19 | - * @JsonProperty(Boolean, "syn_to_user") |
|
20 | - */ |
|
21 | - private $synToUser; |
|
18 | + /** |
|
19 | + * @JsonProperty(Boolean, "syn_to_user") |
|
20 | + */ |
|
21 | + private $synToUser; |
|
22 | 22 | |
23 | - /** |
|
24 | - * @JsonProperty(String, "ticket_id") |
|
25 | - */ |
|
26 | - private $ticketId; |
|
23 | + /** |
|
24 | + * @JsonProperty(String, "ticket_id") |
|
25 | + */ |
|
26 | + private $ticketId; |
|
27 | 27 | |
28 | - protected function setUserParams(&$params) |
|
29 | - { |
|
30 | - $this->setUserParam($params, "content", $this->content); |
|
31 | - $this->setUserParam($params, "syn_to_user", $this->synToUser); |
|
32 | - $this->setUserParam($params, "ticket_id", $this->ticketId); |
|
28 | + protected function setUserParams(&$params) |
|
29 | + { |
|
30 | + $this->setUserParam($params, "content", $this->content); |
|
31 | + $this->setUserParam($params, "syn_to_user", $this->synToUser); |
|
32 | + $this->setUserParam($params, "ticket_id", $this->ticketId); |
|
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.mall.ticket.notify"; |
|
49 | - } |
|
46 | + public function getType() |
|
47 | + { |
|
48 | + return "pdd.mall.ticket.notify"; |
|
49 | + } |
|
50 | 50 | |
51 | - public function setContent($content) |
|
52 | - { |
|
53 | - $this->content = $content; |
|
54 | - } |
|
51 | + public function setContent($content) |
|
52 | + { |
|
53 | + $this->content = $content; |
|
54 | + } |
|
55 | 55 | |
56 | - public function setSynToUser($synToUser) |
|
57 | - { |
|
58 | - $this->synToUser = $synToUser; |
|
59 | - } |
|
56 | + public function setSynToUser($synToUser) |
|
57 | + { |
|
58 | + $this->synToUser = $synToUser; |
|
59 | + } |
|
60 | 60 | |
61 | - public function setTicketId($ticketId) |
|
62 | - { |
|
63 | - $this->ticketId = $ticketId; |
|
64 | - } |
|
61 | + public function setTicketId($ticketId) |
|
62 | + { |
|
63 | + $this->ticketId = $ticketId; |
|
64 | + } |
|
65 | 65 | |
66 | 66 | } |
@@ -7,82 +7,82 @@ |
||
7 | 7 | class PddLogisticsOnlineSendRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(String, "feature") |
|
15 | - */ |
|
16 | - private $feature; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(Long, "logistics_id") |
|
20 | - */ |
|
21 | - private $logisticsId; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(String, "order_sn") |
|
25 | - */ |
|
26 | - private $orderSn; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(String, "refund_address_id") |
|
30 | - */ |
|
31 | - private $refundAddressId; |
|
32 | - |
|
33 | - /** |
|
34 | - * @JsonProperty(String, "tracking_number") |
|
35 | - */ |
|
36 | - private $trackingNumber; |
|
37 | - |
|
38 | - protected function setUserParams(&$params) |
|
39 | - { |
|
40 | - $this->setUserParam($params, "feature", $this->feature); |
|
41 | - $this->setUserParam($params, "logistics_id", $this->logisticsId); |
|
42 | - $this->setUserParam($params, "order_sn", $this->orderSn); |
|
43 | - $this->setUserParam($params, "refund_address_id", $this->refundAddressId); |
|
44 | - $this->setUserParam($params, "tracking_number", $this->trackingNumber); |
|
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.logistics.online.send"; |
|
61 | - } |
|
62 | - |
|
63 | - public function setFeature($feature) |
|
64 | - { |
|
65 | - $this->feature = $feature; |
|
66 | - } |
|
67 | - |
|
68 | - public function setLogisticsId($logisticsId) |
|
69 | - { |
|
70 | - $this->logisticsId = $logisticsId; |
|
71 | - } |
|
72 | - |
|
73 | - public function setOrderSn($orderSn) |
|
74 | - { |
|
75 | - $this->orderSn = $orderSn; |
|
76 | - } |
|
77 | - |
|
78 | - public function setRefundAddressId($refundAddressId) |
|
79 | - { |
|
80 | - $this->refundAddressId = $refundAddressId; |
|
81 | - } |
|
82 | - |
|
83 | - public function setTrackingNumber($trackingNumber) |
|
84 | - { |
|
85 | - $this->trackingNumber = $trackingNumber; |
|
86 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "feature") |
|
15 | + */ |
|
16 | + private $feature; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(Long, "logistics_id") |
|
20 | + */ |
|
21 | + private $logisticsId; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(String, "order_sn") |
|
25 | + */ |
|
26 | + private $orderSn; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(String, "refund_address_id") |
|
30 | + */ |
|
31 | + private $refundAddressId; |
|
32 | + |
|
33 | + /** |
|
34 | + * @JsonProperty(String, "tracking_number") |
|
35 | + */ |
|
36 | + private $trackingNumber; |
|
37 | + |
|
38 | + protected function setUserParams(&$params) |
|
39 | + { |
|
40 | + $this->setUserParam($params, "feature", $this->feature); |
|
41 | + $this->setUserParam($params, "logistics_id", $this->logisticsId); |
|
42 | + $this->setUserParam($params, "order_sn", $this->orderSn); |
|
43 | + $this->setUserParam($params, "refund_address_id", $this->refundAddressId); |
|
44 | + $this->setUserParam($params, "tracking_number", $this->trackingNumber); |
|
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.logistics.online.send"; |
|
61 | + } |
|
62 | + |
|
63 | + public function setFeature($feature) |
|
64 | + { |
|
65 | + $this->feature = $feature; |
|
66 | + } |
|
67 | + |
|
68 | + public function setLogisticsId($logisticsId) |
|
69 | + { |
|
70 | + $this->logisticsId = $logisticsId; |
|
71 | + } |
|
72 | + |
|
73 | + public function setOrderSn($orderSn) |
|
74 | + { |
|
75 | + $this->orderSn = $orderSn; |
|
76 | + } |
|
77 | + |
|
78 | + public function setRefundAddressId($refundAddressId) |
|
79 | + { |
|
80 | + $this->refundAddressId = $refundAddressId; |
|
81 | + } |
|
82 | + |
|
83 | + public function setTrackingNumber($trackingNumber) |
|
84 | + { |
|
85 | + $this->trackingNumber = $trackingNumber; |
|
86 | + } |
|
87 | 87 | |
88 | 88 | } |
@@ -7,38 +7,38 @@ |
||
7 | 7 | class PddGoodsLogisticsSerTemplateDeleteRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(String, "template_id") |
|
15 | - */ |
|
16 | - private $templateId; |
|
17 | - |
|
18 | - protected function setUserParams(&$params) |
|
19 | - { |
|
20 | - $this->setUserParam($params, "template_id", $this->templateId); |
|
21 | - |
|
22 | - } |
|
23 | - |
|
24 | - public function getVersion() |
|
25 | - { |
|
26 | - return "V1"; |
|
27 | - } |
|
28 | - |
|
29 | - public function getDataType() |
|
30 | - { |
|
31 | - return "JSON"; |
|
32 | - } |
|
33 | - |
|
34 | - public function getType() |
|
35 | - { |
|
36 | - return "pdd.goods.logistics.ser.template.delete"; |
|
37 | - } |
|
38 | - |
|
39 | - public function setTemplateId($templateId) |
|
40 | - { |
|
41 | - $this->templateId = $templateId; |
|
42 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "template_id") |
|
15 | + */ |
|
16 | + private $templateId; |
|
17 | + |
|
18 | + protected function setUserParams(&$params) |
|
19 | + { |
|
20 | + $this->setUserParam($params, "template_id", $this->templateId); |
|
21 | + |
|
22 | + } |
|
23 | + |
|
24 | + public function getVersion() |
|
25 | + { |
|
26 | + return "V1"; |
|
27 | + } |
|
28 | + |
|
29 | + public function getDataType() |
|
30 | + { |
|
31 | + return "JSON"; |
|
32 | + } |
|
33 | + |
|
34 | + public function getType() |
|
35 | + { |
|
36 | + return "pdd.goods.logistics.ser.template.delete"; |
|
37 | + } |
|
38 | + |
|
39 | + public function setTemplateId($templateId) |
|
40 | + { |
|
41 | + $this->templateId = $templateId; |
|
42 | + } |
|
43 | 43 | |
44 | 44 | } |
@@ -7,38 +7,38 @@ |
||
7 | 7 | class PddGoodsSizespecTemplateDeleteRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(Long, "id") |
|
15 | - */ |
|
16 | - private $id; |
|
17 | - |
|
18 | - protected function setUserParams(&$params) |
|
19 | - { |
|
20 | - $this->setUserParam($params, "id", $this->id); |
|
21 | - |
|
22 | - } |
|
23 | - |
|
24 | - public function getVersion() |
|
25 | - { |
|
26 | - return "V1"; |
|
27 | - } |
|
28 | - |
|
29 | - public function getDataType() |
|
30 | - { |
|
31 | - return "JSON"; |
|
32 | - } |
|
33 | - |
|
34 | - public function getType() |
|
35 | - { |
|
36 | - return "pdd.goods.sizespec.template.delete"; |
|
37 | - } |
|
38 | - |
|
39 | - public function setId($id) |
|
40 | - { |
|
41 | - $this->id = $id; |
|
42 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(Long, "id") |
|
15 | + */ |
|
16 | + private $id; |
|
17 | + |
|
18 | + protected function setUserParams(&$params) |
|
19 | + { |
|
20 | + $this->setUserParam($params, "id", $this->id); |
|
21 | + |
|
22 | + } |
|
23 | + |
|
24 | + public function getVersion() |
|
25 | + { |
|
26 | + return "V1"; |
|
27 | + } |
|
28 | + |
|
29 | + public function getDataType() |
|
30 | + { |
|
31 | + return "JSON"; |
|
32 | + } |
|
33 | + |
|
34 | + public function getType() |
|
35 | + { |
|
36 | + return "pdd.goods.sizespec.template.delete"; |
|
37 | + } |
|
38 | + |
|
39 | + public function setId($id) |
|
40 | + { |
|
41 | + $this->id = $id; |
|
42 | + } |
|
43 | 43 | |
44 | 44 | } |
@@ -7,180 +7,180 @@ |
||
7 | 7 | class PddAdApiUnitBidSyncRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(Long, "adId") |
|
15 | - */ |
|
16 | - private $adId; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitBidSyncRequest_AdUnitBidsItem>, "adUnitBids") |
|
20 | - */ |
|
21 | - private $adUnitBids; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(Integer, "bidReferenceType") |
|
25 | - */ |
|
26 | - private $bidReferenceType; |
|
27 | - |
|
28 | - protected function setUserParams(&$params) |
|
29 | - { |
|
30 | - $this->setUserParam($params, "adId", $this->adId); |
|
31 | - $this->setUserParam($params, "adUnitBids", $this->adUnitBids); |
|
32 | - $this->setUserParam($params, "bidReferenceType", $this->bidReferenceType); |
|
33 | - |
|
34 | - } |
|
35 | - |
|
36 | - public function getVersion() |
|
37 | - { |
|
38 | - return "V1"; |
|
39 | - } |
|
40 | - |
|
41 | - public function getDataType() |
|
42 | - { |
|
43 | - return "JSON"; |
|
44 | - } |
|
45 | - |
|
46 | - public function getType() |
|
47 | - { |
|
48 | - return "pdd.ad.api.unit.bid.sync"; |
|
49 | - } |
|
50 | - |
|
51 | - public function setAdId($adId) |
|
52 | - { |
|
53 | - $this->adId = $adId; |
|
54 | - } |
|
55 | - |
|
56 | - public function setAdUnitBids($adUnitBids) |
|
57 | - { |
|
58 | - $this->adUnitBids = $adUnitBids; |
|
59 | - } |
|
60 | - |
|
61 | - public function setBidReferenceType($bidReferenceType) |
|
62 | - { |
|
63 | - $this->bidReferenceType = $bidReferenceType; |
|
64 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(Long, "adId") |
|
15 | + */ |
|
16 | + private $adId; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitBidSyncRequest_AdUnitBidsItem>, "adUnitBids") |
|
20 | + */ |
|
21 | + private $adUnitBids; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(Integer, "bidReferenceType") |
|
25 | + */ |
|
26 | + private $bidReferenceType; |
|
27 | + |
|
28 | + protected function setUserParams(&$params) |
|
29 | + { |
|
30 | + $this->setUserParam($params, "adId", $this->adId); |
|
31 | + $this->setUserParam($params, "adUnitBids", $this->adUnitBids); |
|
32 | + $this->setUserParam($params, "bidReferenceType", $this->bidReferenceType); |
|
33 | + |
|
34 | + } |
|
35 | + |
|
36 | + public function getVersion() |
|
37 | + { |
|
38 | + return "V1"; |
|
39 | + } |
|
40 | + |
|
41 | + public function getDataType() |
|
42 | + { |
|
43 | + return "JSON"; |
|
44 | + } |
|
45 | + |
|
46 | + public function getType() |
|
47 | + { |
|
48 | + return "pdd.ad.api.unit.bid.sync"; |
|
49 | + } |
|
50 | + |
|
51 | + public function setAdId($adId) |
|
52 | + { |
|
53 | + $this->adId = $adId; |
|
54 | + } |
|
55 | + |
|
56 | + public function setAdUnitBids($adUnitBids) |
|
57 | + { |
|
58 | + $this->adUnitBids = $adUnitBids; |
|
59 | + } |
|
60 | + |
|
61 | + public function setBidReferenceType($bidReferenceType) |
|
62 | + { |
|
63 | + $this->bidReferenceType = $bidReferenceType; |
|
64 | + } |
|
65 | 65 | |
66 | 66 | } |
67 | 67 | |
68 | 68 | class PddAdApiUnitBidSyncRequest_AdUnitBidsItem extends PopBaseJsonEntity |
69 | 69 | { |
70 | 70 | |
71 | - public function __construct() |
|
72 | - { |
|
73 | - |
|
74 | - } |
|
75 | - |
|
76 | - /** |
|
77 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitBidSyncRequest_AdUnitBidsItemAdTargetingVO, "adTargetingVO") |
|
78 | - */ |
|
79 | - private $adTargetingVO; |
|
80 | - |
|
81 | - /** |
|
82 | - * @JsonProperty(Long, "bidReferenceId") |
|
83 | - */ |
|
84 | - private $bidReferenceId; |
|
85 | - |
|
86 | - /** |
|
87 | - * @JsonProperty(Long, "bidValue") |
|
88 | - */ |
|
89 | - private $bidValue; |
|
90 | - |
|
91 | - /** |
|
92 | - * @JsonProperty(Long, "subBidReferenceId") |
|
93 | - */ |
|
94 | - private $subBidReferenceId; |
|
95 | - |
|
96 | - public function setAdTargetingVO($adTargetingVO) |
|
97 | - { |
|
98 | - $this->adTargetingVO = $adTargetingVO; |
|
99 | - } |
|
100 | - |
|
101 | - public function setBidReferenceId($bidReferenceId) |
|
102 | - { |
|
103 | - $this->bidReferenceId = $bidReferenceId; |
|
104 | - } |
|
105 | - |
|
106 | - public function setBidValue($bidValue) |
|
107 | - { |
|
108 | - $this->bidValue = $bidValue; |
|
109 | - } |
|
110 | - |
|
111 | - public function setSubBidReferenceId($subBidReferenceId) |
|
112 | - { |
|
113 | - $this->subBidReferenceId = $subBidReferenceId; |
|
114 | - } |
|
71 | + public function __construct() |
|
72 | + { |
|
73 | + |
|
74 | + } |
|
75 | + |
|
76 | + /** |
|
77 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitBidSyncRequest_AdUnitBidsItemAdTargetingVO, "adTargetingVO") |
|
78 | + */ |
|
79 | + private $adTargetingVO; |
|
80 | + |
|
81 | + /** |
|
82 | + * @JsonProperty(Long, "bidReferenceId") |
|
83 | + */ |
|
84 | + private $bidReferenceId; |
|
85 | + |
|
86 | + /** |
|
87 | + * @JsonProperty(Long, "bidValue") |
|
88 | + */ |
|
89 | + private $bidValue; |
|
90 | + |
|
91 | + /** |
|
92 | + * @JsonProperty(Long, "subBidReferenceId") |
|
93 | + */ |
|
94 | + private $subBidReferenceId; |
|
95 | + |
|
96 | + public function setAdTargetingVO($adTargetingVO) |
|
97 | + { |
|
98 | + $this->adTargetingVO = $adTargetingVO; |
|
99 | + } |
|
100 | + |
|
101 | + public function setBidReferenceId($bidReferenceId) |
|
102 | + { |
|
103 | + $this->bidReferenceId = $bidReferenceId; |
|
104 | + } |
|
105 | + |
|
106 | + public function setBidValue($bidValue) |
|
107 | + { |
|
108 | + $this->bidValue = $bidValue; |
|
109 | + } |
|
110 | + |
|
111 | + public function setSubBidReferenceId($subBidReferenceId) |
|
112 | + { |
|
113 | + $this->subBidReferenceId = $subBidReferenceId; |
|
114 | + } |
|
115 | 115 | |
116 | 116 | } |
117 | 117 | |
118 | 118 | class PddAdApiUnitBidSyncRequest_AdUnitBidsItemAdTargetingVO extends PopBaseJsonEntity |
119 | 119 | { |
120 | 120 | |
121 | - public function __construct() |
|
122 | - { |
|
121 | + public function __construct() |
|
122 | + { |
|
123 | 123 | |
124 | - } |
|
124 | + } |
|
125 | 125 | |
126 | - /** |
|
127 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitBidSyncRequest_AdUnitBidsItemAdTargetingVOAdTargetingSet, "adTargetingSet") |
|
128 | - */ |
|
129 | - private $adTargetingSet; |
|
126 | + /** |
|
127 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitBidSyncRequest_AdUnitBidsItemAdTargetingVOAdTargetingSet, "adTargetingSet") |
|
128 | + */ |
|
129 | + private $adTargetingSet; |
|
130 | 130 | |
131 | - /** |
|
132 | - * @JsonProperty(String, "targetingName") |
|
133 | - */ |
|
134 | - private $targetingName; |
|
131 | + /** |
|
132 | + * @JsonProperty(String, "targetingName") |
|
133 | + */ |
|
134 | + private $targetingName; |
|
135 | 135 | |
136 | - public function setAdTargetingSet($adTargetingSet) |
|
137 | - { |
|
138 | - $this->adTargetingSet = $adTargetingSet; |
|
139 | - } |
|
136 | + public function setAdTargetingSet($adTargetingSet) |
|
137 | + { |
|
138 | + $this->adTargetingSet = $adTargetingSet; |
|
139 | + } |
|
140 | 140 | |
141 | - public function setTargetingName($targetingName) |
|
142 | - { |
|
143 | - $this->targetingName = $targetingName; |
|
144 | - } |
|
141 | + public function setTargetingName($targetingName) |
|
142 | + { |
|
143 | + $this->targetingName = $targetingName; |
|
144 | + } |
|
145 | 145 | |
146 | 146 | } |
147 | 147 | |
148 | 148 | class PddAdApiUnitBidSyncRequest_AdUnitBidsItemAdTargetingVOAdTargetingSet extends PopBaseJsonEntity |
149 | 149 | { |
150 | 150 | |
151 | - public function __construct() |
|
152 | - { |
|
151 | + public function __construct() |
|
152 | + { |
|
153 | 153 | |
154 | - } |
|
154 | + } |
|
155 | 155 | |
156 | - /** |
|
157 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitBidSyncRequest_AdUnitBidsItemAdTargetingVOAdTargetingSetAreaStruct, "areaStruct") |
|
158 | - */ |
|
159 | - private $areaStruct; |
|
156 | + /** |
|
157 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitBidSyncRequest_AdUnitBidsItemAdTargetingVOAdTargetingSetAreaStruct, "areaStruct") |
|
158 | + */ |
|
159 | + private $areaStruct; |
|
160 | 160 | |
161 | - public function setAreaStruct($areaStruct) |
|
162 | - { |
|
163 | - $this->areaStruct = $areaStruct; |
|
164 | - } |
|
161 | + public function setAreaStruct($areaStruct) |
|
162 | + { |
|
163 | + $this->areaStruct = $areaStruct; |
|
164 | + } |
|
165 | 165 | |
166 | 166 | } |
167 | 167 | |
168 | 168 | class PddAdApiUnitBidSyncRequest_AdUnitBidsItemAdTargetingVOAdTargetingSetAreaStruct extends PopBaseJsonEntity |
169 | 169 | { |
170 | 170 | |
171 | - public function __construct() |
|
172 | - { |
|
171 | + public function __construct() |
|
172 | + { |
|
173 | 173 | |
174 | - } |
|
174 | + } |
|
175 | 175 | |
176 | - /** |
|
177 | - * @JsonProperty(List<Integer>, "areaIds") |
|
178 | - */ |
|
179 | - private $areaIds; |
|
176 | + /** |
|
177 | + * @JsonProperty(List<Integer>, "areaIds") |
|
178 | + */ |
|
179 | + private $areaIds; |
|
180 | 180 | |
181 | - public function setAreaIds($areaIds) |
|
182 | - { |
|
183 | - $this->areaIds = $areaIds; |
|
184 | - } |
|
181 | + public function setAreaIds($areaIds) |
|
182 | + { |
|
183 | + $this->areaIds = $areaIds; |
|
184 | + } |
|
185 | 185 | |
186 | 186 | } |
@@ -7,93 +7,93 @@ |
||
7 | 7 | class PddPromotionGoodsCouponListGetRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(Integer, "page") |
|
15 | - */ |
|
16 | - private $page; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(Integer, "page_size") |
|
20 | - */ |
|
21 | - private $pageSize; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(Long, "goods_id") |
|
25 | - */ |
|
26 | - private $goodsId; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(Integer, "query_range") |
|
30 | - */ |
|
31 | - private $queryRange; |
|
32 | - |
|
33 | - /** |
|
34 | - * @JsonProperty(Integer, "batch_status") |
|
35 | - */ |
|
36 | - private $batchStatus; |
|
37 | - |
|
38 | - /** |
|
39 | - * @JsonProperty(Integer, "sort_by") |
|
40 | - */ |
|
41 | - private $sortBy; |
|
42 | - |
|
43 | - protected function setUserParams(&$params) |
|
44 | - { |
|
45 | - $this->setUserParam($params, "page", $this->page); |
|
46 | - $this->setUserParam($params, "page_size", $this->pageSize); |
|
47 | - $this->setUserParam($params, "goods_id", $this->goodsId); |
|
48 | - $this->setUserParam($params, "query_range", $this->queryRange); |
|
49 | - $this->setUserParam($params, "batch_status", $this->batchStatus); |
|
50 | - $this->setUserParam($params, "sort_by", $this->sortBy); |
|
51 | - |
|
52 | - } |
|
53 | - |
|
54 | - public function getVersion() |
|
55 | - { |
|
56 | - return "V1"; |
|
57 | - } |
|
58 | - |
|
59 | - public function getDataType() |
|
60 | - { |
|
61 | - return "JSON"; |
|
62 | - } |
|
63 | - |
|
64 | - public function getType() |
|
65 | - { |
|
66 | - return "pdd.promotion.goods.coupon.list.get"; |
|
67 | - } |
|
68 | - |
|
69 | - public function setPage($page) |
|
70 | - { |
|
71 | - $this->page = $page; |
|
72 | - } |
|
73 | - |
|
74 | - public function setPageSize($pageSize) |
|
75 | - { |
|
76 | - $this->pageSize = $pageSize; |
|
77 | - } |
|
78 | - |
|
79 | - public function setGoodsId($goodsId) |
|
80 | - { |
|
81 | - $this->goodsId = $goodsId; |
|
82 | - } |
|
83 | - |
|
84 | - public function setQueryRange($queryRange) |
|
85 | - { |
|
86 | - $this->queryRange = $queryRange; |
|
87 | - } |
|
88 | - |
|
89 | - public function setBatchStatus($batchStatus) |
|
90 | - { |
|
91 | - $this->batchStatus = $batchStatus; |
|
92 | - } |
|
93 | - |
|
94 | - public function setSortBy($sortBy) |
|
95 | - { |
|
96 | - $this->sortBy = $sortBy; |
|
97 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(Integer, "page") |
|
15 | + */ |
|
16 | + private $page; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(Integer, "page_size") |
|
20 | + */ |
|
21 | + private $pageSize; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(Long, "goods_id") |
|
25 | + */ |
|
26 | + private $goodsId; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(Integer, "query_range") |
|
30 | + */ |
|
31 | + private $queryRange; |
|
32 | + |
|
33 | + /** |
|
34 | + * @JsonProperty(Integer, "batch_status") |
|
35 | + */ |
|
36 | + private $batchStatus; |
|
37 | + |
|
38 | + /** |
|
39 | + * @JsonProperty(Integer, "sort_by") |
|
40 | + */ |
|
41 | + private $sortBy; |
|
42 | + |
|
43 | + protected function setUserParams(&$params) |
|
44 | + { |
|
45 | + $this->setUserParam($params, "page", $this->page); |
|
46 | + $this->setUserParam($params, "page_size", $this->pageSize); |
|
47 | + $this->setUserParam($params, "goods_id", $this->goodsId); |
|
48 | + $this->setUserParam($params, "query_range", $this->queryRange); |
|
49 | + $this->setUserParam($params, "batch_status", $this->batchStatus); |
|
50 | + $this->setUserParam($params, "sort_by", $this->sortBy); |
|
51 | + |
|
52 | + } |
|
53 | + |
|
54 | + public function getVersion() |
|
55 | + { |
|
56 | + return "V1"; |
|
57 | + } |
|
58 | + |
|
59 | + public function getDataType() |
|
60 | + { |
|
61 | + return "JSON"; |
|
62 | + } |
|
63 | + |
|
64 | + public function getType() |
|
65 | + { |
|
66 | + return "pdd.promotion.goods.coupon.list.get"; |
|
67 | + } |
|
68 | + |
|
69 | + public function setPage($page) |
|
70 | + { |
|
71 | + $this->page = $page; |
|
72 | + } |
|
73 | + |
|
74 | + public function setPageSize($pageSize) |
|
75 | + { |
|
76 | + $this->pageSize = $pageSize; |
|
77 | + } |
|
78 | + |
|
79 | + public function setGoodsId($goodsId) |
|
80 | + { |
|
81 | + $this->goodsId = $goodsId; |
|
82 | + } |
|
83 | + |
|
84 | + public function setQueryRange($queryRange) |
|
85 | + { |
|
86 | + $this->queryRange = $queryRange; |
|
87 | + } |
|
88 | + |
|
89 | + public function setBatchStatus($batchStatus) |
|
90 | + { |
|
91 | + $this->batchStatus = $batchStatus; |
|
92 | + } |
|
93 | + |
|
94 | + public function setSortBy($sortBy) |
|
95 | + { |
|
96 | + $this->sortBy = $sortBy; |
|
97 | + } |
|
98 | 98 | |
99 | 99 | } |
@@ -7,71 +7,71 @@ |
||
7 | 7 | class PddKttGoodsIncrQuantityRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(Long, "goods_id") |
|
15 | - */ |
|
16 | - private $goodsId; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(Integer, "modify_quantity_type") |
|
20 | - */ |
|
21 | - private $modifyQuantityType; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(Integer, "quantity_delta") |
|
25 | - */ |
|
26 | - private $quantityDelta; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(Long, "sku_id") |
|
30 | - */ |
|
31 | - private $skuId; |
|
32 | - |
|
33 | - protected function setUserParams(&$params) |
|
34 | - { |
|
35 | - $this->setUserParam($params, "goods_id", $this->goodsId); |
|
36 | - $this->setUserParam($params, "modify_quantity_type", $this->modifyQuantityType); |
|
37 | - $this->setUserParam($params, "quantity_delta", $this->quantityDelta); |
|
38 | - $this->setUserParam($params, "sku_id", $this->skuId); |
|
39 | - |
|
40 | - } |
|
41 | - |
|
42 | - public function getVersion() |
|
43 | - { |
|
44 | - return "V1"; |
|
45 | - } |
|
46 | - |
|
47 | - public function getDataType() |
|
48 | - { |
|
49 | - return "JSON"; |
|
50 | - } |
|
51 | - |
|
52 | - public function getType() |
|
53 | - { |
|
54 | - return "pdd.ktt.goods.incr.quantity"; |
|
55 | - } |
|
56 | - |
|
57 | - public function setGoodsId($goodsId) |
|
58 | - { |
|
59 | - $this->goodsId = $goodsId; |
|
60 | - } |
|
61 | - |
|
62 | - public function setModifyQuantityType($modifyQuantityType) |
|
63 | - { |
|
64 | - $this->modifyQuantityType = $modifyQuantityType; |
|
65 | - } |
|
66 | - |
|
67 | - public function setQuantityDelta($quantityDelta) |
|
68 | - { |
|
69 | - $this->quantityDelta = $quantityDelta; |
|
70 | - } |
|
71 | - |
|
72 | - public function setSkuId($skuId) |
|
73 | - { |
|
74 | - $this->skuId = $skuId; |
|
75 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(Long, "goods_id") |
|
15 | + */ |
|
16 | + private $goodsId; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(Integer, "modify_quantity_type") |
|
20 | + */ |
|
21 | + private $modifyQuantityType; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(Integer, "quantity_delta") |
|
25 | + */ |
|
26 | + private $quantityDelta; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(Long, "sku_id") |
|
30 | + */ |
|
31 | + private $skuId; |
|
32 | + |
|
33 | + protected function setUserParams(&$params) |
|
34 | + { |
|
35 | + $this->setUserParam($params, "goods_id", $this->goodsId); |
|
36 | + $this->setUserParam($params, "modify_quantity_type", $this->modifyQuantityType); |
|
37 | + $this->setUserParam($params, "quantity_delta", $this->quantityDelta); |
|
38 | + $this->setUserParam($params, "sku_id", $this->skuId); |
|
39 | + |
|
40 | + } |
|
41 | + |
|
42 | + public function getVersion() |
|
43 | + { |
|
44 | + return "V1"; |
|
45 | + } |
|
46 | + |
|
47 | + public function getDataType() |
|
48 | + { |
|
49 | + return "JSON"; |
|
50 | + } |
|
51 | + |
|
52 | + public function getType() |
|
53 | + { |
|
54 | + return "pdd.ktt.goods.incr.quantity"; |
|
55 | + } |
|
56 | + |
|
57 | + public function setGoodsId($goodsId) |
|
58 | + { |
|
59 | + $this->goodsId = $goodsId; |
|
60 | + } |
|
61 | + |
|
62 | + public function setModifyQuantityType($modifyQuantityType) |
|
63 | + { |
|
64 | + $this->modifyQuantityType = $modifyQuantityType; |
|
65 | + } |
|
66 | + |
|
67 | + public function setQuantityDelta($quantityDelta) |
|
68 | + { |
|
69 | + $this->quantityDelta = $quantityDelta; |
|
70 | + } |
|
71 | + |
|
72 | + public function setSkuId($skuId) |
|
73 | + { |
|
74 | + $this->skuId = $skuId; |
|
75 | + } |
|
76 | 76 | |
77 | 77 | } |
@@ -7,82 +7,82 @@ |
||
7 | 7 | class PddAdApiKeywordQueryListRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(Long, "adId") |
|
15 | - */ |
|
16 | - private $adId; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(String, "beginDate") |
|
20 | - */ |
|
21 | - private $beginDate; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(String, "endDate") |
|
25 | - */ |
|
26 | - private $endDate; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(Integer, "orderBy") |
|
30 | - */ |
|
31 | - private $orderBy; |
|
32 | - |
|
33 | - /** |
|
34 | - * @JsonProperty(Integer, "sortBy") |
|
35 | - */ |
|
36 | - private $sortBy; |
|
37 | - |
|
38 | - protected function setUserParams(&$params) |
|
39 | - { |
|
40 | - $this->setUserParam($params, "adId", $this->adId); |
|
41 | - $this->setUserParam($params, "beginDate", $this->beginDate); |
|
42 | - $this->setUserParam($params, "endDate", $this->endDate); |
|
43 | - $this->setUserParam($params, "orderBy", $this->orderBy); |
|
44 | - $this->setUserParam($params, "sortBy", $this->sortBy); |
|
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.ad.api.keyword.query.list"; |
|
61 | - } |
|
62 | - |
|
63 | - public function setAdId($adId) |
|
64 | - { |
|
65 | - $this->adId = $adId; |
|
66 | - } |
|
67 | - |
|
68 | - public function setBeginDate($beginDate) |
|
69 | - { |
|
70 | - $this->beginDate = $beginDate; |
|
71 | - } |
|
72 | - |
|
73 | - public function setEndDate($endDate) |
|
74 | - { |
|
75 | - $this->endDate = $endDate; |
|
76 | - } |
|
77 | - |
|
78 | - public function setOrderBy($orderBy) |
|
79 | - { |
|
80 | - $this->orderBy = $orderBy; |
|
81 | - } |
|
82 | - |
|
83 | - public function setSortBy($sortBy) |
|
84 | - { |
|
85 | - $this->sortBy = $sortBy; |
|
86 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(Long, "adId") |
|
15 | + */ |
|
16 | + private $adId; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(String, "beginDate") |
|
20 | + */ |
|
21 | + private $beginDate; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(String, "endDate") |
|
25 | + */ |
|
26 | + private $endDate; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(Integer, "orderBy") |
|
30 | + */ |
|
31 | + private $orderBy; |
|
32 | + |
|
33 | + /** |
|
34 | + * @JsonProperty(Integer, "sortBy") |
|
35 | + */ |
|
36 | + private $sortBy; |
|
37 | + |
|
38 | + protected function setUserParams(&$params) |
|
39 | + { |
|
40 | + $this->setUserParam($params, "adId", $this->adId); |
|
41 | + $this->setUserParam($params, "beginDate", $this->beginDate); |
|
42 | + $this->setUserParam($params, "endDate", $this->endDate); |
|
43 | + $this->setUserParam($params, "orderBy", $this->orderBy); |
|
44 | + $this->setUserParam($params, "sortBy", $this->sortBy); |
|
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.ad.api.keyword.query.list"; |
|
61 | + } |
|
62 | + |
|
63 | + public function setAdId($adId) |
|
64 | + { |
|
65 | + $this->adId = $adId; |
|
66 | + } |
|
67 | + |
|
68 | + public function setBeginDate($beginDate) |
|
69 | + { |
|
70 | + $this->beginDate = $beginDate; |
|
71 | + } |
|
72 | + |
|
73 | + public function setEndDate($endDate) |
|
74 | + { |
|
75 | + $this->endDate = $endDate; |
|
76 | + } |
|
77 | + |
|
78 | + public function setOrderBy($orderBy) |
|
79 | + { |
|
80 | + $this->orderBy = $orderBy; |
|
81 | + } |
|
82 | + |
|
83 | + public function setSortBy($sortBy) |
|
84 | + { |
|
85 | + $this->sortBy = $sortBy; |
|
86 | + } |
|
87 | 87 | |
88 | 88 | } |