@@ -7,93 +7,93 @@ |
||
7 | 7 | class PddAdApiReportDailyReportQueryRequest 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(Long, "entityId") |
|
20 | - */ |
|
21 | - private $entityId; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiReportDailyReportQueryRequest_tring, String>, "externalParamMap") |
|
25 | - */ |
|
26 | - private $externalParamMap; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(Integer, "queryDimensionType") |
|
30 | - */ |
|
31 | - private $queryDimensionType; |
|
32 | - |
|
33 | - /** |
|
34 | - * @JsonProperty(Integer, "scenesType") |
|
35 | - */ |
|
36 | - private $scenesType; |
|
37 | - |
|
38 | - /** |
|
39 | - * @JsonProperty(String, "startDateString") |
|
40 | - */ |
|
41 | - private $startDateString; |
|
42 | - |
|
43 | - protected function setUserParams(&$params) |
|
44 | - { |
|
45 | - $this->setUserParam($params, "endDateString", $this->endDateString); |
|
46 | - $this->setUserParam($params, "entityId", $this->entityId); |
|
47 | - $this->setUserParam($params, "externalParamMap", $this->externalParamMap); |
|
48 | - $this->setUserParam($params, "queryDimensionType", $this->queryDimensionType); |
|
49 | - $this->setUserParam($params, "scenesType", $this->scenesType); |
|
50 | - $this->setUserParam($params, "startDateString", $this->startDateString); |
|
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.ad.api.report.daily.report.query"; |
|
67 | - } |
|
68 | - |
|
69 | - public function setEndDateString($endDateString) |
|
70 | - { |
|
71 | - $this->endDateString = $endDateString; |
|
72 | - } |
|
73 | - |
|
74 | - public function setEntityId($entityId) |
|
75 | - { |
|
76 | - $this->entityId = $entityId; |
|
77 | - } |
|
78 | - |
|
79 | - public function setExternalParamMap($externalParamMap) |
|
80 | - { |
|
81 | - $this->externalParamMap = $externalParamMap; |
|
82 | - } |
|
83 | - |
|
84 | - public function setQueryDimensionType($queryDimensionType) |
|
85 | - { |
|
86 | - $this->queryDimensionType = $queryDimensionType; |
|
87 | - } |
|
88 | - |
|
89 | - public function setScenesType($scenesType) |
|
90 | - { |
|
91 | - $this->scenesType = $scenesType; |
|
92 | - } |
|
93 | - |
|
94 | - public function setStartDateString($startDateString) |
|
95 | - { |
|
96 | - $this->startDateString = $startDateString; |
|
97 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "endDateString") |
|
15 | + */ |
|
16 | + private $endDateString; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(Long, "entityId") |
|
20 | + */ |
|
21 | + private $entityId; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiReportDailyReportQueryRequest_tring, String>, "externalParamMap") |
|
25 | + */ |
|
26 | + private $externalParamMap; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(Integer, "queryDimensionType") |
|
30 | + */ |
|
31 | + private $queryDimensionType; |
|
32 | + |
|
33 | + /** |
|
34 | + * @JsonProperty(Integer, "scenesType") |
|
35 | + */ |
|
36 | + private $scenesType; |
|
37 | + |
|
38 | + /** |
|
39 | + * @JsonProperty(String, "startDateString") |
|
40 | + */ |
|
41 | + private $startDateString; |
|
42 | + |
|
43 | + protected function setUserParams(&$params) |
|
44 | + { |
|
45 | + $this->setUserParam($params, "endDateString", $this->endDateString); |
|
46 | + $this->setUserParam($params, "entityId", $this->entityId); |
|
47 | + $this->setUserParam($params, "externalParamMap", $this->externalParamMap); |
|
48 | + $this->setUserParam($params, "queryDimensionType", $this->queryDimensionType); |
|
49 | + $this->setUserParam($params, "scenesType", $this->scenesType); |
|
50 | + $this->setUserParam($params, "startDateString", $this->startDateString); |
|
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.ad.api.report.daily.report.query"; |
|
67 | + } |
|
68 | + |
|
69 | + public function setEndDateString($endDateString) |
|
70 | + { |
|
71 | + $this->endDateString = $endDateString; |
|
72 | + } |
|
73 | + |
|
74 | + public function setEntityId($entityId) |
|
75 | + { |
|
76 | + $this->entityId = $entityId; |
|
77 | + } |
|
78 | + |
|
79 | + public function setExternalParamMap($externalParamMap) |
|
80 | + { |
|
81 | + $this->externalParamMap = $externalParamMap; |
|
82 | + } |
|
83 | + |
|
84 | + public function setQueryDimensionType($queryDimensionType) |
|
85 | + { |
|
86 | + $this->queryDimensionType = $queryDimensionType; |
|
87 | + } |
|
88 | + |
|
89 | + public function setScenesType($scenesType) |
|
90 | + { |
|
91 | + $this->scenesType = $scenesType; |
|
92 | + } |
|
93 | + |
|
94 | + public function setStartDateString($startDateString) |
|
95 | + { |
|
96 | + $this->startDateString = $startDateString; |
|
97 | + } |
|
98 | 98 | |
99 | 99 | } |
@@ -7,49 +7,49 @@ |
||
7 | 7 | class PddStockGoodsIdToSkuQueryRequest 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(Long, "ware_id") |
|
20 | - */ |
|
21 | - private $wareId; |
|
22 | - |
|
23 | - protected function setUserParams(&$params) |
|
24 | - { |
|
25 | - $this->setUserParam($params, "goods_id", $this->goodsId); |
|
26 | - $this->setUserParam($params, "ware_id", $this->wareId); |
|
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.goods.id.to.sku.query"; |
|
43 | - } |
|
44 | - |
|
45 | - public function setGoodsId($goodsId) |
|
46 | - { |
|
47 | - $this->goodsId = $goodsId; |
|
48 | - } |
|
49 | - |
|
50 | - public function setWareId($wareId) |
|
51 | - { |
|
52 | - $this->wareId = $wareId; |
|
53 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(Long, "goods_id") |
|
15 | + */ |
|
16 | + private $goodsId; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(Long, "ware_id") |
|
20 | + */ |
|
21 | + private $wareId; |
|
22 | + |
|
23 | + protected function setUserParams(&$params) |
|
24 | + { |
|
25 | + $this->setUserParam($params, "goods_id", $this->goodsId); |
|
26 | + $this->setUserParam($params, "ware_id", $this->wareId); |
|
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.goods.id.to.sku.query"; |
|
43 | + } |
|
44 | + |
|
45 | + public function setGoodsId($goodsId) |
|
46 | + { |
|
47 | + $this->goodsId = $goodsId; |
|
48 | + } |
|
49 | + |
|
50 | + public function setWareId($wareId) |
|
51 | + { |
|
52 | + $this->wareId = $wareId; |
|
53 | + } |
|
54 | 54 | |
55 | 55 | } |
@@ -7,132 +7,132 @@ |
||
7 | 7 | class PddGoodsSkuPriceUpdateRequest 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(Long, "market_price") |
|
20 | - */ |
|
21 | - private $marketPrice; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(String, "market_price_in_yuan") |
|
25 | - */ |
|
26 | - private $marketPriceInYuan; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsSkuPriceUpdateRequest_SkuPriceListItem>, "sku_price_list") |
|
30 | - */ |
|
31 | - private $skuPriceList; |
|
32 | - |
|
33 | - /** |
|
34 | - * @JsonProperty(Integer, "sync_goods_operate") |
|
35 | - */ |
|
36 | - private $syncGoodsOperate; |
|
37 | - |
|
38 | - protected function setUserParams(&$params) |
|
39 | - { |
|
40 | - $this->setUserParam($params, "goods_id", $this->goodsId); |
|
41 | - $this->setUserParam($params, "market_price", $this->marketPrice); |
|
42 | - $this->setUserParam($params, "market_price_in_yuan", $this->marketPriceInYuan); |
|
43 | - $this->setUserParam($params, "sku_price_list", $this->skuPriceList); |
|
44 | - $this->setUserParam($params, "sync_goods_operate", $this->syncGoodsOperate); |
|
45 | - |
|
46 | - } |
|
47 | - |
|
48 | - public function getVersion() |
|
49 | - { |
|
50 | - return "V1"; |
|
51 | - } |
|
52 | - |
|
53 | - public function getDataType() |
|
54 | - { |
|
55 | - return "JSON"; |
|
56 | - } |
|
57 | - |
|
58 | - public function getType() |
|
59 | - { |
|
60 | - return "pdd.goods.sku.price.update"; |
|
61 | - } |
|
62 | - |
|
63 | - public function setGoodsId($goodsId) |
|
64 | - { |
|
65 | - $this->goodsId = $goodsId; |
|
66 | - } |
|
67 | - |
|
68 | - public function setMarketPrice($marketPrice) |
|
69 | - { |
|
70 | - $this->marketPrice = $marketPrice; |
|
71 | - } |
|
72 | - |
|
73 | - public function setMarketPriceInYuan($marketPriceInYuan) |
|
74 | - { |
|
75 | - $this->marketPriceInYuan = $marketPriceInYuan; |
|
76 | - } |
|
77 | - |
|
78 | - public function setSkuPriceList($skuPriceList) |
|
79 | - { |
|
80 | - $this->skuPriceList = $skuPriceList; |
|
81 | - } |
|
82 | - |
|
83 | - public function setSyncGoodsOperate($syncGoodsOperate) |
|
84 | - { |
|
85 | - $this->syncGoodsOperate = $syncGoodsOperate; |
|
86 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(Long, "goods_id") |
|
15 | + */ |
|
16 | + private $goodsId; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(Long, "market_price") |
|
20 | + */ |
|
21 | + private $marketPrice; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(String, "market_price_in_yuan") |
|
25 | + */ |
|
26 | + private $marketPriceInYuan; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsSkuPriceUpdateRequest_SkuPriceListItem>, "sku_price_list") |
|
30 | + */ |
|
31 | + private $skuPriceList; |
|
32 | + |
|
33 | + /** |
|
34 | + * @JsonProperty(Integer, "sync_goods_operate") |
|
35 | + */ |
|
36 | + private $syncGoodsOperate; |
|
37 | + |
|
38 | + protected function setUserParams(&$params) |
|
39 | + { |
|
40 | + $this->setUserParam($params, "goods_id", $this->goodsId); |
|
41 | + $this->setUserParam($params, "market_price", $this->marketPrice); |
|
42 | + $this->setUserParam($params, "market_price_in_yuan", $this->marketPriceInYuan); |
|
43 | + $this->setUserParam($params, "sku_price_list", $this->skuPriceList); |
|
44 | + $this->setUserParam($params, "sync_goods_operate", $this->syncGoodsOperate); |
|
45 | + |
|
46 | + } |
|
47 | + |
|
48 | + public function getVersion() |
|
49 | + { |
|
50 | + return "V1"; |
|
51 | + } |
|
52 | + |
|
53 | + public function getDataType() |
|
54 | + { |
|
55 | + return "JSON"; |
|
56 | + } |
|
57 | + |
|
58 | + public function getType() |
|
59 | + { |
|
60 | + return "pdd.goods.sku.price.update"; |
|
61 | + } |
|
62 | + |
|
63 | + public function setGoodsId($goodsId) |
|
64 | + { |
|
65 | + $this->goodsId = $goodsId; |
|
66 | + } |
|
67 | + |
|
68 | + public function setMarketPrice($marketPrice) |
|
69 | + { |
|
70 | + $this->marketPrice = $marketPrice; |
|
71 | + } |
|
72 | + |
|
73 | + public function setMarketPriceInYuan($marketPriceInYuan) |
|
74 | + { |
|
75 | + $this->marketPriceInYuan = $marketPriceInYuan; |
|
76 | + } |
|
77 | + |
|
78 | + public function setSkuPriceList($skuPriceList) |
|
79 | + { |
|
80 | + $this->skuPriceList = $skuPriceList; |
|
81 | + } |
|
82 | + |
|
83 | + public function setSyncGoodsOperate($syncGoodsOperate) |
|
84 | + { |
|
85 | + $this->syncGoodsOperate = $syncGoodsOperate; |
|
86 | + } |
|
87 | 87 | |
88 | 88 | } |
89 | 89 | |
90 | 90 | class PddGoodsSkuPriceUpdateRequest_SkuPriceListItem extends PopBaseJsonEntity |
91 | 91 | { |
92 | 92 | |
93 | - public function __construct() |
|
94 | - { |
|
95 | - |
|
96 | - } |
|
97 | - |
|
98 | - /** |
|
99 | - * @JsonProperty(Long, "group_price") |
|
100 | - */ |
|
101 | - private $groupPrice; |
|
102 | - |
|
103 | - /** |
|
104 | - * @JsonProperty(Integer, "is_onsale") |
|
105 | - */ |
|
106 | - private $isOnsale; |
|
107 | - |
|
108 | - /** |
|
109 | - * @JsonProperty(Long, "single_price") |
|
110 | - */ |
|
111 | - private $singlePrice; |
|
112 | - |
|
113 | - /** |
|
114 | - * @JsonProperty(Long, "sku_id") |
|
115 | - */ |
|
116 | - private $skuId; |
|
117 | - |
|
118 | - public function setGroupPrice($groupPrice) |
|
119 | - { |
|
120 | - $this->groupPrice = $groupPrice; |
|
121 | - } |
|
122 | - |
|
123 | - public function setIsOnsale($isOnsale) |
|
124 | - { |
|
125 | - $this->isOnsale = $isOnsale; |
|
126 | - } |
|
127 | - |
|
128 | - public function setSinglePrice($singlePrice) |
|
129 | - { |
|
130 | - $this->singlePrice = $singlePrice; |
|
131 | - } |
|
132 | - |
|
133 | - public function setSkuId($skuId) |
|
134 | - { |
|
135 | - $this->skuId = $skuId; |
|
136 | - } |
|
93 | + public function __construct() |
|
94 | + { |
|
95 | + |
|
96 | + } |
|
97 | + |
|
98 | + /** |
|
99 | + * @JsonProperty(Long, "group_price") |
|
100 | + */ |
|
101 | + private $groupPrice; |
|
102 | + |
|
103 | + /** |
|
104 | + * @JsonProperty(Integer, "is_onsale") |
|
105 | + */ |
|
106 | + private $isOnsale; |
|
107 | + |
|
108 | + /** |
|
109 | + * @JsonProperty(Long, "single_price") |
|
110 | + */ |
|
111 | + private $singlePrice; |
|
112 | + |
|
113 | + /** |
|
114 | + * @JsonProperty(Long, "sku_id") |
|
115 | + */ |
|
116 | + private $skuId; |
|
117 | + |
|
118 | + public function setGroupPrice($groupPrice) |
|
119 | + { |
|
120 | + $this->groupPrice = $groupPrice; |
|
121 | + } |
|
122 | + |
|
123 | + public function setIsOnsale($isOnsale) |
|
124 | + { |
|
125 | + $this->isOnsale = $isOnsale; |
|
126 | + } |
|
127 | + |
|
128 | + public function setSinglePrice($singlePrice) |
|
129 | + { |
|
130 | + $this->singlePrice = $singlePrice; |
|
131 | + } |
|
132 | + |
|
133 | + public function setSkuId($skuId) |
|
134 | + { |
|
135 | + $this->skuId = $skuId; |
|
136 | + } |
|
137 | 137 | |
138 | 138 | } |
@@ -7,38 +7,38 @@ |
||
7 | 7 | class PddExpressDepotInfoGetRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(Long, "depot_id") |
|
15 | - */ |
|
16 | - private $depotId; |
|
17 | - |
|
18 | - protected function setUserParams(&$params) |
|
19 | - { |
|
20 | - $this->setUserParam($params, "depot_id", $this->depotId); |
|
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.express.depot.info.get"; |
|
37 | - } |
|
38 | - |
|
39 | - public function setDepotId($depotId) |
|
40 | - { |
|
41 | - $this->depotId = $depotId; |
|
42 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(Long, "depot_id") |
|
15 | + */ |
|
16 | + private $depotId; |
|
17 | + |
|
18 | + protected function setUserParams(&$params) |
|
19 | + { |
|
20 | + $this->setUserParam($params, "depot_id", $this->depotId); |
|
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.express.depot.info.get"; |
|
37 | + } |
|
38 | + |
|
39 | + public function setDepotId($depotId) |
|
40 | + { |
|
41 | + $this->depotId = $depotId; |
|
42 | + } |
|
43 | 43 | |
44 | 44 | } |
@@ -7,184 +7,184 @@ |
||
7 | 7 | class PddFlightRefundApplyRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(String, "trace_id") |
|
15 | - */ |
|
16 | - private $traceId; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(String, "sub_trace_id") |
|
20 | - */ |
|
21 | - private $subTraceId; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(String, "out_order_no") |
|
25 | - */ |
|
26 | - private $outOrderNo; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(String, "parent_travel_sn") |
|
30 | - */ |
|
31 | - private $parentTravelSn; |
|
32 | - |
|
33 | - /** |
|
34 | - * @JsonProperty(Integer, "refund_type") |
|
35 | - */ |
|
36 | - private $refundType; |
|
37 | - |
|
38 | - /** |
|
39 | - * @JsonProperty(String, "refund_reason") |
|
40 | - */ |
|
41 | - private $refundReason; |
|
42 | - |
|
43 | - /** |
|
44 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightRefundApplyRequest_PassengerInfoListItem>, "passenger_info_list") |
|
45 | - */ |
|
46 | - private $passengerInfoList; |
|
47 | - |
|
48 | - protected function setUserParams(&$params) |
|
49 | - { |
|
50 | - $this->setUserParam($params, "trace_id", $this->traceId); |
|
51 | - $this->setUserParam($params, "sub_trace_id", $this->subTraceId); |
|
52 | - $this->setUserParam($params, "out_order_no", $this->outOrderNo); |
|
53 | - $this->setUserParam($params, "parent_travel_sn", $this->parentTravelSn); |
|
54 | - $this->setUserParam($params, "refund_type", $this->refundType); |
|
55 | - $this->setUserParam($params, "refund_reason", $this->refundReason); |
|
56 | - $this->setUserParam($params, "passenger_info_list", $this->passengerInfoList); |
|
57 | - |
|
58 | - } |
|
59 | - |
|
60 | - public function getVersion() |
|
61 | - { |
|
62 | - return "V1"; |
|
63 | - } |
|
64 | - |
|
65 | - public function getDataType() |
|
66 | - { |
|
67 | - return "JSON"; |
|
68 | - } |
|
69 | - |
|
70 | - public function getType() |
|
71 | - { |
|
72 | - return "pdd.flight.refund.apply"; |
|
73 | - } |
|
74 | - |
|
75 | - public function setTraceId($traceId) |
|
76 | - { |
|
77 | - $this->traceId = $traceId; |
|
78 | - } |
|
79 | - |
|
80 | - public function setSubTraceId($subTraceId) |
|
81 | - { |
|
82 | - $this->subTraceId = $subTraceId; |
|
83 | - } |
|
84 | - |
|
85 | - public function setOutOrderNo($outOrderNo) |
|
86 | - { |
|
87 | - $this->outOrderNo = $outOrderNo; |
|
88 | - } |
|
89 | - |
|
90 | - public function setParentTravelSn($parentTravelSn) |
|
91 | - { |
|
92 | - $this->parentTravelSn = $parentTravelSn; |
|
93 | - } |
|
94 | - |
|
95 | - public function setRefundType($refundType) |
|
96 | - { |
|
97 | - $this->refundType = $refundType; |
|
98 | - } |
|
99 | - |
|
100 | - public function setRefundReason($refundReason) |
|
101 | - { |
|
102 | - $this->refundReason = $refundReason; |
|
103 | - } |
|
104 | - |
|
105 | - public function setPassengerInfoList($passengerInfoList) |
|
106 | - { |
|
107 | - $this->passengerInfoList = $passengerInfoList; |
|
108 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "trace_id") |
|
15 | + */ |
|
16 | + private $traceId; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(String, "sub_trace_id") |
|
20 | + */ |
|
21 | + private $subTraceId; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(String, "out_order_no") |
|
25 | + */ |
|
26 | + private $outOrderNo; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(String, "parent_travel_sn") |
|
30 | + */ |
|
31 | + private $parentTravelSn; |
|
32 | + |
|
33 | + /** |
|
34 | + * @JsonProperty(Integer, "refund_type") |
|
35 | + */ |
|
36 | + private $refundType; |
|
37 | + |
|
38 | + /** |
|
39 | + * @JsonProperty(String, "refund_reason") |
|
40 | + */ |
|
41 | + private $refundReason; |
|
42 | + |
|
43 | + /** |
|
44 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightRefundApplyRequest_PassengerInfoListItem>, "passenger_info_list") |
|
45 | + */ |
|
46 | + private $passengerInfoList; |
|
47 | + |
|
48 | + protected function setUserParams(&$params) |
|
49 | + { |
|
50 | + $this->setUserParam($params, "trace_id", $this->traceId); |
|
51 | + $this->setUserParam($params, "sub_trace_id", $this->subTraceId); |
|
52 | + $this->setUserParam($params, "out_order_no", $this->outOrderNo); |
|
53 | + $this->setUserParam($params, "parent_travel_sn", $this->parentTravelSn); |
|
54 | + $this->setUserParam($params, "refund_type", $this->refundType); |
|
55 | + $this->setUserParam($params, "refund_reason", $this->refundReason); |
|
56 | + $this->setUserParam($params, "passenger_info_list", $this->passengerInfoList); |
|
57 | + |
|
58 | + } |
|
59 | + |
|
60 | + public function getVersion() |
|
61 | + { |
|
62 | + return "V1"; |
|
63 | + } |
|
64 | + |
|
65 | + public function getDataType() |
|
66 | + { |
|
67 | + return "JSON"; |
|
68 | + } |
|
69 | + |
|
70 | + public function getType() |
|
71 | + { |
|
72 | + return "pdd.flight.refund.apply"; |
|
73 | + } |
|
74 | + |
|
75 | + public function setTraceId($traceId) |
|
76 | + { |
|
77 | + $this->traceId = $traceId; |
|
78 | + } |
|
79 | + |
|
80 | + public function setSubTraceId($subTraceId) |
|
81 | + { |
|
82 | + $this->subTraceId = $subTraceId; |
|
83 | + } |
|
84 | + |
|
85 | + public function setOutOrderNo($outOrderNo) |
|
86 | + { |
|
87 | + $this->outOrderNo = $outOrderNo; |
|
88 | + } |
|
89 | + |
|
90 | + public function setParentTravelSn($parentTravelSn) |
|
91 | + { |
|
92 | + $this->parentTravelSn = $parentTravelSn; |
|
93 | + } |
|
94 | + |
|
95 | + public function setRefundType($refundType) |
|
96 | + { |
|
97 | + $this->refundType = $refundType; |
|
98 | + } |
|
99 | + |
|
100 | + public function setRefundReason($refundReason) |
|
101 | + { |
|
102 | + $this->refundReason = $refundReason; |
|
103 | + } |
|
104 | + |
|
105 | + public function setPassengerInfoList($passengerInfoList) |
|
106 | + { |
|
107 | + $this->passengerInfoList = $passengerInfoList; |
|
108 | + } |
|
109 | 109 | |
110 | 110 | } |
111 | 111 | |
112 | 112 | class PddFlightRefundApplyRequest_PassengerInfoListItem extends PopBaseJsonEntity |
113 | 113 | { |
114 | 114 | |
115 | - public function __construct() |
|
116 | - { |
|
117 | - |
|
118 | - } |
|
119 | - |
|
120 | - /** |
|
121 | - * @JsonProperty(String, "passenger_type") |
|
122 | - */ |
|
123 | - private $passengerType; |
|
124 | - |
|
125 | - /** |
|
126 | - * @JsonProperty(String, "name") |
|
127 | - */ |
|
128 | - private $name; |
|
129 | - |
|
130 | - /** |
|
131 | - * @JsonProperty(String, "identity_type") |
|
132 | - */ |
|
133 | - private $identityType; |
|
134 | - |
|
135 | - /** |
|
136 | - * @JsonProperty(String, "identity_no") |
|
137 | - */ |
|
138 | - private $identityNo; |
|
139 | - |
|
140 | - /** |
|
141 | - * @JsonProperty(String, "travel_sn") |
|
142 | - */ |
|
143 | - private $travelSn; |
|
144 | - |
|
145 | - /** |
|
146 | - * @JsonProperty(String, "ticket_no") |
|
147 | - */ |
|
148 | - private $ticketNo; |
|
149 | - |
|
150 | - /** |
|
151 | - * @JsonProperty(String, "old_ticket_no") |
|
152 | - */ |
|
153 | - private $oldTicketNo; |
|
154 | - |
|
155 | - public function setPassengerType($passengerType) |
|
156 | - { |
|
157 | - $this->passengerType = $passengerType; |
|
158 | - } |
|
159 | - |
|
160 | - public function setName($name) |
|
161 | - { |
|
162 | - $this->name = $name; |
|
163 | - } |
|
164 | - |
|
165 | - public function setIdentityType($identityType) |
|
166 | - { |
|
167 | - $this->identityType = $identityType; |
|
168 | - } |
|
169 | - |
|
170 | - public function setIdentityNo($identityNo) |
|
171 | - { |
|
172 | - $this->identityNo = $identityNo; |
|
173 | - } |
|
174 | - |
|
175 | - public function setTravelSn($travelSn) |
|
176 | - { |
|
177 | - $this->travelSn = $travelSn; |
|
178 | - } |
|
179 | - |
|
180 | - public function setTicketNo($ticketNo) |
|
181 | - { |
|
182 | - $this->ticketNo = $ticketNo; |
|
183 | - } |
|
184 | - |
|
185 | - public function setOldTicketNo($oldTicketNo) |
|
186 | - { |
|
187 | - $this->oldTicketNo = $oldTicketNo; |
|
188 | - } |
|
115 | + public function __construct() |
|
116 | + { |
|
117 | + |
|
118 | + } |
|
119 | + |
|
120 | + /** |
|
121 | + * @JsonProperty(String, "passenger_type") |
|
122 | + */ |
|
123 | + private $passengerType; |
|
124 | + |
|
125 | + /** |
|
126 | + * @JsonProperty(String, "name") |
|
127 | + */ |
|
128 | + private $name; |
|
129 | + |
|
130 | + /** |
|
131 | + * @JsonProperty(String, "identity_type") |
|
132 | + */ |
|
133 | + private $identityType; |
|
134 | + |
|
135 | + /** |
|
136 | + * @JsonProperty(String, "identity_no") |
|
137 | + */ |
|
138 | + private $identityNo; |
|
139 | + |
|
140 | + /** |
|
141 | + * @JsonProperty(String, "travel_sn") |
|
142 | + */ |
|
143 | + private $travelSn; |
|
144 | + |
|
145 | + /** |
|
146 | + * @JsonProperty(String, "ticket_no") |
|
147 | + */ |
|
148 | + private $ticketNo; |
|
149 | + |
|
150 | + /** |
|
151 | + * @JsonProperty(String, "old_ticket_no") |
|
152 | + */ |
|
153 | + private $oldTicketNo; |
|
154 | + |
|
155 | + public function setPassengerType($passengerType) |
|
156 | + { |
|
157 | + $this->passengerType = $passengerType; |
|
158 | + } |
|
159 | + |
|
160 | + public function setName($name) |
|
161 | + { |
|
162 | + $this->name = $name; |
|
163 | + } |
|
164 | + |
|
165 | + public function setIdentityType($identityType) |
|
166 | + { |
|
167 | + $this->identityType = $identityType; |
|
168 | + } |
|
169 | + |
|
170 | + public function setIdentityNo($identityNo) |
|
171 | + { |
|
172 | + $this->identityNo = $identityNo; |
|
173 | + } |
|
174 | + |
|
175 | + public function setTravelSn($travelSn) |
|
176 | + { |
|
177 | + $this->travelSn = $travelSn; |
|
178 | + } |
|
179 | + |
|
180 | + public function setTicketNo($ticketNo) |
|
181 | + { |
|
182 | + $this->ticketNo = $ticketNo; |
|
183 | + } |
|
184 | + |
|
185 | + public function setOldTicketNo($oldTicketNo) |
|
186 | + { |
|
187 | + $this->oldTicketNo = $oldTicketNo; |
|
188 | + } |
|
189 | 189 | |
190 | 190 | } |
@@ -7,60 +7,60 @@ |
||
7 | 7 | class PddMallTicketNotifyRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
10 | + { |
|
11 | 11 | |
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(String, "content") |
|
15 | - */ |
|
16 | - private $content; |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "content") |
|
15 | + */ |
|
16 | + private $content; |
|
17 | 17 | |
18 | - /** |
|
19 | - * @JsonProperty(Boolean, "syn_to_user") |
|
20 | - */ |
|
21 | - private $synToUser; |
|
18 | + /** |
|
19 | + * @JsonProperty(Boolean, "syn_to_user") |
|
20 | + */ |
|
21 | + private $synToUser; |
|
22 | 22 | |
23 | - /** |
|
24 | - * @JsonProperty(String, "ticket_id") |
|
25 | - */ |
|
26 | - private $ticketId; |
|
23 | + /** |
|
24 | + * @JsonProperty(String, "ticket_id") |
|
25 | + */ |
|
26 | + private $ticketId; |
|
27 | 27 | |
28 | - protected function setUserParams(&$params) |
|
29 | - { |
|
30 | - $this->setUserParam($params, "content", $this->content); |
|
31 | - $this->setUserParam($params, "syn_to_user", $this->synToUser); |
|
32 | - $this->setUserParam($params, "ticket_id", $this->ticketId); |
|
28 | + protected function setUserParams(&$params) |
|
29 | + { |
|
30 | + $this->setUserParam($params, "content", $this->content); |
|
31 | + $this->setUserParam($params, "syn_to_user", $this->synToUser); |
|
32 | + $this->setUserParam($params, "ticket_id", $this->ticketId); |
|
33 | 33 | |
34 | - } |
|
34 | + } |
|
35 | 35 | |
36 | - public function getVersion() |
|
37 | - { |
|
38 | - return "V1"; |
|
39 | - } |
|
36 | + public function getVersion() |
|
37 | + { |
|
38 | + return "V1"; |
|
39 | + } |
|
40 | 40 | |
41 | - public function getDataType() |
|
42 | - { |
|
43 | - return "JSON"; |
|
44 | - } |
|
41 | + public function getDataType() |
|
42 | + { |
|
43 | + return "JSON"; |
|
44 | + } |
|
45 | 45 | |
46 | - public function getType() |
|
47 | - { |
|
48 | - return "pdd.mall.ticket.notify"; |
|
49 | - } |
|
46 | + public function getType() |
|
47 | + { |
|
48 | + return "pdd.mall.ticket.notify"; |
|
49 | + } |
|
50 | 50 | |
51 | - public function setContent($content) |
|
52 | - { |
|
53 | - $this->content = $content; |
|
54 | - } |
|
51 | + public function setContent($content) |
|
52 | + { |
|
53 | + $this->content = $content; |
|
54 | + } |
|
55 | 55 | |
56 | - public function setSynToUser($synToUser) |
|
57 | - { |
|
58 | - $this->synToUser = $synToUser; |
|
59 | - } |
|
56 | + public function setSynToUser($synToUser) |
|
57 | + { |
|
58 | + $this->synToUser = $synToUser; |
|
59 | + } |
|
60 | 60 | |
61 | - public function setTicketId($ticketId) |
|
62 | - { |
|
63 | - $this->ticketId = $ticketId; |
|
64 | - } |
|
61 | + public function setTicketId($ticketId) |
|
62 | + { |
|
63 | + $this->ticketId = $ticketId; |
|
64 | + } |
|
65 | 65 | |
66 | 66 | } |
@@ -7,82 +7,82 @@ |
||
7 | 7 | class PddLogisticsOnlineSendRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(String, "feature") |
|
15 | - */ |
|
16 | - private $feature; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(Long, "logistics_id") |
|
20 | - */ |
|
21 | - private $logisticsId; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(String, "order_sn") |
|
25 | - */ |
|
26 | - private $orderSn; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(String, "refund_address_id") |
|
30 | - */ |
|
31 | - private $refundAddressId; |
|
32 | - |
|
33 | - /** |
|
34 | - * @JsonProperty(String, "tracking_number") |
|
35 | - */ |
|
36 | - private $trackingNumber; |
|
37 | - |
|
38 | - protected function setUserParams(&$params) |
|
39 | - { |
|
40 | - $this->setUserParam($params, "feature", $this->feature); |
|
41 | - $this->setUserParam($params, "logistics_id", $this->logisticsId); |
|
42 | - $this->setUserParam($params, "order_sn", $this->orderSn); |
|
43 | - $this->setUserParam($params, "refund_address_id", $this->refundAddressId); |
|
44 | - $this->setUserParam($params, "tracking_number", $this->trackingNumber); |
|
45 | - |
|
46 | - } |
|
47 | - |
|
48 | - public function getVersion() |
|
49 | - { |
|
50 | - return "V1"; |
|
51 | - } |
|
52 | - |
|
53 | - public function getDataType() |
|
54 | - { |
|
55 | - return "JSON"; |
|
56 | - } |
|
57 | - |
|
58 | - public function getType() |
|
59 | - { |
|
60 | - return "pdd.logistics.online.send"; |
|
61 | - } |
|
62 | - |
|
63 | - public function setFeature($feature) |
|
64 | - { |
|
65 | - $this->feature = $feature; |
|
66 | - } |
|
67 | - |
|
68 | - public function setLogisticsId($logisticsId) |
|
69 | - { |
|
70 | - $this->logisticsId = $logisticsId; |
|
71 | - } |
|
72 | - |
|
73 | - public function setOrderSn($orderSn) |
|
74 | - { |
|
75 | - $this->orderSn = $orderSn; |
|
76 | - } |
|
77 | - |
|
78 | - public function setRefundAddressId($refundAddressId) |
|
79 | - { |
|
80 | - $this->refundAddressId = $refundAddressId; |
|
81 | - } |
|
82 | - |
|
83 | - public function setTrackingNumber($trackingNumber) |
|
84 | - { |
|
85 | - $this->trackingNumber = $trackingNumber; |
|
86 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "feature") |
|
15 | + */ |
|
16 | + private $feature; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(Long, "logistics_id") |
|
20 | + */ |
|
21 | + private $logisticsId; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(String, "order_sn") |
|
25 | + */ |
|
26 | + private $orderSn; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(String, "refund_address_id") |
|
30 | + */ |
|
31 | + private $refundAddressId; |
|
32 | + |
|
33 | + /** |
|
34 | + * @JsonProperty(String, "tracking_number") |
|
35 | + */ |
|
36 | + private $trackingNumber; |
|
37 | + |
|
38 | + protected function setUserParams(&$params) |
|
39 | + { |
|
40 | + $this->setUserParam($params, "feature", $this->feature); |
|
41 | + $this->setUserParam($params, "logistics_id", $this->logisticsId); |
|
42 | + $this->setUserParam($params, "order_sn", $this->orderSn); |
|
43 | + $this->setUserParam($params, "refund_address_id", $this->refundAddressId); |
|
44 | + $this->setUserParam($params, "tracking_number", $this->trackingNumber); |
|
45 | + |
|
46 | + } |
|
47 | + |
|
48 | + public function getVersion() |
|
49 | + { |
|
50 | + return "V1"; |
|
51 | + } |
|
52 | + |
|
53 | + public function getDataType() |
|
54 | + { |
|
55 | + return "JSON"; |
|
56 | + } |
|
57 | + |
|
58 | + public function getType() |
|
59 | + { |
|
60 | + return "pdd.logistics.online.send"; |
|
61 | + } |
|
62 | + |
|
63 | + public function setFeature($feature) |
|
64 | + { |
|
65 | + $this->feature = $feature; |
|
66 | + } |
|
67 | + |
|
68 | + public function setLogisticsId($logisticsId) |
|
69 | + { |
|
70 | + $this->logisticsId = $logisticsId; |
|
71 | + } |
|
72 | + |
|
73 | + public function setOrderSn($orderSn) |
|
74 | + { |
|
75 | + $this->orderSn = $orderSn; |
|
76 | + } |
|
77 | + |
|
78 | + public function setRefundAddressId($refundAddressId) |
|
79 | + { |
|
80 | + $this->refundAddressId = $refundAddressId; |
|
81 | + } |
|
82 | + |
|
83 | + public function setTrackingNumber($trackingNumber) |
|
84 | + { |
|
85 | + $this->trackingNumber = $trackingNumber; |
|
86 | + } |
|
87 | 87 | |
88 | 88 | } |
@@ -7,38 +7,38 @@ |
||
7 | 7 | class PddGoodsLogisticsSerTemplateDeleteRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(String, "template_id") |
|
15 | - */ |
|
16 | - private $templateId; |
|
17 | - |
|
18 | - protected function setUserParams(&$params) |
|
19 | - { |
|
20 | - $this->setUserParam($params, "template_id", $this->templateId); |
|
21 | - |
|
22 | - } |
|
23 | - |
|
24 | - public function getVersion() |
|
25 | - { |
|
26 | - return "V1"; |
|
27 | - } |
|
28 | - |
|
29 | - public function getDataType() |
|
30 | - { |
|
31 | - return "JSON"; |
|
32 | - } |
|
33 | - |
|
34 | - public function getType() |
|
35 | - { |
|
36 | - return "pdd.goods.logistics.ser.template.delete"; |
|
37 | - } |
|
38 | - |
|
39 | - public function setTemplateId($templateId) |
|
40 | - { |
|
41 | - $this->templateId = $templateId; |
|
42 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "template_id") |
|
15 | + */ |
|
16 | + private $templateId; |
|
17 | + |
|
18 | + protected function setUserParams(&$params) |
|
19 | + { |
|
20 | + $this->setUserParam($params, "template_id", $this->templateId); |
|
21 | + |
|
22 | + } |
|
23 | + |
|
24 | + public function getVersion() |
|
25 | + { |
|
26 | + return "V1"; |
|
27 | + } |
|
28 | + |
|
29 | + public function getDataType() |
|
30 | + { |
|
31 | + return "JSON"; |
|
32 | + } |
|
33 | + |
|
34 | + public function getType() |
|
35 | + { |
|
36 | + return "pdd.goods.logistics.ser.template.delete"; |
|
37 | + } |
|
38 | + |
|
39 | + public function setTemplateId($templateId) |
|
40 | + { |
|
41 | + $this->templateId = $templateId; |
|
42 | + } |
|
43 | 43 | |
44 | 44 | } |
@@ -7,38 +7,38 @@ |
||
7 | 7 | class PddGoodsSizespecTemplateDeleteRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(Long, "id") |
|
15 | - */ |
|
16 | - private $id; |
|
17 | - |
|
18 | - protected function setUserParams(&$params) |
|
19 | - { |
|
20 | - $this->setUserParam($params, "id", $this->id); |
|
21 | - |
|
22 | - } |
|
23 | - |
|
24 | - public function getVersion() |
|
25 | - { |
|
26 | - return "V1"; |
|
27 | - } |
|
28 | - |
|
29 | - public function getDataType() |
|
30 | - { |
|
31 | - return "JSON"; |
|
32 | - } |
|
33 | - |
|
34 | - public function getType() |
|
35 | - { |
|
36 | - return "pdd.goods.sizespec.template.delete"; |
|
37 | - } |
|
38 | - |
|
39 | - public function setId($id) |
|
40 | - { |
|
41 | - $this->id = $id; |
|
42 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(Long, "id") |
|
15 | + */ |
|
16 | + private $id; |
|
17 | + |
|
18 | + protected function setUserParams(&$params) |
|
19 | + { |
|
20 | + $this->setUserParam($params, "id", $this->id); |
|
21 | + |
|
22 | + } |
|
23 | + |
|
24 | + public function getVersion() |
|
25 | + { |
|
26 | + return "V1"; |
|
27 | + } |
|
28 | + |
|
29 | + public function getDataType() |
|
30 | + { |
|
31 | + return "JSON"; |
|
32 | + } |
|
33 | + |
|
34 | + public function getType() |
|
35 | + { |
|
36 | + return "pdd.goods.sizespec.template.delete"; |
|
37 | + } |
|
38 | + |
|
39 | + public function setId($id) |
|
40 | + { |
|
41 | + $this->id = $id; |
|
42 | + } |
|
43 | 43 | |
44 | 44 | } |