Passed
Push — v6 ( 32f4f3...27c58a )
by 光春
03:39
created
service/pinduoduo/bin/src/Api/Request/PddLogisticsOnlineCreateRequest.php 1 patch
Indentation   +110 added lines, -110 removed lines patch added patch discarded remove patch
@@ -7,115 +7,115 @@
 block discarded – undo
7 7
 class PddLogisticsOnlineCreateRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(String, "tracking_number")
15
-	*/
16
-	private $trackingNumber;
17
-
18
-	/**
19
-	* @JsonProperty(Integer, "shipping_id")
20
-	*/
21
-	private $shippingId;
22
-
23
-	/**
24
-	* @JsonProperty(String, "return_id")
25
-	*/
26
-	private $returnId;
27
-
28
-	/**
29
-	* @JsonProperty(String, "delivery_phone")
30
-	*/
31
-	private $deliveryPhone;
32
-
33
-	/**
34
-	* @JsonProperty(String, "delivery_name")
35
-	*/
36
-	private $deliveryName;
37
-
38
-	/**
39
-	* @JsonProperty(String, "delivery_address")
40
-	*/
41
-	private $deliveryAddress;
42
-
43
-	/**
44
-	* @JsonProperty(String, "delivery_id")
45
-	*/
46
-	private $deliveryId;
47
-
48
-	/**
49
-	* @JsonProperty(String, "order_sn")
50
-	*/
51
-	private $orderSn;
52
-
53
-	protected function setUserParams(&$params)
54
-	{
55
-		$this->setUserParam($params, "tracking_number", $this->trackingNumber);
56
-		$this->setUserParam($params, "shipping_id", $this->shippingId);
57
-		$this->setUserParam($params, "return_id", $this->returnId);
58
-		$this->setUserParam($params, "delivery_phone", $this->deliveryPhone);
59
-		$this->setUserParam($params, "delivery_name", $this->deliveryName);
60
-		$this->setUserParam($params, "delivery_address", $this->deliveryAddress);
61
-		$this->setUserParam($params, "delivery_id", $this->deliveryId);
62
-		$this->setUserParam($params, "order_sn", $this->orderSn);
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.logistics.online.create";
79
-	}
80
-
81
-	public function setTrackingNumber($trackingNumber)
82
-	{
83
-		$this->trackingNumber = $trackingNumber;
84
-	}
85
-
86
-	public function setShippingId($shippingId)
87
-	{
88
-		$this->shippingId = $shippingId;
89
-	}
90
-
91
-	public function setReturnId($returnId)
92
-	{
93
-		$this->returnId = $returnId;
94
-	}
95
-
96
-	public function setDeliveryPhone($deliveryPhone)
97
-	{
98
-		$this->deliveryPhone = $deliveryPhone;
99
-	}
100
-
101
-	public function setDeliveryName($deliveryName)
102
-	{
103
-		$this->deliveryName = $deliveryName;
104
-	}
105
-
106
-	public function setDeliveryAddress($deliveryAddress)
107
-	{
108
-		$this->deliveryAddress = $deliveryAddress;
109
-	}
110
-
111
-	public function setDeliveryId($deliveryId)
112
-	{
113
-		$this->deliveryId = $deliveryId;
114
-	}
115
-
116
-	public function setOrderSn($orderSn)
117
-	{
118
-		$this->orderSn = $orderSn;
119
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(String, "tracking_number")
15
+     */
16
+    private $trackingNumber;
17
+
18
+    /**
19
+     * @JsonProperty(Integer, "shipping_id")
20
+     */
21
+    private $shippingId;
22
+
23
+    /**
24
+     * @JsonProperty(String, "return_id")
25
+     */
26
+    private $returnId;
27
+
28
+    /**
29
+     * @JsonProperty(String, "delivery_phone")
30
+     */
31
+    private $deliveryPhone;
32
+
33
+    /**
34
+     * @JsonProperty(String, "delivery_name")
35
+     */
36
+    private $deliveryName;
37
+
38
+    /**
39
+     * @JsonProperty(String, "delivery_address")
40
+     */
41
+    private $deliveryAddress;
42
+
43
+    /**
44
+     * @JsonProperty(String, "delivery_id")
45
+     */
46
+    private $deliveryId;
47
+
48
+    /**
49
+     * @JsonProperty(String, "order_sn")
50
+     */
51
+    private $orderSn;
52
+
53
+    protected function setUserParams(&$params)
54
+    {
55
+        $this->setUserParam($params, "tracking_number", $this->trackingNumber);
56
+        $this->setUserParam($params, "shipping_id", $this->shippingId);
57
+        $this->setUserParam($params, "return_id", $this->returnId);
58
+        $this->setUserParam($params, "delivery_phone", $this->deliveryPhone);
59
+        $this->setUserParam($params, "delivery_name", $this->deliveryName);
60
+        $this->setUserParam($params, "delivery_address", $this->deliveryAddress);
61
+        $this->setUserParam($params, "delivery_id", $this->deliveryId);
62
+        $this->setUserParam($params, "order_sn", $this->orderSn);
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.logistics.online.create";
79
+    }
80
+
81
+    public function setTrackingNumber($trackingNumber)
82
+    {
83
+        $this->trackingNumber = $trackingNumber;
84
+    }
85
+
86
+    public function setShippingId($shippingId)
87
+    {
88
+        $this->shippingId = $shippingId;
89
+    }
90
+
91
+    public function setReturnId($returnId)
92
+    {
93
+        $this->returnId = $returnId;
94
+    }
95
+
96
+    public function setDeliveryPhone($deliveryPhone)
97
+    {
98
+        $this->deliveryPhone = $deliveryPhone;
99
+    }
100
+
101
+    public function setDeliveryName($deliveryName)
102
+    {
103
+        $this->deliveryName = $deliveryName;
104
+    }
105
+
106
+    public function setDeliveryAddress($deliveryAddress)
107
+    {
108
+        $this->deliveryAddress = $deliveryAddress;
109
+    }
110
+
111
+    public function setDeliveryId($deliveryId)
112
+    {
113
+        $this->deliveryId = $deliveryId;
114
+    }
115
+
116
+    public function setOrderSn($orderSn)
117
+    {
118
+        $this->orderSn = $orderSn;
119
+    }
120 120
 
121 121
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddAdApiUnitCreateRequest.php 1 patch
Indentation   +454 added lines, -454 removed lines patch added patch discarded remove patch
@@ -7,600 +7,600 @@
 block discarded – undo
7 7
 class PddAdApiUnitCreateRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitCreateRequest_AdUnitCreateComplexMessage, "adUnitCreateComplexMessage")
15
-	*/
16
-	private $adUnitCreateComplexMessage;
17
-
18
-	/**
19
-	* @JsonProperty(Long, "planId")
20
-	*/
21
-	private $planId;
22
-
23
-	/**
24
-	* @JsonProperty(Integer, "scenesType")
25
-	*/
26
-	private $scenesType;
27
-
28
-	protected function setUserParams(&$params)
29
-	{
30
-		$this->setUserParam($params, "adUnitCreateComplexMessage", $this->adUnitCreateComplexMessage);
31
-		$this->setUserParam($params, "planId", $this->planId);
32
-		$this->setUserParam($params, "scenesType", $this->scenesType);
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.create";
49
-	}
50
-
51
-	public function setAdUnitCreateComplexMessage($adUnitCreateComplexMessage)
52
-	{
53
-		$this->adUnitCreateComplexMessage = $adUnitCreateComplexMessage;
54
-	}
55
-
56
-	public function setPlanId($planId)
57
-	{
58
-		$this->planId = $planId;
59
-	}
60
-
61
-	public function setScenesType($scenesType)
62
-	{
63
-		$this->scenesType = $scenesType;
64
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitCreateRequest_AdUnitCreateComplexMessage, "adUnitCreateComplexMessage")
15
+     */
16
+    private $adUnitCreateComplexMessage;
17
+
18
+    /**
19
+     * @JsonProperty(Long, "planId")
20
+     */
21
+    private $planId;
22
+
23
+    /**
24
+     * @JsonProperty(Integer, "scenesType")
25
+     */
26
+    private $scenesType;
27
+
28
+    protected function setUserParams(&$params)
29
+    {
30
+        $this->setUserParam($params, "adUnitCreateComplexMessage", $this->adUnitCreateComplexMessage);
31
+        $this->setUserParam($params, "planId", $this->planId);
32
+        $this->setUserParam($params, "scenesType", $this->scenesType);
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.create";
49
+    }
50
+
51
+    public function setAdUnitCreateComplexMessage($adUnitCreateComplexMessage)
52
+    {
53
+        $this->adUnitCreateComplexMessage = $adUnitCreateComplexMessage;
54
+    }
55
+
56
+    public function setPlanId($planId)
57
+    {
58
+        $this->planId = $planId;
59
+    }
60
+
61
+    public function setScenesType($scenesType)
62
+    {
63
+        $this->scenesType = $scenesType;
64
+    }
65 65
 
66 66
 }
67 67
 
68 68
 class PddAdApiUnitCreateRequest_AdUnitCreateComplexMessage extends PopBaseJsonEntity
69 69
 {
70 70
 
71
-	public function __construct()
72
-	{
73
-
74
-	}
75
-
76
-	/**
77
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitCreateRequest_AdUnitCreateComplexMessageAdCreativeCreateMessagesListItem>, "adCreativeCreateMessagesList")
78
-	*/
79
-	private $adCreativeCreateMessagesList;
80
-
81
-	/**
82
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitCreateRequest_AdUnitCreateComplexMessageAdKeywordCreateMessageListItem>, "adKeywordCreateMessageList")
83
-	*/
84
-	private $adKeywordCreateMessageList;
85
-
86
-	/**
87
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitCreateRequest_AdUnitCreateComplexMessageAdKeywordSetMessage, "adKeywordSetMessage")
88
-	*/
89
-	private $adKeywordSetMessage;
90
-
91
-	/**
92
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitCreateRequest_AdUnitCreateComplexMessageAdProductCreateMessage, "adProductCreateMessage")
93
-	*/
94
-	private $adProductCreateMessage;
95
-
96
-	/**
97
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitCreateRequest_AdUnitCreateComplexMessageAdUnitCreateMessage, "adUnitCreateMessage")
98
-	*/
99
-	private $adUnitCreateMessage;
100
-
101
-	/**
102
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitCreateRequest_AdUnitCreateComplexMessageAudienceBidCreateMessageListItem>, "audienceBidCreateMessageList")
103
-	*/
104
-	private $audienceBidCreateMessageList;
105
-
106
-	/**
107
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitCreateRequest_AdUnitCreateComplexMessageLocationBidCreateMessageListItem>, "locationBidCreateMessageList")
108
-	*/
109
-	private $locationBidCreateMessageList;
110
-
111
-	/**
112
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitCreateRequest_AdUnitCreateComplexMessageSmartCreativeCreateMessage, "smartCreativeCreateMessage")
113
-	*/
114
-	private $smartCreativeCreateMessage;
115
-
116
-	public function setAdCreativeCreateMessagesList($adCreativeCreateMessagesList)
117
-	{
118
-		$this->adCreativeCreateMessagesList = $adCreativeCreateMessagesList;
119
-	}
120
-
121
-	public function setAdKeywordCreateMessageList($adKeywordCreateMessageList)
122
-	{
123
-		$this->adKeywordCreateMessageList = $adKeywordCreateMessageList;
124
-	}
125
-
126
-	public function setAdKeywordSetMessage($adKeywordSetMessage)
127
-	{
128
-		$this->adKeywordSetMessage = $adKeywordSetMessage;
129
-	}
130
-
131
-	public function setAdProductCreateMessage($adProductCreateMessage)
132
-	{
133
-		$this->adProductCreateMessage = $adProductCreateMessage;
134
-	}
135
-
136
-	public function setAdUnitCreateMessage($adUnitCreateMessage)
137
-	{
138
-		$this->adUnitCreateMessage = $adUnitCreateMessage;
139
-	}
140
-
141
-	public function setAudienceBidCreateMessageList($audienceBidCreateMessageList)
142
-	{
143
-		$this->audienceBidCreateMessageList = $audienceBidCreateMessageList;
144
-	}
145
-
146
-	public function setLocationBidCreateMessageList($locationBidCreateMessageList)
147
-	{
148
-		$this->locationBidCreateMessageList = $locationBidCreateMessageList;
149
-	}
150
-
151
-	public function setSmartCreativeCreateMessage($smartCreativeCreateMessage)
152
-	{
153
-		$this->smartCreativeCreateMessage = $smartCreativeCreateMessage;
154
-	}
71
+    public function __construct()
72
+    {
73
+
74
+    }
75
+
76
+    /**
77
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitCreateRequest_AdUnitCreateComplexMessageAdCreativeCreateMessagesListItem>, "adCreativeCreateMessagesList")
78
+     */
79
+    private $adCreativeCreateMessagesList;
80
+
81
+    /**
82
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitCreateRequest_AdUnitCreateComplexMessageAdKeywordCreateMessageListItem>, "adKeywordCreateMessageList")
83
+     */
84
+    private $adKeywordCreateMessageList;
85
+
86
+    /**
87
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitCreateRequest_AdUnitCreateComplexMessageAdKeywordSetMessage, "adKeywordSetMessage")
88
+     */
89
+    private $adKeywordSetMessage;
90
+
91
+    /**
92
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitCreateRequest_AdUnitCreateComplexMessageAdProductCreateMessage, "adProductCreateMessage")
93
+     */
94
+    private $adProductCreateMessage;
95
+
96
+    /**
97
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitCreateRequest_AdUnitCreateComplexMessageAdUnitCreateMessage, "adUnitCreateMessage")
98
+     */
99
+    private $adUnitCreateMessage;
100
+
101
+    /**
102
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitCreateRequest_AdUnitCreateComplexMessageAudienceBidCreateMessageListItem>, "audienceBidCreateMessageList")
103
+     */
104
+    private $audienceBidCreateMessageList;
105
+
106
+    /**
107
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitCreateRequest_AdUnitCreateComplexMessageLocationBidCreateMessageListItem>, "locationBidCreateMessageList")
108
+     */
109
+    private $locationBidCreateMessageList;
110
+
111
+    /**
112
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitCreateRequest_AdUnitCreateComplexMessageSmartCreativeCreateMessage, "smartCreativeCreateMessage")
113
+     */
114
+    private $smartCreativeCreateMessage;
115
+
116
+    public function setAdCreativeCreateMessagesList($adCreativeCreateMessagesList)
117
+    {
118
+        $this->adCreativeCreateMessagesList = $adCreativeCreateMessagesList;
119
+    }
120
+
121
+    public function setAdKeywordCreateMessageList($adKeywordCreateMessageList)
122
+    {
123
+        $this->adKeywordCreateMessageList = $adKeywordCreateMessageList;
124
+    }
125
+
126
+    public function setAdKeywordSetMessage($adKeywordSetMessage)
127
+    {
128
+        $this->adKeywordSetMessage = $adKeywordSetMessage;
129
+    }
130
+
131
+    public function setAdProductCreateMessage($adProductCreateMessage)
132
+    {
133
+        $this->adProductCreateMessage = $adProductCreateMessage;
134
+    }
135
+
136
+    public function setAdUnitCreateMessage($adUnitCreateMessage)
137
+    {
138
+        $this->adUnitCreateMessage = $adUnitCreateMessage;
139
+    }
140
+
141
+    public function setAudienceBidCreateMessageList($audienceBidCreateMessageList)
142
+    {
143
+        $this->audienceBidCreateMessageList = $audienceBidCreateMessageList;
144
+    }
145
+
146
+    public function setLocationBidCreateMessageList($locationBidCreateMessageList)
147
+    {
148
+        $this->locationBidCreateMessageList = $locationBidCreateMessageList;
149
+    }
150
+
151
+    public function setSmartCreativeCreateMessage($smartCreativeCreateMessage)
152
+    {
153
+        $this->smartCreativeCreateMessage = $smartCreativeCreateMessage;
154
+    }
155 155
 
156 156
 }
