@@ -7,137 +7,137 @@ |
||
7 | 7 | class PddDdkOauthCmsPromUrlGenerateRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(Integer, "channel_type") |
|
15 | - */ |
|
16 | - private $channelType; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(String, "custom_parameters") |
|
20 | - */ |
|
21 | - private $customParameters; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(Boolean, "generate_mobile") |
|
25 | - */ |
|
26 | - private $generateMobile; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(Boolean, "generate_schema_url") |
|
30 | - */ |
|
31 | - private $generateSchemaUrl; |
|
32 | - |
|
33 | - /** |
|
34 | - * @JsonProperty(Boolean, "generate_short_url") |
|
35 | - */ |
|
36 | - private $generateShortUrl; |
|
37 | - |
|
38 | - /** |
|
39 | - * @JsonProperty(Boolean, "generate_weapp_webview") |
|
40 | - */ |
|
41 | - private $generateWeappWebview; |
|
42 | - |
|
43 | - /** |
|
44 | - * @JsonProperty(Boolean, "multi_group") |
|
45 | - */ |
|
46 | - private $multiGroup; |
|
47 | - |
|
48 | - /** |
|
49 | - * @JsonProperty(List<String>, "p_id_list") |
|
50 | - */ |
|
51 | - private $pIdList; |
|
52 | - |
|
53 | - /** |
|
54 | - * @JsonProperty(Boolean, "generate_we_app") |
|
55 | - */ |
|
56 | - private $generateWeApp; |
|
57 | - |
|
58 | - /** |
|
59 | - * @JsonProperty(String, "keyword") |
|
60 | - */ |
|
61 | - private $keyword; |
|
62 | - |
|
63 | - protected function setUserParams(&$params) |
|
64 | - { |
|
65 | - $this->setUserParam($params, "channel_type", $this->channelType); |
|
66 | - $this->setUserParam($params, "custom_parameters", $this->customParameters); |
|
67 | - $this->setUserParam($params, "generate_mobile", $this->generateMobile); |
|
68 | - $this->setUserParam($params, "generate_schema_url", $this->generateSchemaUrl); |
|
69 | - $this->setUserParam($params, "generate_short_url", $this->generateShortUrl); |
|
70 | - $this->setUserParam($params, "generate_weapp_webview", $this->generateWeappWebview); |
|
71 | - $this->setUserParam($params, "multi_group", $this->multiGroup); |
|
72 | - $this->setUserParam($params, "p_id_list", $this->pIdList); |
|
73 | - $this->setUserParam($params, "generate_we_app", $this->generateWeApp); |
|
74 | - $this->setUserParam($params, "keyword", $this->keyword); |
|
75 | - |
|
76 | - } |
|
77 | - |
|
78 | - public function getVersion() |
|
79 | - { |
|
80 | - return "V1"; |
|
81 | - } |
|
82 | - |
|
83 | - public function getDataType() |
|
84 | - { |
|
85 | - return "JSON"; |
|
86 | - } |
|
87 | - |
|
88 | - public function getType() |
|
89 | - { |
|
90 | - return "pdd.ddk.oauth.cms.prom.url.generate"; |
|
91 | - } |
|
92 | - |
|
93 | - public function setChannelType($channelType) |
|
94 | - { |
|
95 | - $this->channelType = $channelType; |
|
96 | - } |
|
97 | - |
|
98 | - public function setCustomParameters($customParameters) |
|
99 | - { |
|
100 | - $this->customParameters = $customParameters; |
|
101 | - } |
|
102 | - |
|
103 | - public function setGenerateMobile($generateMobile) |
|
104 | - { |
|
105 | - $this->generateMobile = $generateMobile; |
|
106 | - } |
|
107 | - |
|
108 | - public function setGenerateSchemaUrl($generateSchemaUrl) |
|
109 | - { |
|
110 | - $this->generateSchemaUrl = $generateSchemaUrl; |
|
111 | - } |
|
112 | - |
|
113 | - public function setGenerateShortUrl($generateShortUrl) |
|
114 | - { |
|
115 | - $this->generateShortUrl = $generateShortUrl; |
|
116 | - } |
|
117 | - |
|
118 | - public function setGenerateWeappWebview($generateWeappWebview) |
|
119 | - { |
|
120 | - $this->generateWeappWebview = $generateWeappWebview; |
|
121 | - } |
|
122 | - |
|
123 | - public function setMultiGroup($multiGroup) |
|
124 | - { |
|
125 | - $this->multiGroup = $multiGroup; |
|
126 | - } |
|
127 | - |
|
128 | - public function setPIdList($pIdList) |
|
129 | - { |
|
130 | - $this->pIdList = $pIdList; |
|
131 | - } |
|
132 | - |
|
133 | - public function setGenerateWeApp($generateWeApp) |
|
134 | - { |
|
135 | - $this->generateWeApp = $generateWeApp; |
|
136 | - } |
|
137 | - |
|
138 | - public function setKeyword($keyword) |
|
139 | - { |
|
140 | - $this->keyword = $keyword; |
|
141 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(Integer, "channel_type") |
|
15 | + */ |
|
16 | + private $channelType; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(String, "custom_parameters") |
|
20 | + */ |
|
21 | + private $customParameters; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(Boolean, "generate_mobile") |
|
25 | + */ |
|
26 | + private $generateMobile; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(Boolean, "generate_schema_url") |
|
30 | + */ |
|
31 | + private $generateSchemaUrl; |
|
32 | + |
|
33 | + /** |
|
34 | + * @JsonProperty(Boolean, "generate_short_url") |
|
35 | + */ |
|
36 | + private $generateShortUrl; |
|
37 | + |
|
38 | + /** |
|
39 | + * @JsonProperty(Boolean, "generate_weapp_webview") |
|
40 | + */ |
|
41 | + private $generateWeappWebview; |
|
42 | + |
|
43 | + /** |
|
44 | + * @JsonProperty(Boolean, "multi_group") |
|
45 | + */ |
|
46 | + private $multiGroup; |
|
47 | + |
|
48 | + /** |
|
49 | + * @JsonProperty(List<String>, "p_id_list") |
|
50 | + */ |
|
51 | + private $pIdList; |
|
52 | + |
|
53 | + /** |
|
54 | + * @JsonProperty(Boolean, "generate_we_app") |
|
55 | + */ |
|
56 | + private $generateWeApp; |
|
57 | + |
|
58 | + /** |
|
59 | + * @JsonProperty(String, "keyword") |
|
60 | + */ |
|
61 | + private $keyword; |
|
62 | + |
|
63 | + protected function setUserParams(&$params) |
|
64 | + { |
|
65 | + $this->setUserParam($params, "channel_type", $this->channelType); |
|
66 | + $this->setUserParam($params, "custom_parameters", $this->customParameters); |
|
67 | + $this->setUserParam($params, "generate_mobile", $this->generateMobile); |
|
68 | + $this->setUserParam($params, "generate_schema_url", $this->generateSchemaUrl); |
|
69 | + $this->setUserParam($params, "generate_short_url", $this->generateShortUrl); |
|
70 | + $this->setUserParam($params, "generate_weapp_webview", $this->generateWeappWebview); |
|
71 | + $this->setUserParam($params, "multi_group", $this->multiGroup); |
|
72 | + $this->setUserParam($params, "p_id_list", $this->pIdList); |
|
73 | + $this->setUserParam($params, "generate_we_app", $this->generateWeApp); |
|
74 | + $this->setUserParam($params, "keyword", $this->keyword); |
|
75 | + |
|
76 | + } |
|
77 | + |
|
78 | + public function getVersion() |
|
79 | + { |
|
80 | + return "V1"; |
|
81 | + } |
|
82 | + |
|
83 | + public function getDataType() |
|
84 | + { |
|
85 | + return "JSON"; |
|
86 | + } |
|
87 | + |
|
88 | + public function getType() |
|
89 | + { |
|
90 | + return "pdd.ddk.oauth.cms.prom.url.generate"; |
|
91 | + } |
|
92 | + |
|
93 | + public function setChannelType($channelType) |
|
94 | + { |
|
95 | + $this->channelType = $channelType; |
|
96 | + } |
|
97 | + |
|
98 | + public function setCustomParameters($customParameters) |
|
99 | + { |
|
100 | + $this->customParameters = $customParameters; |
|
101 | + } |
|
102 | + |
|
103 | + public function setGenerateMobile($generateMobile) |
|
104 | + { |
|
105 | + $this->generateMobile = $generateMobile; |
|
106 | + } |
|
107 | + |
|
108 | + public function setGenerateSchemaUrl($generateSchemaUrl) |
|
109 | + { |
|
110 | + $this->generateSchemaUrl = $generateSchemaUrl; |
|
111 | + } |
|
112 | + |
|
113 | + public function setGenerateShortUrl($generateShortUrl) |
|
114 | + { |
|
115 | + $this->generateShortUrl = $generateShortUrl; |
|
116 | + } |
|
117 | + |
|
118 | + public function setGenerateWeappWebview($generateWeappWebview) |
|
119 | + { |
|
120 | + $this->generateWeappWebview = $generateWeappWebview; |
|
121 | + } |
|
122 | + |
|
123 | + public function setMultiGroup($multiGroup) |
|
124 | + { |
|
125 | + $this->multiGroup = $multiGroup; |
|
126 | + } |
|
127 | + |
|
128 | + public function setPIdList($pIdList) |
|
129 | + { |
|
130 | + $this->pIdList = $pIdList; |
|
131 | + } |
|
132 | + |
|
133 | + public function setGenerateWeApp($generateWeApp) |
|
134 | + { |
|
135 | + $this->generateWeApp = $generateWeApp; |
|
136 | + } |
|
137 | + |
|
138 | + public function setKeyword($keyword) |
|
139 | + { |
|
140 | + $this->keyword = $keyword; |
|
141 | + } |
|
142 | 142 | |
143 | 143 | } |
@@ -7,27 +7,27 @@ |
||
7 | 7 | class PddGoodsCountryGetRequest 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.country.get"; |
|
31 | - } |
|
28 | + public function getType() |
|
29 | + { |
|
30 | + return "pdd.goods.country.get"; |
|
31 | + } |
|
32 | 32 | |
33 | 33 | } |
@@ -7,118 +7,118 @@ |
||
7 | 7 | class PddEinvoiceOutboundRuihongQueryTaxDiskStatusRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
10 | + { |
|
11 | 11 | |
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceOutboundRuihongQueryTaxDiskStatusRequest_Request, "request") |
|
15 | - */ |
|
16 | - private $request; |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceOutboundRuihongQueryTaxDiskStatusRequest_Request, "request") |
|
15 | + */ |
|
16 | + private $request; |
|
17 | 17 | |
18 | - protected function setUserParams(&$params) |
|
19 | - { |
|
20 | - $this->setUserParam($params, "request", $this->request); |
|
18 | + protected function setUserParams(&$params) |
|
19 | + { |
|
20 | + $this->setUserParam($params, "request", $this->request); |
|
21 | 21 | |
22 | - } |
|
22 | + } |
|
23 | 23 | |
24 | - public function getVersion() |
|
25 | - { |
|
26 | - return "V1"; |
|
27 | - } |
|
24 | + public function getVersion() |
|
25 | + { |
|
26 | + return "V1"; |
|
27 | + } |
|
28 | 28 | |
29 | - public function getDataType() |
|
30 | - { |
|
31 | - return "JSON"; |
|
32 | - } |
|
29 | + public function getDataType() |
|
30 | + { |
|
31 | + return "JSON"; |
|
32 | + } |
|
33 | 33 | |
34 | - public function getType() |
|
35 | - { |
|
36 | - return "pdd.einvoice.outbound.ruihong.query.tax.disk.status"; |
|
37 | - } |
|
34 | + public function getType() |
|
35 | + { |
|
36 | + return "pdd.einvoice.outbound.ruihong.query.tax.disk.status"; |
|
37 | + } |
|
38 | 38 | |
39 | - public function setRequest($request) |
|
40 | - { |
|
41 | - $this->request = $request; |
|
42 | - } |
|
39 | + public function setRequest($request) |
|
40 | + { |
|
41 | + $this->request = $request; |
|
42 | + } |
|
43 | 43 | |
44 | 44 | } |
45 | 45 | |
46 | 46 | class PddEinvoiceOutboundRuihongQueryTaxDiskStatusRequest_Request extends PopBaseJsonEntity |
47 | 47 | { |
48 | 48 | |
49 | - public function __construct() |
|
50 | - { |
|
51 | - |
|
52 | - } |
|
53 | - |
|
54 | - /** |
|
55 | - * @JsonProperty(String, "appCode") |
|
56 | - */ |
|
57 | - private $appCode; |
|
58 | - |
|
59 | - /** |
|
60 | - * @JsonProperty(String, "cmdName") |
|
61 | - */ |
|
62 | - private $cmdName; |
|
63 | - |
|
64 | - /** |
|
65 | - * @JsonProperty(String, "sign") |
|
66 | - */ |
|
67 | - private $sign; |
|
68 | - |
|
69 | - /** |
|
70 | - * @JsonProperty(String, "serialNo") |
|
71 | - */ |
|
72 | - private $serialNo; |
|
73 | - |
|
74 | - /** |
|
75 | - * @JsonProperty(String, "postTime") |
|
76 | - */ |
|
77 | - private $postTime; |
|
78 | - |
|
79 | - /** |
|
80 | - * @JsonProperty(String, "taxpayerCode") |
|
81 | - */ |
|
82 | - private $taxpayerCode; |
|
83 | - |
|
84 | - /** |
|
85 | - * @JsonProperty(String, "taxDiskNo") |
|
86 | - */ |
|
87 | - private $taxDiskNo; |
|
88 | - |
|
89 | - public function setAppCode($appCode) |
|
90 | - { |
|
91 | - $this->appCode = $appCode; |
|
92 | - } |
|
93 | - |
|
94 | - public function setCmdName($cmdName) |
|
95 | - { |
|
96 | - $this->cmdName = $cmdName; |
|
97 | - } |
|
98 | - |
|
99 | - public function setSign($sign) |
|
100 | - { |
|
101 | - $this->sign = $sign; |
|
102 | - } |
|
103 | - |
|
104 | - public function setSerialNo($serialNo) |
|
105 | - { |
|
106 | - $this->serialNo = $serialNo; |
|
107 | - } |
|
108 | - |
|
109 | - public function setPostTime($postTime) |
|
110 | - { |
|
111 | - $this->postTime = $postTime; |
|
112 | - } |
|
113 | - |
|
114 | - public function setTaxpayerCode($taxpayerCode) |
|
115 | - { |
|
116 | - $this->taxpayerCode = $taxpayerCode; |
|
117 | - } |
|
118 | - |
|
119 | - public function setTaxDiskNo($taxDiskNo) |
|
120 | - { |
|
121 | - $this->taxDiskNo = $taxDiskNo; |
|
122 | - } |
|
49 | + public function __construct() |
|
50 | + { |
|
51 | + |
|
52 | + } |
|
53 | + |
|
54 | + /** |
|
55 | + * @JsonProperty(String, "appCode") |
|
56 | + */ |
|
57 | + private $appCode; |
|
58 | + |
|
59 | + /** |
|
60 | + * @JsonProperty(String, "cmdName") |
|
61 | + */ |
|
62 | + private $cmdName; |
|
63 | + |
|
64 | + /** |
|
65 | + * @JsonProperty(String, "sign") |
|
66 | + */ |
|
67 | + private $sign; |
|
68 | + |
|
69 | + /** |
|
70 | + * @JsonProperty(String, "serialNo") |
|
71 | + */ |
|
72 | + private $serialNo; |
|
73 | + |
|
74 | + /** |
|
75 | + * @JsonProperty(String, "postTime") |
|
76 | + */ |
|
77 | + private $postTime; |
|
78 | + |
|
79 | + /** |
|
80 | + * @JsonProperty(String, "taxpayerCode") |
|
81 | + */ |
|
82 | + private $taxpayerCode; |
|
83 | + |
|
84 | + /** |
|
85 | + * @JsonProperty(String, "taxDiskNo") |
|
86 | + */ |
|
87 | + private $taxDiskNo; |
|
88 | + |
|
89 | + public function setAppCode($appCode) |
|
90 | + { |
|
91 | + $this->appCode = $appCode; |
|
92 | + } |
|
93 | + |
|
94 | + public function setCmdName($cmdName) |
|
95 | + { |
|
96 | + $this->cmdName = $cmdName; |
|
97 | + } |
|
98 | + |
|
99 | + public function setSign($sign) |
|
100 | + { |
|
101 | + $this->sign = $sign; |
|
102 | + } |
|
103 | + |
|
104 | + public function setSerialNo($serialNo) |
|
105 | + { |
|
106 | + $this->serialNo = $serialNo; |
|
107 | + } |
|
108 | + |
|
109 | + public function setPostTime($postTime) |
|
110 | + { |
|
111 | + $this->postTime = $postTime; |
|
112 | + } |
|
113 | + |
|
114 | + public function setTaxpayerCode($taxpayerCode) |
|
115 | + { |
|
116 | + $this->taxpayerCode = $taxpayerCode; |
|
117 | + } |
|
118 | + |
|
119 | + public function setTaxDiskNo($taxDiskNo) |
|
120 | + { |
|
121 | + $this->taxDiskNo = $taxDiskNo; |
|
122 | + } |
|
123 | 123 | |
124 | 124 | } |
@@ -7,93 +7,93 @@ |
||
7 | 7 | class PddPromotionMerchantCouponListGetRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(Integer, "page") |
|
15 | - */ |
|
16 | - private $page; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(Integer, "page_size") |
|
20 | - */ |
|
21 | - private $pageSize; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(Long, "batch_start_time_from") |
|
25 | - */ |
|
26 | - private $batchStartTimeFrom; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(Long, "batch_start_time_to") |
|
30 | - */ |
|
31 | - private $batchStartTimeTo; |
|
32 | - |
|
33 | - /** |
|
34 | - * @JsonProperty(Integer, "batch_status") |
|
35 | - */ |
|
36 | - private $batchStatus; |
|
37 | - |
|
38 | - /** |
|
39 | - * @JsonProperty(Integer, "sort_by") |
|
40 | - */ |
|
41 | - private $sortBy; |
|
42 | - |
|
43 | - protected function setUserParams(&$params) |
|
44 | - { |
|
45 | - $this->setUserParam($params, "page", $this->page); |
|
46 | - $this->setUserParam($params, "page_size", $this->pageSize); |
|
47 | - $this->setUserParam($params, "batch_start_time_from", $this->batchStartTimeFrom); |
|
48 | - $this->setUserParam($params, "batch_start_time_to", $this->batchStartTimeTo); |
|
49 | - $this->setUserParam($params, "batch_status", $this->batchStatus); |
|
50 | - $this->setUserParam($params, "sort_by", $this->sortBy); |
|
51 | - |
|
52 | - } |
|
53 | - |
|
54 | - public function getVersion() |
|
55 | - { |
|
56 | - return "V1"; |
|
57 | - } |
|
58 | - |
|
59 | - public function getDataType() |
|
60 | - { |
|
61 | - return "JSON"; |
|
62 | - } |
|
63 | - |
|
64 | - public function getType() |
|
65 | - { |
|
66 | - return "pdd.promotion.merchant.coupon.list.get"; |
|
67 | - } |
|
68 | - |
|
69 | - public function setPage($page) |
|
70 | - { |
|
71 | - $this->page = $page; |
|
72 | - } |
|
73 | - |
|
74 | - public function setPageSize($pageSize) |
|
75 | - { |
|
76 | - $this->pageSize = $pageSize; |
|
77 | - } |
|
78 | - |
|
79 | - public function setBatchStartTimeFrom($batchStartTimeFrom) |
|
80 | - { |
|
81 | - $this->batchStartTimeFrom = $batchStartTimeFrom; |
|
82 | - } |
|
83 | - |
|
84 | - public function setBatchStartTimeTo($batchStartTimeTo) |
|
85 | - { |
|
86 | - $this->batchStartTimeTo = $batchStartTimeTo; |
|
87 | - } |
|
88 | - |
|
89 | - public function setBatchStatus($batchStatus) |
|
90 | - { |
|
91 | - $this->batchStatus = $batchStatus; |
|
92 | - } |
|
93 | - |
|
94 | - public function setSortBy($sortBy) |
|
95 | - { |
|
96 | - $this->sortBy = $sortBy; |
|
97 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(Integer, "page") |
|
15 | + */ |
|
16 | + private $page; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(Integer, "page_size") |
|
20 | + */ |
|
21 | + private $pageSize; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(Long, "batch_start_time_from") |
|
25 | + */ |
|
26 | + private $batchStartTimeFrom; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(Long, "batch_start_time_to") |
|
30 | + */ |
|
31 | + private $batchStartTimeTo; |
|
32 | + |
|
33 | + /** |
|
34 | + * @JsonProperty(Integer, "batch_status") |
|
35 | + */ |
|
36 | + private $batchStatus; |
|
37 | + |
|
38 | + /** |
|
39 | + * @JsonProperty(Integer, "sort_by") |
|
40 | + */ |
|
41 | + private $sortBy; |
|
42 | + |
|
43 | + protected function setUserParams(&$params) |
|
44 | + { |
|
45 | + $this->setUserParam($params, "page", $this->page); |
|
46 | + $this->setUserParam($params, "page_size", $this->pageSize); |
|
47 | + $this->setUserParam($params, "batch_start_time_from", $this->batchStartTimeFrom); |
|
48 | + $this->setUserParam($params, "batch_start_time_to", $this->batchStartTimeTo); |
|
49 | + $this->setUserParam($params, "batch_status", $this->batchStatus); |
|
50 | + $this->setUserParam($params, "sort_by", $this->sortBy); |
|
51 | + |
|
52 | + } |
|
53 | + |
|
54 | + public function getVersion() |
|
55 | + { |
|
56 | + return "V1"; |
|
57 | + } |
|
58 | + |
|
59 | + public function getDataType() |
|
60 | + { |
|
61 | + return "JSON"; |
|
62 | + } |
|
63 | + |
|
64 | + public function getType() |
|
65 | + { |
|
66 | + return "pdd.promotion.merchant.coupon.list.get"; |
|
67 | + } |
|
68 | + |
|
69 | + public function setPage($page) |
|
70 | + { |
|
71 | + $this->page = $page; |
|
72 | + } |
|
73 | + |
|
74 | + public function setPageSize($pageSize) |
|
75 | + { |
|
76 | + $this->pageSize = $pageSize; |
|
77 | + } |
|
78 | + |
|
79 | + public function setBatchStartTimeFrom($batchStartTimeFrom) |
|
80 | + { |
|
81 | + $this->batchStartTimeFrom = $batchStartTimeFrom; |
|
82 | + } |
|
83 | + |
|
84 | + public function setBatchStartTimeTo($batchStartTimeTo) |
|
85 | + { |
|
86 | + $this->batchStartTimeTo = $batchStartTimeTo; |
|
87 | + } |
|
88 | + |
|
89 | + public function setBatchStatus($batchStatus) |
|
90 | + { |
|
91 | + $this->batchStatus = $batchStatus; |
|
92 | + } |
|
93 | + |
|
94 | + public function setSortBy($sortBy) |
|
95 | + { |
|
96 | + $this->sortBy = $sortBy; |
|
97 | + } |
|
98 | 98 | |
99 | 99 | } |
@@ -7,38 +7,38 @@ |
||
7 | 7 | class PddPopAuthTokenRefreshRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(String, "refresh_token") |
|
15 | - */ |
|
16 | - private $refreshToken; |
|
17 | - |
|
18 | - protected function setUserParams(&$params) |
|
19 | - { |
|
20 | - $this->setUserParam($params, "refresh_token", $this->refreshToken); |
|
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.pop.auth.token.refresh"; |
|
37 | - } |
|
38 | - |
|
39 | - public function setRefreshToken($refreshToken) |
|
40 | - { |
|
41 | - $this->refreshToken = $refreshToken; |
|
42 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "refresh_token") |
|
15 | + */ |
|
16 | + private $refreshToken; |
|
17 | + |
|
18 | + protected function setUserParams(&$params) |
|
19 | + { |
|
20 | + $this->setUserParam($params, "refresh_token", $this->refreshToken); |
|
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.pop.auth.token.refresh"; |
|
37 | + } |
|
38 | + |
|
39 | + public function setRefreshToken($refreshToken) |
|
40 | + { |
|
41 | + $this->refreshToken = $refreshToken; |
|
42 | + } |
|
43 | 43 | |
44 | 44 | } |
@@ -7,88 +7,88 @@ |
||
7 | 7 | class PddFdsWaybillCancelRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
10 | + { |
|
11 | 11 | |
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillCancelRequest_InnerPddFdsWaybillCancelRequest, "pdd_fds_waybill_cancel_request") |
|
15 | - */ |
|
16 | - private $pddFdsWaybillCancelRequest; |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillCancelRequest_InnerPddFdsWaybillCancelRequest, "pdd_fds_waybill_cancel_request") |
|
15 | + */ |
|
16 | + private $pddFdsWaybillCancelRequest; |
|
17 | 17 | |
18 | - protected function setUserParams(&$params) |
|
19 | - { |
|
20 | - $this->setUserParam($params, "pdd_fds_waybill_cancel_request", $this->pddFdsWaybillCancelRequest); |
|
18 | + protected function setUserParams(&$params) |
|
19 | + { |
|
20 | + $this->setUserParam($params, "pdd_fds_waybill_cancel_request", $this->pddFdsWaybillCancelRequest); |
|
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.fds.waybill.cancel"; |
|
37 | - } |
|
34 | + public function getType() |
|
35 | + { |
|
36 | + return "pdd.fds.waybill.cancel"; |
|
37 | + } |
|
38 | 38 | |
39 | - public function setPddFdsWaybillCancelRequest($pddFdsWaybillCancelRequest) |
|
40 | - { |
|
41 | - $this->pddFdsWaybillCancelRequest = $pddFdsWaybillCancelRequest; |
|
42 | - } |
|
39 | + public function setPddFdsWaybillCancelRequest($pddFdsWaybillCancelRequest) |
|
40 | + { |
|
41 | + $this->pddFdsWaybillCancelRequest = $pddFdsWaybillCancelRequest; |
|
42 | + } |
|
43 | 43 | |
44 | 44 | } |
45 | 45 | |
46 | 46 | class PddFdsWaybillCancelRequest_InnerPddFdsWaybillCancelRequest extends PopBaseJsonEntity |
47 | 47 | { |
48 | 48 | |
49 | - public function __construct() |
|
50 | - { |
|
51 | - |
|
52 | - } |
|
53 | - |
|
54 | - /** |
|
55 | - * @JsonProperty(String, "mall_mask_id") |
|
56 | - */ |
|
57 | - private $mallMaskId; |
|
58 | - |
|
59 | - /** |
|
60 | - * @JsonProperty(String, "order_mask_sn") |
|
61 | - */ |
|
62 | - private $orderMaskSn; |
|
63 | - |
|
64 | - /** |
|
65 | - * @JsonProperty(String, "waybill_code") |
|
66 | - */ |
|
67 | - private $waybillCode; |
|
68 | - |
|
69 | - /** |
|
70 | - * @JsonProperty(String, "wp_code") |
|
71 | - */ |
|
72 | - private $wpCode; |
|
73 | - |
|
74 | - public function setMallMaskId($mallMaskId) |
|
75 | - { |
|
76 | - $this->mallMaskId = $mallMaskId; |
|
77 | - } |
|
78 | - |
|
79 | - public function setOrderMaskSn($orderMaskSn) |
|
80 | - { |
|
81 | - $this->orderMaskSn = $orderMaskSn; |
|
82 | - } |
|
83 | - |
|
84 | - public function setWaybillCode($waybillCode) |
|
85 | - { |
|
86 | - $this->waybillCode = $waybillCode; |
|
87 | - } |
|
88 | - |
|
89 | - public function setWpCode($wpCode) |
|
90 | - { |
|
91 | - $this->wpCode = $wpCode; |
|
92 | - } |
|
49 | + public function __construct() |
|
50 | + { |
|
51 | + |
|
52 | + } |
|
53 | + |
|
54 | + /** |
|
55 | + * @JsonProperty(String, "mall_mask_id") |
|
56 | + */ |
|
57 | + private $mallMaskId; |
|
58 | + |
|
59 | + /** |
|
60 | + * @JsonProperty(String, "order_mask_sn") |
|
61 | + */ |
|
62 | + private $orderMaskSn; |
|
63 | + |
|
64 | + /** |
|
65 | + * @JsonProperty(String, "waybill_code") |
|
66 | + */ |
|
67 | + private $waybillCode; |
|
68 | + |
|
69 | + /** |
|
70 | + * @JsonProperty(String, "wp_code") |
|
71 | + */ |
|
72 | + private $wpCode; |
|
73 | + |
|
74 | + public function setMallMaskId($mallMaskId) |
|
75 | + { |
|
76 | + $this->mallMaskId = $mallMaskId; |
|
77 | + } |
|
78 | + |
|
79 | + public function setOrderMaskSn($orderMaskSn) |
|
80 | + { |
|
81 | + $this->orderMaskSn = $orderMaskSn; |
|
82 | + } |
|
83 | + |
|
84 | + public function setWaybillCode($waybillCode) |
|
85 | + { |
|
86 | + $this->waybillCode = $waybillCode; |
|
87 | + } |
|
88 | + |
|
89 | + public function setWpCode($wpCode) |
|
90 | + { |
|
91 | + $this->wpCode = $wpCode; |
|
92 | + } |
|
93 | 93 | |
94 | 94 | } |
@@ -7,99 +7,99 @@ |
||
7 | 7 | class PddAdApiUnitUpdateOptimizationMessageRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(Long, "adId") |
|
15 | - */ |
|
16 | - private $adId; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitUpdateOptimizationMessageRequest_OptimizationMessage, "optimizationMessage") |
|
20 | - */ |
|
21 | - private $optimizationMessage; |
|
22 | - |
|
23 | - protected function setUserParams(&$params) |
|
24 | - { |
|
25 | - $this->setUserParam($params, "adId", $this->adId); |
|
26 | - $this->setUserParam($params, "optimizationMessage", $this->optimizationMessage); |
|
27 | - |
|
28 | - } |
|
29 | - |
|
30 | - public function getVersion() |
|
31 | - { |
|
32 | - return "V1"; |
|
33 | - } |
|
34 | - |
|
35 | - public function getDataType() |
|
36 | - { |
|
37 | - return "JSON"; |
|
38 | - } |
|
39 | - |
|
40 | - public function getType() |
|
41 | - { |
|
42 | - return "pdd.ad.api.unit.update.optimization.message"; |
|
43 | - } |
|
44 | - |
|
45 | - public function setAdId($adId) |
|
46 | - { |
|
47 | - $this->adId = $adId; |
|
48 | - } |
|
49 | - |
|
50 | - public function setOptimizationMessage($optimizationMessage) |
|
51 | - { |
|
52 | - $this->optimizationMessage = $optimizationMessage; |
|
53 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(Long, "adId") |
|
15 | + */ |
|
16 | + private $adId; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitUpdateOptimizationMessageRequest_OptimizationMessage, "optimizationMessage") |
|
20 | + */ |
|
21 | + private $optimizationMessage; |
|
22 | + |
|
23 | + protected function setUserParams(&$params) |
|
24 | + { |
|
25 | + $this->setUserParam($params, "adId", $this->adId); |
|
26 | + $this->setUserParam($params, "optimizationMessage", $this->optimizationMessage); |
|
27 | + |
|
28 | + } |
|
29 | + |
|
30 | + public function getVersion() |
|
31 | + { |
|
32 | + return "V1"; |
|
33 | + } |
|
34 | + |
|
35 | + public function getDataType() |
|
36 | + { |
|
37 | + return "JSON"; |
|
38 | + } |
|
39 | + |
|
40 | + public function getType() |
|
41 | + { |
|
42 | + return "pdd.ad.api.unit.update.optimization.message"; |
|
43 | + } |
|
44 | + |
|
45 | + public function setAdId($adId) |
|
46 | + { |
|
47 | + $this->adId = $adId; |
|
48 | + } |
|
49 | + |
|
50 | + public function setOptimizationMessage($optimizationMessage) |
|
51 | + { |
|
52 | + $this->optimizationMessage = $optimizationMessage; |
|
53 | + } |
|
54 | 54 | |
55 | 55 | } |
56 | 56 | |
57 | 57 | class PddAdApiUnitUpdateOptimizationMessageRequest_OptimizationMessage extends PopBaseJsonEntity |
58 | 58 | { |
59 | 59 | |
60 | - public function __construct() |
|
61 | - { |
|
62 | - |
|
63 | - } |
|
64 | - |
|
65 | - /** |
|
66 | - * @JsonProperty(Long, "accumulationBid") |
|
67 | - */ |
|
68 | - private $accumulationBid; |
|
69 | - |
|
70 | - /** |
|
71 | - * @JsonProperty(Long, "optimizationBid") |
|
72 | - */ |
|
73 | - private $optimizationBid; |
|
74 | - |
|
75 | - /** |
|
76 | - * @JsonProperty(Integer, "optimizationGoal") |
|
77 | - */ |
|
78 | - private $optimizationGoal; |
|
79 | - |
|
80 | - /** |
|
81 | - * @JsonProperty(Integer, "optimizationMethod") |
|
82 | - */ |
|
83 | - private $optimizationMethod; |
|
84 | - |
|
85 | - public function setAccumulationBid($accumulationBid) |
|
86 | - { |
|
87 | - $this->accumulationBid = $accumulationBid; |
|
88 | - } |
|
89 | - |
|
90 | - public function setOptimizationBid($optimizationBid) |
|
91 | - { |
|
92 | - $this->optimizationBid = $optimizationBid; |
|
93 | - } |
|
94 | - |
|
95 | - public function setOptimizationGoal($optimizationGoal) |
|
96 | - { |
|
97 | - $this->optimizationGoal = $optimizationGoal; |
|
98 | - } |
|
99 | - |
|
100 | - public function setOptimizationMethod($optimizationMethod) |
|
101 | - { |
|
102 | - $this->optimizationMethod = $optimizationMethod; |
|
103 | - } |
|
60 | + public function __construct() |
|
61 | + { |
|
62 | + |
|
63 | + } |
|
64 | + |
|
65 | + /** |
|
66 | + * @JsonProperty(Long, "accumulationBid") |
|
67 | + */ |
|
68 | + private $accumulationBid; |
|
69 | + |
|
70 | + /** |
|
71 | + * @JsonProperty(Long, "optimizationBid") |
|
72 | + */ |
|
73 | + private $optimizationBid; |
|
74 | + |
|
75 | + /** |
|
76 | + * @JsonProperty(Integer, "optimizationGoal") |
|
77 | + */ |
|
78 | + private $optimizationGoal; |
|
79 | + |
|
80 | + /** |
|
81 | + * @JsonProperty(Integer, "optimizationMethod") |
|
82 | + */ |
|
83 | + private $optimizationMethod; |
|
84 | + |
|
85 | + public function setAccumulationBid($accumulationBid) |
|
86 | + { |
|
87 | + $this->accumulationBid = $accumulationBid; |
|
88 | + } |
|
89 | + |
|
90 | + public function setOptimizationBid($optimizationBid) |
|
91 | + { |
|
92 | + $this->optimizationBid = $optimizationBid; |
|
93 | + } |
|
94 | + |
|
95 | + public function setOptimizationGoal($optimizationGoal) |
|
96 | + { |
|
97 | + $this->optimizationGoal = $optimizationGoal; |
|
98 | + } |
|
99 | + |
|
100 | + public function setOptimizationMethod($optimizationMethod) |
|
101 | + { |
|
102 | + $this->optimizationMethod = $optimizationMethod; |
|
103 | + } |
|
104 | 104 | |
105 | 105 | } |
@@ -7,244 +7,244 @@ |
||
7 | 7 | class PddGoodsLogisticsTemplateCreateRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsLogisticsTemplateCreateRequest_CostTemplateListItem>, "cost_template_list") |
|
15 | - */ |
|
16 | - private $costTemplateList; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsLogisticsTemplateCreateRequest_FreeProvinceListItem>, "free_province_list") |
|
20 | - */ |
|
21 | - private $freeProvinceList; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(Integer, "cost_type") |
|
25 | - */ |
|
26 | - private $costType; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(String, "template_name") |
|
30 | - */ |
|
31 | - private $templateName; |
|
32 | - |
|
33 | - /** |
|
34 | - * @JsonProperty(Integer, "province_id") |
|
35 | - */ |
|
36 | - private $provinceId; |
|
37 | - |
|
38 | - /** |
|
39 | - * @JsonProperty(Integer, "city_id") |
|
40 | - */ |
|
41 | - private $cityId; |
|
42 | - |
|
43 | - /** |
|
44 | - * @JsonProperty(Integer, "district_id") |
|
45 | - */ |
|
46 | - private $districtId; |
|
47 | - |
|
48 | - protected function setUserParams(&$params) |
|
49 | - { |
|
50 | - $this->setUserParam($params, "cost_template_list", $this->costTemplateList); |
|
51 | - $this->setUserParam($params, "free_province_list", $this->freeProvinceList); |
|
52 | - $this->setUserParam($params, "cost_type", $this->costType); |
|
53 | - $this->setUserParam($params, "template_name", $this->templateName); |
|
54 | - $this->setUserParam($params, "province_id", $this->provinceId); |
|
55 | - $this->setUserParam($params, "city_id", $this->cityId); |
|
56 | - $this->setUserParam($params, "district_id", $this->districtId); |
|
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.goods.logistics.template.create"; |
|
73 | - } |
|
74 | - |
|
75 | - public function setCostTemplateList($costTemplateList) |
|
76 | - { |
|
77 | - $this->costTemplateList = $costTemplateList; |
|
78 | - } |
|
79 | - |
|
80 | - public function setFreeProvinceList($freeProvinceList) |
|
81 | - { |
|
82 | - $this->freeProvinceList = $freeProvinceList; |
|
83 | - } |
|
84 | - |
|
85 | - public function setCostType($costType) |
|
86 | - { |
|
87 | - $this->costType = $costType; |
|
88 | - } |
|
89 | - |
|
90 | - public function setTemplateName($templateName) |
|
91 | - { |
|
92 | - $this->templateName = $templateName; |
|
93 | - } |
|
94 | - |
|
95 | - public function setProvinceId($provinceId) |
|
96 | - { |
|
97 | - $this->provinceId = $provinceId; |
|
98 | - } |
|
99 | - |
|
100 | - public function setCityId($cityId) |
|
101 | - { |
|
102 | - $this->cityId = $cityId; |
|
103 | - } |
|
104 | - |
|
105 | - public function setDistrictId($districtId) |
|
106 | - { |
|
107 | - $this->districtId = $districtId; |
|
108 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsLogisticsTemplateCreateRequest_CostTemplateListItem>, "cost_template_list") |
|
15 | + */ |
|
16 | + private $costTemplateList; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsLogisticsTemplateCreateRequest_FreeProvinceListItem>, "free_province_list") |
|
20 | + */ |
|
21 | + private $freeProvinceList; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(Integer, "cost_type") |
|
25 | + */ |
|
26 | + private $costType; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(String, "template_name") |
|
30 | + */ |
|
31 | + private $templateName; |
|
32 | + |
|
33 | + /** |
|
34 | + * @JsonProperty(Integer, "province_id") |
|
35 | + */ |
|
36 | + private $provinceId; |
|
37 | + |
|
38 | + /** |
|
39 | + * @JsonProperty(Integer, "city_id") |
|
40 | + */ |
|
41 | + private $cityId; |
|
42 | + |
|
43 | + /** |
|
44 | + * @JsonProperty(Integer, "district_id") |
|
45 | + */ |
|
46 | + private $districtId; |
|
47 | + |
|
48 | + protected function setUserParams(&$params) |
|
49 | + { |
|
50 | + $this->setUserParam($params, "cost_template_list", $this->costTemplateList); |
|
51 | + $this->setUserParam($params, "free_province_list", $this->freeProvinceList); |
|
52 | + $this->setUserParam($params, "cost_type", $this->costType); |
|
53 | + $this->setUserParam($params, "template_name", $this->templateName); |
|
54 | + $this->setUserParam($params, "province_id", $this->provinceId); |
|
55 | + $this->setUserParam($params, "city_id", $this->cityId); |
|
56 | + $this->setUserParam($params, "district_id", $this->districtId); |
|
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.goods.logistics.template.create"; |
|
73 | + } |
|
74 | + |
|
75 | + public function setCostTemplateList($costTemplateList) |
|
76 | + { |
|
77 | + $this->costTemplateList = $costTemplateList; |
|
78 | + } |
|
79 | + |
|
80 | + public function setFreeProvinceList($freeProvinceList) |
|
81 | + { |
|
82 | + $this->freeProvinceList = $freeProvinceList; |
|
83 | + } |
|
84 | + |
|
85 | + public function setCostType($costType) |
|
86 | + { |
|
87 | + $this->costType = $costType; |
|
88 | + } |
|
89 | + |
|
90 | + public function setTemplateName($templateName) |
|
91 | + { |
|
92 | + $this->templateName = $templateName; |
|
93 | + } |
|
94 | + |
|
95 | + public function setProvinceId($provinceId) |
|
96 | + { |
|
97 | + $this->provinceId = $provinceId; |
|
98 | + } |
|
99 | + |
|
100 | + public function setCityId($cityId) |
|
101 | + { |
|
102 | + $this->cityId = $cityId; |
|
103 | + } |
|
104 | + |
|
105 | + public function setDistrictId($districtId) |
|
106 | + { |
|
107 | + $this->districtId = $districtId; |
|
108 | + } |
|
109 | 109 | |
110 | 110 | } |
111 | 111 | |
112 | 112 | class PddGoodsLogisticsTemplateCreateRequest_CostTemplateListItem extends PopBaseJsonEntity |
113 | 113 | { |
114 | 114 | |
115 | - public function __construct() |
|
116 | - { |
|
117 | - |
|
118 | - } |
|
119 | - |
|
120 | - /** |
|
121 | - * @JsonProperty(Long, "first_standard") |
|
122 | - */ |
|
123 | - private $firstStandard; |
|
124 | - |
|
125 | - /** |
|
126 | - * @JsonProperty(Long, "first_cost") |
|
127 | - */ |
|
128 | - private $firstCost; |
|
129 | - |
|
130 | - /** |
|
131 | - * @JsonProperty(Long, "add_standard") |
|
132 | - */ |
|
133 | - private $addStandard; |
|
134 | - |
|
135 | - /** |
|
136 | - * @JsonProperty(Long, "add_cost") |
|
137 | - */ |
|
138 | - private $addCost; |
|
139 | - |
|
140 | - /** |
|
141 | - * @JsonProperty(Boolean, "is_have_free_min_count") |
|
142 | - */ |
|
143 | - private $isHaveFreeMinCount; |
|
144 | - |
|
145 | - /** |
|
146 | - * @JsonProperty(Integer, "have_free_min_count") |
|
147 | - */ |
|
148 | - private $haveFreeMinCount; |
|
149 | - |
|
150 | - /** |
|
151 | - * @JsonProperty(Boolean, "is_have_free_min_amount") |
|
152 | - */ |
|
153 | - private $isHaveFreeMinAmount; |
|
154 | - |
|
155 | - /** |
|
156 | - * @JsonProperty(Long, "have_free_min_amount") |
|
157 | - */ |
|
158 | - private $haveFreeMinAmount; |
|
159 | - |
|
160 | - /** |
|
161 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsLogisticsTemplateCreateRequest_CostTemplateListItemCostProvinceListItem>, "cost_province_list") |
|
162 | - */ |
|
163 | - private $costProvinceList; |
|
164 | - |
|
165 | - public function setFirstStandard($firstStandard) |
|
166 | - { |
|
167 | - $this->firstStandard = $firstStandard; |
|
168 | - } |
|
169 | - |
|
170 | - public function setFirstCost($firstCost) |
|
171 | - { |
|
172 | - $this->firstCost = $firstCost; |
|
173 | - } |
|
174 | - |
|
175 | - public function setAddStandard($addStandard) |
|
176 | - { |
|
177 | - $this->addStandard = $addStandard; |
|
178 | - } |
|
179 | - |
|
180 | - public function setAddCost($addCost) |
|
181 | - { |
|
182 | - $this->addCost = $addCost; |
|
183 | - } |
|
184 | - |
|
185 | - public function setIsHaveFreeMinCount($isHaveFreeMinCount) |
|
186 | - { |
|
187 | - $this->isHaveFreeMinCount = $isHaveFreeMinCount; |
|
188 | - } |
|
189 | - |
|
190 | - public function setHaveFreeMinCount($haveFreeMinCount) |
|
191 | - { |
|
192 | - $this->haveFreeMinCount = $haveFreeMinCount; |
|
193 | - } |
|
194 | - |
|
195 | - public function setIsHaveFreeMinAmount($isHaveFreeMinAmount) |
|
196 | - { |
|
197 | - $this->isHaveFreeMinAmount = $isHaveFreeMinAmount; |
|
198 | - } |
|
199 | - |
|
200 | - public function setHaveFreeMinAmount($haveFreeMinAmount) |
|
201 | - { |
|
202 | - $this->haveFreeMinAmount = $haveFreeMinAmount; |
|
203 | - } |
|
204 | - |
|
205 | - public function setCostProvinceList($costProvinceList) |
|
206 | - { |
|
207 | - $this->costProvinceList = $costProvinceList; |
|
208 | - } |
|
115 | + public function __construct() |
|
116 | + { |
|
117 | + |
|
118 | + } |
|
119 | + |
|
120 | + /** |
|
121 | + * @JsonProperty(Long, "first_standard") |
|
122 | + */ |
|
123 | + private $firstStandard; |
|
124 | + |
|
125 | + /** |
|
126 | + * @JsonProperty(Long, "first_cost") |
|
127 | + */ |
|
128 | + private $firstCost; |
|
129 | + |
|
130 | + /** |
|
131 | + * @JsonProperty(Long, "add_standard") |
|
132 | + */ |
|
133 | + private $addStandard; |
|
134 | + |
|
135 | + /** |
|
136 | + * @JsonProperty(Long, "add_cost") |
|
137 | + */ |
|
138 | + private $addCost; |
|
139 | + |
|
140 | + /** |
|
141 | + * @JsonProperty(Boolean, "is_have_free_min_count") |
|
142 | + */ |
|
143 | + private $isHaveFreeMinCount; |
|
144 | + |
|
145 | + /** |
|
146 | + * @JsonProperty(Integer, "have_free_min_count") |
|
147 | + */ |
|
148 | + private $haveFreeMinCount; |
|
149 | + |
|
150 | + /** |
|
151 | + * @JsonProperty(Boolean, "is_have_free_min_amount") |
|
152 | + */ |
|
153 | + private $isHaveFreeMinAmount; |
|
154 | + |
|
155 | + /** |
|
156 | + * @JsonProperty(Long, "have_free_min_amount") |
|
157 | + */ |
|
158 | + private $haveFreeMinAmount; |
|
159 | + |
|
160 | + /** |
|
161 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsLogisticsTemplateCreateRequest_CostTemplateListItemCostProvinceListItem>, "cost_province_list") |
|
162 | + */ |
|
163 | + private $costProvinceList; |
|
164 | + |
|
165 | + public function setFirstStandard($firstStandard) |
|
166 | + { |
|
167 | + $this->firstStandard = $firstStandard; |
|
168 | + } |
|
169 | + |
|
170 | + public function setFirstCost($firstCost) |
|
171 | + { |
|
172 | + $this->firstCost = $firstCost; |
|
173 | + } |
|
174 | + |
|
175 | + public function setAddStandard($addStandard) |
|
176 | + { |
|
177 | + $this->addStandard = $addStandard; |
|
178 | + } |
|
179 | + |
|
180 | + public function setAddCost($addCost) |
|
181 | + { |
|
182 | + $this->addCost = $addCost; |
|
183 | + } |
|
184 | + |
|
185 | + public function setIsHaveFreeMinCount($isHaveFreeMinCount) |
|
186 | + { |
|
187 | + $this->isHaveFreeMinCount = $isHaveFreeMinCount; |
|
188 | + } |
|
189 | + |
|
190 | + public function setHaveFreeMinCount($haveFreeMinCount) |
|
191 | + { |
|
192 | + $this->haveFreeMinCount = $haveFreeMinCount; |
|
193 | + } |
|
194 | + |
|
195 | + public function setIsHaveFreeMinAmount($isHaveFreeMinAmount) |
|
196 | + { |
|
197 | + $this->isHaveFreeMinAmount = $isHaveFreeMinAmount; |
|
198 | + } |
|
199 | + |
|
200 | + public function setHaveFreeMinAmount($haveFreeMinAmount) |
|
201 | + { |
|
202 | + $this->haveFreeMinAmount = $haveFreeMinAmount; |
|
203 | + } |
|
204 | + |
|
205 | + public function setCostProvinceList($costProvinceList) |
|
206 | + { |
|
207 | + $this->costProvinceList = $costProvinceList; |
|
208 | + } |
|
209 | 209 | |
210 | 210 | } |
211 | 211 | |
212 | 212 | class PddGoodsLogisticsTemplateCreateRequest_CostTemplateListItemCostProvinceListItem extends PopBaseJsonEntity |
213 | 213 | { |
214 | 214 | |
215 | - public function __construct() |
|
216 | - { |
|
215 | + public function __construct() |
|
216 | + { |
|
217 | 217 | |
218 | - } |
|
218 | + } |
|
219 | 219 | |
220 | - /** |
|
221 | - * @JsonProperty(Integer, "province_id") |
|
222 | - */ |
|
223 | - private $provinceId; |
|
220 | + /** |
|
221 | + * @JsonProperty(Integer, "province_id") |
|
222 | + */ |
|
223 | + private $provinceId; |
|
224 | 224 | |
225 | - public function setProvinceId($provinceId) |
|
226 | - { |
|
227 | - $this->provinceId = $provinceId; |
|
228 | - } |
|
225 | + public function setProvinceId($provinceId) |
|
226 | + { |
|
227 | + $this->provinceId = $provinceId; |
|
228 | + } |
|
229 | 229 | |
230 | 230 | } |
231 | 231 | |
232 | 232 | class PddGoodsLogisticsTemplateCreateRequest_FreeProvinceListItem extends PopBaseJsonEntity |
233 | 233 | { |
234 | 234 | |
235 | - public function __construct() |
|
236 | - { |
|
235 | + public function __construct() |
|
236 | + { |
|
237 | 237 | |
238 | - } |
|
238 | + } |
|
239 | 239 | |
240 | - /** |
|
241 | - * @JsonProperty(Integer, "province_id") |
|
242 | - */ |
|
243 | - private $provinceId; |
|
240 | + /** |
|
241 | + * @JsonProperty(Integer, "province_id") |
|
242 | + */ |
|
243 | + private $provinceId; |
|
244 | 244 | |
245 | - public function setProvinceId($provinceId) |
|
246 | - { |
|
247 | - $this->provinceId = $provinceId; |
|
248 | - } |
|
245 | + public function setProvinceId($provinceId) |
|
246 | + { |
|
247 | + $this->provinceId = $provinceId; |
|
248 | + } |
|
249 | 249 | |
250 | 250 | } |
@@ -7,1109 +7,1109 @@ |
||
7 | 7 | class PddGoodsSubmitGoodsCommitRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(Integer, "bad_fruit_claim") |
|
15 | - */ |
|
16 | - private $badFruitClaim; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(Long, "buy_limit") |
|
20 | - */ |
|
21 | - private $buyLimit; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(List<String>, "carousel_gallery") |
|
25 | - */ |
|
26 | - private $carouselGallery; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsSubmitGoodsCommitRequest_CarouselVideoItem>, "carousel_video") |
|
30 | - */ |
|
31 | - private $carouselVideo; |
|
32 | - |
|
33 | - /** |
|
34 | - * @JsonProperty(String, "carousel_video_url") |
|
35 | - */ |
|
36 | - private $carouselVideoUrl; |
|
37 | - |
|
38 | - /** |
|
39 | - * @JsonProperty(Long, "cat_id") |
|
40 | - */ |
|
41 | - private $catId; |
|
42 | - |
|
43 | - /** |
|
44 | - * @JsonProperty(Long, "cost_template_id") |
|
45 | - */ |
|
46 | - private $costTemplateId; |
|
47 | - |
|
48 | - /** |
|
49 | - * @JsonProperty(Integer, "country_id") |
|
50 | - */ |
|
51 | - private $countryId; |
|
52 | - |
|
53 | - /** |
|
54 | - * @JsonProperty(Long, "customer_num") |
|
55 | - */ |
|
56 | - private $customerNum; |
|
57 | - |
|
58 | - /** |
|
59 | - * @JsonProperty(String, "customs") |
|
60 | - */ |
|
61 | - private $customs; |
|
62 | - |
|
63 | - /** |
|
64 | - * @JsonProperty(Integer, "delivery_one_day") |
|
65 | - */ |
|
66 | - private $deliveryOneDay; |
|
67 | - |
|
68 | - /** |
|
69 | - * @JsonProperty(List<String>, "detail_gallery") |
|
70 | - */ |
|
71 | - private $detailGallery; |
|
72 | - |
|
73 | - /** |
|
74 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsSubmitGoodsCommitRequest_ElecGoodsAttributes, "elec_goods_attributes") |
|
75 | - */ |
|
76 | - private $elecGoodsAttributes; |
|
77 | - |
|
78 | - /** |
|
79 | - * @JsonProperty(Long, "goods_commit_id") |
|
80 | - */ |
|
81 | - private $goodsCommitId; |
|
82 | - |
|
83 | - /** |
|
84 | - * @JsonProperty(String, "goods_desc") |
|
85 | - */ |
|
86 | - private $goodsDesc; |
|
87 | - |
|
88 | - /** |
|
89 | - * @JsonProperty(Long, "goods_id") |
|
90 | - */ |
|
91 | - private $goodsId; |
|
92 | - |
|
93 | - /** |
|
94 | - * @JsonProperty(String, "goods_name") |
|
95 | - */ |
|
96 | - private $goodsName; |
|
97 | - |
|
98 | - /** |
|
99 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsSubmitGoodsCommitRequest_GoodsPropertiesItem>, "goods_properties") |
|
100 | - */ |
|
101 | - private $goodsProperties; |
|
102 | - |
|
103 | - /** |
|
104 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsSubmitGoodsCommitRequest_GoodsTradeAttr, "goods_trade_attr") |
|
105 | - */ |
|
106 | - private $goodsTradeAttr; |
|
107 | - |
|
108 | - /** |
|
109 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsSubmitGoodsCommitRequest_GoodsTravelAttr, "goods_travel_attr") |
|
110 | - */ |
|
111 | - private $goodsTravelAttr; |
|
112 | - |
|
113 | - /** |
|
114 | - * @JsonProperty(Integer, "goods_type") |
|
115 | - */ |
|
116 | - private $goodsType; |
|
117 | - |
|
118 | - /** |
|
119 | - * @JsonProperty(String, "image_url") |
|
120 | - */ |
|
121 | - private $imageUrl; |
|
122 | - |
|
123 | - /** |
|
124 | - * @JsonProperty(Integer, "invoice_status") |
|
125 | - */ |
|
126 | - private $invoiceStatus; |
|
127 | - |
|
128 | - /** |
|
129 | - * @JsonProperty(Boolean, "is_customs") |
|
130 | - */ |
|
131 | - private $isCustoms; |
|
132 | - |
|
133 | - /** |
|
134 | - * @JsonProperty(Boolean, "is_folt") |
|
135 | - */ |
|
136 | - private $isFolt; |
|
137 | - |
|
138 | - /** |
|
139 | - * @JsonProperty(Boolean, "is_pre_sale") |
|
140 | - */ |
|
141 | - private $isPreSale; |
|
142 | - |
|
143 | - /** |
|
144 | - * @JsonProperty(Boolean, "is_refundable") |
|
145 | - */ |
|
146 | - private $isRefundable; |
|
147 | - |
|
148 | - /** |
|
149 | - * @JsonProperty(Integer, "lack_of_weight_claim") |
|
150 | - */ |
|
151 | - private $lackOfWeightClaim; |
|
152 | - |
|
153 | - /** |
|
154 | - * @JsonProperty(String, "mai_jia_zi_ti") |
|
155 | - */ |
|
156 | - private $maiJiaZiTi; |
|
157 | - |
|
158 | - /** |
|
159 | - * @JsonProperty(Long, "market_price") |
|
160 | - */ |
|
161 | - private $marketPrice; |
|
162 | - |
|
163 | - /** |
|
164 | - * @JsonProperty(Integer, "operate_type") |
|
165 | - */ |
|
166 | - private $operateType; |
|
167 | - |
|
168 | - /** |
|
169 | - * @JsonProperty(Long, "order_limit") |
|
170 | - */ |
|
171 | - private $orderLimit; |
|
172 | - |
|
173 | - /** |
|
174 | - * @JsonProperty(Integer, "origin_country_id") |
|
175 | - */ |
|
176 | - private $originCountryId; |
|
177 | - |
|
178 | - /** |
|
179 | - * @JsonProperty(String, "out_goods_id") |
|
180 | - */ |
|
181 | - private $outGoodsId; |
|
182 | - |
|
183 | - /** |
|
184 | - * @JsonProperty(String, "out_source_goods_id") |
|
185 | - */ |
|
186 | - private $outSourceGoodsId; |
|
187 | - |
|
188 | - /** |
|
189 | - * @JsonProperty(Integer, "out_source_type") |
|
190 | - */ |
|
191 | - private $outSourceType; |
|
192 | - |
|
193 | - /** |
|
194 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsSubmitGoodsCommitRequest_OverseaGoods, "oversea_goods") |
|
195 | - */ |
|
196 | - private $overseaGoods; |
|
197 | - |
|
198 | - /** |
|
199 | - * @JsonProperty(Integer, "oversea_type") |
|
200 | - */ |
|
201 | - private $overseaType; |
|
202 | - |
|
203 | - /** |
|
204 | - * @JsonProperty(Long, "pre_sale_time") |
|
205 | - */ |
|
206 | - private $preSaleTime; |
|
207 | - |
|
208 | - /** |
|
209 | - * @JsonProperty(Integer, "quan_guo_lian_bao") |
|
210 | - */ |
|
211 | - private $quanGuoLianBao; |
|
212 | - |
|
213 | - /** |
|
214 | - * @JsonProperty(Boolean, "second_hand") |
|
215 | - */ |
|
216 | - private $secondHand; |
|
217 | - |
|
218 | - /** |
|
219 | - * @JsonProperty(String, "shang_men_an_zhuang") |
|
220 | - */ |
|
221 | - private $shangMenAnZhuang; |
|
222 | - |
|
223 | - /** |
|
224 | - * @JsonProperty(Long, "shipment_limit_second") |
|
225 | - */ |
|
226 | - private $shipmentLimitSecond; |
|
227 | - |
|
228 | - /** |
|
229 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsSubmitGoodsCommitRequest_SkuListItem>, "sku_list") |
|
230 | - */ |
|
231 | - private $skuList; |
|
232 | - |
|
233 | - /** |
|
234 | - * @JsonProperty(Integer, "sku_type") |
|
235 | - */ |
|
236 | - private $skuType; |
|
237 | - |
|
238 | - /** |
|
239 | - * @JsonProperty(String, "song_huo_an_zhuang") |
|
240 | - */ |
|
241 | - private $songHuoAnZhuang; |
|
242 | - |
|
243 | - /** |
|
244 | - * @JsonProperty(String, "song_huo_ru_hu") |
|
245 | - */ |
|
246 | - private $songHuoRuHu; |
|
247 | - |
|
248 | - /** |
|
249 | - * @JsonProperty(Integer, "sync_goods_operate") |
|
250 | - */ |
|
251 | - private $syncGoodsOperate; |
|
252 | - |
|
253 | - /** |
|
254 | - * @JsonProperty(String, "tiny_name") |
|
255 | - */ |
|
256 | - private $tinyName; |
|
257 | - |
|
258 | - /** |
|
259 | - * @JsonProperty(String, "warehouse") |
|
260 | - */ |
|
261 | - private $warehouse; |
|
262 | - |
|
263 | - /** |
|
264 | - * @JsonProperty(String, "warm_tips") |
|
265 | - */ |
|
266 | - private $warmTips; |
|
267 | - |
|
268 | - /** |
|
269 | - * @JsonProperty(Integer, "zhi_huan_bu_xiu") |
|
270 | - */ |
|
271 | - private $zhiHuanBuXiu; |
|
272 | - |
|
273 | - protected function setUserParams(&$params) |
|
274 | - { |
|
275 | - $this->setUserParam($params, "bad_fruit_claim", $this->badFruitClaim); |
|
276 | - $this->setUserParam($params, "buy_limit", $this->buyLimit); |
|
277 | - $this->setUserParam($params, "carousel_gallery", $this->carouselGallery); |
|
278 | - $this->setUserParam($params, "carousel_video", $this->carouselVideo); |
|
279 | - $this->setUserParam($params, "carousel_video_url", $this->carouselVideoUrl); |
|
280 | - $this->setUserParam($params, "cat_id", $this->catId); |
|
281 | - $this->setUserParam($params, "cost_template_id", $this->costTemplateId); |
|
282 | - $this->setUserParam($params, "country_id", $this->countryId); |
|
283 | - $this->setUserParam($params, "customer_num", $this->customerNum); |
|
284 | - $this->setUserParam($params, "customs", $this->customs); |
|
285 | - $this->setUserParam($params, "delivery_one_day", $this->deliveryOneDay); |
|
286 | - $this->setUserParam($params, "detail_gallery", $this->detailGallery); |
|
287 | - $this->setUserParam($params, "elec_goods_attributes", $this->elecGoodsAttributes); |
|
288 | - $this->setUserParam($params, "goods_commit_id", $this->goodsCommitId); |
|
289 | - $this->setUserParam($params, "goods_desc", $this->goodsDesc); |
|
290 | - $this->setUserParam($params, "goods_id", $this->goodsId); |
|
291 | - $this->setUserParam($params, "goods_name", $this->goodsName); |
|
292 | - $this->setUserParam($params, "goods_properties", $this->goodsProperties); |
|
293 | - $this->setUserParam($params, "goods_trade_attr", $this->goodsTradeAttr); |
|
294 | - $this->setUserParam($params, "goods_travel_attr", $this->goodsTravelAttr); |
|
295 | - $this->setUserParam($params, "goods_type", $this->goodsType); |
|
296 | - $this->setUserParam($params, "image_url", $this->imageUrl); |
|
297 | - $this->setUserParam($params, "invoice_status", $this->invoiceStatus); |
|
298 | - $this->setUserParam($params, "is_customs", $this->isCustoms); |
|
299 | - $this->setUserParam($params, "is_folt", $this->isFolt); |
|
300 | - $this->setUserParam($params, "is_pre_sale", $this->isPreSale); |
|
301 | - $this->setUserParam($params, "is_refundable", $this->isRefundable); |
|
302 | - $this->setUserParam($params, "lack_of_weight_claim", $this->lackOfWeightClaim); |
|
303 | - $this->setUserParam($params, "mai_jia_zi_ti", $this->maiJiaZiTi); |
|
304 | - $this->setUserParam($params, "market_price", $this->marketPrice); |
|
305 | - $this->setUserParam($params, "operate_type", $this->operateType); |
|
306 | - $this->setUserParam($params, "order_limit", $this->orderLimit); |
|
307 | - $this->setUserParam($params, "origin_country_id", $this->originCountryId); |
|
308 | - $this->setUserParam($params, "out_goods_id", $this->outGoodsId); |
|
309 | - $this->setUserParam($params, "out_source_goods_id", $this->outSourceGoodsId); |
|
310 | - $this->setUserParam($params, "out_source_type", $this->outSourceType); |
|
311 | - $this->setUserParam($params, "oversea_goods", $this->overseaGoods); |
|
312 | - $this->setUserParam($params, "oversea_type", $this->overseaType); |
|
313 | - $this->setUserParam($params, "pre_sale_time", $this->preSaleTime); |
|
314 | - $this->setUserParam($params, "quan_guo_lian_bao", $this->quanGuoLianBao); |
|
315 | - $this->setUserParam($params, "second_hand", $this->secondHand); |
|
316 | - $this->setUserParam($params, "shang_men_an_zhuang", $this->shangMenAnZhuang); |
|
317 | - $this->setUserParam($params, "shipment_limit_second", $this->shipmentLimitSecond); |
|
318 | - $this->setUserParam($params, "sku_list", $this->skuList); |
|
319 | - $this->setUserParam($params, "sku_type", $this->skuType); |
|
320 | - $this->setUserParam($params, "song_huo_an_zhuang", $this->songHuoAnZhuang); |
|
321 | - $this->setUserParam($params, "song_huo_ru_hu", $this->songHuoRuHu); |
|
322 | - $this->setUserParam($params, "sync_goods_operate", $this->syncGoodsOperate); |
|
323 | - $this->setUserParam($params, "tiny_name", $this->tinyName); |
|
324 | - $this->setUserParam($params, "warehouse", $this->warehouse); |
|
325 | - $this->setUserParam($params, "warm_tips", $this->warmTips); |
|
326 | - $this->setUserParam($params, "zhi_huan_bu_xiu", $this->zhiHuanBuXiu); |
|
327 | - |
|
328 | - } |
|
329 | - |
|
330 | - public function getVersion() |
|
331 | - { |
|
332 | - return "V1"; |
|
333 | - } |
|
334 | - |
|
335 | - public function getDataType() |
|
336 | - { |
|
337 | - return "JSON"; |
|
338 | - } |
|
339 | - |
|
340 | - public function getType() |
|
341 | - { |
|
342 | - return "pdd.goods.submit.goods.commit"; |
|
343 | - } |
|
344 | - |
|
345 | - public function setBadFruitClaim($badFruitClaim) |
|
346 | - { |
|
347 | - $this->badFruitClaim = $badFruitClaim; |
|
348 | - } |
|
349 | - |
|
350 | - public function setBuyLimit($buyLimit) |
|
351 | - { |
|
352 | - $this->buyLimit = $buyLimit; |
|
353 | - } |
|
354 | - |
|
355 | - public function setCarouselGallery($carouselGallery) |
|
356 | - { |
|
357 | - $this->carouselGallery = $carouselGallery; |
|
358 | - } |
|
359 | - |
|
360 | - public function setCarouselVideo($carouselVideo) |
|
361 | - { |
|
362 | - $this->carouselVideo = $carouselVideo; |
|
363 | - } |
|
364 | - |
|
365 | - public function setCarouselVideoUrl($carouselVideoUrl) |
|
366 | - { |
|
367 | - $this->carouselVideoUrl = $carouselVideoUrl; |
|
368 | - } |
|
369 | - |
|
370 | - public function setCatId($catId) |
|
371 | - { |
|
372 | - $this->catId = $catId; |
|
373 | - } |
|
374 | - |
|
375 | - public function setCostTemplateId($costTemplateId) |
|
376 | - { |
|
377 | - $this->costTemplateId = $costTemplateId; |
|
378 | - } |
|
379 | - |
|
380 | - public function setCountryId($countryId) |
|
381 | - { |
|
382 | - $this->countryId = $countryId; |
|
383 | - } |
|
384 | - |
|
385 | - public function setCustomerNum($customerNum) |
|
386 | - { |
|
387 | - $this->customerNum = $customerNum; |
|
388 | - } |
|
389 | - |
|
390 | - public function setCustoms($customs) |
|
391 | - { |
|
392 | - $this->customs = $customs; |
|
393 | - } |
|
394 | - |
|
395 | - public function setDeliveryOneDay($deliveryOneDay) |
|
396 | - { |
|
397 | - $this->deliveryOneDay = $deliveryOneDay; |
|
398 | - } |
|
399 | - |
|
400 | - public function setDetailGallery($detailGallery) |
|
401 | - { |
|
402 | - $this->detailGallery = $detailGallery; |
|
403 | - } |
|
404 | - |
|
405 | - public function setElecGoodsAttributes($elecGoodsAttributes) |
|
406 | - { |
|
407 | - $this->elecGoodsAttributes = $elecGoodsAttributes; |
|
408 | - } |
|
409 | - |
|
410 | - public function setGoodsCommitId($goodsCommitId) |
|
411 | - { |
|
412 | - $this->goodsCommitId = $goodsCommitId; |
|
413 | - } |
|
414 | - |
|
415 | - public function setGoodsDesc($goodsDesc) |
|
416 | - { |
|
417 | - $this->goodsDesc = $goodsDesc; |
|
418 | - } |
|
419 | - |
|
420 | - public function setGoodsId($goodsId) |
|
421 | - { |
|
422 | - $this->goodsId = $goodsId; |
|
423 | - } |
|
424 | - |
|
425 | - public function setGoodsName($goodsName) |
|
426 | - { |
|
427 | - $this->goodsName = $goodsName; |
|
428 | - } |
|
429 | - |
|
430 | - public function setGoodsProperties($goodsProperties) |
|
431 | - { |
|
432 | - $this->goodsProperties = $goodsProperties; |
|
433 | - } |
|
434 | - |
|
435 | - public function setGoodsTradeAttr($goodsTradeAttr) |
|
436 | - { |
|
437 | - $this->goodsTradeAttr = $goodsTradeAttr; |
|
438 | - } |
|
439 | - |
|
440 | - public function setGoodsTravelAttr($goodsTravelAttr) |
|
441 | - { |
|
442 | - $this->goodsTravelAttr = $goodsTravelAttr; |
|
443 | - } |
|
444 | - |
|
445 | - public function setGoodsType($goodsType) |
|
446 | - { |
|
447 | - $this->goodsType = $goodsType; |
|
448 | - } |
|
449 | - |
|
450 | - public function setImageUrl($imageUrl) |
|
451 | - { |
|
452 | - $this->imageUrl = $imageUrl; |
|
453 | - } |
|
454 | - |
|
455 | - public function setInvoiceStatus($invoiceStatus) |
|
456 | - { |
|
457 | - $this->invoiceStatus = $invoiceStatus; |
|
458 | - } |
|
459 | - |
|
460 | - public function setIsCustoms($isCustoms) |
|
461 | - { |
|
462 | - $this->isCustoms = $isCustoms; |
|
463 | - } |
|
464 | - |
|
465 | - public function setIsFolt($isFolt) |
|
466 | - { |
|
467 | - $this->isFolt = $isFolt; |
|
468 | - } |
|
469 | - |
|
470 | - public function setIsPreSale($isPreSale) |
|
471 | - { |
|
472 | - $this->isPreSale = $isPreSale; |
|
473 | - } |
|
474 | - |
|
475 | - public function setIsRefundable($isRefundable) |
|
476 | - { |
|
477 | - $this->isRefundable = $isRefundable; |
|
478 | - } |
|
479 | - |
|
480 | - public function setLackOfWeightClaim($lackOfWeightClaim) |
|
481 | - { |
|
482 | - $this->lackOfWeightClaim = $lackOfWeightClaim; |
|
483 | - } |
|
484 | - |
|
485 | - public function setMaiJiaZiTi($maiJiaZiTi) |
|
486 | - { |
|
487 | - $this->maiJiaZiTi = $maiJiaZiTi; |
|
488 | - } |
|
489 | - |
|
490 | - public function setMarketPrice($marketPrice) |
|
491 | - { |
|
492 | - $this->marketPrice = $marketPrice; |
|
493 | - } |
|
494 | - |
|
495 | - public function setOperateType($operateType) |
|
496 | - { |
|
497 | - $this->operateType = $operateType; |
|
498 | - } |
|
499 | - |
|
500 | - public function setOrderLimit($orderLimit) |
|
501 | - { |
|
502 | - $this->orderLimit = $orderLimit; |
|
503 | - } |
|
504 | - |
|
505 | - public function setOriginCountryId($originCountryId) |
|
506 | - { |
|
507 | - $this->originCountryId = $originCountryId; |
|
508 | - } |
|
509 | - |
|
510 | - public function setOutGoodsId($outGoodsId) |
|
511 | - { |
|
512 | - $this->outGoodsId = $outGoodsId; |
|
513 | - } |
|
514 | - |
|
515 | - public function setOutSourceGoodsId($outSourceGoodsId) |
|
516 | - { |
|
517 | - $this->outSourceGoodsId = $outSourceGoodsId; |
|
518 | - } |
|
519 | - |
|
520 | - public function setOutSourceType($outSourceType) |
|
521 | - { |
|
522 | - $this->outSourceType = $outSourceType; |
|
523 | - } |
|
524 | - |
|
525 | - public function setOverseaGoods($overseaGoods) |
|
526 | - { |
|
527 | - $this->overseaGoods = $overseaGoods; |
|
528 | - } |
|
529 | - |
|
530 | - public function setOverseaType($overseaType) |
|
531 | - { |
|
532 | - $this->overseaType = $overseaType; |
|
533 | - } |
|
534 | - |
|
535 | - public function setPreSaleTime($preSaleTime) |
|
536 | - { |
|
537 | - $this->preSaleTime = $preSaleTime; |
|
538 | - } |
|
539 | - |
|
540 | - public function setQuanGuoLianBao($quanGuoLianBao) |
|
541 | - { |
|
542 | - $this->quanGuoLianBao = $quanGuoLianBao; |
|
543 | - } |
|
544 | - |
|
545 | - public function setSecondHand($secondHand) |
|
546 | - { |
|
547 | - $this->secondHand = $secondHand; |
|
548 | - } |
|
549 | - |
|
550 | - public function setShangMenAnZhuang($shangMenAnZhuang) |
|
551 | - { |
|
552 | - $this->shangMenAnZhuang = $shangMenAnZhuang; |
|
553 | - } |
|
554 | - |
|
555 | - public function setShipmentLimitSecond($shipmentLimitSecond) |
|
556 | - { |
|
557 | - $this->shipmentLimitSecond = $shipmentLimitSecond; |
|
558 | - } |
|
559 | - |
|
560 | - public function setSkuList($skuList) |
|
561 | - { |
|
562 | - $this->skuList = $skuList; |
|
563 | - } |
|
564 | - |
|
565 | - public function setSkuType($skuType) |
|
566 | - { |
|
567 | - $this->skuType = $skuType; |
|
568 | - } |
|
569 | - |
|
570 | - public function setSongHuoAnZhuang($songHuoAnZhuang) |
|
571 | - { |
|
572 | - $this->songHuoAnZhuang = $songHuoAnZhuang; |
|
573 | - } |
|
574 | - |
|
575 | - public function setSongHuoRuHu($songHuoRuHu) |
|
576 | - { |
|
577 | - $this->songHuoRuHu = $songHuoRuHu; |
|
578 | - } |
|
579 | - |
|
580 | - public function setSyncGoodsOperate($syncGoodsOperate) |
|
581 | - { |
|
582 | - $this->syncGoodsOperate = $syncGoodsOperate; |
|
583 | - } |
|
584 | - |
|
585 | - public function setTinyName($tinyName) |
|
586 | - { |
|
587 | - $this->tinyName = $tinyName; |
|
588 | - } |
|
589 | - |
|
590 | - public function setWarehouse($warehouse) |
|
591 | - { |
|
592 | - $this->warehouse = $warehouse; |
|
593 | - } |
|
594 | - |
|
595 | - public function setWarmTips($warmTips) |
|
596 | - { |
|
597 | - $this->warmTips = $warmTips; |
|
598 | - } |
|
599 | - |
|
600 | - public function setZhiHuanBuXiu($zhiHuanBuXiu) |
|
601 | - { |
|
602 | - $this->zhiHuanBuXiu = $zhiHuanBuXiu; |
|
603 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(Integer, "bad_fruit_claim") |
|
15 | + */ |
|
16 | + private $badFruitClaim; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(Long, "buy_limit") |
|
20 | + */ |
|
21 | + private $buyLimit; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(List<String>, "carousel_gallery") |
|
25 | + */ |
|
26 | + private $carouselGallery; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsSubmitGoodsCommitRequest_CarouselVideoItem>, "carousel_video") |
|
30 | + */ |
|
31 | + private $carouselVideo; |
|
32 | + |
|
33 | + /** |
|
34 | + * @JsonProperty(String, "carousel_video_url") |
|
35 | + */ |
|
36 | + private $carouselVideoUrl; |
|
37 | + |
|
38 | + /** |
|
39 | + * @JsonProperty(Long, "cat_id") |
|
40 | + */ |
|
41 | + private $catId; |
|
42 | + |
|
43 | + /** |
|
44 | + * @JsonProperty(Long, "cost_template_id") |
|
45 | + */ |
|
46 | + private $costTemplateId; |
|
47 | + |
|
48 | + /** |
|
49 | + * @JsonProperty(Integer, "country_id") |
|
50 | + */ |
|
51 | + private $countryId; |
|
52 | + |
|
53 | + /** |
|
54 | + * @JsonProperty(Long, "customer_num") |
|
55 | + */ |
|
56 | + private $customerNum; |
|
57 | + |
|
58 | + /** |
|
59 | + * @JsonProperty(String, "customs") |
|
60 | + */ |
|
61 | + private $customs; |
|
62 | + |
|
63 | + /** |
|
64 | + * @JsonProperty(Integer, "delivery_one_day") |
|
65 | + */ |
|
66 | + private $deliveryOneDay; |
|
67 | + |
|
68 | + /** |
|
69 | + * @JsonProperty(List<String>, "detail_gallery") |
|
70 | + */ |
|
71 | + private $detailGallery; |
|
72 | + |
|
73 | + /** |
|
74 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsSubmitGoodsCommitRequest_ElecGoodsAttributes, "elec_goods_attributes") |
|
75 | + */ |
|
76 | + private $elecGoodsAttributes; |
|
77 | + |
|
78 | + /** |
|
79 | + * @JsonProperty(Long, "goods_commit_id") |
|
80 | + */ |
|
81 | + private $goodsCommitId; |
|
82 | + |
|
83 | + /** |
|
84 | + * @JsonProperty(String, "goods_desc") |
|
85 | + */ |
|
86 | + private $goodsDesc; |
|
87 | + |
|
88 | + /** |
|
89 | + * @JsonProperty(Long, "goods_id") |
|
90 | + */ |
|
91 | + private $goodsId; |
|
92 | + |
|
93 | + /** |
|
94 | + * @JsonProperty(String, "goods_name") |
|
95 | + */ |
|
96 | + private $goodsName; |
|
97 | + |
|
98 | + /** |
|
99 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsSubmitGoodsCommitRequest_GoodsPropertiesItem>, "goods_properties") |
|
100 | + */ |
|
101 | + private $goodsProperties; |
|
102 | + |
|
103 | + /** |
|
104 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsSubmitGoodsCommitRequest_GoodsTradeAttr, "goods_trade_attr") |
|
105 | + */ |
|
106 | + private $goodsTradeAttr; |
|
107 | + |
|
108 | + /** |
|
109 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsSubmitGoodsCommitRequest_GoodsTravelAttr, "goods_travel_attr") |
|
110 | + */ |
|
111 | + private $goodsTravelAttr; |
|
112 | + |
|
113 | + /** |
|
114 | + * @JsonProperty(Integer, "goods_type") |
|
115 | + */ |
|
116 | + private $goodsType; |
|
117 | + |
|
118 | + /** |
|
119 | + * @JsonProperty(String, "image_url") |
|
120 | + */ |
|
121 | + private $imageUrl; |
|
122 | + |
|
123 | + /** |
|
124 | + * @JsonProperty(Integer, "invoice_status") |
|
125 | + */ |
|
126 | + private $invoiceStatus; |
|
127 | + |
|
128 | + /** |
|
129 | + * @JsonProperty(Boolean, "is_customs") |
|
130 | + */ |
|
131 | + private $isCustoms; |
|
132 | + |
|
133 | + /** |
|
134 | + * @JsonProperty(Boolean, "is_folt") |
|
135 | + */ |
|
136 | + private $isFolt; |
|
137 | + |
|
138 | + /** |
|
139 | + * @JsonProperty(Boolean, "is_pre_sale") |
|
140 | + */ |
|
141 | + private $isPreSale; |
|
142 | + |
|
143 | + /** |
|
144 | + * @JsonProperty(Boolean, "is_refundable") |
|
145 | + */ |
|
146 | + private $isRefundable; |
|
147 | + |
|
148 | + /** |
|
149 | + * @JsonProperty(Integer, "lack_of_weight_claim") |
|
150 | + */ |
|
151 | + private $lackOfWeightClaim; |
|
152 | + |
|
153 | + /** |
|
154 | + * @JsonProperty(String, "mai_jia_zi_ti") |
|
155 | + */ |
|
156 | + private $maiJiaZiTi; |
|
157 | + |
|
158 | + /** |
|
159 | + * @JsonProperty(Long, "market_price") |
|
160 | + */ |
|
161 | + private $marketPrice; |
|
162 | + |
|
163 | + /** |
|
164 | + * @JsonProperty(Integer, "operate_type") |
|
165 | + */ |
|
166 | + private $operateType; |
|
167 | + |
|
168 | + /** |
|
169 | + * @JsonProperty(Long, "order_limit") |
|
170 | + */ |
|
171 | + private $orderLimit; |
|
172 | + |
|
173 | + /** |
|
174 | + * @JsonProperty(Integer, "origin_country_id") |
|
175 | + */ |
|
176 | + private $originCountryId; |
|
177 | + |
|
178 | + /** |
|
179 | + * @JsonProperty(String, "out_goods_id") |
|
180 | + */ |
|
181 | + private $outGoodsId; |
|
182 | + |
|
183 | + /** |
|
184 | + * @JsonProperty(String, "out_source_goods_id") |
|
185 | + */ |
|
186 | + private $outSourceGoodsId; |
|
187 | + |
|
188 | + /** |
|
189 | + * @JsonProperty(Integer, "out_source_type") |
|
190 | + */ |
|
191 | + private $outSourceType; |
|
192 | + |
|
193 | + /** |
|
194 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsSubmitGoodsCommitRequest_OverseaGoods, "oversea_goods") |
|
195 | + */ |
|
196 | + private $overseaGoods; |
|
197 | + |
|
198 | + /** |
|
199 | + * @JsonProperty(Integer, "oversea_type") |
|
200 | + */ |
|
201 | + private $overseaType; |
|
202 | + |
|
203 | + /** |
|
204 | + * @JsonProperty(Long, "pre_sale_time") |
|
205 | + */ |
|
206 | + private $preSaleTime; |
|
207 | + |
|
208 | + /** |
|
209 | + * @JsonProperty(Integer, "quan_guo_lian_bao") |
|
210 | + */ |
|
211 | + private $quanGuoLianBao; |
|
212 | + |
|
213 | + /** |
|
214 | + * @JsonProperty(Boolean, "second_hand") |
|
215 | + */ |
|
216 | + private $secondHand; |
|
217 | + |
|
218 | + /** |
|
219 | + * @JsonProperty(String, "shang_men_an_zhuang") |
|
220 | + */ |
|
221 | + private $shangMenAnZhuang; |
|
222 | + |
|
223 | + /** |
|
224 | + * @JsonProperty(Long, "shipment_limit_second") |
|
225 | + */ |
|
226 | + private $shipmentLimitSecond; |
|
227 | + |
|
228 | + /** |
|
229 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsSubmitGoodsCommitRequest_SkuListItem>, "sku_list") |
|
230 | + */ |
|
231 | + private $skuList; |
|
232 | + |
|
233 | + /** |
|
234 | + * @JsonProperty(Integer, "sku_type") |
|
235 | + */ |
|
236 | + private $skuType; |
|
237 | + |
|
238 | + /** |
|
239 | + * @JsonProperty(String, "song_huo_an_zhuang") |
|
240 | + */ |
|
241 | + private $songHuoAnZhuang; |
|
242 | + |
|
243 | + /** |
|
244 | + * @JsonProperty(String, "song_huo_ru_hu") |
|
245 | + */ |
|
246 | + private $songHuoRuHu; |
|
247 | + |
|
248 | + /** |
|
249 | + * @JsonProperty(Integer, "sync_goods_operate") |
|
250 | + */ |
|
251 | + private $syncGoodsOperate; |
|
252 | + |
|
253 | + /** |
|
254 | + * @JsonProperty(String, "tiny_name") |
|
255 | + */ |
|
256 | + private $tinyName; |
|
257 | + |
|
258 | + /** |
|
259 | + * @JsonProperty(String, "warehouse") |
|
260 | + */ |
|
261 | + private $warehouse; |
|
262 | + |
|
263 | + /** |
|
264 | + * @JsonProperty(String, "warm_tips") |
|
265 | + */ |
|
266 | + private $warmTips; |
|
267 | + |
|
268 | + /** |
|
269 | + * @JsonProperty(Integer, "zhi_huan_bu_xiu") |
|
270 | + */ |
|
271 | + private $zhiHuanBuXiu; |
|
272 | + |
|
273 | + protected function setUserParams(&$params) |
|
274 | + { |
|
275 | + $this->setUserParam($params, "bad_fruit_claim", $this->badFruitClaim); |
|
276 | + $this->setUserParam($params, "buy_limit", $this->buyLimit); |
|
277 | + $this->setUserParam($params, "carousel_gallery", $this->carouselGallery); |
|
278 | + $this->setUserParam($params, "carousel_video", $this->carouselVideo); |
|
279 | + $this->setUserParam($params, "carousel_video_url", $this->carouselVideoUrl); |
|
280 | + $this->setUserParam($params, "cat_id", $this->catId); |
|
281 | + $this->setUserParam($params, "cost_template_id", $this->costTemplateId); |
|
282 | + $this->setUserParam($params, "country_id", $this->countryId); |
|
283 | + $this->setUserParam($params, "customer_num", $this->customerNum); |
|
284 | + $this->setUserParam($params, "customs", $this->customs); |
|
285 | + $this->setUserParam($params, "delivery_one_day", $this->deliveryOneDay); |
|
286 | + $this->setUserParam($params, "detail_gallery", $this->detailGallery); |
|
287 | + $this->setUserParam($params, "elec_goods_attributes", $this->elecGoodsAttributes); |
|
288 | + $this->setUserParam($params, "goods_commit_id", $this->goodsCommitId); |
|
289 | + $this->setUserParam($params, "goods_desc", $this->goodsDesc); |
|
290 | + $this->setUserParam($params, "goods_id", $this->goodsId); |
|
291 | + $this->setUserParam($params, "goods_name", $this->goodsName); |
|
292 | + $this->setUserParam($params, "goods_properties", $this->goodsProperties); |
|
293 | + $this->setUserParam($params, "goods_trade_attr", $this->goodsTradeAttr); |
|
294 | + $this->setUserParam($params, "goods_travel_attr", $this->goodsTravelAttr); |
|
295 | + $this->setUserParam($params, "goods_type", $this->goodsType); |
|
296 | + $this->setUserParam($params, "image_url", $this->imageUrl); |
|
297 | + $this->setUserParam($params, "invoice_status", $this->invoiceStatus); |
|
298 | + $this->setUserParam($params, "is_customs", $this->isCustoms); |
|
299 | + $this->setUserParam($params, "is_folt", $this->isFolt); |
|
300 | + $this->setUserParam($params, "is_pre_sale", $this->isPreSale); |
|
301 | + $this->setUserParam($params, "is_refundable", $this->isRefundable); |
|
302 | + $this->setUserParam($params, "lack_of_weight_claim", $this->lackOfWeightClaim); |
|
303 | + $this->setUserParam($params, "mai_jia_zi_ti", $this->maiJiaZiTi); |
|
304 | + $this->setUserParam($params, "market_price", $this->marketPrice); |
|
305 | + $this->setUserParam($params, "operate_type", $this->operateType); |
|
306 | + $this->setUserParam($params, "order_limit", $this->orderLimit); |
|
307 | + $this->setUserParam($params, "origin_country_id", $this->originCountryId); |
|
308 | + $this->setUserParam($params, "out_goods_id", $this->outGoodsId); |
|
309 | + $this->setUserParam($params, "out_source_goods_id", $this->outSourceGoodsId); |
|
310 | + $this->setUserParam($params, "out_source_type", $this->outSourceType); |
|
311 | + $this->setUserParam($params, "oversea_goods", $this->overseaGoods); |
|
312 | + $this->setUserParam($params, "oversea_type", $this->overseaType); |
|
313 | + $this->setUserParam($params, "pre_sale_time", $this->preSaleTime); |
|
314 | + $this->setUserParam($params, "quan_guo_lian_bao", $this->quanGuoLianBao); |
|
315 | + $this->setUserParam($params, "second_hand", $this->secondHand); |
|
316 | + $this->setUserParam($params, "shang_men_an_zhuang", $this->shangMenAnZhuang); |
|
317 | + $this->setUserParam($params, "shipment_limit_second", $this->shipmentLimitSecond); |
|
318 | + $this->setUserParam($params, "sku_list", $this->skuList); |
|
319 | + $this->setUserParam($params, "sku_type", $this->skuType); |
|
320 | + $this->setUserParam($params, "song_huo_an_zhuang", $this->songHuoAnZhuang); |
|
321 | + $this->setUserParam($params, "song_huo_ru_hu", $this->songHuoRuHu); |
|
322 | + $this->setUserParam($params, "sync_goods_operate", $this->syncGoodsOperate); |
|
323 | + $this->setUserParam($params, "tiny_name", $this->tinyName); |
|
324 | + $this->setUserParam($params, "warehouse", $this->warehouse); |
|
325 | + $this->setUserParam($params, "warm_tips", $this->warmTips); |
|
326 | + $this->setUserParam($params, "zhi_huan_bu_xiu", $this->zhiHuanBuXiu); |
|
327 | + |
|
328 | + } |
|
329 | + |
|
330 | + public function getVersion() |
|
331 | + { |
|
332 | + return "V1"; |
|
333 | + } |
|
334 | + |
|
335 | + public function getDataType() |
|
336 | + { |
|
337 | + return "JSON"; |
|
338 | + } |
|
339 | + |
|
340 | + public function getType() |
|
341 | + { |
|
342 | + return "pdd.goods.submit.goods.commit"; |
|
343 | + } |
|
344 | + |
|
345 | + public function setBadFruitClaim($badFruitClaim) |
|
346 | + { |
|
347 | + $this->badFruitClaim = $badFruitClaim; |
|
348 | + } |
|
349 | + |
|
350 | + public function setBuyLimit($buyLimit) |
|
351 | + { |
|
352 | + $this->buyLimit = $buyLimit; |
|
353 | + } |
|
354 | + |
|
355 | + public function setCarouselGallery($carouselGallery) |
|
356 | + { |
|
357 | + $this->carouselGallery = $carouselGallery; |
|
358 | + } |
|
359 | + |
|
360 | + public function setCarouselVideo($carouselVideo) |
|
361 | + { |
|
362 | + $this->carouselVideo = $carouselVideo; |
|
363 | + } |
|
364 | + |
|
365 | + public function setCarouselVideoUrl($carouselVideoUrl) |
|
366 | + { |
|
367 | + $this->carouselVideoUrl = $carouselVideoUrl; |
|
368 | + } |
|
369 | + |
|
370 | + public function setCatId($catId) |
|
371 | + { |
|
372 | + $this->catId = $catId; |
|
373 | + } |
|
374 | + |
|
375 | + public function setCostTemplateId($costTemplateId) |
|
376 | + { |
|
377 | + $this->costTemplateId = $costTemplateId; |
|
378 | + } |
|
379 | + |
|
380 | + public function setCountryId($countryId) |
|
381 | + { |
|
382 | + $this->countryId = $countryId; |
|
383 | + } |
|
384 | + |
|
385 | + public function setCustomerNum($customerNum) |
|
386 | + { |
|
387 | + $this->customerNum = $customerNum; |
|
388 | + } |
|
389 | + |
|
390 | + public function setCustoms($customs) |
|
391 | + { |
|
392 | + $this->customs = $customs; |
|
393 | + } |
|
394 | + |
|
395 | + public function setDeliveryOneDay($deliveryOneDay) |
|
396 | + { |
|
397 | + $this->deliveryOneDay = $deliveryOneDay; |
|
398 | + } |
|
399 | + |
|
400 | + public function setDetailGallery($detailGallery) |
|
401 | + { |
|
402 | + $this->detailGallery = $detailGallery; |
|
403 | + } |
|
404 | + |
|
405 | + public function setElecGoodsAttributes($elecGoodsAttributes) |
|
406 | + { |
|
407 | + $this->elecGoodsAttributes = $elecGoodsAttributes; |
|
408 | + } |
|
409 | + |
|
410 | + public function setGoodsCommitId($goodsCommitId) |
|
411 | + { |
|
412 | + $this->goodsCommitId = $goodsCommitId; |
|
413 | + } |
|
414 | + |
|
415 | + public function setGoodsDesc($goodsDesc) |
|
416 | + { |
|
417 | + $this->goodsDesc = $goodsDesc; |
|
418 | + } |
|
419 | + |
|
420 | + public function setGoodsId($goodsId) |
|
421 | + { |
|
422 | + $this->goodsId = $goodsId; |
|
423 | + } |
|
424 | + |
|
425 | + public function setGoodsName($goodsName) |
|
426 | + { |
|
427 | + $this->goodsName = $goodsName; |
|
428 | + } |
|
429 | + |
|
430 | + public function setGoodsProperties($goodsProperties) |
|
431 | + { |
|
432 | + $this->goodsProperties = $goodsProperties; |
|
433 | + } |
|
434 | + |
|
435 | + public function setGoodsTradeAttr($goodsTradeAttr) |
|
436 | + { |
|
437 | + $this->goodsTradeAttr = $goodsTradeAttr; |
|
438 | + } |
|
439 | + |
|
440 | + public function setGoodsTravelAttr($goodsTravelAttr) |
|
441 | + { |
|
442 | + $this->goodsTravelAttr = $goodsTravelAttr; |
|
443 | + } |
|
444 | + |
|
445 | + public function setGoodsType($goodsType) |
|
446 | + { |
|
447 | + $this->goodsType = $goodsType; |
|
448 | + } |
|
449 | + |
|
450 | + public function setImageUrl($imageUrl) |
|
451 | + { |
|
452 | + $this->imageUrl = $imageUrl; |
|
453 | + } |
|
454 | + |
|
455 | + public function setInvoiceStatus($invoiceStatus) |
|
456 | + { |
|
457 | + $this->invoiceStatus = $invoiceStatus; |
|
458 | + } |
|
459 | + |
|
460 | + public function setIsCustoms($isCustoms) |
|
461 | + { |
|
462 | + $this->isCustoms = $isCustoms; |
|
463 | + } |
|
464 | + |
|
465 | + public function setIsFolt($isFolt) |
|
466 | + { |
|
467 | + $this->isFolt = $isFolt; |
|
468 | + } |
|
469 | + |
|
470 | + public function setIsPreSale($isPreSale) |
|
471 | + { |
|
472 | + $this->isPreSale = $isPreSale; |
|
473 | + } |
|
474 | + |
|
475 | + public function setIsRefundable($isRefundable) |
|
476 | + { |
|
477 | + $this->isRefundable = $isRefundable; |
|
478 | + } |
|
479 | + |
|
480 | + public function setLackOfWeightClaim($lackOfWeightClaim) |
|
481 | + { |
|
482 | + $this->lackOfWeightClaim = $lackOfWeightClaim; |
|
483 | + } |
|
484 | + |
|
485 | + public function setMaiJiaZiTi($maiJiaZiTi) |
|
486 | + { |
|
487 | + $this->maiJiaZiTi = $maiJiaZiTi; |
|
488 | + } |
|
489 | + |
|
490 | + public function setMarketPrice($marketPrice) |
|
491 | + { |
|
492 | + $this->marketPrice = $marketPrice; |
|
493 | + } |
|
494 | + |
|
495 | + public function setOperateType($operateType) |
|
496 | + { |
|
497 | + $this->operateType = $operateType; |
|
498 | + } |
|
499 | + |
|
500 | + public function setOrderLimit($orderLimit) |
|
501 | + { |
|
502 | + $this->orderLimit = $orderLimit; |
|
503 | + } |
|
504 | + |
|
505 | + public function setOriginCountryId($originCountryId) |
|
506 | + { |
|
507 | + $this->originCountryId = $originCountryId; |
|
508 | + } |
|
509 | + |
|
510 | + public function setOutGoodsId($outGoodsId) |
|
511 | + { |
|
512 | + $this->outGoodsId = $outGoodsId; |
|
513 | + } |
|
514 | + |
|
515 | + public function setOutSourceGoodsId($outSourceGoodsId) |
|
516 | + { |
|
517 | + $this->outSourceGoodsId = $outSourceGoodsId; |
|
518 | + } |
|
519 | + |
|
520 | + public function setOutSourceType($outSourceType) |
|
521 | + { |
|
522 | + $this->outSourceType = $outSourceType; |
|
523 | + } |
|
524 | + |
|
525 | + public function setOverseaGoods($overseaGoods) |
|
526 | + { |
|
527 | + $this->overseaGoods = $overseaGoods; |
|
528 | + } |
|
529 | + |
|
530 | + public function setOverseaType($overseaType) |
|
531 | + { |
|
532 | + $this->overseaType = $overseaType; |
|
533 | + } |
|
534 | + |
|
535 | + public function setPreSaleTime($preSaleTime) |
|
536 | + { |
|
537 | + $this->preSaleTime = $preSaleTime; |
|
538 | + } |
|
539 | + |
|
540 | + public function setQuanGuoLianBao($quanGuoLianBao) |
|
541 | + { |
|
542 | + $this->quanGuoLianBao = $quanGuoLianBao; |
|
543 | + } |
|
544 | + |
|
545 | + public function setSecondHand($secondHand) |
|
546 | + { |
|
547 | + $this->secondHand = $secondHand; |
|
548 | + } |
|
549 | + |
|
550 | + public function setShangMenAnZhuang($shangMenAnZhuang) |
|
551 | + { |
|
552 | + $this->shangMenAnZhuang = $shangMenAnZhuang; |
|
553 | + } |
|
554 | + |
|
555 | + public function setShipmentLimitSecond($shipmentLimitSecond) |
|
556 | + { |
|
557 | + $this->shipmentLimitSecond = $shipmentLimitSecond; |
|
558 | + } |
|
559 | + |
|
560 | + public function setSkuList($skuList) |
|
561 | + { |
|
562 | + $this->skuList = $skuList; |
|
563 | + } |
|
564 | + |
|
565 | + public function setSkuType($skuType) |
|
566 | + { |
|
567 | + $this->skuType = $skuType; |
|
568 | + } |
|
569 | + |
|
570 | + public function setSongHuoAnZhuang($songHuoAnZhuang) |
|
571 | + { |
|
572 | + $this->songHuoAnZhuang = $songHuoAnZhuang; |
|
573 | + } |
|
574 | + |
|
575 | + public function setSongHuoRuHu($songHuoRuHu) |
|
576 | + { |
|
577 | + $this->songHuoRuHu = $songHuoRuHu; |
|
578 | + } |
|
579 | + |
|
580 | + public function setSyncGoodsOperate($syncGoodsOperate) |
|
581 | + { |
|
582 | + $this->syncGoodsOperate = $syncGoodsOperate; |
|
583 | + } |
|
584 | + |
|
585 | + public function setTinyName($tinyName) |
|
586 | + { |
|
587 | + $this->tinyName = $tinyName; |
|
588 | + } |
|
589 | + |
|
590 | + public function setWarehouse($warehouse) |
|
591 | + { |
|
592 | + $this->warehouse = $warehouse; |
|
593 | + } |
|
594 | + |
|
595 | + public function setWarmTips($warmTips) |
|
596 | + { |
|
597 | + $this->warmTips = $warmTips; |
|
598 | + } |
|
599 | + |
|
600 | + public function setZhiHuanBuXiu($zhiHuanBuXiu) |
|
601 | + { |
|
602 | + $this->zhiHuanBuXiu = $zhiHuanBuXiu; |
|
603 | + } |
|
604 | 604 | |
605 | 605 | } |
606 | 606 | |
607 | 607 | class PddGoodsSubmitGoodsCommitRequest_CarouselVideoItem extends PopBaseJsonEntity |
608 | 608 | { |
609 | 609 | |
610 | - public function __construct() |
|
611 | - { |
|
610 | + public function __construct() |
|
611 | + { |
|
612 | 612 | |
613 | - } |
|
613 | + } |
|
614 | 614 | |
615 | - /** |
|
616 | - * @JsonProperty(Long, "file_id") |
|
617 | - */ |
|
618 | - private $fileId; |
|
615 | + /** |
|
616 | + * @JsonProperty(Long, "file_id") |
|
617 | + */ |
|
618 | + private $fileId; |
|
619 | 619 | |
620 | - /** |
|
621 | - * @JsonProperty(String, "video_url") |
|
622 | - */ |
|
623 | - private $videoUrl; |
|
620 | + /** |
|
621 | + * @JsonProperty(String, "video_url") |
|
622 | + */ |
|
623 | + private $videoUrl; |
|
624 | 624 | |
625 | - public function setFileId($fileId) |
|
626 | - { |
|
627 | - $this->fileId = $fileId; |
|
628 | - } |
|
625 | + public function setFileId($fileId) |
|
626 | + { |
|
627 | + $this->fileId = $fileId; |
|
628 | + } |
|
629 | 629 | |
630 | - public function setVideoUrl($videoUrl) |
|
631 | - { |
|
632 | - $this->videoUrl = $videoUrl; |
|
633 | - } |
|
630 | + public function setVideoUrl($videoUrl) |
|
631 | + { |
|
632 | + $this->videoUrl = $videoUrl; |
|
633 | + } |
|
634 | 634 | |
635 | 635 | } |
636 | 636 | |
637 | 637 | class PddGoodsSubmitGoodsCommitRequest_ElecGoodsAttributes extends PopBaseJsonEntity |
638 | 638 | { |
639 | 639 | |
640 | - public function __construct() |
|
641 | - { |
|
642 | - |
|
643 | - } |
|
644 | - |
|
645 | - /** |
|
646 | - * @JsonProperty(Long, "begin_time") |
|
647 | - */ |
|
648 | - private $beginTime; |
|
649 | - |
|
650 | - /** |
|
651 | - * @JsonProperty(Integer, "days_time") |
|
652 | - */ |
|
653 | - private $daysTime; |
|
654 | - |
|
655 | - /** |
|
656 | - * @JsonProperty(Long, "end_time") |
|
657 | - */ |
|
658 | - private $endTime; |
|
659 | - |
|
660 | - /** |
|
661 | - * @JsonProperty(Integer, "time_type") |
|
662 | - */ |
|
663 | - private $timeType; |
|
664 | - |
|
665 | - public function setBeginTime($beginTime) |
|
666 | - { |
|
667 | - $this->beginTime = $beginTime; |
|
668 | - } |
|
669 | - |
|
670 | - public function setDaysTime($daysTime) |
|
671 | - { |
|
672 | - $this->daysTime = $daysTime; |
|
673 | - } |
|
674 | - |
|
675 | - public function setEndTime($endTime) |
|
676 | - { |
|
677 | - $this->endTime = $endTime; |
|
678 | - } |
|
679 | - |
|
680 | - public function setTimeType($timeType) |
|
681 | - { |
|
682 | - $this->timeType = $timeType; |
|
683 | - } |
|
640 | + public function __construct() |
|
641 | + { |
|
642 | + |
|
643 | + } |
|
644 | + |
|
645 | + /** |
|
646 | + * @JsonProperty(Long, "begin_time") |
|
647 | + */ |
|
648 | + private $beginTime; |
|
649 | + |
|
650 | + /** |
|
651 | + * @JsonProperty(Integer, "days_time") |
|
652 | + */ |
|
653 | + private $daysTime; |
|
654 | + |
|
655 | + /** |
|
656 | + * @JsonProperty(Long, "end_time") |
|
657 | + */ |
|
658 | + private $endTime; |
|
659 | + |
|
660 | + /** |
|
661 | + * @JsonProperty(Integer, "time_type") |
|
662 | + */ |
|
663 | + private $timeType; |
|
664 | + |
|
665 | + public function setBeginTime($beginTime) |
|
666 | + { |
|
667 | + $this->beginTime = $beginTime; |
|
668 | + } |
|
669 | + |
|
670 | + public function setDaysTime($daysTime) |
|
671 | + { |
|
672 | + $this->daysTime = $daysTime; |
|
673 | + } |
|
674 | + |
|
675 | + public function setEndTime($endTime) |
|
676 | + { |
|
677 | + $this->endTime = $endTime; |
|
678 | + } |
|
679 | + |
|
680 | + public function setTimeType($timeType) |
|
681 | + { |
|
682 | + $this->timeType = $timeType; |
|
683 | + } |
|
684 | 684 | |
685 | 685 | } |
686 | 686 | |
687 | 687 | class PddGoodsSubmitGoodsCommitRequest_GoodsPropertiesItem extends PopBaseJsonEntity |
688 | 688 | { |
689 | 689 | |
690 | - public function __construct() |
|
691 | - { |
|
692 | - |
|
693 | - } |
|
694 | - |
|
695 | - /** |
|
696 | - * @JsonProperty(Integer, "group_id") |
|
697 | - */ |
|
698 | - private $groupId; |
|
699 | - |
|
700 | - /** |
|
701 | - * @JsonProperty(String, "img_url") |
|
702 | - */ |
|
703 | - private $imgUrl; |
|
704 | - |
|
705 | - /** |
|
706 | - * @JsonProperty(String, "note") |
|
707 | - */ |
|
708 | - private $note; |
|
709 | - |
|
710 | - /** |
|
711 | - * @JsonProperty(Long, "parent_spec_id") |
|
712 | - */ |
|
713 | - private $parentSpecId; |
|
714 | - |
|
715 | - /** |
|
716 | - * @JsonProperty(Long, "ref_pid") |
|
717 | - */ |
|
718 | - private $refPid; |
|
719 | - |
|
720 | - /** |
|
721 | - * @JsonProperty(Long, "spec_id") |
|
722 | - */ |
|
723 | - private $specId; |
|
724 | - |
|
725 | - /** |
|
726 | - * @JsonProperty(Long, "template_pid") |
|
727 | - */ |
|
728 | - private $templatePid; |
|
729 | - |
|
730 | - /** |
|
731 | - * @JsonProperty(String, "value") |
|
732 | - */ |
|
733 | - private $value; |
|
734 | - |
|
735 | - /** |
|
736 | - * @JsonProperty(String, "value_unit") |
|
737 | - */ |
|
738 | - private $valueUnit; |
|
739 | - |
|
740 | - /** |
|
741 | - * @JsonProperty(Long, "vid") |
|
742 | - */ |
|
743 | - private $vid; |
|
744 | - |
|
745 | - public function setGroupId($groupId) |
|
746 | - { |
|
747 | - $this->groupId = $groupId; |
|
748 | - } |
|
749 | - |
|
750 | - public function setImgUrl($imgUrl) |
|
751 | - { |
|
752 | - $this->imgUrl = $imgUrl; |
|
753 | - } |
|
754 | - |
|
755 | - public function setNote($note) |
|
756 | - { |
|
757 | - $this->note = $note; |
|
758 | - } |
|
759 | - |
|
760 | - public function setParentSpecId($parentSpecId) |
|
761 | - { |
|
762 | - $this->parentSpecId = $parentSpecId; |
|
763 | - } |
|
764 | - |
|
765 | - public function setRefPid($refPid) |
|
766 | - { |
|
767 | - $this->refPid = $refPid; |
|
768 | - } |
|
769 | - |
|
770 | - public function setSpecId($specId) |
|
771 | - { |
|
772 | - $this->specId = $specId; |
|
773 | - } |
|
774 | - |
|
775 | - public function setTemplatePid($templatePid) |
|
776 | - { |
|
777 | - $this->templatePid = $templatePid; |
|
778 | - } |
|
779 | - |
|
780 | - public function setValue($value) |
|
781 | - { |
|
782 | - $this->value = $value; |
|
783 | - } |
|
784 | - |
|
785 | - public function setValueUnit($valueUnit) |
|
786 | - { |
|
787 | - $this->valueUnit = $valueUnit; |
|
788 | - } |
|
789 | - |
|
790 | - public function setVid($vid) |
|
791 | - { |
|
792 | - $this->vid = $vid; |
|
793 | - } |
|
690 | + public function __construct() |
|
691 | + { |
|
692 | + |
|
693 | + } |
|
694 | + |
|
695 | + /** |
|
696 | + * @JsonProperty(Integer, "group_id") |
|
697 | + */ |
|
698 | + private $groupId; |
|
699 | + |
|
700 | + /** |
|
701 | + * @JsonProperty(String, "img_url") |
|
702 | + */ |
|
703 | + private $imgUrl; |
|
704 | + |
|
705 | + /** |
|
706 | + * @JsonProperty(String, "note") |
|
707 | + */ |
|
708 | + private $note; |
|
709 | + |
|
710 | + /** |
|
711 | + * @JsonProperty(Long, "parent_spec_id") |
|
712 | + */ |
|
713 | + private $parentSpecId; |
|
714 | + |
|
715 | + /** |
|
716 | + * @JsonProperty(Long, "ref_pid") |
|
717 | + */ |
|
718 | + private $refPid; |
|
719 | + |
|
720 | + /** |
|
721 | + * @JsonProperty(Long, "spec_id") |
|
722 | + */ |
|
723 | + private $specId; |
|
724 | + |
|
725 | + /** |
|
726 | + * @JsonProperty(Long, "template_pid") |
|
727 | + */ |
|
728 | + private $templatePid; |
|
729 | + |
|
730 | + /** |
|
731 | + * @JsonProperty(String, "value") |
|
732 | + */ |
|
733 | + private $value; |
|
734 | + |
|
735 | + /** |
|
736 | + * @JsonProperty(String, "value_unit") |
|
737 | + */ |
|
738 | + private $valueUnit; |
|
739 | + |
|
740 | + /** |
|
741 | + * @JsonProperty(Long, "vid") |
|
742 | + */ |
|
743 | + private $vid; |
|
744 | + |
|
745 | + public function setGroupId($groupId) |
|
746 | + { |
|
747 | + $this->groupId = $groupId; |
|
748 | + } |
|
749 | + |
|
750 | + public function setImgUrl($imgUrl) |
|
751 | + { |
|
752 | + $this->imgUrl = $imgUrl; |
|
753 | + } |
|
754 | + |
|
755 | + public function setNote($note) |
|
756 | + { |
|
757 | + $this->note = $note; |
|
758 | + } |
|
759 | + |
|
760 | + public function setParentSpecId($parentSpecId) |
|
761 | + { |
|
762 | + $this->parentSpecId = $parentSpecId; |
|
763 | + } |
|
764 | + |
|
765 | + public function setRefPid($refPid) |
|
766 | + { |
|
767 | + $this->refPid = $refPid; |
|
768 | + } |
|
769 | + |
|
770 | + public function setSpecId($specId) |
|
771 | + { |
|
772 | + $this->specId = $specId; |
|
773 | + } |
|
774 | + |
|
775 | + public function setTemplatePid($templatePid) |
|
776 | + { |
|
777 | + $this->templatePid = $templatePid; |
|
778 | + } |
|
779 | + |
|
780 | + public function setValue($value) |
|
781 | + { |
|
782 | + $this->value = $value; |
|
783 | + } |
|
784 | + |
|
785 | + public function setValueUnit($valueUnit) |
|
786 | + { |
|
787 | + $this->valueUnit = $valueUnit; |
|
788 | + } |
|
789 | + |
|
790 | + public function setVid($vid) |
|
791 | + { |
|
792 | + $this->vid = $vid; |
|
793 | + } |
|
794 | 794 | |
795 | 795 | } |
796 | 796 | |
797 | 797 | class PddGoodsSubmitGoodsCommitRequest_GoodsTradeAttr extends PopBaseJsonEntity |
798 | 798 | { |
799 | 799 | |
800 | - public function __construct() |
|
801 | - { |
|
800 | + public function __construct() |
|
801 | + { |
|
802 | 802 | |
803 | - } |
|
803 | + } |
|
804 | 804 | |
805 | - /** |
|
806 | - * @JsonProperty(Integer, "advances_days") |
|
807 | - */ |
|
808 | - private $advancesDays; |
|
805 | + /** |
|
806 | + * @JsonProperty(Integer, "advances_days") |
|
807 | + */ |
|
808 | + private $advancesDays; |
|
809 | 809 | |
810 | - /** |
|
811 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsSubmitGoodsCommitRequest_GoodsTradeAttrBookingNotes, "booking_notes") |
|
812 | - */ |
|
813 | - private $bookingNotes; |
|
810 | + /** |
|
811 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsSubmitGoodsCommitRequest_GoodsTradeAttrBookingNotes, "booking_notes") |
|
812 | + */ |
|
813 | + private $bookingNotes; |
|
814 | 814 | |
815 | - /** |
|
816 | - * @JsonProperty(Integer, "life_span") |
|
817 | - */ |
|
818 | - private $lifeSpan; |
|
815 | + /** |
|
816 | + * @JsonProperty(Integer, "life_span") |
|
817 | + */ |
|
818 | + private $lifeSpan; |
|
819 | 819 | |
820 | - public function setAdvancesDays($advancesDays) |
|
821 | - { |
|
822 | - $this->advancesDays = $advancesDays; |
|
823 | - } |
|
820 | + public function setAdvancesDays($advancesDays) |
|
821 | + { |
|
822 | + $this->advancesDays = $advancesDays; |
|
823 | + } |
|
824 | 824 | |
825 | - public function setBookingNotes($bookingNotes) |
|
826 | - { |
|
827 | - $this->bookingNotes = $bookingNotes; |
|
828 | - } |
|
825 | + public function setBookingNotes($bookingNotes) |
|
826 | + { |
|
827 | + $this->bookingNotes = $bookingNotes; |
|
828 | + } |
|
829 | 829 | |
830 | - public function setLifeSpan($lifeSpan) |
|
831 | - { |
|
832 | - $this->lifeSpan = $lifeSpan; |
|
833 | - } |
|
830 | + public function setLifeSpan($lifeSpan) |
|
831 | + { |
|
832 | + $this->lifeSpan = $lifeSpan; |
|
833 | + } |
|
834 | 834 | |
835 | 835 | } |
836 | 836 | |
837 | 837 | class PddGoodsSubmitGoodsCommitRequest_GoodsTradeAttrBookingNotes extends PopBaseJsonEntity |
838 | 838 | { |
839 | 839 | |
840 | - public function __construct() |
|
841 | - { |
|
840 | + public function __construct() |
|
841 | + { |
|
842 | 842 | |
843 | - } |
|
843 | + } |
|
844 | 844 | |
845 | - /** |
|
846 | - * @JsonProperty(String, "url") |
|
847 | - */ |
|
848 | - private $url; |
|
845 | + /** |
|
846 | + * @JsonProperty(String, "url") |
|
847 | + */ |
|
848 | + private $url; |
|
849 | 849 | |
850 | - public function setUrl($url) |
|
851 | - { |
|
852 | - $this->url = $url; |
|
853 | - } |
|
850 | + public function setUrl($url) |
|
851 | + { |
|
852 | + $this->url = $url; |
|
853 | + } |
|
854 | 854 | |
855 | 855 | } |
856 | 856 | |
857 | 857 | class PddGoodsSubmitGoodsCommitRequest_GoodsTravelAttr extends PopBaseJsonEntity |
858 | 858 | { |
859 | 859 | |
860 | - public function __construct() |
|
861 | - { |
|
860 | + public function __construct() |
|
861 | + { |
|
862 | 862 | |
863 | - } |
|
863 | + } |
|
864 | 864 | |
865 | - /** |
|
866 | - * @JsonProperty(Boolean, "need_tourist") |
|
867 | - */ |
|
868 | - private $needTourist; |
|
865 | + /** |
|
866 | + * @JsonProperty(Boolean, "need_tourist") |
|
867 | + */ |
|
868 | + private $needTourist; |
|
869 | 869 | |
870 | - /** |
|
871 | - * @JsonProperty(Integer, "type") |
|
872 | - */ |
|
873 | - private $type; |
|
870 | + /** |
|
871 | + * @JsonProperty(Integer, "type") |
|
872 | + */ |
|
873 | + private $type; |
|
874 | 874 | |
875 | - public function setNeedTourist($needTourist) |
|
876 | - { |
|
877 | - $this->needTourist = $needTourist; |
|
878 | - } |
|
875 | + public function setNeedTourist($needTourist) |
|
876 | + { |
|
877 | + $this->needTourist = $needTourist; |
|
878 | + } |
|
879 | 879 | |
880 | - public function setType($type) |
|
881 | - { |
|
882 | - $this->type = $type; |
|
883 | - } |
|
880 | + public function setType($type) |
|
881 | + { |
|
882 | + $this->type = $type; |
|
883 | + } |
|
884 | 884 | |
885 | 885 | } |
886 | 886 | |
887 | 887 | class PddGoodsSubmitGoodsCommitRequest_OverseaGoods extends PopBaseJsonEntity |
888 | 888 | { |
889 | 889 | |
890 | - public function __construct() |
|
891 | - { |
|
892 | - |
|
893 | - } |
|
894 | - |
|
895 | - /** |
|
896 | - * @JsonProperty(String, "bonded_warehouse_key") |
|
897 | - */ |
|
898 | - private $bondedWarehouseKey; |
|
899 | - |
|
900 | - /** |
|
901 | - * @JsonProperty(Integer, "consumption_tax_rate") |
|
902 | - */ |
|
903 | - private $consumptionTaxRate; |
|
904 | - |
|
905 | - /** |
|
906 | - * @JsonProperty(String, "customs_broker") |
|
907 | - */ |
|
908 | - private $customsBroker; |
|
909 | - |
|
910 | - /** |
|
911 | - * @JsonProperty(String, "hs_code") |
|
912 | - */ |
|
913 | - private $hsCode; |
|
914 | - |
|
915 | - /** |
|
916 | - * @JsonProperty(Integer, "value_added_tax_rate") |
|
917 | - */ |
|
918 | - private $valueAddedTaxRate; |
|
919 | - |
|
920 | - public function setBondedWarehouseKey($bondedWarehouseKey) |
|
921 | - { |
|
922 | - $this->bondedWarehouseKey = $bondedWarehouseKey; |
|
923 | - } |
|
924 | - |
|
925 | - public function setConsumptionTaxRate($consumptionTaxRate) |
|
926 | - { |
|
927 | - $this->consumptionTaxRate = $consumptionTaxRate; |
|
928 | - } |
|
929 | - |
|
930 | - public function setCustomsBroker($customsBroker) |
|
931 | - { |
|
932 | - $this->customsBroker = $customsBroker; |
|
933 | - } |
|
934 | - |
|
935 | - public function setHsCode($hsCode) |
|
936 | - { |
|
937 | - $this->hsCode = $hsCode; |
|
938 | - } |
|
939 | - |
|
940 | - public function setValueAddedTaxRate($valueAddedTaxRate) |
|
941 | - { |
|
942 | - $this->valueAddedTaxRate = $valueAddedTaxRate; |
|
943 | - } |
|
890 | + public function __construct() |
|
891 | + { |
|
892 | + |
|
893 | + } |
|
894 | + |
|
895 | + /** |
|
896 | + * @JsonProperty(String, "bonded_warehouse_key") |
|
897 | + */ |
|
898 | + private $bondedWarehouseKey; |
|
899 | + |
|
900 | + /** |
|
901 | + * @JsonProperty(Integer, "consumption_tax_rate") |
|
902 | + */ |
|
903 | + private $consumptionTaxRate; |
|
904 | + |
|
905 | + /** |
|
906 | + * @JsonProperty(String, "customs_broker") |
|
907 | + */ |
|
908 | + private $customsBroker; |
|
909 | + |
|
910 | + /** |
|
911 | + * @JsonProperty(String, "hs_code") |
|
912 | + */ |
|
913 | + private $hsCode; |
|
914 | + |
|
915 | + /** |
|
916 | + * @JsonProperty(Integer, "value_added_tax_rate") |
|
917 | + */ |
|
918 | + private $valueAddedTaxRate; |
|
919 | + |
|
920 | + public function setBondedWarehouseKey($bondedWarehouseKey) |
|
921 | + { |
|
922 | + $this->bondedWarehouseKey = $bondedWarehouseKey; |
|
923 | + } |
|
924 | + |
|
925 | + public function setConsumptionTaxRate($consumptionTaxRate) |
|
926 | + { |
|
927 | + $this->consumptionTaxRate = $consumptionTaxRate; |
|
928 | + } |
|
929 | + |
|
930 | + public function setCustomsBroker($customsBroker) |
|
931 | + { |
|
932 | + $this->customsBroker = $customsBroker; |
|
933 | + } |
|
934 | + |
|
935 | + public function setHsCode($hsCode) |
|
936 | + { |
|
937 | + $this->hsCode = $hsCode; |
|
938 | + } |
|
939 | + |
|
940 | + public function setValueAddedTaxRate($valueAddedTaxRate) |
|
941 | + { |
|
942 | + $this->valueAddedTaxRate = $valueAddedTaxRate; |
|
943 | + } |
|
944 | 944 | |
945 | 945 | } |
946 | 946 | |
947 | 947 | class PddGoodsSubmitGoodsCommitRequest_SkuListItem extends PopBaseJsonEntity |
948 | 948 | { |
949 | 949 | |
950 | - public function __construct() |
|
951 | - { |
|
952 | - |
|
953 | - } |
|
954 | - |
|
955 | - /** |
|
956 | - * @JsonProperty(Integer, "is_onsale") |
|
957 | - */ |
|
958 | - private $isOnsale; |
|
959 | - |
|
960 | - /** |
|
961 | - * @JsonProperty(Long, "length") |
|
962 | - */ |
|
963 | - private $length; |
|
964 | - |
|
965 | - /** |
|
966 | - * @JsonProperty(Long, "limit_quantity") |
|
967 | - */ |
|
968 | - private $limitQuantity; |
|
969 | - |
|
970 | - /** |
|
971 | - * @JsonProperty(Long, "multi_price") |
|
972 | - */ |
|
973 | - private $multiPrice; |
|
974 | - |
|
975 | - /** |
|
976 | - * @JsonProperty(String, "out_sku_sn") |
|
977 | - */ |
|
978 | - private $outSkuSn; |
|
979 | - |
|
980 | - /** |
|
981 | - * @JsonProperty(String, "out_source_sku_id") |
|
982 | - */ |
|
983 | - private $outSourceSkuId; |
|
984 | - |
|
985 | - /** |
|
986 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsSubmitGoodsCommitRequest_SkuListItemOverseaSku, "oversea_sku") |
|
987 | - */ |
|
988 | - private $overseaSku; |
|
989 | - |
|
990 | - /** |
|
991 | - * @JsonProperty(Long, "price") |
|
992 | - */ |
|
993 | - private $price; |
|
994 | - |
|
995 | - /** |
|
996 | - * @JsonProperty(Long, "quantity") |
|
997 | - */ |
|
998 | - private $quantity; |
|
999 | - |
|
1000 | - /** |
|
1001 | - * @JsonProperty(List<Long>, "spec_id_list") |
|
1002 | - */ |
|
1003 | - private $specIdList; |
|
1004 | - |
|
1005 | - /** |
|
1006 | - * @JsonProperty(String, "thumb_url") |
|
1007 | - */ |
|
1008 | - private $thumbUrl; |
|
1009 | - |
|
1010 | - /** |
|
1011 | - * @JsonProperty(Long, "weight") |
|
1012 | - */ |
|
1013 | - private $weight; |
|
1014 | - |
|
1015 | - public function setIsOnsale($isOnsale) |
|
1016 | - { |
|
1017 | - $this->isOnsale = $isOnsale; |
|
1018 | - } |
|
1019 | - |
|
1020 | - public function setLength($length) |
|
1021 | - { |
|
1022 | - $this->length = $length; |
|
1023 | - } |
|
1024 | - |
|
1025 | - public function setLimitQuantity($limitQuantity) |
|
1026 | - { |
|
1027 | - $this->limitQuantity = $limitQuantity; |
|
1028 | - } |
|
1029 | - |
|
1030 | - public function setMultiPrice($multiPrice) |
|
1031 | - { |
|
1032 | - $this->multiPrice = $multiPrice; |
|
1033 | - } |
|
1034 | - |
|
1035 | - public function setOutSkuSn($outSkuSn) |
|
1036 | - { |
|
1037 | - $this->outSkuSn = $outSkuSn; |
|
1038 | - } |
|
1039 | - |
|
1040 | - public function setOutSourceSkuId($outSourceSkuId) |
|
1041 | - { |
|
1042 | - $this->outSourceSkuId = $outSourceSkuId; |
|
1043 | - } |
|
1044 | - |
|
1045 | - public function setOverseaSku($overseaSku) |
|
1046 | - { |
|
1047 | - $this->overseaSku = $overseaSku; |
|
1048 | - } |
|
1049 | - |
|
1050 | - public function setPrice($price) |
|
1051 | - { |
|
1052 | - $this->price = $price; |
|
1053 | - } |
|
1054 | - |
|
1055 | - public function setQuantity($quantity) |
|
1056 | - { |
|
1057 | - $this->quantity = $quantity; |
|
1058 | - } |
|
1059 | - |
|
1060 | - public function setSpecIdList($specIdList) |
|
1061 | - { |
|
1062 | - $this->specIdList = $specIdList; |
|
1063 | - } |
|
1064 | - |
|
1065 | - public function setThumbUrl($thumbUrl) |
|
1066 | - { |
|
1067 | - $this->thumbUrl = $thumbUrl; |
|
1068 | - } |
|
1069 | - |
|
1070 | - public function setWeight($weight) |
|
1071 | - { |
|
1072 | - $this->weight = $weight; |
|
1073 | - } |
|
950 | + public function __construct() |
|
951 | + { |
|
952 | + |
|
953 | + } |
|
954 | + |
|
955 | + /** |
|
956 | + * @JsonProperty(Integer, "is_onsale") |
|
957 | + */ |
|
958 | + private $isOnsale; |
|
959 | + |
|
960 | + /** |
|
961 | + * @JsonProperty(Long, "length") |
|
962 | + */ |
|
963 | + private $length; |
|
964 | + |
|
965 | + /** |
|
966 | + * @JsonProperty(Long, "limit_quantity") |
|
967 | + */ |
|
968 | + private $limitQuantity; |
|
969 | + |
|
970 | + /** |
|
971 | + * @JsonProperty(Long, "multi_price") |
|
972 | + */ |
|
973 | + private $multiPrice; |
|
974 | + |
|
975 | + /** |
|
976 | + * @JsonProperty(String, "out_sku_sn") |
|
977 | + */ |
|
978 | + private $outSkuSn; |
|
979 | + |
|
980 | + /** |
|
981 | + * @JsonProperty(String, "out_source_sku_id") |
|
982 | + */ |
|
983 | + private $outSourceSkuId; |
|
984 | + |
|
985 | + /** |
|
986 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsSubmitGoodsCommitRequest_SkuListItemOverseaSku, "oversea_sku") |
|
987 | + */ |
|
988 | + private $overseaSku; |
|
989 | + |
|
990 | + /** |
|
991 | + * @JsonProperty(Long, "price") |
|
992 | + */ |
|
993 | + private $price; |
|
994 | + |
|
995 | + /** |
|
996 | + * @JsonProperty(Long, "quantity") |
|
997 | + */ |
|
998 | + private $quantity; |
|
999 | + |
|
1000 | + /** |
|
1001 | + * @JsonProperty(List<Long>, "spec_id_list") |
|
1002 | + */ |
|
1003 | + private $specIdList; |
|
1004 | + |
|
1005 | + /** |
|
1006 | + * @JsonProperty(String, "thumb_url") |
|
1007 | + */ |
|
1008 | + private $thumbUrl; |
|
1009 | + |
|
1010 | + /** |
|
1011 | + * @JsonProperty(Long, "weight") |
|
1012 | + */ |
|
1013 | + private $weight; |
|
1014 | + |
|
1015 | + public function setIsOnsale($isOnsale) |
|
1016 | + { |
|
1017 | + $this->isOnsale = $isOnsale; |
|
1018 | + } |
|
1019 | + |
|
1020 | + public function setLength($length) |
|
1021 | + { |
|
1022 | + $this->length = $length; |
|
1023 | + } |
|
1024 | + |
|
1025 | + public function setLimitQuantity($limitQuantity) |
|
1026 | + { |
|
1027 | + $this->limitQuantity = $limitQuantity; |
|
1028 | + } |
|
1029 | + |
|
1030 | + public function setMultiPrice($multiPrice) |
|
1031 | + { |
|
1032 | + $this->multiPrice = $multiPrice; |
|
1033 | + } |
|
1034 | + |
|
1035 | + public function setOutSkuSn($outSkuSn) |
|
1036 | + { |
|
1037 | + $this->outSkuSn = $outSkuSn; |
|
1038 | + } |
|
1039 | + |
|
1040 | + public function setOutSourceSkuId($outSourceSkuId) |
|
1041 | + { |
|
1042 | + $this->outSourceSkuId = $outSourceSkuId; |
|
1043 | + } |
|
1044 | + |
|
1045 | + public function setOverseaSku($overseaSku) |
|
1046 | + { |
|
1047 | + $this->overseaSku = $overseaSku; |
|
1048 | + } |
|
1049 | + |
|
1050 | + public function setPrice($price) |
|
1051 | + { |
|
1052 | + $this->price = $price; |
|
1053 | + } |
|
1054 | + |
|
1055 | + public function setQuantity($quantity) |
|
1056 | + { |
|
1057 | + $this->quantity = $quantity; |
|
1058 | + } |
|
1059 | + |
|
1060 | + public function setSpecIdList($specIdList) |
|
1061 | + { |
|
1062 | + $this->specIdList = $specIdList; |
|
1063 | + } |
|
1064 | + |
|
1065 | + public function setThumbUrl($thumbUrl) |
|
1066 | + { |
|
1067 | + $this->thumbUrl = $thumbUrl; |
|
1068 | + } |
|
1069 | + |
|
1070 | + public function setWeight($weight) |
|
1071 | + { |
|
1072 | + $this->weight = $weight; |
|
1073 | + } |
|
1074 | 1074 | |
1075 | 1075 | } |
1076 | 1076 | |
1077 | 1077 | class PddGoodsSubmitGoodsCommitRequest_SkuListItemOverseaSku extends PopBaseJsonEntity |
1078 | 1078 | { |
1079 | 1079 | |
1080 | - public function __construct() |
|
1081 | - { |
|
1082 | - |
|
1083 | - } |
|
1084 | - |
|
1085 | - /** |
|
1086 | - * @JsonProperty(String, "measurement_code") |
|
1087 | - */ |
|
1088 | - private $measurementCode; |
|
1089 | - |
|
1090 | - /** |
|
1091 | - * @JsonProperty(String, "specifications") |
|
1092 | - */ |
|
1093 | - private $specifications; |
|
1094 | - |
|
1095 | - /** |
|
1096 | - * @JsonProperty(Integer, "taxation") |
|
1097 | - */ |
|
1098 | - private $taxation; |
|
1099 | - |
|
1100 | - public function setMeasurementCode($measurementCode) |
|
1101 | - { |
|
1102 | - $this->measurementCode = $measurementCode; |
|
1103 | - } |
|
1104 | - |
|
1105 | - public function setSpecifications($specifications) |
|
1106 | - { |
|
1107 | - $this->specifications = $specifications; |
|
1108 | - } |
|
1109 | - |
|
1110 | - public function setTaxation($taxation) |
|
1111 | - { |
|
1112 | - $this->taxation = $taxation; |
|
1113 | - } |
|
1080 | + public function __construct() |
|
1081 | + { |
|
1082 | + |
|
1083 | + } |
|
1084 | + |
|
1085 | + /** |
|
1086 | + * @JsonProperty(String, "measurement_code") |
|
1087 | + */ |
|
1088 | + private $measurementCode; |
|
1089 | + |
|
1090 | + /** |
|
1091 | + * @JsonProperty(String, "specifications") |
|
1092 | + */ |
|
1093 | + private $specifications; |
|
1094 | + |
|
1095 | + /** |
|
1096 | + * @JsonProperty(Integer, "taxation") |
|
1097 | + */ |
|
1098 | + private $taxation; |
|
1099 | + |
|
1100 | + public function setMeasurementCode($measurementCode) |
|
1101 | + { |
|
1102 | + $this->measurementCode = $measurementCode; |
|
1103 | + } |
|
1104 | + |
|
1105 | + public function setSpecifications($specifications) |
|
1106 | + { |
|
1107 | + $this->specifications = $specifications; |
|
1108 | + } |
|
1109 | + |
|
1110 | + public function setTaxation($taxation) |
|
1111 | + { |
|
1112 | + $this->taxation = $taxation; |
|
1113 | + } |
|
1114 | 1114 | |
1115 | 1115 | } |