@@ -7,104 +7,104 @@ |
||
7 | 7 | class PddInvoiceApplicationQueryRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(String, "order_sn") |
|
15 | - */ |
|
16 | - private $orderSn; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(Integer, "page") |
|
20 | - */ |
|
21 | - private $page; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(Integer, "page_size") |
|
25 | - */ |
|
26 | - private $pageSize; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(Integer, "status") |
|
30 | - */ |
|
31 | - private $status; |
|
32 | - |
|
33 | - /** |
|
34 | - * @JsonProperty(Long, "update_end_time") |
|
35 | - */ |
|
36 | - private $updateEndTime; |
|
37 | - |
|
38 | - /** |
|
39 | - * @JsonProperty(Long, "update_start_time") |
|
40 | - */ |
|
41 | - private $updateStartTime; |
|
42 | - |
|
43 | - /** |
|
44 | - * @JsonProperty(Integer, "quality_goods_invoice") |
|
45 | - */ |
|
46 | - private $qualityGoodsInvoice; |
|
47 | - |
|
48 | - protected function setUserParams(&$params) |
|
49 | - { |
|
50 | - $this->setUserParam($params, "order_sn", $this->orderSn); |
|
51 | - $this->setUserParam($params, "page", $this->page); |
|
52 | - $this->setUserParam($params, "page_size", $this->pageSize); |
|
53 | - $this->setUserParam($params, "status", $this->status); |
|
54 | - $this->setUserParam($params, "update_end_time", $this->updateEndTime); |
|
55 | - $this->setUserParam($params, "update_start_time", $this->updateStartTime); |
|
56 | - $this->setUserParam($params, "quality_goods_invoice", $this->qualityGoodsInvoice); |
|
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.invoice.application.query"; |
|
73 | - } |
|
74 | - |
|
75 | - public function setOrderSn($orderSn) |
|
76 | - { |
|
77 | - $this->orderSn = $orderSn; |
|
78 | - } |
|
79 | - |
|
80 | - public function setPage($page) |
|
81 | - { |
|
82 | - $this->page = $page; |
|
83 | - } |
|
84 | - |
|
85 | - public function setPageSize($pageSize) |
|
86 | - { |
|
87 | - $this->pageSize = $pageSize; |
|
88 | - } |
|
89 | - |
|
90 | - public function setStatus($status) |
|
91 | - { |
|
92 | - $this->status = $status; |
|
93 | - } |
|
94 | - |
|
95 | - public function setUpdateEndTime($updateEndTime) |
|
96 | - { |
|
97 | - $this->updateEndTime = $updateEndTime; |
|
98 | - } |
|
99 | - |
|
100 | - public function setUpdateStartTime($updateStartTime) |
|
101 | - { |
|
102 | - $this->updateStartTime = $updateStartTime; |
|
103 | - } |
|
104 | - |
|
105 | - public function setQualityGoodsInvoice($qualityGoodsInvoice) |
|
106 | - { |
|
107 | - $this->qualityGoodsInvoice = $qualityGoodsInvoice; |
|
108 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "order_sn") |
|
15 | + */ |
|
16 | + private $orderSn; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(Integer, "page") |
|
20 | + */ |
|
21 | + private $page; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(Integer, "page_size") |
|
25 | + */ |
|
26 | + private $pageSize; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(Integer, "status") |
|
30 | + */ |
|
31 | + private $status; |
|
32 | + |
|
33 | + /** |
|
34 | + * @JsonProperty(Long, "update_end_time") |
|
35 | + */ |
|
36 | + private $updateEndTime; |
|
37 | + |
|
38 | + /** |
|
39 | + * @JsonProperty(Long, "update_start_time") |
|
40 | + */ |
|
41 | + private $updateStartTime; |
|
42 | + |
|
43 | + /** |
|
44 | + * @JsonProperty(Integer, "quality_goods_invoice") |
|
45 | + */ |
|
46 | + private $qualityGoodsInvoice; |
|
47 | + |
|
48 | + protected function setUserParams(&$params) |
|
49 | + { |
|
50 | + $this->setUserParam($params, "order_sn", $this->orderSn); |
|
51 | + $this->setUserParam($params, "page", $this->page); |
|
52 | + $this->setUserParam($params, "page_size", $this->pageSize); |
|
53 | + $this->setUserParam($params, "status", $this->status); |
|
54 | + $this->setUserParam($params, "update_end_time", $this->updateEndTime); |
|
55 | + $this->setUserParam($params, "update_start_time", $this->updateStartTime); |
|
56 | + $this->setUserParam($params, "quality_goods_invoice", $this->qualityGoodsInvoice); |
|
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.invoice.application.query"; |
|
73 | + } |
|
74 | + |
|
75 | + public function setOrderSn($orderSn) |
|
76 | + { |
|
77 | + $this->orderSn = $orderSn; |
|
78 | + } |
|
79 | + |
|
80 | + public function setPage($page) |
|
81 | + { |
|
82 | + $this->page = $page; |
|
83 | + } |
|
84 | + |
|
85 | + public function setPageSize($pageSize) |
|
86 | + { |
|
87 | + $this->pageSize = $pageSize; |
|
88 | + } |
|
89 | + |
|
90 | + public function setStatus($status) |
|
91 | + { |
|
92 | + $this->status = $status; |
|
93 | + } |
|
94 | + |
|
95 | + public function setUpdateEndTime($updateEndTime) |
|
96 | + { |
|
97 | + $this->updateEndTime = $updateEndTime; |
|
98 | + } |
|
99 | + |
|
100 | + public function setUpdateStartTime($updateStartTime) |
|
101 | + { |
|
102 | + $this->updateStartTime = $updateStartTime; |
|
103 | + } |
|
104 | + |
|
105 | + public function setQualityGoodsInvoice($qualityGoodsInvoice) |
|
106 | + { |
|
107 | + $this->qualityGoodsInvoice = $qualityGoodsInvoice; |
|
108 | + } |
|
109 | 109 | |
110 | 110 | } |
@@ -7,121 +7,121 @@ |
||
7 | 7 | class PddSmsDetailbillPushRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(String, "account") |
|
15 | - */ |
|
16 | - private $account; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(Long, "batch_version") |
|
20 | - */ |
|
21 | - private $batchVersion; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(String, "date") |
|
25 | - */ |
|
26 | - private $date; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddSmsDetailbillPushRequest_DetailsItem>, "details") |
|
30 | - */ |
|
31 | - private $details; |
|
32 | - |
|
33 | - protected function setUserParams(&$params) |
|
34 | - { |
|
35 | - $this->setUserParam($params, "account", $this->account); |
|
36 | - $this->setUserParam($params, "batch_version", $this->batchVersion); |
|
37 | - $this->setUserParam($params, "date", $this->date); |
|
38 | - $this->setUserParam($params, "details", $this->details); |
|
39 | - |
|
40 | - } |
|
41 | - |
|
42 | - public function getVersion() |
|
43 | - { |
|
44 | - return "V1"; |
|
45 | - } |
|
46 | - |
|
47 | - public function getDataType() |
|
48 | - { |
|
49 | - return "JSON"; |
|
50 | - } |
|
51 | - |
|
52 | - public function getType() |
|
53 | - { |
|
54 | - return "pdd.sms.detailbill.push"; |
|
55 | - } |
|
56 | - |
|
57 | - public function setAccount($account) |
|
58 | - { |
|
59 | - $this->account = $account; |
|
60 | - } |
|
61 | - |
|
62 | - public function setBatchVersion($batchVersion) |
|
63 | - { |
|
64 | - $this->batchVersion = $batchVersion; |
|
65 | - } |
|
66 | - |
|
67 | - public function setDate($date) |
|
68 | - { |
|
69 | - $this->date = $date; |
|
70 | - } |
|
71 | - |
|
72 | - public function setDetails($details) |
|
73 | - { |
|
74 | - $this->details = $details; |
|
75 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "account") |
|
15 | + */ |
|
16 | + private $account; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(Long, "batch_version") |
|
20 | + */ |
|
21 | + private $batchVersion; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(String, "date") |
|
25 | + */ |
|
26 | + private $date; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddSmsDetailbillPushRequest_DetailsItem>, "details") |
|
30 | + */ |
|
31 | + private $details; |
|
32 | + |
|
33 | + protected function setUserParams(&$params) |
|
34 | + { |
|
35 | + $this->setUserParam($params, "account", $this->account); |
|
36 | + $this->setUserParam($params, "batch_version", $this->batchVersion); |
|
37 | + $this->setUserParam($params, "date", $this->date); |
|
38 | + $this->setUserParam($params, "details", $this->details); |
|
39 | + |
|
40 | + } |
|
41 | + |
|
42 | + public function getVersion() |
|
43 | + { |
|
44 | + return "V1"; |
|
45 | + } |
|
46 | + |
|
47 | + public function getDataType() |
|
48 | + { |
|
49 | + return "JSON"; |
|
50 | + } |
|
51 | + |
|
52 | + public function getType() |
|
53 | + { |
|
54 | + return "pdd.sms.detailbill.push"; |
|
55 | + } |
|
56 | + |
|
57 | + public function setAccount($account) |
|
58 | + { |
|
59 | + $this->account = $account; |
|
60 | + } |
|
61 | + |
|
62 | + public function setBatchVersion($batchVersion) |
|
63 | + { |
|
64 | + $this->batchVersion = $batchVersion; |
|
65 | + } |
|
66 | + |
|
67 | + public function setDate($date) |
|
68 | + { |
|
69 | + $this->date = $date; |
|
70 | + } |
|
71 | + |
|
72 | + public function setDetails($details) |
|
73 | + { |
|
74 | + $this->details = $details; |
|
75 | + } |
|
76 | 76 | |
77 | 77 | } |
78 | 78 | |
79 | 79 | class PddSmsDetailbillPushRequest_DetailsItem extends PopBaseJsonEntity |
80 | 80 | { |
81 | 81 | |
82 | - public function __construct() |
|
83 | - { |
|
84 | - |
|
85 | - } |
|
86 | - |
|
87 | - /** |
|
88 | - * @JsonProperty(String, "deliver_time") |
|
89 | - */ |
|
90 | - private $deliverTime; |
|
91 | - |
|
92 | - /** |
|
93 | - * @JsonProperty(String, "error_code") |
|
94 | - */ |
|
95 | - private $errorCode; |
|
96 | - |
|
97 | - /** |
|
98 | - * @JsonProperty(Long, "msg_id") |
|
99 | - */ |
|
100 | - private $msgId; |
|
101 | - |
|
102 | - /** |
|
103 | - * @JsonProperty(String, "submit_time") |
|
104 | - */ |
|
105 | - private $submitTime; |
|
106 | - |
|
107 | - public function setDeliverTime($deliverTime) |
|
108 | - { |
|
109 | - $this->deliverTime = $deliverTime; |
|
110 | - } |
|
111 | - |
|
112 | - public function setErrorCode($errorCode) |
|
113 | - { |
|
114 | - $this->errorCode = $errorCode; |
|
115 | - } |
|
116 | - |
|
117 | - public function setMsgId($msgId) |
|
118 | - { |
|
119 | - $this->msgId = $msgId; |
|
120 | - } |
|
121 | - |
|
122 | - public function setSubmitTime($submitTime) |
|
123 | - { |
|
124 | - $this->submitTime = $submitTime; |
|
125 | - } |
|
82 | + public function __construct() |
|
83 | + { |
|
84 | + |
|
85 | + } |
|
86 | + |
|
87 | + /** |
|
88 | + * @JsonProperty(String, "deliver_time") |
|
89 | + */ |
|
90 | + private $deliverTime; |
|
91 | + |
|
92 | + /** |
|
93 | + * @JsonProperty(String, "error_code") |
|
94 | + */ |
|
95 | + private $errorCode; |
|
96 | + |
|
97 | + /** |
|
98 | + * @JsonProperty(Long, "msg_id") |
|
99 | + */ |
|
100 | + private $msgId; |
|
101 | + |
|
102 | + /** |
|
103 | + * @JsonProperty(String, "submit_time") |
|
104 | + */ |
|
105 | + private $submitTime; |
|
106 | + |
|
107 | + public function setDeliverTime($deliverTime) |
|
108 | + { |
|
109 | + $this->deliverTime = $deliverTime; |
|
110 | + } |
|
111 | + |
|
112 | + public function setErrorCode($errorCode) |
|
113 | + { |
|
114 | + $this->errorCode = $errorCode; |
|
115 | + } |
|
116 | + |
|
117 | + public function setMsgId($msgId) |
|
118 | + { |
|
119 | + $this->msgId = $msgId; |
|
120 | + } |
|
121 | + |
|
122 | + public function setSubmitTime($submitTime) |
|
123 | + { |
|
124 | + $this->submitTime = $submitTime; |
|
125 | + } |
|
126 | 126 | |
127 | 127 | } |
@@ -7,38 +7,38 @@ |
||
7 | 7 | class PddLogisticsTicketImageUploadRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(String, "image") |
|
15 | - */ |
|
16 | - private $image; |
|
17 | - |
|
18 | - protected function setUserParams(&$params) |
|
19 | - { |
|
20 | - $this->setUserParam($params, "image", $this->image); |
|
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.logistics.ticket.image.upload"; |
|
37 | - } |
|
38 | - |
|
39 | - public function setImage($image) |
|
40 | - { |
|
41 | - $this->image = $image; |
|
42 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "image") |
|
15 | + */ |
|
16 | + private $image; |
|
17 | + |
|
18 | + protected function setUserParams(&$params) |
|
19 | + { |
|
20 | + $this->setUserParam($params, "image", $this->image); |
|
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.logistics.ticket.image.upload"; |
|
37 | + } |
|
38 | + |
|
39 | + public function setImage($image) |
|
40 | + { |
|
41 | + $this->image = $image; |
|
42 | + } |
|
43 | 43 | |
44 | 44 | } |
@@ -7,126 +7,126 @@ |
||
7 | 7 | class PddOrderNumberListIncrementGetRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(Integer, "is_lucky_flag") |
|
15 | - */ |
|
16 | - private $isLuckyFlag; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(Integer, "order_status") |
|
20 | - */ |
|
21 | - private $orderStatus; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(Long, "start_updated_at") |
|
25 | - */ |
|
26 | - private $startUpdatedAt; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(Long, "end_updated_at") |
|
30 | - */ |
|
31 | - private $endUpdatedAt; |
|
32 | - |
|
33 | - /** |
|
34 | - * @JsonProperty(Integer, "page_size") |
|
35 | - */ |
|
36 | - private $pageSize; |
|
37 | - |
|
38 | - /** |
|
39 | - * @JsonProperty(Integer, "page") |
|
40 | - */ |
|
41 | - private $page; |
|
42 | - |
|
43 | - /** |
|
44 | - * @JsonProperty(Integer, "refund_status") |
|
45 | - */ |
|
46 | - private $refundStatus; |
|
47 | - |
|
48 | - /** |
|
49 | - * @JsonProperty(Integer, "trade_type") |
|
50 | - */ |
|
51 | - private $tradeType; |
|
52 | - |
|
53 | - /** |
|
54 | - * @JsonProperty(Boolean, "use_has_next") |
|
55 | - */ |
|
56 | - private $useHasNext; |
|
57 | - |
|
58 | - protected function setUserParams(&$params) |
|
59 | - { |
|
60 | - $this->setUserParam($params, "is_lucky_flag", $this->isLuckyFlag); |
|
61 | - $this->setUserParam($params, "order_status", $this->orderStatus); |
|
62 | - $this->setUserParam($params, "start_updated_at", $this->startUpdatedAt); |
|
63 | - $this->setUserParam($params, "end_updated_at", $this->endUpdatedAt); |
|
64 | - $this->setUserParam($params, "page_size", $this->pageSize); |
|
65 | - $this->setUserParam($params, "page", $this->page); |
|
66 | - $this->setUserParam($params, "refund_status", $this->refundStatus); |
|
67 | - $this->setUserParam($params, "trade_type", $this->tradeType); |
|
68 | - $this->setUserParam($params, "use_has_next", $this->useHasNext); |
|
69 | - |
|
70 | - } |
|
71 | - |
|
72 | - public function getVersion() |
|
73 | - { |
|
74 | - return "V1"; |
|
75 | - } |
|
76 | - |
|
77 | - public function getDataType() |
|
78 | - { |
|
79 | - return "JSON"; |
|
80 | - } |
|
81 | - |
|
82 | - public function getType() |
|
83 | - { |
|
84 | - return "pdd.order.number.list.increment.get"; |
|
85 | - } |
|
86 | - |
|
87 | - public function setIsLuckyFlag($isLuckyFlag) |
|
88 | - { |
|
89 | - $this->isLuckyFlag = $isLuckyFlag; |
|
90 | - } |
|
91 | - |
|
92 | - public function setOrderStatus($orderStatus) |
|
93 | - { |
|
94 | - $this->orderStatus = $orderStatus; |
|
95 | - } |
|
96 | - |
|
97 | - public function setStartUpdatedAt($startUpdatedAt) |
|
98 | - { |
|
99 | - $this->startUpdatedAt = $startUpdatedAt; |
|
100 | - } |
|
101 | - |
|
102 | - public function setEndUpdatedAt($endUpdatedAt) |
|
103 | - { |
|
104 | - $this->endUpdatedAt = $endUpdatedAt; |
|
105 | - } |
|
106 | - |
|
107 | - public function setPageSize($pageSize) |
|
108 | - { |
|
109 | - $this->pageSize = $pageSize; |
|
110 | - } |
|
111 | - |
|
112 | - public function setPage($page) |
|
113 | - { |
|
114 | - $this->page = $page; |
|
115 | - } |
|
116 | - |
|
117 | - public function setRefundStatus($refundStatus) |
|
118 | - { |
|
119 | - $this->refundStatus = $refundStatus; |
|
120 | - } |
|
121 | - |
|
122 | - public function setTradeType($tradeType) |
|
123 | - { |
|
124 | - $this->tradeType = $tradeType; |
|
125 | - } |
|
126 | - |
|
127 | - public function setUseHasNext($useHasNext) |
|
128 | - { |
|
129 | - $this->useHasNext = $useHasNext; |
|
130 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(Integer, "is_lucky_flag") |
|
15 | + */ |
|
16 | + private $isLuckyFlag; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(Integer, "order_status") |
|
20 | + */ |
|
21 | + private $orderStatus; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(Long, "start_updated_at") |
|
25 | + */ |
|
26 | + private $startUpdatedAt; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(Long, "end_updated_at") |
|
30 | + */ |
|
31 | + private $endUpdatedAt; |
|
32 | + |
|
33 | + /** |
|
34 | + * @JsonProperty(Integer, "page_size") |
|
35 | + */ |
|
36 | + private $pageSize; |
|
37 | + |
|
38 | + /** |
|
39 | + * @JsonProperty(Integer, "page") |
|
40 | + */ |
|
41 | + private $page; |
|
42 | + |
|
43 | + /** |
|
44 | + * @JsonProperty(Integer, "refund_status") |
|
45 | + */ |
|
46 | + private $refundStatus; |
|
47 | + |
|
48 | + /** |
|
49 | + * @JsonProperty(Integer, "trade_type") |
|
50 | + */ |
|
51 | + private $tradeType; |
|
52 | + |
|
53 | + /** |
|
54 | + * @JsonProperty(Boolean, "use_has_next") |
|
55 | + */ |
|
56 | + private $useHasNext; |
|
57 | + |
|
58 | + protected function setUserParams(&$params) |
|
59 | + { |
|
60 | + $this->setUserParam($params, "is_lucky_flag", $this->isLuckyFlag); |
|
61 | + $this->setUserParam($params, "order_status", $this->orderStatus); |
|
62 | + $this->setUserParam($params, "start_updated_at", $this->startUpdatedAt); |
|
63 | + $this->setUserParam($params, "end_updated_at", $this->endUpdatedAt); |
|
64 | + $this->setUserParam($params, "page_size", $this->pageSize); |
|
65 | + $this->setUserParam($params, "page", $this->page); |
|
66 | + $this->setUserParam($params, "refund_status", $this->refundStatus); |
|
67 | + $this->setUserParam($params, "trade_type", $this->tradeType); |
|
68 | + $this->setUserParam($params, "use_has_next", $this->useHasNext); |
|
69 | + |
|
70 | + } |
|
71 | + |
|
72 | + public function getVersion() |
|
73 | + { |
|
74 | + return "V1"; |
|
75 | + } |
|
76 | + |
|
77 | + public function getDataType() |
|
78 | + { |
|
79 | + return "JSON"; |
|
80 | + } |
|
81 | + |
|
82 | + public function getType() |
|
83 | + { |
|
84 | + return "pdd.order.number.list.increment.get"; |
|
85 | + } |
|
86 | + |
|
87 | + public function setIsLuckyFlag($isLuckyFlag) |
|
88 | + { |
|
89 | + $this->isLuckyFlag = $isLuckyFlag; |
|
90 | + } |
|
91 | + |
|
92 | + public function setOrderStatus($orderStatus) |
|
93 | + { |
|
94 | + $this->orderStatus = $orderStatus; |
|
95 | + } |
|
96 | + |
|
97 | + public function setStartUpdatedAt($startUpdatedAt) |
|
98 | + { |
|
99 | + $this->startUpdatedAt = $startUpdatedAt; |
|
100 | + } |
|
101 | + |
|
102 | + public function setEndUpdatedAt($endUpdatedAt) |
|
103 | + { |
|
104 | + $this->endUpdatedAt = $endUpdatedAt; |
|
105 | + } |
|
106 | + |
|
107 | + public function setPageSize($pageSize) |
|
108 | + { |
|
109 | + $this->pageSize = $pageSize; |
|
110 | + } |
|
111 | + |
|
112 | + public function setPage($page) |
|
113 | + { |
|
114 | + $this->page = $page; |
|
115 | + } |
|
116 | + |
|
117 | + public function setRefundStatus($refundStatus) |
|
118 | + { |
|
119 | + $this->refundStatus = $refundStatus; |
|
120 | + } |
|
121 | + |
|
122 | + public function setTradeType($tradeType) |
|
123 | + { |
|
124 | + $this->tradeType = $tradeType; |
|
125 | + } |
|
126 | + |
|
127 | + public function setUseHasNext($useHasNext) |
|
128 | + { |
|
129 | + $this->useHasNext = $useHasNext; |
|
130 | + } |
|
131 | 131 | |
132 | 132 | } |
@@ -7,79 +7,79 @@ |
||
7 | 7 | class PddStockWareSkuUpdateRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(Long, "ware_id") |
|
15 | - */ |
|
16 | - private $wareId; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddStockWareSkuUpdateRequest_WareSkusItem>, "ware_skus") |
|
20 | - */ |
|
21 | - private $wareSkus; |
|
22 | - |
|
23 | - protected function setUserParams(&$params) |
|
24 | - { |
|
25 | - $this->setUserParam($params, "ware_id", $this->wareId); |
|
26 | - $this->setUserParam($params, "ware_skus", $this->wareSkus); |
|
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.sku.update"; |
|
43 | - } |
|
44 | - |
|
45 | - public function setWareId($wareId) |
|
46 | - { |
|
47 | - $this->wareId = $wareId; |
|
48 | - } |
|
49 | - |
|
50 | - public function setWareSkus($wareSkus) |
|
51 | - { |
|
52 | - $this->wareSkus = $wareSkus; |
|
53 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(Long, "ware_id") |
|
15 | + */ |
|
16 | + private $wareId; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddStockWareSkuUpdateRequest_WareSkusItem>, "ware_skus") |
|
20 | + */ |
|
21 | + private $wareSkus; |
|
22 | + |
|
23 | + protected function setUserParams(&$params) |
|
24 | + { |
|
25 | + $this->setUserParam($params, "ware_id", $this->wareId); |
|
26 | + $this->setUserParam($params, "ware_skus", $this->wareSkus); |
|
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.sku.update"; |
|
43 | + } |
|
44 | + |
|
45 | + public function setWareId($wareId) |
|
46 | + { |
|
47 | + $this->wareId = $wareId; |
|
48 | + } |
|
49 | + |
|
50 | + public function setWareSkus($wareSkus) |
|
51 | + { |
|
52 | + $this->wareSkus = $wareSkus; |
|
53 | + } |
|
54 | 54 | |
55 | 55 | } |
56 | 56 | |
57 | 57 | class PddStockWareSkuUpdateRequest_WareSkusItem extends PopBaseJsonEntity |
58 | 58 | { |
59 | 59 | |
60 | - public function __construct() |
|
61 | - { |
|
60 | + public function __construct() |
|
61 | + { |
|
62 | 62 | |
63 | - } |
|
63 | + } |
|
64 | 64 | |
65 | - /** |
|
66 | - * @JsonProperty(Long, "sku_id") |
|
67 | - */ |
|
68 | - private $skuId; |
|
65 | + /** |
|
66 | + * @JsonProperty(Long, "sku_id") |
|
67 | + */ |
|
68 | + private $skuId; |
|
69 | 69 | |
70 | - /** |
|
71 | - * @JsonProperty(Long, "goods_id") |
|
72 | - */ |
|
73 | - private $goodsId; |
|
70 | + /** |
|
71 | + * @JsonProperty(Long, "goods_id") |
|
72 | + */ |
|
73 | + private $goodsId; |
|
74 | 74 | |
75 | - public function setSkuId($skuId) |
|
76 | - { |
|
77 | - $this->skuId = $skuId; |
|
78 | - } |
|
75 | + public function setSkuId($skuId) |
|
76 | + { |
|
77 | + $this->skuId = $skuId; |
|
78 | + } |
|
79 | 79 | |
80 | - public function setGoodsId($goodsId) |
|
81 | - { |
|
82 | - $this->goodsId = $goodsId; |
|
83 | - } |
|
80 | + public function setGoodsId($goodsId) |
|
81 | + { |
|
82 | + $this->goodsId = $goodsId; |
|
83 | + } |
|
84 | 84 | |
85 | 85 | } |
@@ -7,181 +7,181 @@ |
||
7 | 7 | class PddMallInfoStoreCreatePostRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(Integer, "business_status") |
|
15 | - */ |
|
16 | - private $businessStatus; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(List<Integer>, "business_week_list") |
|
20 | - */ |
|
21 | - private $businessWeekList; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(String, "city") |
|
25 | - */ |
|
26 | - private $city; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(String, "district") |
|
30 | - */ |
|
31 | - private $district; |
|
32 | - |
|
33 | - /** |
|
34 | - * @JsonProperty(String, "end_business_hour") |
|
35 | - */ |
|
36 | - private $endBusinessHour; |
|
37 | - |
|
38 | - /** |
|
39 | - * @JsonProperty(String, "poi_id") |
|
40 | - */ |
|
41 | - private $poiId; |
|
42 | - |
|
43 | - /** |
|
44 | - * @JsonProperty(Double, "poi_latitude") |
|
45 | - */ |
|
46 | - private $poiLatitude; |
|
47 | - |
|
48 | - /** |
|
49 | - * @JsonProperty(Double, "poi_longitude") |
|
50 | - */ |
|
51 | - private $poiLongitude; |
|
52 | - |
|
53 | - /** |
|
54 | - * @JsonProperty(String, "province") |
|
55 | - */ |
|
56 | - private $province; |
|
57 | - |
|
58 | - /** |
|
59 | - * @JsonProperty(String, "start_business_hour") |
|
60 | - */ |
|
61 | - private $startBusinessHour; |
|
62 | - |
|
63 | - /** |
|
64 | - * @JsonProperty(String, "store_name") |
|
65 | - */ |
|
66 | - private $storeName; |
|
67 | - |
|
68 | - /** |
|
69 | - * @JsonProperty(String, "store_number") |
|
70 | - */ |
|
71 | - private $storeNumber; |
|
72 | - |
|
73 | - /** |
|
74 | - * @JsonProperty(String, "store_phone") |
|
75 | - */ |
|
76 | - private $storePhone; |
|
77 | - |
|
78 | - /** |
|
79 | - * @JsonProperty(Integer, "trade_type") |
|
80 | - */ |
|
81 | - private $tradeType; |
|
82 | - |
|
83 | - protected function setUserParams(&$params) |
|
84 | - { |
|
85 | - $this->setUserParam($params, "business_status", $this->businessStatus); |
|
86 | - $this->setUserParam($params, "business_week_list", $this->businessWeekList); |
|
87 | - $this->setUserParam($params, "city", $this->city); |
|
88 | - $this->setUserParam($params, "district", $this->district); |
|
89 | - $this->setUserParam($params, "end_business_hour", $this->endBusinessHour); |
|
90 | - $this->setUserParam($params, "poi_id", $this->poiId); |
|
91 | - $this->setUserParam($params, "poi_latitude", $this->poiLatitude); |
|
92 | - $this->setUserParam($params, "poi_longitude", $this->poiLongitude); |
|
93 | - $this->setUserParam($params, "province", $this->province); |
|
94 | - $this->setUserParam($params, "start_business_hour", $this->startBusinessHour); |
|
95 | - $this->setUserParam($params, "store_name", $this->storeName); |
|
96 | - $this->setUserParam($params, "store_number", $this->storeNumber); |
|
97 | - $this->setUserParam($params, "store_phone", $this->storePhone); |
|
98 | - $this->setUserParam($params, "trade_type", $this->tradeType); |
|
99 | - |
|
100 | - } |
|
101 | - |
|
102 | - public function getVersion() |
|
103 | - { |
|
104 | - return "V1"; |
|
105 | - } |
|
106 | - |
|
107 | - public function getDataType() |
|
108 | - { |
|
109 | - return "JSON"; |
|
110 | - } |
|
111 | - |
|
112 | - public function getType() |
|
113 | - { |
|
114 | - return "pdd.mall.info.store.create.post"; |
|
115 | - } |
|
116 | - |
|
117 | - public function setBusinessStatus($businessStatus) |
|
118 | - { |
|
119 | - $this->businessStatus = $businessStatus; |
|
120 | - } |
|
121 | - |
|
122 | - public function setBusinessWeekList($businessWeekList) |
|
123 | - { |
|
124 | - $this->businessWeekList = $businessWeekList; |
|
125 | - } |
|
126 | - |
|
127 | - public function setCity($city) |
|
128 | - { |
|
129 | - $this->city = $city; |
|
130 | - } |
|
131 | - |
|
132 | - public function setDistrict($district) |
|
133 | - { |
|
134 | - $this->district = $district; |
|
135 | - } |
|
136 | - |
|
137 | - public function setEndBusinessHour($endBusinessHour) |
|
138 | - { |
|
139 | - $this->endBusinessHour = $endBusinessHour; |
|
140 | - } |
|
141 | - |
|
142 | - public function setPoiId($poiId) |
|
143 | - { |
|
144 | - $this->poiId = $poiId; |
|
145 | - } |
|
146 | - |
|
147 | - public function setPoiLatitude($poiLatitude) |
|
148 | - { |
|
149 | - $this->poiLatitude = $poiLatitude; |
|
150 | - } |
|
151 | - |
|
152 | - public function setPoiLongitude($poiLongitude) |
|
153 | - { |
|
154 | - $this->poiLongitude = $poiLongitude; |
|
155 | - } |
|
156 | - |
|
157 | - public function setProvince($province) |
|
158 | - { |
|
159 | - $this->province = $province; |
|
160 | - } |
|
161 | - |
|
162 | - public function setStartBusinessHour($startBusinessHour) |
|
163 | - { |
|
164 | - $this->startBusinessHour = $startBusinessHour; |
|
165 | - } |
|
166 | - |
|
167 | - public function setStoreName($storeName) |
|
168 | - { |
|
169 | - $this->storeName = $storeName; |
|
170 | - } |
|
171 | - |
|
172 | - public function setStoreNumber($storeNumber) |
|
173 | - { |
|
174 | - $this->storeNumber = $storeNumber; |
|
175 | - } |
|
176 | - |
|
177 | - public function setStorePhone($storePhone) |
|
178 | - { |
|
179 | - $this->storePhone = $storePhone; |
|
180 | - } |
|
181 | - |
|
182 | - public function setTradeType($tradeType) |
|
183 | - { |
|
184 | - $this->tradeType = $tradeType; |
|
185 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(Integer, "business_status") |
|
15 | + */ |
|
16 | + private $businessStatus; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(List<Integer>, "business_week_list") |
|
20 | + */ |
|
21 | + private $businessWeekList; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(String, "city") |
|
25 | + */ |
|
26 | + private $city; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(String, "district") |
|
30 | + */ |
|
31 | + private $district; |
|
32 | + |
|
33 | + /** |
|
34 | + * @JsonProperty(String, "end_business_hour") |
|
35 | + */ |
|
36 | + private $endBusinessHour; |
|
37 | + |
|
38 | + /** |
|
39 | + * @JsonProperty(String, "poi_id") |
|
40 | + */ |
|
41 | + private $poiId; |
|
42 | + |
|
43 | + /** |
|
44 | + * @JsonProperty(Double, "poi_latitude") |
|
45 | + */ |
|
46 | + private $poiLatitude; |
|
47 | + |
|
48 | + /** |
|
49 | + * @JsonProperty(Double, "poi_longitude") |
|
50 | + */ |
|
51 | + private $poiLongitude; |
|
52 | + |
|
53 | + /** |
|
54 | + * @JsonProperty(String, "province") |
|
55 | + */ |
|
56 | + private $province; |
|
57 | + |
|
58 | + /** |
|
59 | + * @JsonProperty(String, "start_business_hour") |
|
60 | + */ |
|
61 | + private $startBusinessHour; |
|
62 | + |
|
63 | + /** |
|
64 | + * @JsonProperty(String, "store_name") |
|
65 | + */ |
|
66 | + private $storeName; |
|
67 | + |
|
68 | + /** |
|
69 | + * @JsonProperty(String, "store_number") |
|
70 | + */ |
|
71 | + private $storeNumber; |
|
72 | + |
|
73 | + /** |
|
74 | + * @JsonProperty(String, "store_phone") |
|
75 | + */ |
|
76 | + private $storePhone; |
|
77 | + |
|
78 | + /** |
|
79 | + * @JsonProperty(Integer, "trade_type") |
|
80 | + */ |
|
81 | + private $tradeType; |
|
82 | + |
|
83 | + protected function setUserParams(&$params) |
|
84 | + { |
|
85 | + $this->setUserParam($params, "business_status", $this->businessStatus); |
|
86 | + $this->setUserParam($params, "business_week_list", $this->businessWeekList); |
|
87 | + $this->setUserParam($params, "city", $this->city); |
|
88 | + $this->setUserParam($params, "district", $this->district); |
|
89 | + $this->setUserParam($params, "end_business_hour", $this->endBusinessHour); |
|
90 | + $this->setUserParam($params, "poi_id", $this->poiId); |
|
91 | + $this->setUserParam($params, "poi_latitude", $this->poiLatitude); |
|
92 | + $this->setUserParam($params, "poi_longitude", $this->poiLongitude); |
|
93 | + $this->setUserParam($params, "province", $this->province); |
|
94 | + $this->setUserParam($params, "start_business_hour", $this->startBusinessHour); |
|
95 | + $this->setUserParam($params, "store_name", $this->storeName); |
|
96 | + $this->setUserParam($params, "store_number", $this->storeNumber); |
|
97 | + $this->setUserParam($params, "store_phone", $this->storePhone); |
|
98 | + $this->setUserParam($params, "trade_type", $this->tradeType); |
|
99 | + |
|
100 | + } |
|
101 | + |
|
102 | + public function getVersion() |
|
103 | + { |
|
104 | + return "V1"; |
|
105 | + } |
|
106 | + |
|
107 | + public function getDataType() |
|
108 | + { |
|
109 | + return "JSON"; |
|
110 | + } |
|
111 | + |
|
112 | + public function getType() |
|
113 | + { |
|
114 | + return "pdd.mall.info.store.create.post"; |
|
115 | + } |
|
116 | + |
|
117 | + public function setBusinessStatus($businessStatus) |
|
118 | + { |
|
119 | + $this->businessStatus = $businessStatus; |
|
120 | + } |
|
121 | + |
|
122 | + public function setBusinessWeekList($businessWeekList) |
|
123 | + { |
|
124 | + $this->businessWeekList = $businessWeekList; |
|
125 | + } |
|
126 | + |
|
127 | + public function setCity($city) |
|
128 | + { |
|
129 | + $this->city = $city; |
|
130 | + } |
|
131 | + |
|
132 | + public function setDistrict($district) |
|
133 | + { |
|
134 | + $this->district = $district; |
|
135 | + } |
|
136 | + |
|
137 | + public function setEndBusinessHour($endBusinessHour) |
|
138 | + { |
|
139 | + $this->endBusinessHour = $endBusinessHour; |
|
140 | + } |
|
141 | + |
|
142 | + public function setPoiId($poiId) |
|
143 | + { |
|
144 | + $this->poiId = $poiId; |
|
145 | + } |
|
146 | + |
|
147 | + public function setPoiLatitude($poiLatitude) |
|
148 | + { |
|
149 | + $this->poiLatitude = $poiLatitude; |
|
150 | + } |
|
151 | + |
|
152 | + public function setPoiLongitude($poiLongitude) |
|
153 | + { |
|
154 | + $this->poiLongitude = $poiLongitude; |
|
155 | + } |
|
156 | + |
|
157 | + public function setProvince($province) |
|
158 | + { |
|
159 | + $this->province = $province; |
|
160 | + } |
|
161 | + |
|
162 | + public function setStartBusinessHour($startBusinessHour) |
|
163 | + { |
|
164 | + $this->startBusinessHour = $startBusinessHour; |
|
165 | + } |
|
166 | + |
|
167 | + public function setStoreName($storeName) |
|
168 | + { |
|
169 | + $this->storeName = $storeName; |
|
170 | + } |
|
171 | + |
|
172 | + public function setStoreNumber($storeNumber) |
|
173 | + { |
|
174 | + $this->storeNumber = $storeNumber; |
|
175 | + } |
|
176 | + |
|
177 | + public function setStorePhone($storePhone) |
|
178 | + { |
|
179 | + $this->storePhone = $storePhone; |
|
180 | + } |
|
181 | + |
|
182 | + public function setTradeType($tradeType) |
|
183 | + { |
|
184 | + $this->tradeType = $tradeType; |
|
185 | + } |
|
186 | 186 | |
187 | 187 | } |
@@ -7,104 +7,104 @@ |
||
7 | 7 | class PddCloudSecurityEventTrackingLoginRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(String, "loginMessage") |
|
15 | - */ |
|
16 | - private $loginMessage; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(Boolean, "loginResult") |
|
20 | - */ |
|
21 | - private $loginResult; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(List<Long>, "mallIdList") |
|
25 | - */ |
|
26 | - private $mallIdList; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(String, "pati") |
|
30 | - */ |
|
31 | - private $pati; |
|
32 | - |
|
33 | - /** |
|
34 | - * @JsonProperty(Long, "timestamp") |
|
35 | - */ |
|
36 | - private $timestamp; |
|
37 | - |
|
38 | - /** |
|
39 | - * @JsonProperty(String, "userId") |
|
40 | - */ |
|
41 | - private $userId; |
|
42 | - |
|
43 | - /** |
|
44 | - * @JsonProperty(String, "userIp") |
|
45 | - */ |
|
46 | - private $userIp; |
|
47 | - |
|
48 | - protected function setUserParams(&$params) |
|
49 | - { |
|
50 | - $this->setUserParam($params, "loginMessage", $this->loginMessage); |
|
51 | - $this->setUserParam($params, "loginResult", $this->loginResult); |
|
52 | - $this->setUserParam($params, "mallIdList", $this->mallIdList); |
|
53 | - $this->setUserParam($params, "pati", $this->pati); |
|
54 | - $this->setUserParam($params, "timestamp", $this->timestamp); |
|
55 | - $this->setUserParam($params, "userId", $this->userId); |
|
56 | - $this->setUserParam($params, "userIp", $this->userIp); |
|
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.cloud.security.event.tracking.login"; |
|
73 | - } |
|
74 | - |
|
75 | - public function setLoginMessage($loginMessage) |
|
76 | - { |
|
77 | - $this->loginMessage = $loginMessage; |
|
78 | - } |
|
79 | - |
|
80 | - public function setLoginResult($loginResult) |
|
81 | - { |
|
82 | - $this->loginResult = $loginResult; |
|
83 | - } |
|
84 | - |
|
85 | - public function setMallIdList($mallIdList) |
|
86 | - { |
|
87 | - $this->mallIdList = $mallIdList; |
|
88 | - } |
|
89 | - |
|
90 | - public function setPati($pati) |
|
91 | - { |
|
92 | - $this->pati = $pati; |
|
93 | - } |
|
94 | - |
|
95 | - public function setTimestamp($timestamp) |
|
96 | - { |
|
97 | - $this->timestamp = $timestamp; |
|
98 | - } |
|
99 | - |
|
100 | - public function setUserId($userId) |
|
101 | - { |
|
102 | - $this->userId = $userId; |
|
103 | - } |
|
104 | - |
|
105 | - public function setUserIp($userIp) |
|
106 | - { |
|
107 | - $this->userIp = $userIp; |
|
108 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "loginMessage") |
|
15 | + */ |
|
16 | + private $loginMessage; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(Boolean, "loginResult") |
|
20 | + */ |
|
21 | + private $loginResult; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(List<Long>, "mallIdList") |
|
25 | + */ |
|
26 | + private $mallIdList; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(String, "pati") |
|
30 | + */ |
|
31 | + private $pati; |
|
32 | + |
|
33 | + /** |
|
34 | + * @JsonProperty(Long, "timestamp") |
|
35 | + */ |
|
36 | + private $timestamp; |
|
37 | + |
|
38 | + /** |
|
39 | + * @JsonProperty(String, "userId") |
|
40 | + */ |
|
41 | + private $userId; |
|
42 | + |
|
43 | + /** |
|
44 | + * @JsonProperty(String, "userIp") |
|
45 | + */ |
|
46 | + private $userIp; |
|
47 | + |
|
48 | + protected function setUserParams(&$params) |
|
49 | + { |
|
50 | + $this->setUserParam($params, "loginMessage", $this->loginMessage); |
|
51 | + $this->setUserParam($params, "loginResult", $this->loginResult); |
|
52 | + $this->setUserParam($params, "mallIdList", $this->mallIdList); |
|
53 | + $this->setUserParam($params, "pati", $this->pati); |
|
54 | + $this->setUserParam($params, "timestamp", $this->timestamp); |
|
55 | + $this->setUserParam($params, "userId", $this->userId); |
|
56 | + $this->setUserParam($params, "userIp", $this->userIp); |
|
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.cloud.security.event.tracking.login"; |
|
73 | + } |
|
74 | + |
|
75 | + public function setLoginMessage($loginMessage) |
|
76 | + { |
|
77 | + $this->loginMessage = $loginMessage; |
|
78 | + } |
|
79 | + |
|
80 | + public function setLoginResult($loginResult) |
|
81 | + { |
|
82 | + $this->loginResult = $loginResult; |
|
83 | + } |
|
84 | + |
|
85 | + public function setMallIdList($mallIdList) |
|
86 | + { |
|
87 | + $this->mallIdList = $mallIdList; |
|
88 | + } |
|
89 | + |
|
90 | + public function setPati($pati) |
|
91 | + { |
|
92 | + $this->pati = $pati; |
|
93 | + } |
|
94 | + |
|
95 | + public function setTimestamp($timestamp) |
|
96 | + { |
|
97 | + $this->timestamp = $timestamp; |
|
98 | + } |
|
99 | + |
|
100 | + public function setUserId($userId) |
|
101 | + { |
|
102 | + $this->userId = $userId; |
|
103 | + } |
|
104 | + |
|
105 | + public function setUserIp($userIp) |
|
106 | + { |
|
107 | + $this->userIp = $userIp; |
|
108 | + } |
|
109 | 109 | |
110 | 110 | } |
@@ -7,49 +7,49 @@ |
||
7 | 7 | class PddGoodsCommitDetailGetRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(Long, "goods_commit_id") |
|
15 | - */ |
|
16 | - private $goodsCommitId; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(Long, "goods_id") |
|
20 | - */ |
|
21 | - private $goodsId; |
|
22 | - |
|
23 | - protected function setUserParams(&$params) |
|
24 | - { |
|
25 | - $this->setUserParam($params, "goods_commit_id", $this->goodsCommitId); |
|
26 | - $this->setUserParam($params, "goods_id", $this->goodsId); |
|
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.commit.detail.get"; |
|
43 | - } |
|
44 | - |
|
45 | - public function setGoodsCommitId($goodsCommitId) |
|
46 | - { |
|
47 | - $this->goodsCommitId = $goodsCommitId; |
|
48 | - } |
|
49 | - |
|
50 | - public function setGoodsId($goodsId) |
|
51 | - { |
|
52 | - $this->goodsId = $goodsId; |
|
53 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(Long, "goods_commit_id") |
|
15 | + */ |
|
16 | + private $goodsCommitId; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(Long, "goods_id") |
|
20 | + */ |
|
21 | + private $goodsId; |
|
22 | + |
|
23 | + protected function setUserParams(&$params) |
|
24 | + { |
|
25 | + $this->setUserParam($params, "goods_commit_id", $this->goodsCommitId); |
|
26 | + $this->setUserParam($params, "goods_id", $this->goodsId); |
|
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.commit.detail.get"; |
|
43 | + } |
|
44 | + |
|
45 | + public function setGoodsCommitId($goodsCommitId) |
|
46 | + { |
|
47 | + $this->goodsCommitId = $goodsCommitId; |
|
48 | + } |
|
49 | + |
|
50 | + public function setGoodsId($goodsId) |
|
51 | + { |
|
52 | + $this->goodsId = $goodsId; |
|
53 | + } |
|
54 | 54 | |
55 | 55 | } |
@@ -7,71 +7,71 @@ |
||
7 | 7 | class PddExpressSearchDepotRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(String, "code") |
|
15 | - */ |
|
16 | - private $code; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(Integer, "length") |
|
20 | - */ |
|
21 | - private $length; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(String, "name") |
|
25 | - */ |
|
26 | - private $name; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(Integer, "start") |
|
30 | - */ |
|
31 | - private $start; |
|
32 | - |
|
33 | - protected function setUserParams(&$params) |
|
34 | - { |
|
35 | - $this->setUserParam($params, "code", $this->code); |
|
36 | - $this->setUserParam($params, "length", $this->length); |
|
37 | - $this->setUserParam($params, "name", $this->name); |
|
38 | - $this->setUserParam($params, "start", $this->start); |
|
39 | - |
|
40 | - } |
|
41 | - |
|
42 | - public function getVersion() |
|
43 | - { |
|
44 | - return "V1"; |
|
45 | - } |
|
46 | - |
|
47 | - public function getDataType() |
|
48 | - { |
|
49 | - return "JSON"; |
|
50 | - } |
|
51 | - |
|
52 | - public function getType() |
|
53 | - { |
|
54 | - return "pdd.express.search.depot"; |
|
55 | - } |
|
56 | - |
|
57 | - public function setCode($code) |
|
58 | - { |
|
59 | - $this->code = $code; |
|
60 | - } |
|
61 | - |
|
62 | - public function setLength($length) |
|
63 | - { |
|
64 | - $this->length = $length; |
|
65 | - } |
|
66 | - |
|
67 | - public function setName($name) |
|
68 | - { |
|
69 | - $this->name = $name; |
|
70 | - } |
|
71 | - |
|
72 | - public function setStart($start) |
|
73 | - { |
|
74 | - $this->start = $start; |
|
75 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "code") |
|
15 | + */ |
|
16 | + private $code; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(Integer, "length") |
|
20 | + */ |
|
21 | + private $length; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(String, "name") |
|
25 | + */ |
|
26 | + private $name; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(Integer, "start") |
|
30 | + */ |
|
31 | + private $start; |
|
32 | + |
|
33 | + protected function setUserParams(&$params) |
|
34 | + { |
|
35 | + $this->setUserParam($params, "code", $this->code); |
|
36 | + $this->setUserParam($params, "length", $this->length); |
|
37 | + $this->setUserParam($params, "name", $this->name); |
|
38 | + $this->setUserParam($params, "start", $this->start); |
|
39 | + |
|
40 | + } |
|
41 | + |
|
42 | + public function getVersion() |
|
43 | + { |
|
44 | + return "V1"; |
|
45 | + } |
|
46 | + |
|
47 | + public function getDataType() |
|
48 | + { |
|
49 | + return "JSON"; |
|
50 | + } |
|
51 | + |
|
52 | + public function getType() |
|
53 | + { |
|
54 | + return "pdd.express.search.depot"; |
|
55 | + } |
|
56 | + |
|
57 | + public function setCode($code) |
|
58 | + { |
|
59 | + $this->code = $code; |
|
60 | + } |
|
61 | + |
|
62 | + public function setLength($length) |
|
63 | + { |
|
64 | + $this->length = $length; |
|
65 | + } |
|
66 | + |
|
67 | + public function setName($name) |
|
68 | + { |
|
69 | + $this->name = $name; |
|
70 | + } |
|
71 | + |
|
72 | + public function setStart($start) |
|
73 | + { |
|
74 | + $this->start = $start; |
|
75 | + } |
|
76 | 76 | |
77 | 77 | } |