157 157
 
158 158
 class PddAdApiUnitCreateRequest_AdUnitCreateComplexMessageAdCreativeCreateMessagesListItem extends PopBaseJsonEntity
159 159
 {
160 160
 
161
-	public function __construct()
162
-	{
161
+    public function __construct()
162
+    {
163 163
 
164
-	}
164
+    }
165 165
 
166
-	/**
167
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitCreateRequest_AdUnitCreateComplexMessageAdCreativeCreateMessagesListItemAdImageVOListItem>, "adImageVOList")
168
-	*/
169
-	private $adImageVOList;
166
+    /**
167
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitCreateRequest_AdUnitCreateComplexMessageAdCreativeCreateMessagesListItemAdImageVOListItem>, "adImageVOList")
168
+     */
169
+    private $adImageVOList;
170 170
 
171
-	/**
172
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitCreateRequest_AdUnitCreateComplexMessageAdCreativeCreateMessagesListItemAdTextVOListItem>, "adTextVOList")
173
-	*/
174
-	private $adTextVOList;
171
+    /**
172
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitCreateRequest_AdUnitCreateComplexMessageAdCreativeCreateMessagesListItemAdTextVOListItem>, "adTextVOList")
173
+     */
174
+    private $adTextVOList;
175 175
 
176
-	/**
177
-	* @JsonProperty(Long, "creativeSpecificationId")
178
-	*/
179
-	private $creativeSpecificationId;
176
+    /**
177
+     * @JsonProperty(Long, "creativeSpecificationId")
178
+     */
179
+    private $creativeSpecificationId;
180 180
 
181
-	public function setAdImageVOList($adImageVOList)
182
-	{
183
-		$this->adImageVOList = $adImageVOList;
184
-	}
181
+    public function setAdImageVOList($adImageVOList)
182
+    {
183
+        $this->adImageVOList = $adImageVOList;
184
+    }
185 185
 
186
-	public function setAdTextVOList($adTextVOList)
187
-	{
188
-		$this->adTextVOList = $adTextVOList;
189
-	}
186
+    public function setAdTextVOList($adTextVOList)
187
+    {
188
+        $this->adTextVOList = $adTextVOList;
189
+    }
190 190
 
191
-	public function setCreativeSpecificationId($creativeSpecificationId)
192
-	{
193
-		$this->creativeSpecificationId = $creativeSpecificationId;
194
-	}
191
+    public function setCreativeSpecificationId($creativeSpecificationId)
192
+    {
193
+        $this->creativeSpecificationId = $creativeSpecificationId;
194
+    }
195 195
 
196 196
 }
197 197
 
198 198
 class PddAdApiUnitCreateRequest_AdUnitCreateComplexMessageAdCreativeCreateMessagesListItemAdImageVOListItem extends PopBaseJsonEntity
199 199
 {
200 200
 
201
-	public function __construct()
202
-	{
201
+    public function __construct()
202
+    {
203 203
 
204
-	}
204
+    }
205 205
 
206
-	/**
207
-	* @JsonProperty(String, "imageUrl")
208
-	*/
209
-	private $imageUrl;
206
+    /**
207
+     * @JsonProperty(String, "imageUrl")
208
+     */
209
+    private $imageUrl;
210 210
 
211
-	public function setImageUrl($imageUrl)
212
-	{
213
-		$this->imageUrl = $imageUrl;
214
-	}
211
+    public function setImageUrl($imageUrl)
212
+    {
213
+        $this->imageUrl = $imageUrl;
214
+    }
215 215
 
216 216
 }
217 217
 
218 218
 class PddAdApiUnitCreateRequest_AdUnitCreateComplexMessageAdCreativeCreateMessagesListItemAdTextVOListItem extends PopBaseJsonEntity
219 219
 {
220 220
 
221
-	public function __construct()
222
-	{
221
+    public function __construct()
222
+    {
223 223
 
224
-	}
224
+    }
225 225
 
226
-	/**
227
-	* @JsonProperty(String, "text")
228
-	*/
229
-	private $text;
226
+    /**
227
+     * @JsonProperty(String, "text")
228
+     */
229
+    private $text;
230 230
 
231
-	public function setText($text)
232
-	{
233
-		$this->text = $text;
234
-	}
231
+    public function setText($text)
232
+    {
233
+        $this->text = $text;
234
+    }
235 235
 
236 236
 }
237 237
 
238 238
 class PddAdApiUnitCreateRequest_AdUnitCreateComplexMessageAdKeywordCreateMessageListItem extends PopBaseJsonEntity
239 239
 {
240 240
 
241
-	public function __construct()
242
-	{
241
+    public function __construct()
242
+    {
243 243
 
244
-	}
244
+    }
245 245
 
246
-	/**
247
-	* @JsonProperty(Long, "bid")
248
-	*/
249
-	private $bid;
246
+    /**
247
+     * @JsonProperty(Long, "bid")
248
+     */
249
+    private $bid;
250 250
 
251
-	/**
252
-	* @JsonProperty(Long, "premiumRate")
253
-	*/
254
-	private $premiumRate;
251
+    /**
252
+     * @JsonProperty(Long, "premiumRate")
253
+     */
254
+    private $premiumRate;
255 255
 
256
-	/**
257
-	* @JsonProperty(String, "word")
258
-	*/
259
-	private $word;
256
+    /**
257
+     * @JsonProperty(String, "word")
258
+     */
259
+    private $word;
260 260
 
261
-	public function setBid($bid)
262
-	{
263
-		$this->bid = $bid;
264
-	}
261
+    public function setBid($bid)
262
+    {
263
+        $this->bid = $bid;
264
+    }
265 265
 
266
-	public function setPremiumRate($premiumRate)
267
-	{
268
-		$this->premiumRate = $premiumRate;
269
-	}
266
+    public function setPremiumRate($premiumRate)
267
+    {
268
+        $this->premiumRate = $premiumRate;
269
+    }
270 270
 
271
-	public function setWord($word)
272
-	{
273
-		$this->word = $word;
274
-	}
271
+    public function setWord($word)
272
+    {
273
+        $this->word = $word;
274
+    }
275 275
 
276 276
 }
277 277
 
278 278
 class PddAdApiUnitCreateRequest_AdUnitCreateComplexMessageAdKeywordSetMessage extends PopBaseJsonEntity
279 279
 {
280 280
 
281
-	public function __construct()
282
-	{
281
+    public function __construct()
282
+    {
283 283
 
284
-	}
284
+    }
285 285
 
286
-	/**
287
-	* @JsonProperty(Long, "keywordSetBid")
288
-	*/
289
-	private $keywordSetBid;
286
+    /**
287
+     * @JsonProperty(Long, "keywordSetBid")
288
+     */
289
+    private $keywordSetBid;
290 290
 
291
-	/**
292
-	* @JsonProperty(Integer, "performanceGoal")
293
-	*/
294
-	private $performanceGoal;
291
+    /**
292
+     * @JsonProperty(Integer, "performanceGoal")
293
+     */
294
+    private $performanceGoal;
295 295
 
296
-	public function setKeywordSetBid($keywordSetBid)
297
-	{
298
-		$this->keywordSetBid = $keywordSetBid;
299
-	}
296
+    public function setKeywordSetBid($keywordSetBid)
297
+    {
298
+        $this->keywordSetBid = $keywordSetBid;
299
+    }
300 300
 
301
-	public function setPerformanceGoal($performanceGoal)
302
-	{
303
-		$this->performanceGoal = $performanceGoal;
304
-	}
301
+    public function setPerformanceGoal($performanceGoal)
302
+    {
303
+        $this->performanceGoal = $performanceGoal;
304
+    }
305 305
 
306 306
 }
307 307
 
308 308
 class PddAdApiUnitCreateRequest_AdUnitCreateComplexMessageAdProductCreateMessage extends PopBaseJsonEntity
309 309
 {
310 310
 
311
-	public function __construct()
312
-	{
311
+    public function __construct()
312
+    {
313 313
 
314
-	}
314
+    }
315 315
 
316
-	/**
317
-	* @JsonProperty(Long, "goodsId")
318
-	*/
319
-	private $goodsId;
316
+    /**
317
+     * @JsonProperty(Long, "goodsId")
318
+     */
319
+    private $goodsId;
320 320
 
321
-	public function setGoodsId($goodsId)
322
-	{
323
-		$this->goodsId = $goodsId;
324
-	}
321
+    public function setGoodsId($goodsId)
322
+    {
323
+        $this->goodsId = $goodsId;
324
+    }
325 325
 
326 326
 }
327 327
 
328 328
 class PddAdApiUnitCreateRequest_AdUnitCreateComplexMessageAdUnitCreateMessage extends PopBaseJsonEntity
329 329
 {
330 330
 
331
-	public function __construct()
332
-	{
331
+    public function __construct()
332
+    {
333 333
 
334
-	}
334
+    }
335 335
 
336
-	/**
337
-	* @JsonProperty(String, "adName")
338
-	*/
339
-	private $adName;
336
+    /**
337
+     * @JsonProperty(String, "adName")
338
+     */
339
+    private $adName;
340 340
 
341
-	/**
342
-	* @JsonProperty(Long, "bid")
343
-	*/
344
-	private $bid;
341
+    /**
342
+     * @JsonProperty(Long, "bid")
343
+     */
344
+    private $bid;
345 345
 
346
-	/**
347
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitCreateRequest_AdUnitCreateComplexMessageAdUnitCreateMessageOptimizationMessage, "optimizationMessage")
348
-	*/
349
-	private $optimizationMessage;
346
+    /**
347
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitCreateRequest_AdUnitCreateComplexMessageAdUnitCreateMessageOptimizationMessage, "optimizationMessage")
348
+     */
349
+    private $optimizationMessage;
350 350
 
351
-	public function setAdName($adName)
352
-	{
353
-		$this->adName = $adName;
354
-	}
351
+    public function setAdName($adName)
352
+    {
353
+        $this->adName = $adName;
354
+    }
355 355
 
356
-	public function setBid($bid)
357
-	{
358
-		$this->bid = $bid;
359
-	}
356
+    public function setBid($bid)
357
+    {
358
+        $this->bid = $bid;
359
+    }
360 360
 
361
-	public function setOptimizationMessage($optimizationMessage)
362
-	{
363
-		$this->optimizationMessage = $optimizationMessage;
364
-	}
361
+    public function setOptimizationMessage($optimizationMessage)
362
+    {
363
+        $this->optimizationMessage = $optimizationMessage;
364
+    }
365 365
 
366 366
 }
367 367
 
368 368
 class PddAdApiUnitCreateRequest_AdUnitCreateComplexMessageAdUnitCreateMessageOptimizationMessage extends PopBaseJsonEntity
369 369
 {
370 370
 
371
-	public function __construct()
372
-	{
373
-
374
-	}
375
-
376
-	/**
377
-	* @JsonProperty(Long, "accumulationBid")
378
-	*/
379
-	private $accumulationBid;
380
-
381
-	/**
382
-	* @JsonProperty(Long, "optimizationBid")
383
-	*/
384
-	private $optimizationBid;
385
-
386
-	/**
387
-	* @JsonProperty(Integer, "optimizationGoal")
388
-	*/
389
-	private $optimizationGoal;
390
-
391
-	/**
392
-	* @JsonProperty(Integer, "optimizationMethod")
393
-	*/
394
-	private $optimizationMethod;
395
-
396
-	public function setAccumulationBid($accumulationBid)
397
-	{
398
-		$this->accumulationBid = $accumulationBid;
399
-	}
400
-
401
-	public function setOptimizationBid($optimizationBid)
402
-	{
403
-		$this->optimizationBid = $optimizationBid;
404
-	}
405
-
406
-	public function setOptimizationGoal($optimizationGoal)
407
-	{
408
-		$this->optimizationGoal = $optimizationGoal;
409
-	}
410
-
411
-	public function setOptimizationMethod($optimizationMethod)
412
-	{
413
-		$this->optimizationMethod = $optimizationMethod;
414
-	}
371
+    public function __construct()
372
+    {
373
+
374
+    }
375
+
376
+    /**
377
+     * @JsonProperty(Long, "accumulationBid")
378
+     */
379
+    private $accumulationBid;
380
+
381
+    /**
382
+     * @JsonProperty(Long, "optimizationBid")
383
+     */
384
+    private $optimizationBid;
385
+
386
+    /**
387
+     * @JsonProperty(Integer, "optimizationGoal")
388
+     */
389
+    private $optimizationGoal;
390
+
391
+    /**
392
+     * @JsonProperty(Integer, "optimizationMethod")
393
+     */
394
+    private $optimizationMethod;
395
+
396
+    public function setAccumulationBid($accumulationBid)
397
+    {
398
+        $this->accumulationBid = $accumulationBid;
399
+    }
400
+
401
+    public function setOptimizationBid($optimizationBid)
402
+    {
403
+        $this->optimizationBid = $optimizationBid;
404
+    }
405
+
406
+    public function setOptimizationGoal($optimizationGoal)
407
+    {
408
+        $this->optimizationGoal = $optimizationGoal;
409
+    }
410
+
411
+    public function setOptimizationMethod($optimizationMethod)
412
+    {
413
+        $this->optimizationMethod = $optimizationMethod;
414
+    }
415 415
 
416 416
 }
417 417
 
418 418
 class PddAdApiUnitCreateRequest_AdUnitCreateComplexMessageAudienceBidCreateMessageListItem extends PopBaseJsonEntity
419 419
 {
420 420
 
421
-	public function __construct()
422
-	{
423
-
424
-	}
425
-
426
-	/**
427
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitCreateRequest_AdUnitCreateComplexMessageAudienceBidCreateMessageListItemAdTargetingCreateMessage, "adTargetingCreateMessage")
428
-	*/
429
-	private $adTargetingCreateMessage;
430
-
431
-	/**
432
-	* @JsonProperty(Long, "bidReferenceId")
433
-	*/
434
-	private $bidReferenceId;
435
-
436
-	/**
437
-	* @JsonProperty(Long, "bidValue")
438
-	*/
439
-	private $bidValue;
440
-
441
-	/**
442
-	* @JsonProperty(Long, "subBidReferenceId")
443
-	*/
444
-	private $subBidReferenceId;
445
-
446
-	public function setAdTargetingCreateMessage($adTargetingCreateMessage)
447
-	{
448
-		$this->adTargetingCreateMessage = $adTargetingCreateMessage;
449
-	}
450
-
451
-	public function setBidReferenceId($bidReferenceId)
452
-	{
453
-		$this->bidReferenceId = $bidReferenceId;
454
-	}
455
-
456
-	public function setBidValue($bidValue)
457
-	{
458
-		$this->bidValue = $bidValue;
459
-	}
460
-
461
-	public function setSubBidReferenceId($subBidReferenceId)
462
-	{
463
-		$this->subBidReferenceId = $subBidReferenceId;
464
-	}
421
+    public function __construct()
422
+    {
423
+
424
+    }
425
+
426
+    /**
427
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitCreateRequest_AdUnitCreateComplexMessageAudienceBidCreateMessageListItemAdTargetingCreateMessage, "adTargetingCreateMessage")
428
+     */
429
+    private $adTargetingCreateMessage;
430
+
431
+    /**
432
+     * @JsonProperty(Long, "bidReferenceId")
433
+     */
434
+    private $bidReferenceId;
435
+
436
+    /**
437
+     * @JsonProperty(Long, "bidValue")
438
+     */
439
+    private $bidValue;
440
+
441
+    /**
442
+     * @JsonProperty(Long, "subBidReferenceId")
443
+     */
444
+    private $subBidReferenceId;
445
+
446
+    public function setAdTargetingCreateMessage($adTargetingCreateMessage)
447
+    {
448
+        $this->adTargetingCreateMessage = $adTargetingCreateMessage;
449
+    }
450
+
451
+    public function setBidReferenceId($bidReferenceId)
452
+    {
453
+        $this->bidReferenceId = $bidReferenceId;
454
+    }
455
+
456
+    public function setBidValue($bidValue)
457
+    {
458
+        $this->bidValue = $bidValue;
459
+    }
460
+
461
+    public function setSubBidReferenceId($subBidReferenceId)
462
+    {
463
+        $this->subBidReferenceId = $subBidReferenceId;
464
+    }
465 465
 
466 466
 }
