@@ -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 | } |
@@ -7,78 +7,78 @@ |
||
7 | 7 | class PddStockWareWarehouseQueryRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
10 | + { |
|
11 | 11 | |
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddStockWareWarehouseQueryRequest_Request, "request") |
|
15 | - */ |
|
16 | - private $request; |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddStockWareWarehouseQueryRequest_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.stock.ware.warehouse.query"; |
|
37 | - } |
|
34 | + public function getType() |
|
35 | + { |
|
36 | + return "pdd.stock.ware.warehouse.query"; |
|
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 PddStockWareWarehouseQueryRequest_Request extends PopBaseJsonEntity |
47 | 47 | { |
48 | 48 | |
49 | - public function __construct() |
|
50 | - { |
|
51 | - |
|
52 | - } |
|
53 | - |
|
54 | - /** |
|
55 | - * @JsonProperty(Integer, "page") |
|
56 | - */ |
|
57 | - private $page; |
|
58 | - |
|
59 | - /** |
|
60 | - * @JsonProperty(Integer, "page_size") |
|
61 | - */ |
|
62 | - private $pageSize; |
|
63 | - |
|
64 | - /** |
|
65 | - * @JsonProperty(List<String>, "ware_sn_list") |
|
66 | - */ |
|
67 | - private $wareSnList; |
|
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 setWareSnList($wareSnList) |
|
80 | - { |
|
81 | - $this->wareSnList = $wareSnList; |
|
82 | - } |
|
49 | + public function __construct() |
|
50 | + { |
|
51 | + |
|
52 | + } |
|
53 | + |
|
54 | + /** |
|
55 | + * @JsonProperty(Integer, "page") |
|
56 | + */ |
|
57 | + private $page; |
|
58 | + |
|
59 | + /** |
|
60 | + * @JsonProperty(Integer, "page_size") |
|
61 | + */ |
|
62 | + private $pageSize; |
|
63 | + |
|
64 | + /** |
|
65 | + * @JsonProperty(List<String>, "ware_sn_list") |
|
66 | + */ |
|
67 | + private $wareSnList; |
|
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 setWareSnList($wareSnList) |
|
80 | + { |
|
81 | + $this->wareSnList = $wareSnList; |
|
82 | + } |
|
83 | 83 | |
84 | 84 | } |
@@ -7,49 +7,49 @@ |
||
7 | 7 | class PddPromotionCouponQuantityAddRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(Long, "batch_id") |
|
15 | - */ |
|
16 | - private $batchId; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(Long, "add_quantity") |
|
20 | - */ |
|
21 | - private $addQuantity; |
|
22 | - |
|
23 | - protected function setUserParams(&$params) |
|
24 | - { |
|
25 | - $this->setUserParam($params, "batch_id", $this->batchId); |
|
26 | - $this->setUserParam($params, "add_quantity", $this->addQuantity); |
|
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.promotion.coupon.quantity.add"; |
|
43 | - } |
|
44 | - |
|
45 | - public function setBatchId($batchId) |
|
46 | - { |
|
47 | - $this->batchId = $batchId; |
|
48 | - } |
|
49 | - |
|
50 | - public function setAddQuantity($addQuantity) |
|
51 | - { |
|
52 | - $this->addQuantity = $addQuantity; |
|
53 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(Long, "batch_id") |
|
15 | + */ |
|
16 | + private $batchId; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(Long, "add_quantity") |
|
20 | + */ |
|
21 | + private $addQuantity; |
|
22 | + |
|
23 | + protected function setUserParams(&$params) |
|
24 | + { |
|
25 | + $this->setUserParam($params, "batch_id", $this->batchId); |
|
26 | + $this->setUserParam($params, "add_quantity", $this->addQuantity); |
|
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.promotion.coupon.quantity.add"; |
|
43 | + } |
|
44 | + |
|
45 | + public function setBatchId($batchId) |
|
46 | + { |
|
47 | + $this->batchId = $batchId; |
|
48 | + } |
|
49 | + |
|
50 | + public function setAddQuantity($addQuantity) |
|
51 | + { |
|
52 | + $this->addQuantity = $addQuantity; |
|
53 | + } |
|
54 | 54 | |
55 | 55 | } |