@@ -7,78 +7,78 @@ |
||
7 | 7 | class PddStockWareWarehouseQueryRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
10 | + { |
|
11 | 11 | |
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddStockWareWarehouseQueryRequest_Request, "request") |
|
15 | - */ |
|
16 | - private $request; |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddStockWareWarehouseQueryRequest_Request, "request") |
|
15 | + */ |
|
16 | + private $request; |
|
17 | 17 | |
18 | - protected function setUserParams(&$params) |
|
19 | - { |
|
20 | - $this->setUserParam($params, "request", $this->request); |
|
18 | + protected function setUserParams(&$params) |
|
19 | + { |
|
20 | + $this->setUserParam($params, "request", $this->request); |
|
21 | 21 | |
22 | - } |
|
22 | + } |
|
23 | 23 | |
24 | - public function getVersion() |
|
25 | - { |
|
26 | - return "V1"; |
|
27 | - } |
|
24 | + public function getVersion() |
|
25 | + { |
|
26 | + return "V1"; |
|
27 | + } |
|
28 | 28 | |
29 | - public function getDataType() |
|
30 | - { |
|
31 | - return "JSON"; |
|
32 | - } |
|
29 | + public function getDataType() |
|
30 | + { |
|
31 | + return "JSON"; |
|
32 | + } |
|
33 | 33 | |
34 | - public function getType() |
|
35 | - { |
|
36 | - return "pdd.stock.ware.warehouse.query"; |
|
37 | - } |
|
34 | + public function getType() |
|
35 | + { |
|
36 | + return "pdd.stock.ware.warehouse.query"; |
|
37 | + } |
|
38 | 38 | |
39 | - public function setRequest($request) |
|
40 | - { |
|
41 | - $this->request = $request; |
|
42 | - } |
|
39 | + public function setRequest($request) |
|
40 | + { |
|
41 | + $this->request = $request; |
|
42 | + } |
|
43 | 43 | |
44 | 44 | } |
45 | 45 | |
46 | 46 | class PddStockWareWarehouseQueryRequest_Request extends PopBaseJsonEntity |
47 | 47 | { |
48 | 48 | |
49 | - public function __construct() |
|
50 | - { |
|
51 | - |
|
52 | - } |
|
53 | - |
|
54 | - /** |
|
55 | - * @JsonProperty(Integer, "page") |
|
56 | - */ |
|
57 | - private $page; |
|
58 | - |
|
59 | - /** |
|
60 | - * @JsonProperty(Integer, "page_size") |
|
61 | - */ |
|
62 | - private $pageSize; |
|
63 | - |
|
64 | - /** |
|
65 | - * @JsonProperty(List<String>, "ware_sn_list") |
|
66 | - */ |
|
67 | - private $wareSnList; |
|
68 | - |
|
69 | - public function setPage($page) |
|
70 | - { |
|
71 | - $this->page = $page; |
|
72 | - } |
|
73 | - |
|
74 | - public function setPageSize($pageSize) |
|
75 | - { |
|
76 | - $this->pageSize = $pageSize; |
|
77 | - } |
|
78 | - |
|
79 | - public function setWareSnList($wareSnList) |
|
80 | - { |
|
81 | - $this->wareSnList = $wareSnList; |
|
82 | - } |
|
49 | + public function __construct() |
|
50 | + { |
|
51 | + |
|
52 | + } |
|
53 | + |
|
54 | + /** |
|
55 | + * @JsonProperty(Integer, "page") |
|
56 | + */ |
|
57 | + private $page; |
|
58 | + |
|
59 | + /** |
|
60 | + * @JsonProperty(Integer, "page_size") |
|
61 | + */ |
|
62 | + private $pageSize; |
|
63 | + |
|
64 | + /** |
|
65 | + * @JsonProperty(List<String>, "ware_sn_list") |
|
66 | + */ |
|
67 | + private $wareSnList; |
|
68 | + |
|
69 | + public function setPage($page) |
|
70 | + { |
|
71 | + $this->page = $page; |
|
72 | + } |
|
73 | + |
|
74 | + public function setPageSize($pageSize) |
|
75 | + { |
|
76 | + $this->pageSize = $pageSize; |
|
77 | + } |
|
78 | + |
|
79 | + public function setWareSnList($wareSnList) |
|
80 | + { |
|
81 | + $this->wareSnList = $wareSnList; |
|
82 | + } |
|
83 | 83 | |
84 | 84 | } |
@@ -7,49 +7,49 @@ |
||
7 | 7 | class PddPromotionCouponQuantityAddRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(Long, "batch_id") |
|
15 | - */ |
|
16 | - private $batchId; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(Long, "add_quantity") |
|
20 | - */ |
|
21 | - private $addQuantity; |
|
22 | - |
|
23 | - protected function setUserParams(&$params) |
|
24 | - { |
|
25 | - $this->setUserParam($params, "batch_id", $this->batchId); |
|
26 | - $this->setUserParam($params, "add_quantity", $this->addQuantity); |
|
27 | - |
|
28 | - } |
|
29 | - |
|
30 | - public function getVersion() |
|
31 | - { |
|
32 | - return "V1"; |
|
33 | - } |
|
34 | - |
|
35 | - public function getDataType() |
|
36 | - { |
|
37 | - return "JSON"; |
|
38 | - } |
|
39 | - |
|
40 | - public function getType() |
|
41 | - { |
|
42 | - return "pdd.promotion.coupon.quantity.add"; |
|
43 | - } |
|
44 | - |
|
45 | - public function setBatchId($batchId) |
|
46 | - { |
|
47 | - $this->batchId = $batchId; |
|
48 | - } |
|
49 | - |
|
50 | - public function setAddQuantity($addQuantity) |
|
51 | - { |
|
52 | - $this->addQuantity = $addQuantity; |
|
53 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(Long, "batch_id") |
|
15 | + */ |
|
16 | + private $batchId; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(Long, "add_quantity") |
|
20 | + */ |
|
21 | + private $addQuantity; |
|
22 | + |
|
23 | + protected function setUserParams(&$params) |
|
24 | + { |
|
25 | + $this->setUserParam($params, "batch_id", $this->batchId); |
|
26 | + $this->setUserParam($params, "add_quantity", $this->addQuantity); |
|
27 | + |
|
28 | + } |
|
29 | + |
|
30 | + public function getVersion() |
|
31 | + { |
|
32 | + return "V1"; |
|
33 | + } |
|
34 | + |
|
35 | + public function getDataType() |
|
36 | + { |
|
37 | + return "JSON"; |
|
38 | + } |
|
39 | + |
|
40 | + public function getType() |
|
41 | + { |
|
42 | + return "pdd.promotion.coupon.quantity.add"; |
|
43 | + } |
|
44 | + |
|
45 | + public function setBatchId($batchId) |
|
46 | + { |
|
47 | + $this->batchId = $batchId; |
|
48 | + } |
|
49 | + |
|
50 | + public function setAddQuantity($addQuantity) |
|
51 | + { |
|
52 | + $this->addQuantity = $addQuantity; |
|
53 | + } |
|
54 | 54 | |
55 | 55 | } |
@@ -7,167 +7,167 @@ |
||
7 | 7 | class PddAdApiReportEntityReportQueryRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(String, "endDateString") |
|
15 | - */ |
|
16 | - private $endDateString; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(Integer, "entityDimensionType") |
|
20 | - */ |
|
21 | - private $entityDimensionType; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(Long, "entityId") |
|
25 | - */ |
|
26 | - private $entityId; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiReportEntityReportQueryRequest_tring, String>, "externalParamMap") |
|
30 | - */ |
|
31 | - private $externalParamMap; |
|
32 | - |
|
33 | - /** |
|
34 | - * @JsonProperty(Integer, "orderBy") |
|
35 | - */ |
|
36 | - private $orderBy; |
|
37 | - |
|
38 | - /** |
|
39 | - * @JsonProperty(Integer, "orderType") |
|
40 | - */ |
|
41 | - private $orderType; |
|
42 | - |
|
43 | - /** |
|
44 | - * @JsonProperty(Integer, "queryDimensionType") |
|
45 | - */ |
|
46 | - private $queryDimensionType; |
|
47 | - |
|
48 | - /** |
|
49 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiReportEntityReportQueryRequest_QueryRange, "queryRange") |
|
50 | - */ |
|
51 | - private $queryRange; |
|
52 | - |
|
53 | - /** |
|
54 | - * @JsonProperty(Integer, "scenesType") |
|
55 | - */ |
|
56 | - private $scenesType; |
|
57 | - |
|
58 | - /** |
|
59 | - * @JsonProperty(String, "startDateString") |
|
60 | - */ |
|
61 | - private $startDateString; |
|
62 | - |
|
63 | - protected function setUserParams(&$params) |
|
64 | - { |
|
65 | - $this->setUserParam($params, "endDateString", $this->endDateString); |
|
66 | - $this->setUserParam($params, "entityDimensionType", $this->entityDimensionType); |
|
67 | - $this->setUserParam($params, "entityId", $this->entityId); |
|
68 | - $this->setUserParam($params, "externalParamMap", $this->externalParamMap); |
|
69 | - $this->setUserParam($params, "orderBy", $this->orderBy); |
|
70 | - $this->setUserParam($params, "orderType", $this->orderType); |
|
71 | - $this->setUserParam($params, "queryDimensionType", $this->queryDimensionType); |
|
72 | - $this->setUserParam($params, "queryRange", $this->queryRange); |
|
73 | - $this->setUserParam($params, "scenesType", $this->scenesType); |
|
74 | - $this->setUserParam($params, "startDateString", $this->startDateString); |
|
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.ad.api.report.entity.report.query"; |
|
91 | - } |
|
92 | - |
|
93 | - public function setEndDateString($endDateString) |
|
94 | - { |
|
95 | - $this->endDateString = $endDateString; |
|
96 | - } |
|
97 | - |
|
98 | - public function setEntityDimensionType($entityDimensionType) |
|
99 | - { |
|
100 | - $this->entityDimensionType = $entityDimensionType; |
|
101 | - } |
|
102 | - |
|
103 | - public function setEntityId($entityId) |
|
104 | - { |
|
105 | - $this->entityId = $entityId; |
|
106 | - } |
|
107 | - |
|
108 | - public function setExternalParamMap($externalParamMap) |
|
109 | - { |
|
110 | - $this->externalParamMap = $externalParamMap; |
|
111 | - } |
|
112 | - |
|
113 | - public function setOrderBy($orderBy) |
|
114 | - { |
|
115 | - $this->orderBy = $orderBy; |
|
116 | - } |
|
117 | - |
|
118 | - public function setOrderType($orderType) |
|
119 | - { |
|
120 | - $this->orderType = $orderType; |
|
121 | - } |
|
122 | - |
|
123 | - public function setQueryDimensionType($queryDimensionType) |
|
124 | - { |
|
125 | - $this->queryDimensionType = $queryDimensionType; |
|
126 | - } |
|
127 | - |
|
128 | - public function setQueryRange($queryRange) |
|
129 | - { |
|
130 | - $this->queryRange = $queryRange; |
|
131 | - } |
|
132 | - |
|
133 | - public function setScenesType($scenesType) |
|
134 | - { |
|
135 | - $this->scenesType = $scenesType; |
|
136 | - } |
|
137 | - |
|
138 | - public function setStartDateString($startDateString) |
|
139 | - { |
|
140 | - $this->startDateString = $startDateString; |
|
141 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "endDateString") |
|
15 | + */ |
|
16 | + private $endDateString; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(Integer, "entityDimensionType") |
|
20 | + */ |
|
21 | + private $entityDimensionType; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(Long, "entityId") |
|
25 | + */ |
|
26 | + private $entityId; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiReportEntityReportQueryRequest_tring, String>, "externalParamMap") |
|
30 | + */ |
|
31 | + private $externalParamMap; |
|
32 | + |
|
33 | + /** |
|
34 | + * @JsonProperty(Integer, "orderBy") |
|
35 | + */ |
|
36 | + private $orderBy; |
|
37 | + |
|
38 | + /** |
|
39 | + * @JsonProperty(Integer, "orderType") |
|
40 | + */ |
|
41 | + private $orderType; |
|
42 | + |
|
43 | + /** |
|
44 | + * @JsonProperty(Integer, "queryDimensionType") |
|
45 | + */ |
|
46 | + private $queryDimensionType; |
|
47 | + |
|
48 | + /** |
|
49 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiReportEntityReportQueryRequest_QueryRange, "queryRange") |
|
50 | + */ |
|
51 | + private $queryRange; |
|
52 | + |
|
53 | + /** |
|
54 | + * @JsonProperty(Integer, "scenesType") |
|
55 | + */ |
|
56 | + private $scenesType; |
|
57 | + |
|
58 | + /** |
|
59 | + * @JsonProperty(String, "startDateString") |
|
60 | + */ |
|
61 | + private $startDateString; |
|
62 | + |
|
63 | + protected function setUserParams(&$params) |
|
64 | + { |
|
65 | + $this->setUserParam($params, "endDateString", $this->endDateString); |
|
66 | + $this->setUserParam($params, "entityDimensionType", $this->entityDimensionType); |
|
67 | + $this->setUserParam($params, "entityId", $this->entityId); |
|
68 | + $this->setUserParam($params, "externalParamMap", $this->externalParamMap); |
|
69 | + $this->setUserParam($params, "orderBy", $this->orderBy); |
|
70 | + $this->setUserParam($params, "orderType", $this->orderType); |
|
71 | + $this->setUserParam($params, "queryDimensionType", $this->queryDimensionType); |
|
72 | + $this->setUserParam($params, "queryRange", $this->queryRange); |
|
73 | + $this->setUserParam($params, "scenesType", $this->scenesType); |
|
74 | + $this->setUserParam($params, "startDateString", $this->startDateString); |
|
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.ad.api.report.entity.report.query"; |
|
91 | + } |
|
92 | + |
|
93 | + public function setEndDateString($endDateString) |
|
94 | + { |
|
95 | + $this->endDateString = $endDateString; |
|
96 | + } |
|
97 | + |
|
98 | + public function setEntityDimensionType($entityDimensionType) |
|
99 | + { |
|
100 | + $this->entityDimensionType = $entityDimensionType; |
|
101 | + } |
|
102 | + |
|
103 | + public function setEntityId($entityId) |
|
104 | + { |
|
105 | + $this->entityId = $entityId; |
|
106 | + } |
|
107 | + |
|
108 | + public function setExternalParamMap($externalParamMap) |
|
109 | + { |
|
110 | + $this->externalParamMap = $externalParamMap; |
|
111 | + } |
|
112 | + |
|
113 | + public function setOrderBy($orderBy) |
|
114 | + { |
|
115 | + $this->orderBy = $orderBy; |
|
116 | + } |
|
117 | + |
|
118 | + public function setOrderType($orderType) |
|
119 | + { |
|
120 | + $this->orderType = $orderType; |
|
121 | + } |
|
122 | + |
|
123 | + public function setQueryDimensionType($queryDimensionType) |
|
124 | + { |
|
125 | + $this->queryDimensionType = $queryDimensionType; |
|
126 | + } |
|
127 | + |
|
128 | + public function setQueryRange($queryRange) |
|
129 | + { |
|
130 | + $this->queryRange = $queryRange; |
|
131 | + } |
|
132 | + |
|
133 | + public function setScenesType($scenesType) |
|
134 | + { |
|
135 | + $this->scenesType = $scenesType; |
|
136 | + } |
|
137 | + |
|
138 | + public function setStartDateString($startDateString) |
|
139 | + { |
|
140 | + $this->startDateString = $startDateString; |
|
141 | + } |
|
142 | 142 | |
143 | 143 | } |
144 | 144 | |
145 | 145 | class PddAdApiReportEntityReportQueryRequest_QueryRange extends PopBaseJsonEntity |
146 | 146 | { |
147 | 147 | |
148 | - public function __construct() |
|
149 | - { |
|
148 | + public function __construct() |
|
149 | + { |
|
150 | 150 | |
151 | - } |
|
151 | + } |
|
152 | 152 | |
153 | - /** |
|
154 | - * @JsonProperty(Integer, "pageNumber") |
|
155 | - */ |
|
156 | - private $pageNumber; |
|
153 | + /** |
|
154 | + * @JsonProperty(Integer, "pageNumber") |
|
155 | + */ |
|
156 | + private $pageNumber; |
|
157 | 157 | |
158 | - /** |
|
159 | - * @JsonProperty(Integer, "pageSize") |
|
160 | - */ |
|
161 | - private $pageSize; |
|
158 | + /** |
|
159 | + * @JsonProperty(Integer, "pageSize") |
|
160 | + */ |
|
161 | + private $pageSize; |
|
162 | 162 | |
163 | - public function setPageNumber($pageNumber) |
|
164 | - { |
|
165 | - $this->pageNumber = $pageNumber; |
|
166 | - } |
|
163 | + public function setPageNumber($pageNumber) |
|
164 | + { |
|
165 | + $this->pageNumber = $pageNumber; |
|
166 | + } |
|
167 | 167 | |
168 | - public function setPageSize($pageSize) |
|
169 | - { |
|
170 | - $this->pageSize = $pageSize; |
|
171 | - } |
|
168 | + public function setPageSize($pageSize) |
|
169 | + { |
|
170 | + $this->pageSize = $pageSize; |
|
171 | + } |
|
172 | 172 | |
173 | 173 | } |
@@ -7,38 +7,38 @@ |
||
7 | 7 | class PddInvoiceDetailInvalidRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(String, "order_sn") |
|
15 | - */ |
|
16 | - private $orderSn; |
|
17 | - |
|
18 | - protected function setUserParams(&$params) |
|
19 | - { |
|
20 | - $this->setUserParam($params, "order_sn", $this->orderSn); |
|
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.invoice.detail.invalid"; |
|
37 | - } |
|
38 | - |
|
39 | - public function setOrderSn($orderSn) |
|
40 | - { |
|
41 | - $this->orderSn = $orderSn; |
|
42 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "order_sn") |
|
15 | + */ |
|
16 | + private $orderSn; |
|
17 | + |
|
18 | + protected function setUserParams(&$params) |
|
19 | + { |
|
20 | + $this->setUserParam($params, "order_sn", $this->orderSn); |
|
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.invoice.detail.invalid"; |
|
37 | + } |
|
38 | + |
|
39 | + public function setOrderSn($orderSn) |
|
40 | + { |
|
41 | + $this->orderSn = $orderSn; |
|
42 | + } |
|
43 | 43 | |
44 | 44 | } |
@@ -7,159 +7,159 @@ |
||
7 | 7 | class PddStockWareMoveRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddStockWareMoveRequest_StockMoveOrderActionDto, "stock_move_order_action_dto") |
|
15 | - */ |
|
16 | - private $stockMoveOrderActionDto; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddStockWareMoveRequest_StockMoveRecordActionDtoListItem>, "stock_move_record_action_dto_list") |
|
20 | - */ |
|
21 | - private $stockMoveRecordActionDtoList; |
|
22 | - |
|
23 | - protected function setUserParams(&$params) |
|
24 | - { |
|
25 | - $this->setUserParam($params, "stock_move_order_action_dto", $this->stockMoveOrderActionDto); |
|
26 | - $this->setUserParam($params, "stock_move_record_action_dto_list", $this->stockMoveRecordActionDtoList); |
|
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.stock.ware.move"; |
|
43 | - } |
|
44 | - |
|
45 | - public function setStockMoveOrderActionDto($stockMoveOrderActionDto) |
|
46 | - { |
|
47 | - $this->stockMoveOrderActionDto = $stockMoveOrderActionDto; |
|
48 | - } |
|
49 | - |
|
50 | - public function setStockMoveRecordActionDtoList($stockMoveRecordActionDtoList) |
|
51 | - { |
|
52 | - $this->stockMoveRecordActionDtoList = $stockMoveRecordActionDtoList; |
|
53 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddStockWareMoveRequest_StockMoveOrderActionDto, "stock_move_order_action_dto") |
|
15 | + */ |
|
16 | + private $stockMoveOrderActionDto; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddStockWareMoveRequest_StockMoveRecordActionDtoListItem>, "stock_move_record_action_dto_list") |
|
20 | + */ |
|
21 | + private $stockMoveRecordActionDtoList; |
|
22 | + |
|
23 | + protected function setUserParams(&$params) |
|
24 | + { |
|
25 | + $this->setUserParam($params, "stock_move_order_action_dto", $this->stockMoveOrderActionDto); |
|
26 | + $this->setUserParam($params, "stock_move_record_action_dto_list", $this->stockMoveRecordActionDtoList); |
|
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.stock.ware.move"; |
|
43 | + } |
|
44 | + |
|
45 | + public function setStockMoveOrderActionDto($stockMoveOrderActionDto) |
|
46 | + { |
|
47 | + $this->stockMoveOrderActionDto = $stockMoveOrderActionDto; |
|
48 | + } |
|
49 | + |
|
50 | + public function setStockMoveRecordActionDtoList($stockMoveRecordActionDtoList) |
|
51 | + { |
|
52 | + $this->stockMoveRecordActionDtoList = $stockMoveRecordActionDtoList; |
|
53 | + } |
|
54 | 54 | |
55 | 55 | } |
56 | 56 | |
57 | 57 | class PddStockWareMoveRequest_StockMoveOrderActionDto extends PopBaseJsonEntity |
58 | 58 | { |
59 | 59 | |
60 | - public function __construct() |
|
61 | - { |
|
62 | - |
|
63 | - } |
|
64 | - |
|
65 | - /** |
|
66 | - * @JsonProperty(Integer, "move_direction") |
|
67 | - */ |
|
68 | - private $moveDirection; |
|
69 | - |
|
70 | - /** |
|
71 | - * @JsonProperty(String, "order_note") |
|
72 | - */ |
|
73 | - private $orderNote; |
|
74 | - |
|
75 | - /** |
|
76 | - * @JsonProperty(Integer, "business_type") |
|
77 | - */ |
|
78 | - private $businessType; |
|
79 | - |
|
80 | - /** |
|
81 | - * @JsonProperty(String, "warehouse_sn") |
|
82 | - */ |
|
83 | - private $warehouseSn; |
|
84 | - |
|
85 | - /** |
|
86 | - * @JsonProperty(Long, "move_time") |
|
87 | - */ |
|
88 | - private $moveTime; |
|
89 | - |
|
90 | - /** |
|
91 | - * @JsonProperty(String, "move_order_sn") |
|
92 | - */ |
|
93 | - private $moveOrderSn; |
|
94 | - |
|
95 | - public function setMoveDirection($moveDirection) |
|
96 | - { |
|
97 | - $this->moveDirection = $moveDirection; |
|
98 | - } |
|
99 | - |
|
100 | - public function setOrderNote($orderNote) |
|
101 | - { |
|
102 | - $this->orderNote = $orderNote; |
|
103 | - } |
|
104 | - |
|
105 | - public function setBusinessType($businessType) |
|
106 | - { |
|
107 | - $this->businessType = $businessType; |
|
108 | - } |
|
109 | - |
|
110 | - public function setWarehouseSn($warehouseSn) |
|
111 | - { |
|
112 | - $this->warehouseSn = $warehouseSn; |
|
113 | - } |
|
114 | - |
|
115 | - public function setMoveTime($moveTime) |
|
116 | - { |
|
117 | - $this->moveTime = $moveTime; |
|
118 | - } |
|
119 | - |
|
120 | - public function setMoveOrderSn($moveOrderSn) |
|
121 | - { |
|
122 | - $this->moveOrderSn = $moveOrderSn; |
|
123 | - } |
|
60 | + public function __construct() |
|
61 | + { |
|
62 | + |
|
63 | + } |
|
64 | + |
|
65 | + /** |
|
66 | + * @JsonProperty(Integer, "move_direction") |
|
67 | + */ |
|
68 | + private $moveDirection; |
|
69 | + |
|
70 | + /** |
|
71 | + * @JsonProperty(String, "order_note") |
|
72 | + */ |
|
73 | + private $orderNote; |
|
74 | + |
|
75 | + /** |
|
76 | + * @JsonProperty(Integer, "business_type") |
|
77 | + */ |
|
78 | + private $businessType; |
|
79 | + |
|
80 | + /** |
|
81 | + * @JsonProperty(String, "warehouse_sn") |
|
82 | + */ |
|
83 | + private $warehouseSn; |
|
84 | + |
|
85 | + /** |
|
86 | + * @JsonProperty(Long, "move_time") |
|
87 | + */ |
|
88 | + private $moveTime; |
|
89 | + |
|
90 | + /** |
|
91 | + * @JsonProperty(String, "move_order_sn") |
|
92 | + */ |
|
93 | + private $moveOrderSn; |
|
94 | + |
|
95 | + public function setMoveDirection($moveDirection) |
|
96 | + { |
|
97 | + $this->moveDirection = $moveDirection; |
|
98 | + } |
|
99 | + |
|
100 | + public function setOrderNote($orderNote) |
|
101 | + { |
|
102 | + $this->orderNote = $orderNote; |
|
103 | + } |
|
104 | + |
|
105 | + public function setBusinessType($businessType) |
|
106 | + { |
|
107 | + $this->businessType = $businessType; |
|
108 | + } |
|
109 | + |
|
110 | + public function setWarehouseSn($warehouseSn) |
|
111 | + { |
|
112 | + $this->warehouseSn = $warehouseSn; |
|
113 | + } |
|
114 | + |
|
115 | + public function setMoveTime($moveTime) |
|
116 | + { |
|
117 | + $this->moveTime = $moveTime; |
|
118 | + } |
|
119 | + |
|
120 | + public function setMoveOrderSn($moveOrderSn) |
|
121 | + { |
|
122 | + $this->moveOrderSn = $moveOrderSn; |
|
123 | + } |
|
124 | 124 | |
125 | 125 | } |
126 | 126 | |
127 | 127 | class PddStockWareMoveRequest_StockMoveRecordActionDtoListItem extends PopBaseJsonEntity |
128 | 128 | { |
129 | 129 | |
130 | - public function __construct() |
|
131 | - { |
|
132 | - |
|
133 | - } |
|
134 | - |
|
135 | - /** |
|
136 | - * @JsonProperty(String, "note") |
|
137 | - */ |
|
138 | - private $note; |
|
139 | - |
|
140 | - /** |
|
141 | - * @JsonProperty(Long, "move_num") |
|
142 | - */ |
|
143 | - private $moveNum; |
|
144 | - |
|
145 | - /** |
|
146 | - * @JsonProperty(String, "ware_sn") |
|
147 | - */ |
|
148 | - private $wareSn; |
|
149 | - |
|
150 | - public function setNote($note) |
|
151 | - { |
|
152 | - $this->note = $note; |
|
153 | - } |
|
154 | - |
|
155 | - public function setMoveNum($moveNum) |
|
156 | - { |
|
157 | - $this->moveNum = $moveNum; |
|
158 | - } |
|
159 | - |
|
160 | - public function setWareSn($wareSn) |
|
161 | - { |
|
162 | - $this->wareSn = $wareSn; |
|
163 | - } |
|
130 | + public function __construct() |
|
131 | + { |
|
132 | + |
|
133 | + } |
|
134 | + |
|
135 | + /** |
|
136 | + * @JsonProperty(String, "note") |
|
137 | + */ |
|
138 | + private $note; |
|
139 | + |
|
140 | + /** |
|
141 | + * @JsonProperty(Long, "move_num") |
|
142 | + */ |
|
143 | + private $moveNum; |
|
144 | + |
|
145 | + /** |
|
146 | + * @JsonProperty(String, "ware_sn") |
|
147 | + */ |
|
148 | + private $wareSn; |
|
149 | + |
|
150 | + public function setNote($note) |
|
151 | + { |
|
152 | + $this->note = $note; |
|
153 | + } |
|
154 | + |
|
155 | + public function setMoveNum($moveNum) |
|
156 | + { |
|
157 | + $this->moveNum = $moveNum; |
|
158 | + } |
|
159 | + |
|
160 | + public function setWareSn($wareSn) |
|
161 | + { |
|
162 | + $this->wareSn = $wareSn; |
|
163 | + } |
|
164 | 164 | |
165 | 165 | } |
@@ -7,38 +7,38 @@ |
||
7 | 7 | class PddStockWareDetailQueryRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(Long, "ware_id") |
|
15 | - */ |
|
16 | - private $wareId; |
|
17 | - |
|
18 | - protected function setUserParams(&$params) |
|
19 | - { |
|
20 | - $this->setUserParam($params, "ware_id", $this->wareId); |
|
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.stock.ware.detail.query"; |
|
37 | - } |
|
38 | - |
|
39 | - public function setWareId($wareId) |
|
40 | - { |
|
41 | - $this->wareId = $wareId; |
|
42 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(Long, "ware_id") |
|
15 | + */ |
|
16 | + private $wareId; |
|
17 | + |
|
18 | + protected function setUserParams(&$params) |
|
19 | + { |
|
20 | + $this->setUserParam($params, "ware_id", $this->wareId); |
|
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.stock.ware.detail.query"; |
|
37 | + } |
|
38 | + |
|
39 | + public function setWareId($wareId) |
|
40 | + { |
|
41 | + $this->wareId = $wareId; |
|
42 | + } |
|
43 | 43 | |
44 | 44 | } |
@@ -7,38 +7,38 @@ |
||
7 | 7 | class PddGoodsCpsMallUnitChangeRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(Integer, "rate") |
|
15 | - */ |
|
16 | - private $rate; |
|
17 | - |
|
18 | - protected function setUserParams(&$params) |
|
19 | - { |
|
20 | - $this->setUserParam($params, "rate", $this->rate); |
|
21 | - |
|
22 | - } |
|
23 | - |
|
24 | - public function getVersion() |
|
25 | - { |
|
26 | - return "V1"; |
|
27 | - } |
|
28 | - |
|
29 | - public function getDataType() |
|
30 | - { |
|
31 | - return "JSON"; |
|
32 | - } |
|
33 | - |
|
34 | - public function getType() |
|
35 | - { |
|
36 | - return "pdd.goods.cps.mall.unit.change"; |
|
37 | - } |
|
38 | - |
|
39 | - public function setRate($rate) |
|
40 | - { |
|
41 | - $this->rate = $rate; |
|
42 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(Integer, "rate") |
|
15 | + */ |
|
16 | + private $rate; |
|
17 | + |
|
18 | + protected function setUserParams(&$params) |
|
19 | + { |
|
20 | + $this->setUserParam($params, "rate", $this->rate); |
|
21 | + |
|
22 | + } |
|
23 | + |
|
24 | + public function getVersion() |
|
25 | + { |
|
26 | + return "V1"; |
|
27 | + } |
|
28 | + |
|
29 | + public function getDataType() |
|
30 | + { |
|
31 | + return "JSON"; |
|
32 | + } |
|
33 | + |
|
34 | + public function getType() |
|
35 | + { |
|
36 | + return "pdd.goods.cps.mall.unit.change"; |
|
37 | + } |
|
38 | + |
|
39 | + public function setRate($rate) |
|
40 | + { |
|
41 | + $this->rate = $rate; |
|
42 | + } |
|
43 | 43 | |
44 | 44 | } |
@@ -7,60 +7,60 @@ |
||
7 | 7 | class PddLogisticsCsSessionCloseRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
10 | + { |
|
11 | 11 | |
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(String, "session_id") |
|
15 | - */ |
|
16 | - private $sessionId; |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "session_id") |
|
15 | + */ |
|
16 | + private $sessionId; |
|
17 | 17 | |
18 | - /** |
|
19 | - * @JsonProperty(String, "wp_session_id") |
|
20 | - */ |
|
21 | - private $wpSessionId; |
|
18 | + /** |
|
19 | + * @JsonProperty(String, "wp_session_id") |
|
20 | + */ |
|
21 | + private $wpSessionId; |
|
22 | 22 | |
23 | - /** |
|
24 | - * @JsonProperty(String, "action_time") |
|
25 | - */ |
|
26 | - private $actionTime; |
|
23 | + /** |
|
24 | + * @JsonProperty(String, "action_time") |
|
25 | + */ |
|
26 | + private $actionTime; |
|
27 | 27 | |
28 | - protected function setUserParams(&$params) |
|
29 | - { |
|
30 | - $this->setUserParam($params, "session_id", $this->sessionId); |
|
31 | - $this->setUserParam($params, "wp_session_id", $this->wpSessionId); |
|
32 | - $this->setUserParam($params, "action_time", $this->actionTime); |
|
28 | + protected function setUserParams(&$params) |
|
29 | + { |
|
30 | + $this->setUserParam($params, "session_id", $this->sessionId); |
|
31 | + $this->setUserParam($params, "wp_session_id", $this->wpSessionId); |
|
32 | + $this->setUserParam($params, "action_time", $this->actionTime); |
|
33 | 33 | |
34 | - } |
|
34 | + } |
|
35 | 35 | |
36 | - public function getVersion() |
|
37 | - { |
|
38 | - return "V1"; |
|
39 | - } |
|
36 | + public function getVersion() |
|
37 | + { |
|
38 | + return "V1"; |
|
39 | + } |
|
40 | 40 | |
41 | - public function getDataType() |
|
42 | - { |
|
43 | - return "JSON"; |
|
44 | - } |
|
41 | + public function getDataType() |
|
42 | + { |
|
43 | + return "JSON"; |
|
44 | + } |
|
45 | 45 | |
46 | - public function getType() |
|
47 | - { |
|
48 | - return "pdd.logistics.cs.session.close"; |
|
49 | - } |
|
46 | + public function getType() |
|
47 | + { |
|
48 | + return "pdd.logistics.cs.session.close"; |
|
49 | + } |
|
50 | 50 | |
51 | - public function setSessionId($sessionId) |
|
52 | - { |
|
53 | - $this->sessionId = $sessionId; |
|
54 | - } |
|
51 | + public function setSessionId($sessionId) |
|
52 | + { |
|
53 | + $this->sessionId = $sessionId; |
|
54 | + } |
|
55 | 55 | |
56 | - public function setWpSessionId($wpSessionId) |
|
57 | - { |
|
58 | - $this->wpSessionId = $wpSessionId; |
|
59 | - } |
|
56 | + public function setWpSessionId($wpSessionId) |
|
57 | + { |
|
58 | + $this->wpSessionId = $wpSessionId; |
|
59 | + } |
|
60 | 60 | |
61 | - public function setActionTime($actionTime) |
|
62 | - { |
|
63 | - $this->actionTime = $actionTime; |
|
64 | - } |
|
61 | + public function setActionTime($actionTime) |
|
62 | + { |
|
63 | + $this->actionTime = $actionTime; |
|
64 | + } |
|
65 | 65 | |
66 | 66 | } |
@@ -7,49 +7,49 @@ |
||
7 | 7 | class PddGoodsSaleStatusSetRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(Long, "goods_id") |
|
15 | - */ |
|
16 | - private $goodsId; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(Integer, "is_onsale") |
|
20 | - */ |
|
21 | - private $isOnsale; |
|
22 | - |
|
23 | - protected function setUserParams(&$params) |
|
24 | - { |
|
25 | - $this->setUserParam($params, "goods_id", $this->goodsId); |
|
26 | - $this->setUserParam($params, "is_onsale", $this->isOnsale); |
|
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.goods.sale.status.set"; |
|
43 | - } |
|
44 | - |
|
45 | - public function setGoodsId($goodsId) |
|
46 | - { |
|
47 | - $this->goodsId = $goodsId; |
|
48 | - } |
|
49 | - |
|
50 | - public function setIsOnsale($isOnsale) |
|
51 | - { |
|
52 | - $this->isOnsale = $isOnsale; |
|
53 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(Long, "goods_id") |
|
15 | + */ |
|
16 | + private $goodsId; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(Integer, "is_onsale") |
|
20 | + */ |
|
21 | + private $isOnsale; |
|
22 | + |
|
23 | + protected function setUserParams(&$params) |
|
24 | + { |
|
25 | + $this->setUserParam($params, "goods_id", $this->goodsId); |
|
26 | + $this->setUserParam($params, "is_onsale", $this->isOnsale); |
|
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.goods.sale.status.set"; |
|
43 | + } |
|
44 | + |
|
45 | + public function setGoodsId($goodsId) |
|
46 | + { |
|
47 | + $this->goodsId = $goodsId; |
|
48 | + } |
|
49 | + |
|
50 | + public function setIsOnsale($isOnsale) |
|
51 | + { |
|
52 | + $this->isOnsale = $isOnsale; |
|
53 | + } |
|
54 | 54 | |
55 | 55 | } |