467 467
 
468 468
 class PddAdApiUnitCreateRequest_AdUnitCreateComplexMessageAudienceBidCreateMessageListItemAdTargetingCreateMessage extends PopBaseJsonEntity
469 469
 {
470 470
 
471
-	public function __construct()
472
-	{
471
+    public function __construct()
472
+    {
473 473
 
474
-	}
474
+    }
475 475
 
476
-	/**
477
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitCreateRequest_AdUnitCreateComplexMessageAudienceBidCreateMessageListItemAdTargetingCreateMessageAdTargetingSet, "adTargetingSet")
478
-	*/
479
-	private $adTargetingSet;
476
+    /**
477
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitCreateRequest_AdUnitCreateComplexMessageAudienceBidCreateMessageListItemAdTargetingCreateMessageAdTargetingSet, "adTargetingSet")
478
+     */
479
+    private $adTargetingSet;
480 480
 
481
-	/**
482
-	* @JsonProperty(String, "targetingName")
483
-	*/
484
-	private $targetingName;
481
+    /**
482
+     * @JsonProperty(String, "targetingName")
483
+     */
484
+    private $targetingName;
485 485
 
486
-	public function setAdTargetingSet($adTargetingSet)
487
-	{
488
-		$this->adTargetingSet = $adTargetingSet;
489
-	}
486
+    public function setAdTargetingSet($adTargetingSet)
487
+    {
488
+        $this->adTargetingSet = $adTargetingSet;
489
+    }
490 490
 
491
-	public function setTargetingName($targetingName)
492
-	{
493
-		$this->targetingName = $targetingName;
494
-	}
491
+    public function setTargetingName($targetingName)
492
+    {
493
+        $this->targetingName = $targetingName;
494
+    }
495 495
 
496 496
 }
497 497
 
498 498
 class PddAdApiUnitCreateRequest_AdUnitCreateComplexMessageAudienceBidCreateMessageListItemAdTargetingCreateMessageAdTargetingSet extends PopBaseJsonEntity
499 499
 {
500 500
 
501
-	public function __construct()
502
-	{
501
+    public function __construct()
502
+    {
503 503
 
504
-	}
504
+    }
505 505
 
506
-	/**
507
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitCreateRequest_AdUnitCreateComplexMessageAudienceBidCreateMessageListItemAdTargetingCreateMessageAdTargetingSetAreaStruct, "areaStruct")
508
-	*/
509
-	private $areaStruct;
506
+    /**
507
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitCreateRequest_AdUnitCreateComplexMessageAudienceBidCreateMessageListItemAdTargetingCreateMessageAdTargetingSetAreaStruct, "areaStruct")
508
+     */
509
+    private $areaStruct;
510 510
 
511
-	public function setAreaStruct($areaStruct)
512
-	{
513
-		$this->areaStruct = $areaStruct;
514
-	}
511
+    public function setAreaStruct($areaStruct)
512
+    {
513
+        $this->areaStruct = $areaStruct;
514
+    }
515 515
 
516 516
 }
517 517
 
518 518
 class PddAdApiUnitCreateRequest_AdUnitCreateComplexMessageAudienceBidCreateMessageListItemAdTargetingCreateMessageAdTargetingSetAreaStruct extends PopBaseJsonEntity
519 519
 {
520 520
 
521
-	public function __construct()
522
-	{
521
+    public function __construct()
522
+    {
523 523
 
524
-	}
524
+    }
525 525
 
526
-	/**
527
-	* @JsonProperty(List<Integer>, "areaIds")
528
-	*/
529
-	private $areaIds;
526
+    /**
527
+     * @JsonProperty(List<Integer>, "areaIds")
528
+     */
529
+    private $areaIds;
530 530
 
531
-	public function setAreaIds($areaIds)
532
-	{
533
-		$this->areaIds = $areaIds;
534
-	}
531
+    public function setAreaIds($areaIds)
532
+    {
533
+        $this->areaIds = $areaIds;
534
+    }
535 535
 
536 536
 }
537 537
 
538 538
 class PddAdApiUnitCreateRequest_AdUnitCreateComplexMessageLocationBidCreateMessageListItem extends PopBaseJsonEntity
539 539
 {
540 540
 
541
-	public function __construct()
542
-	{
541
+    public function __construct()
542
+    {
543 543
 
544
-	}
544
+    }
545 545
 
546
-	/**
547
-	* @JsonProperty(Long, "bidReferenceId")
548
-	*/
549
-	private $bidReferenceId;
546
+    /**
547
+     * @JsonProperty(Long, "bidReferenceId")
548
+     */
549
+    private $bidReferenceId;
550 550
 
551
-	/**
552
-	* @JsonProperty(Long, "bidValue")
553
-	*/
554
-	private $bidValue;
551
+    /**
552
+     * @JsonProperty(Long, "bidValue")
553
+     */
554
+    private $bidValue;
555 555
 
556
-	public function setBidReferenceId($bidReferenceId)
557
-	{
558
-		$this->bidReferenceId = $bidReferenceId;
559
-	}
556
+    public function setBidReferenceId($bidReferenceId)
557
+    {
558
+        $this->bidReferenceId = $bidReferenceId;
559
+    }
560 560
 
561
-	public function setBidValue($bidValue)
562
-	{
563
-		$this->bidValue = $bidValue;
564
-	}
561
+    public function setBidValue($bidValue)
562
+    {
563
+        $this->bidValue = $bidValue;
564
+    }
565 565
 
566 566
 }
567 567
 
568 568
 class PddAdApiUnitCreateRequest_AdUnitCreateComplexMessageSmartCreativeCreateMessage extends PopBaseJsonEntity
569 569
 {
570 570
 
571
-	public function __construct()
572
-	{
573
-
574
-	}
575
-
576
-	/**
577
-	* @JsonProperty(Integer, "creativeFlowRate")
578
-	*/
579
-	private $creativeFlowRate;
580
-
581
-	/**
582
-	* @JsonProperty(Integer, "enableSmartCreative")
583
-	*/
584
-	private $enableSmartCreative;
585
-
586
-	/**
587
-	* @JsonProperty(String, "smartCreativeTitle")
588
-	*/
589
-	private $smartCreativeTitle;
590
-
591
-	public function setCreativeFlowRate($creativeFlowRate)
592
-	{
593
-		$this->creativeFlowRate = $creativeFlowRate;
594
-	}
595
-
596
-	public function setEnableSmartCreative($enableSmartCreative)
597
-	{
598
-		$this->enableSmartCreative = $enableSmartCreative;
599
-	}
600
-
601
-	public function setSmartCreativeTitle($smartCreativeTitle)
602
-	{
603
-		$this->smartCreativeTitle = $smartCreativeTitle;
604
-	}
571
+    public function __construct()
572
+    {
573
+
574
+    }
575
+
576
+    /**
577
+     * @JsonProperty(Integer, "creativeFlowRate")
578
+     */
579
+    private $creativeFlowRate;
580
+
581
+    /**
582
+     * @JsonProperty(Integer, "enableSmartCreative")
583
+     */
584
+    private $enableSmartCreative;
585
+
586
+    /**
587
+     * @JsonProperty(String, "smartCreativeTitle")
588
+     */
589
+    private $smartCreativeTitle;
590
+
591
+    public function setCreativeFlowRate($creativeFlowRate)
592
+    {
593
+        $this->creativeFlowRate = $creativeFlowRate;
594
+    }
595
+
596
+    public function setEnableSmartCreative($enableSmartCreative)
597
+    {
598
+        $this->enableSmartCreative = $enableSmartCreative;
599
+    }
600
+
601
+    public function setSmartCreativeTitle($smartCreativeTitle)
602
+    {
603
+        $this->smartCreativeTitle = $smartCreativeTitle;
604
+    }
605 605
 
606 606
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddTicketGoodsUploadRequest.php 1 patch
Indentation   +440 added lines, -440 removed lines patch added patch discarded remove patch
@@ -7,474 +7,474 @@
 block discarded – undo
7 7
 class PddTicketGoodsUploadRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(List<String>, "carousel_gallery")
15
-	*/
16
-	private $carouselGallery;
17
-
18
-	/**
19
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTicketGoodsUploadRequest_CarouselVideoItem>, "carousel_video")
20
-	*/
21
-	private $carouselVideo;
22
-
23
-	/**
24
-	* @JsonProperty(Long, "cat_id")
25
-	*/
26
-	private $catId;
27
-
28
-	/**
29
-	* @JsonProperty(Integer, "code_mode")
30
-	*/
31
-	private $codeMode;
32
-
33
-	/**
34
-	* @JsonProperty(List<String>, "detail_gallery")
35
-	*/
36
-	private $detailGallery;
37
-
38
-	/**
39
-	* @JsonProperty(Long, "goods_commit_id")
40
-	*/
41
-	private $goodsCommitId;
42
-
43
-	/**
44
-	* @JsonProperty(String, "goods_desc")
45
-	*/
46
-	private $goodsDesc;
47
-
48
-	/**
49
-	* @JsonProperty(Long, "goods_id")
50
-	*/
51
-	private $goodsId;
52
-
53
-	/**
54
-	* @JsonProperty(String, "goods_name")
55
-	*/
56
-	private $goodsName;
57
-
58
-	/**
59
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTicketGoodsUploadRequest_GoodsPropertiesItem>, "goods_properties")
60
-	*/
61
-	private $goodsProperties;
62
-
63
-	/**
64
-	* @JsonProperty(Integer, "is_submit")
65
-	*/
66
-	private $isSubmit;
67
-
68
-	/**
69
-	* @JsonProperty(Long, "market_price")
70
-	*/
71
-	private $marketPrice;
72
-
73
-	/**
74
-	* @JsonProperty(String, "out_goods_sn")
75
-	*/
76
-	private $outGoodsSn;
77
-
78
-	/**
79
-	* @JsonProperty(String, "reserve_limit_rule")
80
-	*/
81
-	private $reserveLimitRule;
82
-
83
-	/**
84
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTicketGoodsUploadRequest_SkuListItem>, "sku_list")
85
-	*/
86
-	private $skuList;
87
-
88
-	/**
89
-	* @JsonProperty(Integer, "sku_type")
90
-	*/
91
-	private $skuType;
92
-
93
-	/**
94
-	* @JsonProperty(Integer, "sync_goods_operate")
95
-	*/
96
-	private $syncGoodsOperate;
97
-
98
-	protected function setUserParams(&$params)
99
-	{
100
-		$this->setUserParam($params, "carousel_gallery", $this->carouselGallery);
101
-		$this->setUserParam($params, "carousel_video", $this->carouselVideo);
102
-		$this->setUserParam($params, "cat_id", $this->catId);
103
-		$this->setUserParam($params, "code_mode", $this->codeMode);
104
-		$this->setUserParam($params, "detail_gallery", $this->detailGallery);
105
-		$this->setUserParam($params, "goods_commit_id", $this->goodsCommitId);
106
-		$this->setUserParam($params, "goods_desc", $this->goodsDesc);
107
-		$this->setUserParam($params, "goods_id", $this->goodsId);
108
-		$this->setUserParam($params, "goods_name", $this->goodsName);
109
-		$this->setUserParam($params, "goods_properties", $this->goodsProperties);
110
-		$this->setUserParam($params, "is_submit", $this->isSubmit);
111
-		$this->setUserParam($params, "market_price", $this->marketPrice);
112
-		$this->setUserParam($params, "out_goods_sn", $this->outGoodsSn);
113
-		$this->setUserParam($params, "reserve_limit_rule", $this->reserveLimitRule);
114
-		$this->setUserParam($params, "sku_list", $this->skuList);
115
-		$this->setUserParam($params, "sku_type", $this->skuType);
116
-		$this->setUserParam($params, "sync_goods_operate", $this->syncGoodsOperate);
117
-
118
-	}
119
-
120
-	public function getVersion()
121
-	{
122
-		return "V1";
123
-	}
124
-
125
-	public function getDataType()
126
-	{
127
-		return "JSON";
128
-	}
129
-
130
-	public function getType()
131
-	{
132
-		return "pdd.ticket.goods.upload";
133
-	}
134
-
135
-	public function setCarouselGallery($carouselGallery)
136
-	{
137
-		$this->carouselGallery = $carouselGallery;
138
-	}
139
-
140
-	public function setCarouselVideo($carouselVideo)
141
-	{
142
-		$this->carouselVideo = $carouselVideo;
143
-	}
144
-
145
-	public function setCatId($catId)
146
-	{
147
-		$this->catId = $catId;
148
-	}
149
-
150
-	public function setCodeMode($codeMode)
151
-	{
152
-		$this->codeMode = $codeMode;
153
-	}
154
-
155
-	public function setDetailGallery($detailGallery)
156
-	{
157
-		$this->detailGallery = $detailGallery;
158
-	}
159
-
160
-	public function setGoodsCommitId($goodsCommitId)
161
-	{
162
-		$this->goodsCommitId = $goodsCommitId;
163
-	}
164
-
165
-	public function setGoodsDesc($goodsDesc)
166
-	{
167
-		$this->goodsDesc = $goodsDesc;
168
-	}
169
-
170
-	public function setGoodsId($goodsId)
171
-	{
172
-		$this->goodsId = $goodsId;
173
-	}
174
-
175
-	public function setGoodsName($goodsName)
176
-	{
177
-		$this->goodsName = $goodsName;
178
-	}
179
-
180
-	public function setGoodsProperties($goodsProperties)
181
-	{
182
-		$this->goodsProperties = $goodsProperties;
183
-	}
184
-
185
-	public function setIsSubmit($isSubmit)
186
-	{
187
-		$this->isSubmit = $isSubmit;
188
-	}
189
-
190
-	public function setMarketPrice($marketPrice)
191
-	{
192
-		$this->marketPrice = $marketPrice;
193
-	}
194
-
195
-	public function setOutGoodsSn($outGoodsSn)
196
-	{
197
-		$this->outGoodsSn = $outGoodsSn;
198
-	}
199
-
200
-	public function setReserveLimitRule($reserveLimitRule)
201
-	{
202
-		$this->reserveLimitRule = $reserveLimitRule;
203
-	}
204
-
205
-	public function setSkuList($skuList)
206
-	{
207
-		$this->skuList = $skuList;
208
-	}
209
-
210
-	public function setSkuType($skuType)
211
-	{
212
-		$this->skuType = $skuType;
213
-	}
214
-
215
-	public function setSyncGoodsOperate($syncGoodsOperate)
216
-	{
217
-		$this->syncGoodsOperate = $syncGoodsOperate;
218
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(List<String>, "carousel_gallery")
15
+     */
16
+    private $carouselGallery;
17
+
18
+    /**
19
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTicketGoodsUploadRequest_CarouselVideoItem>, "carousel_video")
20
+     */
21
+    private $carouselVideo;
22
+
23
+    /**
24
+     * @JsonProperty(Long, "cat_id")
25
+     */
26
+    private $catId;
27
+
28
+    /**
29
+     * @JsonProperty(Integer, "code_mode")
30
+     */
31
+    private $codeMode;
32
+
33
+    /**
34
+     * @JsonProperty(List<String>, "detail_gallery")
35
+     */
36
+    private $detailGallery;
37
+
38
+    /**
39
+     * @JsonProperty(Long, "goods_commit_id")
40
+     */
41
+    private $goodsCommitId;
42
+
43
+    /**
44
+     * @JsonProperty(String, "goods_desc")
45
+     */
46
+    private $goodsDesc;
47
+
48
+    /**
49
+     * @JsonProperty(Long, "goods_id")
50
+     */
51
+    private $goodsId;
52
+
53
+    /**
54
+     * @JsonProperty(String, "goods_name")
55
+     */
56
+    private $goodsName;
57
+
58
+    /**
59
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTicketGoodsUploadRequest_GoodsPropertiesItem>, "goods_properties")
60
+     */
61
+    private $goodsProperties;
62
+
63
+    /**
64
+     * @JsonProperty(Integer, "is_submit")
65
+     */
66
+    private $isSubmit;
67
+
68
+    /**
69
+     * @JsonProperty(Long, "market_price")
70
+     */
71
+    private $marketPrice;
72
+
73
+    /**
74
+     * @JsonProperty(String, "out_goods_sn")
75
+     */
76
+    private $outGoodsSn;
77
+
78
+    /**
79
+     * @JsonProperty(String, "reserve_limit_rule")
80
+     */
81
+    private $reserveLimitRule;
82
+
83
+    /**
84
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTicketGoodsUploadRequest_SkuListItem>, "sku_list")
85
+     */
86
+    private $skuList;
87
+
88
+    /**
89
+     * @JsonProperty(Integer, "sku_type")
90
+     */
91
+    private $skuType;
92
+
93
+    /**
94
+     * @JsonProperty(Integer, "sync_goods_operate")
95
+     */
96
+    private $syncGoodsOperate;
97
+
98
+    protected function setUserParams(&$params)
99
+    {
100
+        $this->setUserParam($params, "carousel_gallery", $this->carouselGallery);
101
+        $this->setUserParam($params, "carousel_video", $this->carouselVideo);
102
+        $this->setUserParam($params, "cat_id", $this->catId);
103
+        $this->setUserParam($params, "code_mode", $this->codeMode);
104
+        $this->setUserParam($params, "detail_gallery", $this->detailGallery);
105
+        $this->setUserParam($params, "goods_commit_id", $this->goodsCommitId);
106
+        $this->setUserParam($params, "goods_desc", $this->goodsDesc);
107
+        $this->setUserParam($params, "goods_id", $this->goodsId);
108
+        $this->setUserParam($params, "goods_name", $this->goodsName);
109
+        $this->setUserParam($params, "goods_properties", $this->goodsProperties);
110
+        $this->setUserParam($params, "is_submit", $this->isSubmit);
111
+        $this->setUserParam($params, "market_price", $this->marketPrice);
112
+        $this->setUserParam($params, "out_goods_sn", $this->outGoodsSn);
113
+        $this->setUserParam($params, "reserve_limit_rule", $this->reserveLimitRule);
114
+        $this->setUserParam($params, "sku_list", $this->skuList);
115
+        $this->setUserParam($params, "sku_type", $this->skuType);
116
+        $this->setUserParam($params, "sync_goods_operate", $this->syncGoodsOperate);
117
+
118
+    }
119
+
120
+    public function getVersion()
121
+    {
122
+        return "V1";
123
+    }
124
+
125
+    public function getDataType()
126
+    {
127
+        return "JSON";
128
+    }
129
+
130
+    public function getType()
131
+    {
132
+        return "pdd.ticket.goods.upload";
133
+    }
134
+
135
+    public function setCarouselGallery($carouselGallery)
136
+    {
137
+        $this->carouselGallery = $carouselGallery;
138
+    }
139
+
140
+    public function setCarouselVideo($carouselVideo)
141
+    {
142
+        $this->carouselVideo = $carouselVideo;
143
+    }
144
+
145
+    public function setCatId($catId)
146
+    {
147
+        $this->catId = $catId;
148
+    }
149
+
150
+    public function setCodeMode($codeMode)
151
+    {
152
+        $this->codeMode = $codeMode;
153
+    }
154
+
155
+    public function setDetailGallery($detailGallery)
156
+    {
157
+        $this->detailGallery = $detailGallery;
158
+    }
159
+
160
+    public function setGoodsCommitId($goodsCommitId)
161
+    {
162
+        $this->goodsCommitId = $goodsCommitId;
163
+    }
164
+
165
+    public function setGoodsDesc($goodsDesc)
166
+    {
167
+        $this->goodsDesc = $goodsDesc;
168
+    }
169
+
170
+    public function setGoodsId($goodsId)
171
+    {
172
+        $this->goodsId = $goodsId;
173
+    }
174
+
175
+    public function setGoodsName($goodsName)
176
+    {
177
+        $this->goodsName = $goodsName;
178
+    }
179
+
180
+    public function setGoodsProperties($goodsProperties)
181
+    {
182
+        $this->goodsProperties = $goodsProperties;
183
+    }
184
+
185
+    public function setIsSubmit($isSubmit)
186
+    {
187
+        $this->isSubmit = $isSubmit;
188
+    }
189
+
190
+    public function setMarketPrice($marketPrice)
191
+    {
192
+        $this->marketPrice = $marketPrice;
193
+    }
194
+
195
+    public function setOutGoodsSn($outGoodsSn)
196
+    {
197
+        $this->outGoodsSn = $outGoodsSn;
198
+    }
199
+
200
+    public function setReserveLimitRule($reserveLimitRule)
201
+    {
202
+        $this->reserveLimitRule = $reserveLimitRule;
203
+    }
204
+
205
+    public function setSkuList($skuList)
206
+    {
207
+        $this->skuList = $skuList;
208
+    }
209
+
210
+    public function setSkuType($skuType)
211
+    {
212
+        $this->skuType = $skuType;
213
+    }
214
+
215
+    public function setSyncGoodsOperate($syncGoodsOperate)
216
+    {
217
+        $this->syncGoodsOperate = $syncGoodsOperate;
218
+    }
219 219
 
220 220
 }
221 221
 
222 222
 class PddTicketGoodsUploadRequest_CarouselVideoItem extends PopBaseJsonEntity
223 223
 {
224 224
 
225
-	public function __construct()
226
-	{
225
+    public function __construct()
226
+    {
227 227
 
228
-	}
228
+    }
229 229
 
230
-	/**
231
-	* @JsonProperty(Long, "file_id")
232
-	*/
233
-	private $fileId;
230
+    /**
231
+     * @JsonProperty(Long, "file_id")
232
+     */
233
+    private $fileId;
234 234
 
235
-	/**
236
-	* @JsonProperty(String, "video_url")
237
-	*/
238
-	private $videoUrl;
235
+    /**
236
+     * @JsonProperty(String, "video_url")
237
+     */
238
+    private $videoUrl;
239 239
 
240
-	public function setFileId($fileId)
241
-	{
242
-		$this->fileId = $fileId;
243
-	}
240
+    public function setFileId($fileId)
241
+    {
242
+        $this->fileId = $fileId;
243
+    }
244 244
 
245
-	public function setVideoUrl($videoUrl)
246
-	{
247
-		$this->videoUrl = $videoUrl;
248
-	}
245
+    public function setVideoUrl($videoUrl)
246
+    {
247
+        $this->videoUrl = $videoUrl;
248
+    }
249 249
 
250 250
 }
251 251
 
252 252
 class PddTicketGoodsUploadRequest_GoodsPropertiesItem extends PopBaseJsonEntity
253 253
 {
254 254
 
255
-	public function __construct()
256
-	{
257
-
258
-	}
259
-
260
-	/**
261
-	* @JsonProperty(Long, "parent_spec_id")
262
-	*/
263
-	private $parentSpecId;
264
-
265
-	/**
266
-	* @JsonProperty(Long, "ref_pid")
267
-	*/
268
-	private $refPid;
269
-
270
-	/**
271
-	* @JsonProperty(Long, "spec_id")
272
-	*/
273
-	private $specId;
274
-
275
-	/**
276
-	* @JsonProperty(String, "value")
277
-	*/
278
-	private $value;
279
-
280
-	/**
281
-	* @JsonProperty(String, "value_unit")
282
-	*/
283
-	private $valueUnit;
284
-
285
-	/**
286
-	* @JsonProperty(Long, "vid")
287
-	*/
288
-	private $vid;
289
-
290
-	public function setParentSpecId($parentSpecId)
291
-	{
292
-		$this->parentSpecId = $parentSpecId;
293
-	}
294
-
295
-	public function setRefPid($refPid)
296
-	{
297
-		$this->refPid = $refPid;
298
-	}
299
-
300
-	public function setSpecId($specId)
301
-	{
302
-		$this->specId = $specId;
303
-	}
304
-
305
-	public function setValue($value)
306
-	{
307
-		$this->value = $value;
308
-	}
309
-
310
-	public function setValueUnit($valueUnit)
311
-	{
312
-		$this->valueUnit = $valueUnit;
313
-	}
314
-
315
-	public function setVid($vid)
316
-	{
317
-		$this->vid = $vid;
318
-	}
255
+    public function __construct()
256
+    {
257
+
258
+    }
259
+
260
+    /**
261
+     * @JsonProperty(Long, "parent_spec_id")
262
+     */
263
+    private $parentSpecId;
264
+
265
+    /**
266
+     * @JsonProperty(Long, "ref_pid")
267
+     */
268
+    private $refPid;
269
+
270
+    /**
271
+     * @JsonProperty(Long, "spec_id")
272
+     */
273
+    private $specId;
274
+
275
+    /**
276
+     * @JsonProperty(String, "value")
277
+     */
278
+    private $value;
279
+
280
+    /**
281
+     * @JsonProperty(String, "value_unit")
282
+     */
283
+    private $valueUnit;
284
+
285
+    /**
286
+     * @JsonProperty(Long, "vid")
287
+     */
288
+    private $vid;
289
+
290
+    public function setParentSpecId($parentSpecId)
291
+    {
292
+        $this->parentSpecId = $parentSpecId;
293
+    }
294
+
295
+    public function setRefPid($refPid)
296
+    {
297
+        $this->refPid = $refPid;
298
+    }
299
+
300
+    public function setSpecId($specId)
301
+    {
302
+        $this->specId = $specId;
303
+    }
304
+
305
+    public function setValue($value)
306
+    {
307
+        $this->value = $value;
308
+    }
309
+
310
+    public function setValueUnit($valueUnit)
311
+    {
312
+        $this->valueUnit = $valueUnit;
313
+    }
314
+
315
+    public function setVid($vid)
316
+    {
317
+        $this->vid = $vid;
318
+    }
319 319
 
320 320
 }
321 321
 
322 322
 class PddTicketGoodsUploadRequest_SkuListItem extends PopBaseJsonEntity
323 323
 {
324 324
 
325
-	public function __construct()
326
-	{
327
-
328
-	}
329
-
330
-	/**
331
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTicketGoodsUploadRequest_SkuListItemChildSkusItem>, "child_skus")
332
-	*/
333
-	private $childSkus;
334
-
335
-	/**
336
-	* @JsonProperty(Long, "group_price")
337
-	*/
338
-	private $groupPrice;
339
-
340
-	/**
341
-	* @JsonProperty(Integer, "is_onsale")
342
-	*/
343
-	private $isOnsale;
344
-
345
-	/**
346
-	* @JsonProperty(String, "out_sku_sn")
347
-	*/
348
-	private $outSkuSn;
349
-
350
-	/**
351
-	* @JsonProperty(Long, "quantity_delta")
352
-	*/
353
-	private $quantityDelta;
354
-
355
-	/**
356
-	* @JsonProperty(String, "rule_id")
357
-	*/
358
-	private $ruleId;
359
-
360
-	/**
361
-	* @JsonProperty(Long, "single_price")
362
-	*/
363
-	private $singlePrice;
364
-
365
-	/**
366
-	* @JsonProperty(Long, "sku_id")
367
-	*/
368
-	private $skuId;
369
-
370
-	/**
371
-	* @JsonProperty(List<Long>, "spec_id_list")
372
-	*/
373
-	private $specIdList;
374
-
375
-	/**
376
-	* @JsonProperty(String, "thumb_url")
377
-	*/
378
-	private $thumbUrl;
379
-
380
-	public function setChildSkus($childSkus)
381
-	{
382
-		$this->childSkus = $childSkus;
383
-	}
384
-
385
-	public function setGroupPrice($groupPrice)
386
-	{
387
-		$this->groupPrice = $groupPrice;
388
-	}
389
-
390
-	public function setIsOnsale($isOnsale)
391
-	{
392
-		$this->isOnsale = $isOnsale;
393
-	}
394
-
395
-	public function setOutSkuSn($outSkuSn)
396
-	{
397
-		$this->outSkuSn = $outSkuSn;
398
-	}
399
-
400
-	public function setQuantityDelta($quantityDelta)
401
-	{
402
-		$this->quantityDelta = $quantityDelta;
403
-	}
404
-
405
-	public function setRuleId($ruleId)
406
-	{
407
-		$this->ruleId = $ruleId;
408
-	}
409
-
410
-	public function setSinglePrice($singlePrice)
411
-	{
412
-		$this->singlePrice = $singlePrice;
413
-	}
414
-
415
-	public function setSkuId($skuId)
416
-	{
417
-		$this->skuId = $skuId;
418
-	}
419
-
420
-	public function setSpecIdList($specIdList)
421
-	{
422
-		$this->specIdList = $specIdList;
423
-	}
424
-
425
-	public function setThumbUrl($thumbUrl)
426
-	{
427
-		$this->thumbUrl = $thumbUrl;
428
-	}
325
+    public function __construct()
326
+    {
327
+
328
+    }
329
+
330
+    /**
331
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTicketGoodsUploadRequest_SkuListItemChildSkusItem>, "child_skus")
332
+     */
333
+    private $childSkus;
334
+
335
+    /**
336
+     * @JsonProperty(Long, "group_price")
337
+     */
338
+    private $groupPrice;
339
+
340
+    /**
341
+     * @JsonProperty(Integer, "is_onsale")
342
+     */
343
+    private $isOnsale;
344
+
345
+    /**
346
+     * @JsonProperty(String, "out_sku_sn")
347
+     */
348
+    private $outSkuSn;
349
+
350
+    /**
351
+     * @JsonProperty(Long, "quantity_delta")
352
+     */
353
+    private $quantityDelta;
354
+
355
+    /**
356
+     * @JsonProperty(String, "rule_id")
357
+     */
358
+    private $ruleId;
359
+
360
+    /**
361
+     * @JsonProperty(Long, "single_price")
362
+     */
363
+    private $singlePrice;
364
+
365
+    /**
366
+     * @JsonProperty(Long, "sku_id")
367
+     */
368
+    private $skuId;
369
+
370
+    /**
371
+     * @JsonProperty(List<Long>, "spec_id_list")
372
+     */
373
+    private $specIdList;
374
+
375
+    /**
376
+     * @JsonProperty(String, "thumb_url")
377
+     */
378
+    private $thumbUrl;
379
+
380
+    public function setChildSkus($childSkus)
381
+    {
382
+        $this->childSkus = $childSkus;
383
+    }
384
+
385
+    public function setGroupPrice($groupPrice)
386
+    {
387
+        $this->groupPrice = $groupPrice;
388
+    }
389
+
390
+    public function setIsOnsale($isOnsale)
391
+    {
392
+        $this->isOnsale = $isOnsale;
393
+    }
394
+
395
+    public function setOutSkuSn($outSkuSn)
396
+    {
397
+        $this->outSkuSn = $outSkuSn;
398
+    }
399
+
400
+    public function setQuantityDelta($quantityDelta)
401
+    {
402
+        $this->quantityDelta = $quantityDelta;
403
+    }
404
+
405
+    public function setRuleId($ruleId)
406
+    {
407
+        $this->ruleId = $ruleId;
408
+    }
409
+
410
+    public function setSinglePrice($singlePrice)
411
+    {
412
+        $this->singlePrice = $singlePrice;
413
+    }
414
+
415
+    public function setSkuId($skuId)
416
+    {
417
+        $this->skuId = $skuId;
418
+    }
419
+
420
+    public function setSpecIdList($specIdList)
421
+    {
422
+        $this->specIdList = $specIdList;
423
+    }
424
+
425
+    public function setThumbUrl($thumbUrl)
426
+    {
427
+        $this->thumbUrl = $thumbUrl;
428
+    }
429 429
 
430 430
 }
431 431
 
432 432
 class PddTicketGoodsUploadRequest_SkuListItemChildSkusItem extends PopBaseJsonEntity
433 433
 {
434 434
 
435
-	public function __construct()
436
-	{
437
-
438
-	}
439
-
440
-	/**
441
-	* @JsonProperty(String, "date")
442
-	*/
443
-	private $date;
444
-
445
-	/**
446
-	* @JsonProperty(Long, "group_price")
447
-	*/
448
-	private $groupPrice;
449
-
450
-	/**
451
-	* @JsonProperty(Long, "quantity_delta")
452
-	*/
453
-	private $quantityDelta;
454
-
455
-	/**
456
-	* @JsonProperty(Long, "single_price")
457
-	*/
458
-	private $singlePrice;
459
-
460
-	public function setDate($date)
461
-	{
462
-		$this->date = $date;
463
-	}
464
-
465
-	public function setGroupPrice($groupPrice)
466
-	{
467
-		$this->groupPrice = $groupPrice;
468
-	}
469
-
470
-	public function setQuantityDelta($quantityDelta)
471
-	{
472
-		$this->quantityDelta = $quantityDelta;
473
-	}
474
-
475
-	public function setSinglePrice($singlePrice)
476
-	{
477
-		$this->singlePrice = $singlePrice;
478
-	}
435
+    public function __construct()
436
+    {
437
+
438
+    }
439
+
440
+    /**
441
+     * @JsonProperty(String, "date")
442
+     */
443
+    private $date;
444
+
445
+    /**
446
+     * @JsonProperty(Long, "group_price")
447
+     */
448
+    private $groupPrice;
449
+
450
+    /**
451
+     * @JsonProperty(Long, "quantity_delta")
452
+     */
453
+    private $quantityDelta;
454
+
455
+    /**
456
+     * @JsonProperty(Long, "single_price")
457
+     */
458
+    private $singlePrice;
459
+
460
+    public function setDate($date)
461
+    {
462
+        $this->date = $date;
463
+    }
464
+
465
+    public function setGroupPrice($groupPrice)
466
+    {
467
+        $this->groupPrice = $groupPrice;
468
+    }
469
+
470
+    public function setQuantityDelta($quantityDelta)
471
+    {
472
+        $this->quantityDelta = $quantityDelta;
473
+    }
474
+
475
+    public function setSinglePrice($singlePrice)
476
+    {
477
+        $this->singlePrice = $singlePrice;
478
+    }
479 479
 
480 480
 }
Please login to merge, or discard this patch.
service/pinduoduo/bin/src/Api/Request/PddMallInfoStoreDeletePostRequest.php 1 patch
Indentation   +33 added lines, -33 removed lines patch added patch discarded remove patch
@@ -7,38 +7,38 @@
 block discarded – undo
7 7
 class PddMallInfoStoreDeletePostRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(List<Long>, "store_id_list")
15
-	*/
16
-	private $storeIdList;
17
-
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "store_id_list", $this->storeIdList);
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.mall.info.store.delete.post";
37
-	}
38
-
39
-	public function setStoreIdList($storeIdList)
40
-	{
41
-		$this->storeIdList = $storeIdList;
42
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(List<Long>, "store_id_list")
15
+     */
16
+    private $storeIdList;
17
+
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "store_id_list", $this->storeIdList);
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.mall.info.store.delete.post";
37
+    }
38
+
39
+    public function setStoreIdList($storeIdList)
40
+    {
41
+        $this->storeIdList = $storeIdList;
42
+    }
43 43
 
44 44
 }
Please login to merge, or discard this patch.
service/pinduoduo/bin/src/Api/Request/PddGoodsSizespecClassGetRequest.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -7,27 +7,27 @@
 block discarded – undo
7 7
 class PddGoodsSizespecClassGetRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
10
+    {
11 11
 
12
-	}
13
-	protected function setUserParams(&$params)
14
-	{
12
+    }
13
+    protected function setUserParams(&$params)
14
+    {
15 15
 
16
-	}
16
+    }
17 17
 
18
-	public function getVersion()
19
-	{
20
-		return "V1";
21
-	}
18
+    public function getVersion()
19
+    {
20
+        return "V1";
21
+    }
22 22
 
23
-	public function getDataType()
24
-	{
25
-		return "JSON";
26
-	}
23
+    public function getDataType()
24
+    {
25
+        return "JSON";
26
+    }
27 27
 
28
-	public function getType()
29
-	{
30
-		return "pdd.goods.sizespec.class.get";
31
-	}
28
+    public function getType()
29
+    {
30
+        return "pdd.goods.sizespec.class.get";
31
+    }
32 32
 
33 33
 }
Please login to merge, or discard this patch.
pinduoduo/bin/src/Api/Request/PddFlightOrderCheckSeatPriceRequest.php 1 patch
Indentation   +336 added lines, -336 removed lines patch added patch discarded remove patch
@@ -7,364 +7,364 @@
 block discarded – undo
7 7
 class PddFlightOrderCheckSeatPriceRequest 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(Integer, "product_type")
30
-	*/
31
-	private $productType;
32
-
33
-	/**
34
-	* @JsonProperty(String, "product_id")
35
-	*/
36
-	private $productId;
37
-
38
-	/**
39
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightOrderCheckSeatPriceRequest_FlightInfoListItem>, "flight_info_list")
40
-	*/
41
-	private $flightInfoList;
42
-
43
-	/**
44
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightOrderCheckSeatPriceRequest_PriceInfoListItem>, "price_info_list")
45
-	*/
46
-	private $priceInfoList;
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, "product_type", $this->productType);
54
-		$this->setUserParam($params, "product_id", $this->productId);
55
-		$this->setUserParam($params, "flight_info_list", $this->flightInfoList);
56
-		$this->setUserParam($params, "price_info_list", $this->priceInfoList);
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.order.check.seat.price";
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 setProductType($productType)
91
-	{
92
-		$this->productType = $productType;
93
-	}
94
-
95
-	public function setProductId($productId)
96
-	{
97
-		$this->productId = $productId;
98
-	}
99
-
100
-	public function setFlightInfoList($flightInfoList)
101
-	{
102
-		$this->flightInfoList = $flightInfoList;
103
-	}
104
-
105
-	public function setPriceInfoList($priceInfoList)
106
-	{
107
-		$this->priceInfoList = $priceInfoList;
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(Integer, "product_type")
30
+     */
31
+    private $productType;
32
+
33
+    /**
34
+     * @JsonProperty(String, "product_id")
35
+     */
36
+    private $productId;
37
+
38
+    /**
39
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightOrderCheckSeatPriceRequest_FlightInfoListItem>, "flight_info_list")
40
+     */
41
+    private $flightInfoList;
42
+
43
+    /**
44
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightOrderCheckSeatPriceRequest_PriceInfoListItem>, "price_info_list")
45
+     */
46
+    private $priceInfoList;
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, "product_type", $this->productType);
54
+        $this->setUserParam($params, "product_id", $this->productId);
55
+        $this->setUserParam($params, "flight_info_list", $this->flightInfoList);
56
+        $this->setUserParam($params, "price_info_list", $this->priceInfoList);
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.order.check.seat.price";
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 setProductType($productType)
91
+    {
92
+        $this->productType = $productType;
93
+    }
94
+
95
+    public function setProductId($productId)
96
+    {
97
+        $this->productId = $productId;
98
+    }
99
+
100
+    public function setFlightInfoList($flightInfoList)
101
+    {
102
+        $this->flightInfoList = $flightInfoList;
103
+    }
104
+
105
+    public function setPriceInfoList($priceInfoList)
106
+    {
107
+        $this->priceInfoList = $priceInfoList;
108
+    }
109 109
 
110 110
 }
111 111
 
112 112
 class PddFlightOrderCheckSeatPriceRequest_FlightInfoListItem extends PopBaseJsonEntity
113 113
 {
114 114
 
115
-	public function __construct()
116
-	{
117
-
118
-	}
119
-
120
-	/**
121
-	* @JsonProperty(String, "flight_no")
122
-	*/
123
-	private $flightNo;
124
-
125
-	/**
126
-	* @JsonProperty(String, "carrier_code")
127
-	*/
128
-	private $carrierCode;
129
-
130
-	/**
131
-	* @JsonProperty(Boolean, "shared")
132
-	*/
133
-	private $shared;
134
-
135
-	/**
136
-	* @JsonProperty(String, "shared_carrier_code")
137
-	*/
138
-	private $sharedCarrierCode;
139
-
140
-	/**
141
-	* @JsonProperty(String, "shared_flight_no")
142
-	*/
143
-	private $sharedFlightNo;
144
-
145
-	/**
146
-	* @JsonProperty(String, "departure_date_time")
147
-	*/
148
-	private $departureDateTime;
149
-
150
-	/**
151
-	* @JsonProperty(String, "departure_airport_code")
152
-	*/
153
-	private $departureAirportCode;
154
-
155
-	/**
156
-	* @JsonProperty(String, "departure_terminal")
157
-	*/
158
-	private $departureTerminal;
159
-
160
-	/**
161
-	* @JsonProperty(String, "arrival_date_time")
162
-	*/
163
-	private $arrivalDateTime;
164
-
165
-	/**
166
-	* @JsonProperty(String, "arrival_airport_code")
167
-	*/
168
-	private $arrivalAirportCode;
169
-
170
-	/**
171
-	* @JsonProperty(String, "arrival_terminal")
172
-	*/
173
-	private $arrivalTerminal;
174
-
175
-	/**
176
-	* @JsonProperty(Integer, "segment_no")
177
-	*/
178
-	private $segmentNo;
179
-
180
-	/**
181
-	* @JsonProperty(Integer, "sequence_no")
182
-	*/
183
-	private $sequenceNo;
184
-
185
-	/**
186
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightOrderCheckSeatPriceRequest_FlightInfoListItemCabinInfoListItem>, "cabin_info_list")
187
-	*/
188
-	private $cabinInfoList;
189
-
190
-	public function setFlightNo($flightNo)
191
-	{
192
-		$this->flightNo = $flightNo;
193
-	}
194
-
195
-	public function setCarrierCode($carrierCode)
196
-	{
197
-		$this->carrierCode = $carrierCode;
198
-	}
199
-
200
-	public function setShared($shared)
201
-	{
202
-		$this->shared = $shared;
203
-	}
204
-
205
-	public function setSharedCarrierCode($sharedCarrierCode)
206
-	{
207
-		$this->sharedCarrierCode = $sharedCarrierCode;
208
-	}
209
-
210
-	public function setSharedFlightNo($sharedFlightNo)
211
-	{
212
-		$this->sharedFlightNo = $sharedFlightNo;
213
-	}
214
-
215
-	public function setDepartureDateTime($departureDateTime)
216
-	{
217
-		$this->departureDateTime = $departureDateTime;
218
-	}
219
-
220
-	public function setDepartureAirportCode($departureAirportCode)
221
-	{
222
-		$this->departureAirportCode = $departureAirportCode;
223
-	}
224
-
225
-	public function setDepartureTerminal($departureTerminal)
226
-	{
227
-		$this->departureTerminal = $departureTerminal;
228
-	}
229
-
230
-	public function setArrivalDateTime($arrivalDateTime)
231
-	{
232
-		$this->arrivalDateTime = $arrivalDateTime;
233
-	}
234
-
235
-	public function setArrivalAirportCode($arrivalAirportCode)
236
-	{
237
-		$this->arrivalAirportCode = $arrivalAirportCode;
238
-	}
239
-
240
-	public function setArrivalTerminal($arrivalTerminal)
241
-	{
242
-		$this->arrivalTerminal = $arrivalTerminal;
243
-	}
244
-
245
-	public function setSegmentNo($segmentNo)
246
-	{
247
-		$this->segmentNo = $segmentNo;
248
-	}
249
-
250
-	public function setSequenceNo($sequenceNo)
251
-	{
252
-		$this->sequenceNo = $sequenceNo;
253
-	}
254
-
255
-	public function setCabinInfoList($cabinInfoList)
256
-	{
257
-		$this->cabinInfoList = $cabinInfoList;
258
-	}
115
+    public function __construct()
116
+    {
117
+
118
+    }
119
+
120
+    /**
121
+     * @JsonProperty(String, "flight_no")
122
+     */
123
+    private $flightNo;
124
+
125
+    /**
126
+     * @JsonProperty(String, "carrier_code")
127
+     */
128
+    private $carrierCode;
129
+
130
+    /**
131
+     * @JsonProperty(Boolean, "shared")
132
+     */
133
+    private $shared;
134
+
135
+    /**
136
+     * @JsonProperty(String, "shared_carrier_code")
137
+     */
138
+    private $sharedCarrierCode;
139
+
140
+    /**
141
+     * @JsonProperty(String, "shared_flight_no")
142
+     */
143
+    private $sharedFlightNo;
144
+
145
+    /**
146
+     * @JsonProperty(String, "departure_date_time")
147
+     */
148
+    private $departureDateTime;
149
+
150
+    /**
151
+     * @JsonProperty(String, "departure_airport_code")
152
+     */
153
+    private $departureAirportCode;
154
+
155
+    /**
156
+     * @JsonProperty(String, "departure_terminal")
157
+     */
158
+    private $departureTerminal;
159
+
160
+    /**
161
+     * @JsonProperty(String, "arrival_date_time")
162
+     */
163
+    private $arrivalDateTime;
164
+
165
+    /**
166
+     * @JsonProperty(String, "arrival_airport_code")
167
+     */
168
+    private $arrivalAirportCode;
169
+
170
+    /**
171
+     * @JsonProperty(String, "arrival_terminal")
172
+     */
173
+    private $arrivalTerminal;
174
+
175
+    /**
176
+     * @JsonProperty(Integer, "segment_no")
177
+     */
178
+    private $segmentNo;
179
+
180
+    /**
181
+     * @JsonProperty(Integer, "sequence_no")
182
+     */
183
+    private $sequenceNo;
184
+
185
+    /**
186
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightOrderCheckSeatPriceRequest_FlightInfoListItemCabinInfoListItem>, "cabin_info_list")
187
+     */
188
+    private $cabinInfoList;
189
+
190
+    public function setFlightNo($flightNo)
191
+    {
192
+        $this->flightNo = $flightNo;
193
+    }
194
+
195
+    public function setCarrierCode($carrierCode)
196
+    {
197
+        $this->carrierCode = $carrierCode;
198
+    }
199
+
200
+    public function setShared($shared)
201
+    {
202
+        $this->shared = $shared;
203
+    }
204
+
205
+    public function setSharedCarrierCode($sharedCarrierCode)
206
+    {
207
+        $this->sharedCarrierCode = $sharedCarrierCode;
208
+    }
209
+
210
+    public function setSharedFlightNo($sharedFlightNo)
211
+    {
212
+        $this->sharedFlightNo = $sharedFlightNo;
213
+    }
214
+
215
+    public function setDepartureDateTime($departureDateTime)
216
+    {
217
+        $this->departureDateTime = $departureDateTime;
218
+    }
219
+
220
+    public function setDepartureAirportCode($departureAirportCode)
221
+    {
222
+        $this->departureAirportCode = $departureAirportCode;
223
+    }
224
+
225
+    public function setDepartureTerminal($departureTerminal)
226
+    {
227
+        $this->departureTerminal = $departureTerminal;
228
+    }
229
+
230
+    public function setArrivalDateTime($arrivalDateTime)
231
+    {
232
+        $this->arrivalDateTime = $arrivalDateTime;
233
+    }
234
+
235
+    public function setArrivalAirportCode($arrivalAirportCode)
236
+    {
237
+        $this->arrivalAirportCode = $arrivalAirportCode;
238
+    }
239
+
240
+    public function setArrivalTerminal($arrivalTerminal)
241
+    {
242
+        $this->arrivalTerminal = $arrivalTerminal;
243
+    }
244
+
245
+    public function setSegmentNo($segmentNo)
246
+    {
247
+        $this->segmentNo = $segmentNo;
248
+    }
249
+
250
+    public function setSequenceNo($sequenceNo)
251
+    {
252
+        $this->sequenceNo = $sequenceNo;
253
+    }
254
+
255
+    public function setCabinInfoList($cabinInfoList)
256
+    {
257
+        $this->cabinInfoList = $cabinInfoList;
258
+    }
259 259
 
260 260
 }
261 261
 
262 262
 class PddFlightOrderCheckSeatPriceRequest_FlightInfoListItemCabinInfoListItem extends PopBaseJsonEntity
263 263
 {
264 264
 
265
-	public function __construct()
266
-	{
265
+    public function __construct()
266
+    {
267 267
 
268
-	}
268
+    }
269 269
 
270
-	/**
271
-	* @JsonProperty(String, "passenger_type")
272
-	*/
273
-	private $passengerType;
270
+    /**
271
+     * @JsonProperty(String, "passenger_type")
272
+     */
273
+    private $passengerType;
274 274
 
275
-	/**
276
-	* @JsonProperty(String, "sub_class")
277
-	*/
278
-	private $subClass;
275
+    /**
276
+     * @JsonProperty(String, "sub_class")
277
+     */
278
+    private $subClass;
279 279
 
280
-	public function setPassengerType($passengerType)
281
-	{
282
-		$this->passengerType = $passengerType;
283
-	}
280
+    public function setPassengerType($passengerType)
281
+    {
282
+        $this->passengerType = $passengerType;
283
+    }
284 284
 
285
-	public function setSubClass($subClass)
286
-	{
287
-		$this->subClass = $subClass;
288
-	}
285
+    public function setSubClass($subClass)
286
+    {
287
+        $this->subClass = $subClass;
288
+    }
289 289
 
290 290
 }
291 291
 
292 292
 class PddFlightOrderCheckSeatPriceRequest_PriceInfoListItem extends PopBaseJsonEntity
293 293
 {
294 294
 
295
-	public function __construct()
296
-	{
297
-
298
-	}
299
-
300
-	/**
301
-	* @JsonProperty(String, "passenger_type")
302
-	*/
303
-	private $passengerType;
304
-
305
-	/**
306
-	* @JsonProperty(Long, "base_price")
307
-	*/
308
-	private $basePrice;
309
-
310
-	/**
311
-	* @JsonProperty(Long, "settle_price")
312
-	*/
313
-	private $settlePrice;
314
-
315
-	/**
316
-	* @JsonProperty(Long, "airport_tax")
317
-	*/
318
-	private $airportTax;
319
-
320
-	/**
321
-	* @JsonProperty(Long, "fuel_tax")
322
-	*/
323
-	private $fuelTax;
324
-
325
-	/**
326
-	* @JsonProperty(Double, "commission_point")
327
-	*/
328
-	private $commissionPoint;
329
-
330
-	/**
331
-	* @JsonProperty(Long, "commission_money")
332
-	*/
333
-	private $commissionMoney;
334
-
335
-	public function setPassengerType($passengerType)
336
-	{
337
-		$this->passengerType = $passengerType;
338
-	}
339
-
340
-	public function setBasePrice($basePrice)
341
-	{
342
-		$this->basePrice = $basePrice;
343
-	}
344
-
345
-	public function setSettlePrice($settlePrice)
346
-	{
347
-		$this->settlePrice = $settlePrice;
348
-	}
349
-
350
-	public function setAirportTax($airportTax)
351
-	{
352
-		$this->airportTax = $airportTax;
353
-	}
354
-
355
-	public function setFuelTax($fuelTax)
356
-	{
357
-		$this->fuelTax = $fuelTax;
358
-	}
359
-
360
-	public function setCommissionPoint($commissionPoint)
361
-	{
362
-		$this->commissionPoint = $commissionPoint;
363
-	}
364
-
365
-	public function setCommissionMoney($commissionMoney)
366
-	{
367
-		$this->commissionMoney = $commissionMoney;
368
-	}
295
+    public function __construct()
296
+    {
297
+
298
+    }
299
+
300
+    /**
301
+     * @JsonProperty(String, "passenger_type")
302
+     */
303
+    private $passengerType;
304
+
305
+    /**
306
+     * @JsonProperty(Long, "base_price")
307
+     */
308
+    private $basePrice;
309
+
310
+    /**
311
+     * @JsonProperty(Long, "settle_price")
312
+     */
313
+    private $settlePrice;
314
+
315
+    /**
316
+     * @JsonProperty(Long, "airport_tax")
317
+     */
318
+    private $airportTax;
319
+
320
+    /**
321
+     * @JsonProperty(Long, "fuel_tax")
322
+     */
323
+    private $fuelTax;
324
+
325
+    /**
326
+     * @JsonProperty(Double, "commission_point")
327
+     */
328
+    private $commissionPoint;
329
+
330
+    /**
331
+     * @JsonProperty(Long, "commission_money")
332
+     */
333
+    private $commissionMoney;
334
+
335
+    public function setPassengerType($passengerType)
336
+    {
337
+        $this->passengerType = $passengerType;
338
+    }
339
+
340
+    public function setBasePrice($basePrice)
341
+    {
342
+        $this->basePrice = $basePrice;
343
+    }
344
+
345
+    public function setSettlePrice($settlePrice)
346
+    {
347
+        $this->settlePrice = $settlePrice;
348
+    }
349
+
350
+    public function setAirportTax($airportTax)
351
+    {
352
+        $this->airportTax = $airportTax;
353
+    }
354
+
355
+    public function setFuelTax($fuelTax)
356
+    {
357
+        $this->fuelTax = $fuelTax;
358
+    }
359
+
360
+    public function setCommissionPoint($commissionPoint)
361
+    {
362
+        $this->commissionPoint = $commissionPoint;
363
+    }
364
+
365
+    public function setCommissionMoney($commissionMoney)
366
+    {
367
+        $this->commissionMoney = $commissionMoney;
368
+    }
369 369
 
370 370
 }
Please login to merge, or discard this patch.
bin/src/Api/Request/PddEinvoiceIssueInvoiceResultCallbackRuihongRequest.php 1 patch
Indentation   +608 added lines, -608 removed lines patch added patch discarded remove patch
@@ -7,638 +7,638 @@
 block discarded – undo
7 7
 class PddEinvoiceIssueInvoiceResultCallbackRuihongRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
10
+    {
11 11
 
12
-	}
13
-	/**
14
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceIssueInvoiceResultCallbackRuihongRequest_Data, "data")
15
-	*/
16
-	private $data;
12
+    }
13
+    /**
14
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceIssueInvoiceResultCallbackRuihongRequest_Data, "data")
15
+     */
16
+    private $data;
17 17
 
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "data", $this->data);
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "data", $this->data);
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.issue.invoice.result.callback.ruihong";
37
-	}
34
+    public function getType()
35
+    {
36
+        return "pdd.einvoice.issue.invoice.result.callback.ruihong";
37
+    }
38 38
 
39
-	public function setData($data)
40
-	{
41
-		$this->data = $data;
42
-	}
39
+    public function setData($data)
40
+    {
41
+        $this->data = $data;
42
+    }
43 43
 
44 44
 }
45 45
 
46 46
 class PddEinvoiceIssueInvoiceResultCallbackRuihongRequest_Data extends PopBaseJsonEntity
47 47
 {
48 48
 
49
-	public function __construct()
50
-	{
51
-
52
-	}
53
-
54
-	/**
55
-	* @JsonProperty(String, "code")
56
-	*/
57
-	private $code;
58
-
59
-	/**
60
-	* @JsonProperty(String, "einvoiceApiVersion")
61
-	*/
62
-	private $einvoiceApiVersion;
63
-
64
-	/**
65
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceIssueInvoiceResultCallbackRuihongRequest_DataInvoice, "invoice")
66
-	*/
67
-	private $invoice;
68
-
69
-	/**
70
-	* @JsonProperty(String, "mallId")
71
-	*/
72
-	private $mallId;
73
-
74
-	/**
75
-	* @JsonProperty(String, "message")
76
-	*/
77
-	private $message;
78
-
79
-	/**
80
-	* @JsonProperty(String, "orderNo")
81
-	*/
82
-	private $orderNo;
83
-
84
-	/**
85
-	* @JsonProperty(String, "serialNo")
86
-	*/
87
-	private $serialNo;
88
-
89
-	public function setCode($code)
90
-	{
91
-		$this->code = $code;
92
-	}
93
-
94
-	public function setEinvoiceApiVersion($einvoiceApiVersion)
95
-	{
96
-		$this->einvoiceApiVersion = $einvoiceApiVersion;
97
-	}
98
-
99
-	public function setInvoice($invoice)
100
-	{
101
-		$this->invoice = $invoice;
102
-	}
103
-
104
-	public function setMallId($mallId)
105
-	{
106
-		$this->mallId = $mallId;
107
-	}
108
-
109
-	public function setMessage($message)
110
-	{
111
-		$this->message = $message;
112
-	}
113
-
114
-	public function setOrderNo($orderNo)
115
-	{
116
-		$this->orderNo = $orderNo;
117
-	}
118
-
119
-	public function setSerialNo($serialNo)
120
-	{
121
-		$this->serialNo = $serialNo;
122
-	}
49
+    public function __construct()
50
+    {
51
+
52
+    }
53
+
54
+    /**
55
+     * @JsonProperty(String, "code")
56
+     */
57
+    private $code;
58
+
59
+    /**
60
+     * @JsonProperty(String, "einvoiceApiVersion")
61
+     */
62
+    private $einvoiceApiVersion;
63
+
64
+    /**
65
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceIssueInvoiceResultCallbackRuihongRequest_DataInvoice, "invoice")
66
+     */
67
+    private $invoice;
68
+
69
+    /**
70
+     * @JsonProperty(String, "mallId")
71
+     */
72
+    private $mallId;
73
+
74
+    /**
75
+     * @JsonProperty(String, "message")
76
+     */
77
+    private $message;
78
+
79
+    /**
80
+     * @JsonProperty(String, "orderNo")
81
+     */
82
+    private $orderNo;
83
+
84
+    /**
85
+     * @JsonProperty(String, "serialNo")
86
+     */
87
+    private $serialNo;
88
+
89
+    public function setCode($code)
90
+    {
91
+        $this->code = $code;
92
+    }
93
+
94
+    public function setEinvoiceApiVersion($einvoiceApiVersion)
95
+    {
96
+        $this->einvoiceApiVersion = $einvoiceApiVersion;
97
+    }
98
+
99
+    public function setInvoice($invoice)
100
+    {
101
+        $this->invoice = $invoice;
102
+    }
103
+
104
+    public function setMallId($mallId)
105
+    {
106
+        $this->mallId = $mallId;
107
+    }
108
+
109
+    public function setMessage($message)
110
+    {
111
+        $this->message = $message;
112
+    }
113
+
114
+    public function setOrderNo($orderNo)
115
+    {
116
+        $this->orderNo = $orderNo;
117
+    }
118
+
119
+    public function setSerialNo($serialNo)
120
+    {
121
+        $this->serialNo = $serialNo;
122
+    }
123 123
 
124 124
 }
125 125
 
126 126
 class PddEinvoiceIssueInvoiceResultCallbackRuihongRequest_DataInvoice extends PopBaseJsonEntity
127 127
 {
128 128
 
129
-	public function __construct()
130
-	{
131
-
132
-	}
133
-
134
-	/**
135
-	* @JsonProperty(String, "checkCode")
136
-	*/
137
-	private $checkCode;
138
-
139
-	/**
140
-	* @JsonProperty(String, "code")
141
-	*/
142
-	private $code;
143
-
144
-	/**
145
-	* @JsonProperty(String, "customerAddress")
146
-	*/
147
-	private $customerAddress;
148
-
149
-	/**
150
-	* @JsonProperty(String, "customerBankAccount")
151
-	*/
152
-	private $customerBankAccount;
153
-
154
-	/**
155
-	* @JsonProperty(String, "customerBankName")
156
-	*/
157
-	private $customerBankName;
158
-
159
-	/**
160
-	* @JsonProperty(String, "customerCode")
161
-	*/
162
-	private $customerCode;
163
-
164
-	/**
165
-	* @JsonProperty(String, "customerName")
166
-	*/
167
-	private $customerName;
168
-
169
-	/**
170
-	* @JsonProperty(String, "customerTel")
171
-	*/
172
-	private $customerTel;
173
-
174
-	/**
175
-	* @JsonProperty(String, "drawer")
176
-	*/
177
-	private $drawer;
178
-
179
-	/**
180
-	* @JsonProperty(String, "fiscalCode")
181
-	*/
182
-	private $fiscalCode;
183
-
184
-	/**
185
-	* @JsonProperty(String, "generateTime")
186
-	*/
187
-	private $generateTime;
188
-
189
-	/**
190
-	* @JsonProperty(String, "invPdf")
191
-	*/
192
-	private $invPdf;
193
-
194
-	/**
195
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceIssueInvoiceResultCallbackRuihongRequest_DataInvoiceItemsItem>, "items")
196
-	*/
197
-	private $items;
198
-
199
-	/**
200
-	* @JsonProperty(String, "noTaxAmount")
201
-	*/
202
-	private $noTaxAmount;
203
-
204
-	/**
205
-	* @JsonProperty(String, "orderNo")
206
-	*/
207
-	private $orderNo;
208
-
209
-	/**
210
-	* @JsonProperty(String, "payee")
211
-	*/
212
-	private $payee;
213
-
214
-	/**
215
-	* @JsonProperty(String, "pdfUnsignedUrl")
216
-	*/
217
-	private $pdfUnsignedUrl;
218
-
219
-	/**
220
-	* @JsonProperty(String, "relatedCode")
221
-	*/
222
-	private $relatedCode;
223
-
224
-	/**
225
-	* @JsonProperty(String, "remark")
226
-	*/
227
-	private $remark;
228
-
229
-	/**
230
-	* @JsonProperty(String, "reviewer")
231
-	*/
232
-	private $reviewer;
233
-
234
-	/**
235
-	* @JsonProperty(String, "status")
236
-	*/
237
-	private $status;
238
-
239
-	/**
240
-	* @JsonProperty(String, "taxAmount")
241
-	*/
242
-	private $taxAmount;
243
-
244
-	/**
245
-	* @JsonProperty(String, "taxDeviceNo")
246
-	*/
247
-	private $taxDeviceNo;
248
-
249
-	/**
250
-	* @JsonProperty(String, "taxpayerAddress")
251
-	*/
252
-	private $taxpayerAddress;
253
-
254
-	/**
255
-	* @JsonProperty(String, "taxpayerBankAccount")
256
-	*/
257
-	private $taxpayerBankAccount;
258
-
259
-	/**
260
-	* @JsonProperty(String, "taxpayerBankName")
261
-	*/
262
-	private $taxpayerBankName;
263
-
264
-	/**
265
-	* @JsonProperty(String, "taxpayerCode")
266
-	*/
267
-	private $taxpayerCode;
268
-
269
-	/**
270
-	* @JsonProperty(String, "taxpayerName")
271
-	*/
272
-	private $taxpayerName;
273
-
274
-	/**
275
-	* @JsonProperty(String, "taxpayerTel")
276
-	*/
277
-	private $taxpayerTel;
278
-
279
-	/**
280
-	* @JsonProperty(String, "totalAmount")
281
-	*/
282
-	private $totalAmount;
283
-
284
-	/**
285
-	* @JsonProperty(String, "validReason")
286
-	*/
287
-	private $validReason;
288
-
289
-	/**
290
-	* @JsonProperty(String, "validTime")
291
-	*/
292
-	private $validTime;
293
-
294
-	/**
295
-	* @JsonProperty(String, "viewUrl")
296
-	*/
297
-	private $viewUrl;
298
-
299
-	/**
300
-	* @JsonProperty(String, "cipherText")
301
-	*/
302
-	private $cipherText;
303
-
304
-	/**
305
-	* @JsonProperty(String, "qrCode")
306
-	*/
307
-	private $qrCode;
308
-
309
-	public function setCheckCode($checkCode)
310
-	{
311
-		$this->checkCode = $checkCode;
312
-	}
313
-
314
-	public function setCode($code)
315
-	{
316
-		$this->code = $code;
317
-	}
318
-
319
-	public function setCustomerAddress($customerAddress)
320
-	{
321
-		$this->customerAddress = $customerAddress;
322
-	}
323
-
324
-	public function setCustomerBankAccount($customerBankAccount)
325
-	{
326
-		$this->customerBankAccount = $customerBankAccount;
327
-	}
328
-
329
-	public function setCustomerBankName($customerBankName)
330
-	{
331
-		$this->customerBankName = $customerBankName;
332
-	}
333
-
334
-	public function setCustomerCode($customerCode)
335
-	{
336
-		$this->customerCode = $customerCode;
337
-	}
338
-
339
-	public function setCustomerName($customerName)
340
-	{
341
-		$this->customerName = $customerName;
342
-	}
343
-
344
-	public function setCustomerTel($customerTel)
345
-	{
346
-		$this->customerTel = $customerTel;
347
-	}
348
-
349
-	public function setDrawer($drawer)
350
-	{
351
-		$this->drawer = $drawer;
352
-	}
353
-
354
-	public function setFiscalCode($fiscalCode)
355
-	{
356
-		$this->fiscalCode = $fiscalCode;
357
-	}
358
-
359
-	public function setGenerateTime($generateTime)
360
-	{
361
-		$this->generateTime = $generateTime;
362
-	}
363
-
364
-	public function setInvPdf($invPdf)
365
-	{
366
-		$this->invPdf = $invPdf;
367
-	}
368
-
369
-	public function setItems($items)
370
-	{
371
-		$this->items = $items;
372
-	}
373
-
374
-	public function setNoTaxAmount($noTaxAmount)
375
-	{
376
-		$this->noTaxAmount = $noTaxAmount;
377
-	}
378
-
379
-	public function setOrderNo($orderNo)
380
-	{
381
-		$this->orderNo = $orderNo;
382
-	}
383
-
384
-	public function setPayee($payee)
385
-	{
386
-		$this->payee = $payee;
387
-	}
388
-
389
-	public function setPdfUnsignedUrl($pdfUnsignedUrl)
390
-	{
391
-		$this->pdfUnsignedUrl = $pdfUnsignedUrl;
392
-	}
393
-
394
-	public function setRelatedCode($relatedCode)
395
-	{
396
-		$this->relatedCode = $relatedCode;
397
-	}
398
-
399
-	public function setRemark($remark)
400
-	{
401
-		$this->remark = $remark;
402
-	}
403
-
404
-	public function setReviewer($reviewer)
405
-	{
406
-		$this->reviewer = $reviewer;
407
-	}
408
-
409
-	public function setStatus($status)
410
-	{
411
-		$this->status = $status;
412
-	}
413
-
414
-	public function setTaxAmount($taxAmount)
415
-	{
416
-		$this->taxAmount = $taxAmount;
417
-	}
418
-
419
-	public function setTaxDeviceNo($taxDeviceNo)
420
-	{
421
-		$this->taxDeviceNo = $taxDeviceNo;
422
-	}
423
-
424
-	public function setTaxpayerAddress($taxpayerAddress)
425
-	{
426
-		$this->taxpayerAddress = $taxpayerAddress;
427
-	}
428
-
429
-	public function setTaxpayerBankAccount($taxpayerBankAccount)
430
-	{
431
-		$this->taxpayerBankAccount = $taxpayerBankAccount;
432
-	}
433
-
434
-	public function setTaxpayerBankName($taxpayerBankName)
435
-	{
436
-		$this->taxpayerBankName = $taxpayerBankName;
437
-	}
438
-
439
-	public function setTaxpayerCode($taxpayerCode)
440
-	{
441
-		$this->taxpayerCode = $taxpayerCode;
442
-	}
443
-
444
-	public function setTaxpayerName($taxpayerName)
445
-	{
446
-		$this->taxpayerName = $taxpayerName;
447
-	}
448
-
449
-	public function setTaxpayerTel($taxpayerTel)
450
-	{
451
-		$this->taxpayerTel = $taxpayerTel;
452
-	}
453
-
454
-	public function setTotalAmount($totalAmount)
455
-	{
456
-		$this->totalAmount = $totalAmount;
457
-	}
458
-
459
-	public function setValidReason($validReason)
460
-	{
461
-		$this->validReason = $validReason;
462
-	}
463
-
464
-	public function setValidTime($validTime)
465
-	{
466
-		$this->validTime = $validTime;
467
-	}
468
-
469
-	public function setViewUrl($viewUrl)
470
-	{
471
-		$this->viewUrl = $viewUrl;
472
-	}
473
-
474
-	public function setCipherText($cipherText)
475
-	{
476
-		$this->cipherText = $cipherText;
477
-	}
478
-
479
-	public function setQrCode($qrCode)
480
-	{
481
-		$this->qrCode = $qrCode;
482
-	}
129
+    public function __construct()
130
+    {
131
+
132
+    }
133
+
134
+    /**
135
+     * @JsonProperty(String, "checkCode")
136
+     */
137
+    private $checkCode;
138
+
139
+    /**
140
+     * @JsonProperty(String, "code")
141
+     */
142
+    private $code;
143
+
144
+    /**
145
+     * @JsonProperty(String, "customerAddress")
146
+     */
147
+    private $customerAddress;
148
+
149
+    /**
150
+     * @JsonProperty(String, "customerBankAccount")
151
+     */
152
+    private $customerBankAccount;
153
+
154
+    /**
155
+     * @JsonProperty(String, "customerBankName")
156
+     */
157
+    private $customerBankName;
158
+
159
+    /**
160
+     * @JsonProperty(String, "customerCode")
161
+     */
162
+    private $customerCode;
163
+
164
+    /**
165
+     * @JsonProperty(String, "customerName")
166
+     */
167
+    private $customerName;
168
+
169
+    /**
170
+     * @JsonProperty(String, "customerTel")
171
+     */
172
+    private $customerTel;
173
+
174
+    /**
175
+     * @JsonProperty(String, "drawer")
176
+     */
177
+    private $drawer;
178
+
179
+    /**
180
+     * @JsonProperty(String, "fiscalCode")
181
+     */
182
+    private $fiscalCode;
183
+
184
+    /**
185
+     * @JsonProperty(String, "generateTime")
186
+     */
187
+    private $generateTime;
188
+
189
+    /**
190
+     * @JsonProperty(String, "invPdf")
191
+     */
192
+    private $invPdf;
193
+
194
+    /**
195
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceIssueInvoiceResultCallbackRuihongRequest_DataInvoiceItemsItem>, "items")
196
+     */
197
+    private $items;
198
+
199
+    /**
200
+     * @JsonProperty(String, "noTaxAmount")
201
+     */
202
+    private $noTaxAmount;
203
+
204
+    /**
205
+     * @JsonProperty(String, "orderNo")
206
+     */
207
+    private $orderNo;
208
+
209
+    /**
210
+     * @JsonProperty(String, "payee")
211
+     */
212
+    private $payee;
213
+
214
+    /**
215
+     * @JsonProperty(String, "pdfUnsignedUrl")
216
+     */
217
+    private $pdfUnsignedUrl;
218
+
219
+    /**
220
+     * @JsonProperty(String, "relatedCode")
221
+     */
222
+    private $relatedCode;
223
+
224
+    /**
225
+     * @JsonProperty(String, "remark")
226
+     */
227
+    private $remark;
228
+
229
+    /**
230
+     * @JsonProperty(String, "reviewer")
231
+     */
232
+    private $reviewer;
233
+
234
+    /**
235
+     * @JsonProperty(String, "status")
236
+     */
237
+    private $status;
238
+
239
+    /**
240
+     * @JsonProperty(String, "taxAmount")
241
+     */
242
+    private $taxAmount;
243
+
244
+    /**
245
+     * @JsonProperty(String, "taxDeviceNo")
246
+     */
247
+    private $taxDeviceNo;
248
+
249
+    /**
250
+     * @JsonProperty(String, "taxpayerAddress")
251
+     */
252
+    private $taxpayerAddress;
253
+
254
+    /**
255
+     * @JsonProperty(String, "taxpayerBankAccount")
256
+     */
257
+    private $taxpayerBankAccount;
258
+
259
+    /**
260
+     * @JsonProperty(String, "taxpayerBankName")
261
+     */
262
+    private $taxpayerBankName;
263
+
264
+    /**
265
+     * @JsonProperty(String, "taxpayerCode")
266
+     */
267
+    private $taxpayerCode;
268
+
269
+    /**
270
+     * @JsonProperty(String, "taxpayerName")
271
+     */
272
+    private $taxpayerName;
273
+
274
+    /**
275
+     * @JsonProperty(String, "taxpayerTel")
276
+     */
277
+    private $taxpayerTel;
278
+
279
+    /**
280
+     * @JsonProperty(String, "totalAmount")
281
+     */
282
+    private $totalAmount;
283
+
284
+    /**
285
+     * @JsonProperty(String, "validReason")
286
+     */
287
+    private $validReason;
288
+
289
+    /**
290
+     * @JsonProperty(String, "validTime")
291
+     */
292
+    private $validTime;
293
+
294
+    /**
295
+     * @JsonProperty(String, "viewUrl")
296
+     */
297
+    private $viewUrl;
298
+
299
+    /**
300
+     * @JsonProperty(String, "cipherText")
301
+     */
302
+    private $cipherText;
303
+
304
+    /**
305
+     * @JsonProperty(String, "qrCode")
306
+     */
307
+    private $qrCode;
308
+
309
+    public function setCheckCode($checkCode)
310
+    {
311
+        $this->checkCode = $checkCode;
312
+    }
313
+
314
+    public function setCode($code)
315
+    {
316
+        $this->code = $code;
317
+    }
318
+
319
+    public function setCustomerAddress($customerAddress)
320
+    {
321
+        $this->customerAddress = $customerAddress;
322
+    }
323
+
324
+    public function setCustomerBankAccount($customerBankAccount)
325
+    {
326
+        $this->customerBankAccount = $customerBankAccount;
327
+    }
328
+
329
+    public function setCustomerBankName($customerBankName)
330
+    {
331
+        $this->customerBankName = $customerBankName;
332
+    }
333
+
334
+    public function setCustomerCode($customerCode)
335
+    {
336
+        $this->customerCode = $customerCode;
337
+    }
338
+
339
+    public function setCustomerName($customerName)
340
+    {
341
+        $this->customerName = $customerName;
342
+    }
343
+
344
+    public function setCustomerTel($customerTel)
345
+    {
346
+        $this->customerTel = $customerTel;
347
+    }
348
+
349
+    public function setDrawer($drawer)
350
+    {
351
+        $this->drawer = $drawer;
352
+    }
353
+
354
+    public function setFiscalCode($fiscalCode)
355
+    {
356
+        $this->fiscalCode = $fiscalCode;
357
+    }
358
+
359
+    public function setGenerateTime($generateTime)
360
+    {
361
+        $this->generateTime = $generateTime;
362
+    }
363
+
364
+    public function setInvPdf($invPdf)
365
+    {
366
+        $this->invPdf = $invPdf;
367
+    }
368
+
369
+    public function setItems($items)
370
+    {
371
+        $this->items = $items;
372
+    }
373
+
374
+    public function setNoTaxAmount($noTaxAmount)
375
+    {
376
+        $this->noTaxAmount = $noTaxAmount;
377
+    }
378
+
379
+    public function setOrderNo($orderNo)
380
+    {
381
+        $this->orderNo = $orderNo;
382
+    }
383
+
384
+    public function setPayee($payee)
385
+    {
386
+        $this->payee = $payee;
387
+    }
388
+
389
+    public function setPdfUnsignedUrl($pdfUnsignedUrl)
390
+    {
391
+        $this->pdfUnsignedUrl = $pdfUnsignedUrl;
392
+    }
393
+
394
+    public function setRelatedCode($relatedCode)
395
+    {
396
+        $this->relatedCode = $relatedCode;
397
+    }
398
+
399
+    public function setRemark($remark)
400
+    {
401
+        $this->remark = $remark;
402
+    }
403
+
404
+    public function setReviewer($reviewer)
405
+    {
406
+        $this->reviewer = $reviewer;
407
+    }
408
+
409
+    public function setStatus($status)
410
+    {
411
+        $this->status = $status;
412
+    }
413
+
414
+    public function setTaxAmount($taxAmount)
415
+    {
416
+        $this->taxAmount = $taxAmount;
417
+    }
418
+
419
+    public function setTaxDeviceNo($taxDeviceNo)
420
+    {
421
+        $this->taxDeviceNo = $taxDeviceNo;
422
+    }
423
+
424
+    public function setTaxpayerAddress($taxpayerAddress)
425
+    {
426
+        $this->taxpayerAddress = $taxpayerAddress;
427
+    }
428
+
429
+    public function setTaxpayerBankAccount($taxpayerBankAccount)
430
+    {
431
+        $this->taxpayerBankAccount = $taxpayerBankAccount;
432
+    }
433
+
434
+    public function setTaxpayerBankName($taxpayerBankName)
435
+    {
436
+        $this->taxpayerBankName = $taxpayerBankName;
437
+    }
438
+
439
+    public function setTaxpayerCode($taxpayerCode)
440
+    {
441
+        $this->taxpayerCode = $taxpayerCode;
442
+    }
443
+
444
+    public function setTaxpayerName($taxpayerName)
445
+    {
446
+        $this->taxpayerName = $taxpayerName;
447
+    }
448
+
449
+    public function setTaxpayerTel($taxpayerTel)
450
+    {
451
+        $this->taxpayerTel = $taxpayerTel;
452
+    }
453
+
454
+    public function setTotalAmount($totalAmount)
455
+    {
456
+        $this->totalAmount = $totalAmount;
457
+    }
458
+
459
+    public function setValidReason($validReason)
460
+    {
461
+        $this->validReason = $validReason;
462
+    }
463
+
464
+    public function setValidTime($validTime)
465
+    {
466
+        $this->validTime = $validTime;
467
+    }
468
+
469
+    public function setViewUrl($viewUrl)
470
+    {
471
+        $this->viewUrl = $viewUrl;
472
+    }
473
+
474
+    public function setCipherText($cipherText)
475
+    {
476
+        $this->cipherText = $cipherText;
477
+    }
478
+
479
+    public function setQrCode($qrCode)
480
+    {
481
+        $this->qrCode = $qrCode;
482
+    }
483 483
 
484 484
 }
485 485
 
486 486
 class PddEinvoiceIssueInvoiceResultCallbackRuihongRequest_DataInvoiceItemsItem extends PopBaseJsonEntity
487 487
 {
488 488
 
489
-	public function __construct()
490
-	{
491
-
492
-	}
493
-
494
-	/**
495
-	* @JsonProperty(String, "addedValueTaxFlg")
496
-	*/
497
-	private $addedValueTaxFlg;
498
-
499
-	/**
500
-	* @JsonProperty(String, "amount")
501
-	*/
502
-	private $amount;
503
-
504
-	/**
505
-	* @JsonProperty(String, "catalogCode")
506
-	*/
507
-	private $catalogCode;
508
-
509
-	/**
510
-	* @JsonProperty(String, "code")
511
-	*/
512
-	private $code;
513
-
514
-	/**
515
-	* @JsonProperty(String, "name")
516
-	*/
517
-	private $name;
518
-
519
-	/**
520
-	* @JsonProperty(String, "noTaxAmount")
521
-	*/
522
-	private $noTaxAmount;
523
-
524
-	/**
525
-	* @JsonProperty(String, "preferentialPolicyFlg")
526
-	*/
527
-	private $preferentialPolicyFlg;
528
-
529
-	/**
530
-	* @JsonProperty(String, "price")
531
-	*/
532
-	private $price;
533
-
534
-	/**
535
-	* @JsonProperty(String, "quantity")
536
-	*/
537
-	private $quantity;
538
-
539
-	/**
540
-	* @JsonProperty(String, "spec")
541
-	*/
542
-	private $spec;
543
-
544
-	/**
545
-	* @JsonProperty(String, "taxAmount")
546
-	*/
547
-	private $taxAmount;
548
-
549
-	/**
550
-	* @JsonProperty(String, "taxRate")
551
-	*/
552
-	private $taxRate;
553
-
554
-	/**
555
-	* @JsonProperty(String, "type")
556
-	*/
557
-	private $type;
558
-
559
-	/**
560
-	* @JsonProperty(String, "uom")
561
-	*/
562
-	private $uom;
563
-
564
-	/**
565
-	* @JsonProperty(String, "zeroTaxRateFlg")
566
-	*/
567
-	private $zeroTaxRateFlg;
568
-
569
-	public function setAddedValueTaxFlg($addedValueTaxFlg)
570
-	{
571
-		$this->addedValueTaxFlg = $addedValueTaxFlg;
572
-	}
573
-
574
-	public function setAmount($amount)
575
-	{
576
-		$this->amount = $amount;
577
-	}
578
-
579
-	public function setCatalogCode($catalogCode)
580
-	{
581
-		$this->catalogCode = $catalogCode;
582
-	}
583
-
584
-	public function setCode($code)
585
-	{
586
-		$this->code = $code;
587
-	}
588
-
589
-	public function setName($name)
590
-	{
591
-		$this->name = $name;
592
-	}
593
-
594
-	public function setNoTaxAmount($noTaxAmount)
595
-	{
596
-		$this->noTaxAmount = $noTaxAmount;
597
-	}
598
-
599
-	public function setPreferentialPolicyFlg($preferentialPolicyFlg)
600
-	{
601
-		$this->preferentialPolicyFlg = $preferentialPolicyFlg;
602
-	}
603
-
604
-	public function setPrice($price)
605
-	{
606
-		$this->price = $price;
607
-	}
608
-
609
-	public function setQuantity($quantity)
610
-	{
611
-		$this->quantity = $quantity;
612
-	}
613
-
614
-	public function setSpec($spec)
615
-	{
616
-		$this->spec = $spec;
617
-	}
618
-
619
-	public function setTaxAmount($taxAmount)
620
-	{
621
-		$this->taxAmount = $taxAmount;
622
-	}
623
-
624
-	public function setTaxRate($taxRate)
625
-	{
626
-		$this->taxRate = $taxRate;
627
-	}
628
-
629
-	public function setType($type)
630
-	{
631
-		$this->type = $type;
632
-	}
633
-
634
-	public function setUom($uom)
635
-	{
636
-		$this->uom = $uom;
637
-	}
638
-
639
-	public function setZeroTaxRateFlg($zeroTaxRateFlg)
640
-	{
641
-		$this->zeroTaxRateFlg = $zeroTaxRateFlg;
642
-	}
489
+    public function __construct()
490
+    {
491
+
492
+    }
493
+
494
+    /**
495
+     * @JsonProperty(String, "addedValueTaxFlg")
496
+     */
497
+    private $addedValueTaxFlg;
498
+
499
+    /**
500
+     * @JsonProperty(String, "amount")
501
+     */
502
+    private $amount;
503
+
504
+    /**
505
+     * @JsonProperty(String, "catalogCode")
506
+     */
507
+    private $catalogCode;
508
+
509
+    /**
510
+     * @JsonProperty(String, "code")
511
+     */
512
+    private $code;
513
+
514
+    /**
515
+     * @JsonProperty(String, "name")
516
+     */
517
+    private $name;
518
+
519
+    /**
520
+     * @JsonProperty(String, "noTaxAmount")
521
+     */
522
+    private $noTaxAmount;
523
+
524
+    /**
525
+     * @JsonProperty(String, "preferentialPolicyFlg")
526
+     */
527
+    private $preferentialPolicyFlg;
528
+
529
+    /**
530
+     * @JsonProperty(String, "price")
531
+     */
532
+    private $price;
533
+
534
+    /**
535
+     * @JsonProperty(String, "quantity")
536
+     */
537
+    private $quantity;
538
+
539
+    /**
540
+     * @JsonProperty(String, "spec")
541
+     */
542
+    private $spec;
543
+
544
+    /**
545
+     * @JsonProperty(String, "taxAmount")
546
+     */
547
+    private $taxAmount;
548
+
549
+    /**
550
+     * @JsonProperty(String, "taxRate")
551
+     */
552
+    private $taxRate;
553
+
554
+    /**
555
+     * @JsonProperty(String, "type")
556
+     */
557
+    private $type;
558
+
559
+    /**
560
+     * @JsonProperty(String, "uom")
561
+     */
562
+    private $uom;
563
+
564
+    /**
565
+     * @JsonProperty(String, "zeroTaxRateFlg")
566
+     */
567
+    private $zeroTaxRateFlg;
568
+
569
+    public function setAddedValueTaxFlg($addedValueTaxFlg)
570
+    {
571
+        $this->addedValueTaxFlg = $addedValueTaxFlg;
572
+    }
573
+
574
+    public function setAmount($amount)
575
+    {
576
+        $this->amount = $amount;
577
+    }
578
+
579
+    public function setCatalogCode($catalogCode)
580
+    {
581
+        $this->catalogCode = $catalogCode;
582
+    }
583
+
584
+    public function setCode($code)
585
+    {
586
+        $this->code = $code;
587
+    }
588
+
589
+    public function setName($name)
590
+    {
591
+        $this->name = $name;
592
+    }
593
+
594
+    public function setNoTaxAmount($noTaxAmount)
595
+    {
596
+        $this->noTaxAmount = $noTaxAmount;
597
+    }
598
+
599
+    public function setPreferentialPolicyFlg($preferentialPolicyFlg)
600
+    {
601
+        $this->preferentialPolicyFlg = $preferentialPolicyFlg;
602
+    }
603
+
604
+    public function setPrice($price)
605
+    {
606
+        $this->price = $price;
607
+    }
608
+
609
+    public function setQuantity($quantity)
610
+    {
611
+        $this->quantity = $quantity;
612
+    }
613
+
614
+    public function setSpec($spec)
615
+    {
616
+        $this->spec = $spec;
617
+    }
618
+
619
+    public function setTaxAmount($taxAmount)
620
+    {
621
+        $this->taxAmount = $taxAmount;
622
+    }
623
+
624
+    public function setTaxRate($taxRate)
625
+    {
626
+        $this->taxRate = $taxRate;
627
+    }
628
+
629
+    public function setType($type)
630
+    {
631
+        $this->type = $type;
632
+    }
633
+
634
+    public function setUom($uom)
635
+    {
636
+        $this->uom = $uom;
637
+    }
638
+
639
+    public function setZeroTaxRateFlg($zeroTaxRateFlg)
640
+    {
641
+        $this->zeroTaxRateFlg = $zeroTaxRateFlg;
642
+    }
643 643
 
644 644
 }
Please login to merge, or discard this patch.
pinduoduo/bin/src/Api/Request/PddEinvoiceMallRegisterResultRequest.php 1 patch
Indentation   +100 added lines, -100 removed lines patch added patch discarded remove patch
@@ -7,118 +7,118 @@
 block discarded – undo
7 7
 class PddEinvoiceMallRegisterResultRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
10
+    {
11 11
 
12
-	}
13
-	/**
14
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceMallRegisterResultRequest_Data, "data")
15
-	*/
16
-	private $data;
12
+    }
13
+    /**
14
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceMallRegisterResultRequest_Data, "data")
15
+     */
16
+    private $data;
17 17
 
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "data", $this->data);
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "data", $this->data);
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.mall.register.result";
37
-	}
34
+    public function getType()
35
+    {
36
+        return "pdd.einvoice.mall.register.result";
37
+    }
38 38
 
39
-	public function setData($data)
40
-	{
41
-		$this->data = $data;
42
-	}
39
+    public function setData($data)
40
+    {
41
+        $this->data = $data;
42
+    }
43 43
 
44 44
 }
45 45
 
46 46
 class PddEinvoiceMallRegisterResultRequest_Data extends PopBaseJsonEntity
47 47
 {
48 48
 
49
-	public function __construct()
50
-	{
51
-
52
-	}
53
-
54
-	/**
55
-	* @JsonProperty(String, "einvoiceApiVersion")
56
-	*/
57
-	private $einvoiceApiVersion;
58
-
59
-	/**
60
-	* @JsonProperty(String, "eventSerialNo")
61
-	*/
62
-	private $eventSerialNo;
63
-
64
-	/**
65
-	* @JsonProperty(String, "mallId")
66
-	*/
67
-	private $mallId;
68
-
69
-	/**
70
-	* @JsonProperty(String, "refuseReason")
71
-	*/
72
-	private $refuseReason;
73
-
74
-	/**
75
-	* @JsonProperty(String, "registerId")
76
-	*/
77
-	private $registerId;
78
-
79
-	/**
80
-	* @JsonProperty(Integer, "registerStatus")
81
-	*/
82
-	private $registerStatus;
83
-
84
-	/**
85
-	* @JsonProperty(String, "taxNo")
86
-	*/
87
-	private $taxNo;
88
-
89
-	public function setEinvoiceApiVersion($einvoiceApiVersion)
90
-	{
91
-		$this->einvoiceApiVersion = $einvoiceApiVersion;
92
-	}
93
-
94
-	public function setEventSerialNo($eventSerialNo)
95
-	{
96
-		$this->eventSerialNo = $eventSerialNo;
97
-	}
98
-
99
-	public function setMallId($mallId)
100
-	{
101
-		$this->mallId = $mallId;
102
-	}
103
-
104
-	public function setRefuseReason($refuseReason)
105
-	{
106
-		$this->refuseReason = $refuseReason;
107
-	}
108
-
109
-	public function setRegisterId($registerId)
110
-	{
111
-		$this->registerId = $registerId;
112
-	}
113
-
114
-	public function setRegisterStatus($registerStatus)
115
-	{
116
-		$this->registerStatus = $registerStatus;
117
-	}
118
-
119
-	public function setTaxNo($taxNo)
120
-	{
121
-		$this->taxNo = $taxNo;
122
-	}
49
+    public function __construct()
50
+    {
51
+
52
+    }
53
+
54
+    /**
55
+     * @JsonProperty(String, "einvoiceApiVersion")
56
+     */
57
+    private $einvoiceApiVersion;
58
+
59
+    /**
60
+     * @JsonProperty(String, "eventSerialNo")
61
+     */
62
+    private $eventSerialNo;
63
+
64
+    /**
65
+     * @JsonProperty(String, "mallId")
66
+     */
67
+    private $mallId;
68
+
69
+    /**
70
+     * @JsonProperty(String, "refuseReason")
71
+     */
72
+    private $refuseReason;
73
+
74
+    /**
75
+     * @JsonProperty(String, "registerId")
76
+     */
77
+    private $registerId;
78
+
79
+    /**
80
+     * @JsonProperty(Integer, "registerStatus")
81
+     */
82
+    private $registerStatus;
83
+
84
+    /**
85
+     * @JsonProperty(String, "taxNo")
86
+     */
87
+    private $taxNo;
88
+
89
+    public function setEinvoiceApiVersion($einvoiceApiVersion)
90
+    {
91
+        $this->einvoiceApiVersion = $einvoiceApiVersion;
92
+    }
93
+
94
+    public function setEventSerialNo($eventSerialNo)
95
+    {
96
+        $this->eventSerialNo = $eventSerialNo;
97
+    }
98
+
99
+    public function setMallId($mallId)
100
+    {
101
+        $this->mallId = $mallId;
102
+    }
103
+
104
+    public function setRefuseReason($refuseReason)
105
+    {
106
+        $this->refuseReason = $refuseReason;
107
+    }
108
+
109
+    public function setRegisterId($registerId)
110
+    {
111
+        $this->registerId = $registerId;
112
+    }
113
+
114
+    public function setRegisterStatus($registerStatus)
115
+    {
116
+        $this->registerStatus = $registerStatus;
117
+    }
118
+
119
+    public function setTaxNo($taxNo)
120
+    {
121
+        $this->taxNo = $taxNo;
122
+    }
123 123
 
124 124
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddDdkGoodsPidQueryRequest.php 1 patch
Indentation   +66 added lines, -66 removed lines patch added patch discarded remove patch
@@ -7,71 +7,71 @@
 block discarded – undo
7 7
 class PddDdkGoodsPidQueryRequest 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(List<String>, "pid_list")
25
-	*/
26
-	private $pidList;
27
-
28
-	/**
29
-	* @JsonProperty(Integer, "status")
30
-	*/
31
-	private $status;
32
-
33
-	protected function setUserParams(&$params)
34
-	{
35
-		$this->setUserParam($params, "page", $this->page);
36
-		$this->setUserParam($params, "page_size", $this->pageSize);
37
-		$this->setUserParam($params, "pid_list", $this->pidList);
38
-		$this->setUserParam($params, "status", $this->status);
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.ddk.goods.pid.query";
55
-	}
56
-
57
-	public function setPage($page)
58
-	{
59
-		$this->page = $page;
60
-	}
61
-
62
-	public function setPageSize($pageSize)
63
-	{
64
-		$this->pageSize = $pageSize;
65
-	}
66
-
67
-	public function setPidList($pidList)
68
-	{
69
-		$this->pidList = $pidList;
70
-	}
71
-
72
-	public function setStatus($status)
73
-	{
74
-		$this->status = $status;
75
-	}
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(List<String>, "pid_list")
25
+     */
26
+    private $pidList;
27
+
28
+    /**
29
+     * @JsonProperty(Integer, "status")
30
+     */
31
+    private $status;
32
+
33
+    protected function setUserParams(&$params)
34
+    {
35
+        $this->setUserParam($params, "page", $this->page);
36
+        $this->setUserParam($params, "page_size", $this->pageSize);
37
+        $this->setUserParam($params, "pid_list", $this->pidList);
38
+        $this->setUserParam($params, "status", $this->status);
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.ddk.goods.pid.query";
55
+    }
56
+
57
+    public function setPage($page)
58
+    {
59
+        $this->page = $page;
60
+    }
61
+
62
+    public function setPageSize($pageSize)
63
+    {
64
+        $this->pageSize = $pageSize;
65
+    }
66
+
67
+    public function setPidList($pidList)
68
+    {
69
+        $this->pidList = $pidList;
70
+    }
71
+
72
+    public function setStatus($status)
73
+    {
74
+        $this->status = $status;
75
+    }
76 76
 
77 77
 }
Please login to merge, or discard this patch.