Passed
Push — v6 ( fe399c...515a76 )
by 光春
06:18
created
pinduoduo/bin/src/Api/Request/PddPromotionCouponQuantityAddRequest.php 1 patch
Indentation   +44 added lines, -44 removed lines patch added patch discarded remove patch
@@ -7,49 +7,49 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
pinduoduo/bin/src/Api/Request/PddAdApiReportEntityReportQueryRequest.php 1 patch
Indentation   +151 added lines, -151 removed lines patch added patch discarded remove patch
@@ -7,167 +7,167 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
service/pinduoduo/bin/src/Api/Request/PddInvoiceDetailInvalidRequest.php 1 patch
Indentation   +33 added lines, -33 removed lines patch added patch discarded remove patch
@@ -7,38 +7,38 @@
 block discarded – undo
7 7
 class 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
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddStockWareMoveRequest.php 1 patch
Indentation   +142 added lines, -142 removed lines patch added patch discarded remove patch
@@ -7,159 +7,159 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
service/pinduoduo/bin/src/Api/Request/PddStockWareDetailQueryRequest.php 1 patch
Indentation   +33 added lines, -33 removed lines patch added patch discarded remove patch
@@ -7,38 +7,38 @@
 block discarded – undo
7 7
 class 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
 }
Please login to merge, or discard this patch.
service/pinduoduo/bin/src/Api/Request/PddGoodsCpsMallUnitChangeRequest.php 1 patch
Indentation   +33 added lines, -33 removed lines patch added patch discarded remove patch
@@ -7,38 +7,38 @@
 block discarded – undo
7 7
 class 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
 }
Please login to merge, or discard this patch.
service/pinduoduo/bin/src/Api/Request/PddLogisticsCsSessionCloseRequest.php 1 patch
Indentation   +44 added lines, -44 removed lines patch added patch discarded remove patch
@@ -7,60 +7,60 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddGoodsSaleStatusSetRequest.php 1 patch
Indentation   +44 added lines, -44 removed lines patch added patch discarded remove patch
@@ -7,49 +7,49 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
bin/src/Api/Request/PddEinvoiceVendorRuihongIssueRedInvoiceRequest.php 1 patch
Indentation   +250 added lines, -250 removed lines patch added patch discarded remove patch
@@ -7,288 +7,288 @@
 block discarded – undo
7 7
 class PddEinvoiceVendorRuihongIssueRedInvoiceRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
10
+    {
11 11
 
12
-	}
13
-	/**
14
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceVendorRuihongIssueRedInvoiceRequest_Request, "request")
15
-	*/
16
-	private $request;
12
+    }
13
+    /**
14
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceVendorRuihongIssueRedInvoiceRequest_Request, "request")
15
+     */
16
+    private $request;
17 17
 
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "request", $this->request);
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "request", $this->request);
21 21
 
22
-	}
22
+    }
23 23
 
24
-	public function getVersion()
25
-	{
26
-		return "V1";
27
-	}
24
+    public function getVersion()
25
+    {
26
+        return "V1";
27
+    }
28 28
 
29
-	public function getDataType()
30
-	{
31
-		return "JSON";
32
-	}
29
+    public function getDataType()
30
+    {
31
+        return "JSON";
32
+    }
33 33
 
34
-	public function getType()
35
-	{
36
-		return "pdd.einvoice.vendor.ruihong.issue.red.invoice";
37
-	}
34
+    public function getType()
35
+    {
36
+        return "pdd.einvoice.vendor.ruihong.issue.red.invoice";
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 PddEinvoiceVendorRuihongIssueRedInvoiceRequest_Request extends PopBaseJsonEntity
47 47
 {
48 48
 
49
-	public function __construct()
50
-	{
51
-
52
-	}
53
-
54
-	/**
55
-	* @JsonProperty(String, "serialNo")
56
-	*/
57
-	private $serialNo;
58
-
59
-	/**
60
-	* @JsonProperty(String, "postTime")
61
-	*/
62
-	private $postTime;
63
-
64
-	/**
65
-	* @JsonProperty(String, "originalCode")
66
-	*/
67
-	private $originalCode;
68
-
69
-	/**
70
-	* @JsonProperty(String, "reason")
71
-	*/
72
-	private $reason;
73
-
74
-	/**
75
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceVendorRuihongIssueRedInvoiceRequest_RequestItemsItem>, "items")
76
-	*/
77
-	private $items;
78
-
79
-	/**
80
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceVendorRuihongIssueRedInvoiceRequest_RequestExtendedParams, "extendedParams")
81
-	*/
82
-	private $extendedParams;
83
-
84
-	/**
85
-	* @JsonProperty(String, "appCode")
86
-	*/
87
-	private $appCode;
88
-
89
-	/**
90
-	* @JsonProperty(String, "cmdName")
91
-	*/
92
-	private $cmdName;
93
-
94
-	/**
95
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceVendorRuihongIssueRedInvoiceRequest_RequestDynamicParams, "dynamicParams")
96
-	*/
97
-	private $dynamicParams;
98
-
99
-	public function setSerialNo($serialNo)
100
-	{
101
-		$this->serialNo = $serialNo;
102
-	}
103
-
104
-	public function setPostTime($postTime)
105
-	{
106
-		$this->postTime = $postTime;
107
-	}
108
-
109
-	public function setOriginalCode($originalCode)
110
-	{
111
-		$this->originalCode = $originalCode;
112
-	}
113
-
114
-	public function setReason($reason)
115
-	{
116
-		$this->reason = $reason;
117
-	}
118
-
119
-	public function setItems($items)
120
-	{
121
-		$this->items = $items;
122
-	}
123
-
124
-	public function setExtendedParams($extendedParams)
125
-	{
126
-		$this->extendedParams = $extendedParams;
127
-	}
128
-
129
-	public function setAppCode($appCode)
130
-	{
131
-		$this->appCode = $appCode;
132
-	}
133
-
134
-	public function setCmdName($cmdName)
135
-	{
136
-		$this->cmdName = $cmdName;
137
-	}
138
-
139
-	public function setDynamicParams($dynamicParams)
140
-	{
141
-		$this->dynamicParams = $dynamicParams;
142
-	}
49
+    public function __construct()
50
+    {
51
+
52
+    }
53
+
54
+    /**
55
+     * @JsonProperty(String, "serialNo")
56
+     */
57
+    private $serialNo;
58
+
59
+    /**
60
+     * @JsonProperty(String, "postTime")
61
+     */
62
+    private $postTime;
63
+
64
+    /**
65
+     * @JsonProperty(String, "originalCode")
66
+     */
67
+    private $originalCode;
68
+
69
+    /**
70
+     * @JsonProperty(String, "reason")
71
+     */
72
+    private $reason;
73
+
74
+    /**
75
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceVendorRuihongIssueRedInvoiceRequest_RequestItemsItem>, "items")
76
+     */
77
+    private $items;
78
+
79
+    /**
80
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceVendorRuihongIssueRedInvoiceRequest_RequestExtendedParams, "extendedParams")
81
+     */
82
+    private $extendedParams;
83
+
84
+    /**
85
+     * @JsonProperty(String, "appCode")
86
+     */
87
+    private $appCode;
88
+
89
+    /**
90
+     * @JsonProperty(String, "cmdName")
91
+     */
92
+    private $cmdName;
93
+
94
+    /**
95
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceVendorRuihongIssueRedInvoiceRequest_RequestDynamicParams, "dynamicParams")
96
+     */
97
+    private $dynamicParams;
98
+
99
+    public function setSerialNo($serialNo)
100
+    {
101
+        $this->serialNo = $serialNo;
102
+    }
103
+
104
+    public function setPostTime($postTime)
105
+    {
106
+        $this->postTime = $postTime;
107
+    }
108
+
109
+    public function setOriginalCode($originalCode)
110
+    {
111
+        $this->originalCode = $originalCode;
112
+    }
113
+
114
+    public function setReason($reason)
115
+    {
116
+        $this->reason = $reason;
117
+    }
118
+
119
+    public function setItems($items)
120
+    {
121
+        $this->items = $items;
122
+    }
123
+
124
+    public function setExtendedParams($extendedParams)
125
+    {
126
+        $this->extendedParams = $extendedParams;
127
+    }
128
+
129
+    public function setAppCode($appCode)
130
+    {
131
+        $this->appCode = $appCode;
132
+    }
133
+
134
+    public function setCmdName($cmdName)
135
+    {
136
+        $this->cmdName = $cmdName;
137
+    }
138
+
139
+    public function setDynamicParams($dynamicParams)
140
+    {
141
+        $this->dynamicParams = $dynamicParams;
142
+    }
143 143
 
144 144
 }
145 145
 
146 146
 class PddEinvoiceVendorRuihongIssueRedInvoiceRequest_RequestItemsItem extends PopBaseJsonEntity
147 147
 {
148 148
 
149
-	public function __construct()
150
-	{
151
-
152
-	}
153
-
154
-	/**
155
-	* @JsonProperty(String, "type")
156
-	*/
157
-	private $type;
158
-
159
-	/**
160
-	* @JsonProperty(String, "name")
161
-	*/
162
-	private $name;
163
-
164
-	/**
165
-	* @JsonProperty(String, "spec")
166
-	*/
167
-	private $spec;
168
-
169
-	/**
170
-	* @JsonProperty(String, "price")
171
-	*/
172
-	private $price;
173
-
174
-	/**
175
-	* @JsonProperty(String, "quantity")
176
-	*/
177
-	private $quantity;
178
-
179
-	/**
180
-	* @JsonProperty(String, "uom")
181
-	*/
182
-	private $uom;
183
-
184
-	/**
185
-	* @JsonProperty(String, "taxRate")
186
-	*/
187
-	private $taxRate;
188
-
189
-	/**
190
-	* @JsonProperty(String, "amount")
191
-	*/
192
-	private $amount;
193
-
194
-	/**
195
-	* @JsonProperty(String, "catalogCode")
196
-	*/
197
-	private $catalogCode;
198
-
199
-	/**
200
-	* @JsonProperty(String, "preferentialPolicyFlg")
201
-	*/
202
-	private $preferentialPolicyFlg;
203
-
204
-	/**
205
-	* @JsonProperty(String, "addedValueTaxFlg")
206
-	*/
207
-	private $addedValueTaxFlg;
208
-
209
-	/**
210
-	* @JsonProperty(String, "zeroTaxRateFlg")
211
-	*/
212
-	private $zeroTaxRateFlg;
213
-
214
-	public function setType($type)
215
-	{
216
-		$this->type = $type;
217
-	}
218
-
219
-	public function setName($name)
220
-	{
221
-		$this->name = $name;
222
-	}
223
-
224
-	public function setSpec($spec)
225
-	{
226
-		$this->spec = $spec;
227
-	}
228
-
229
-	public function setPrice($price)
230
-	{
231
-		$this->price = $price;
232
-	}
233
-
234
-	public function setQuantity($quantity)
235
-	{
236
-		$this->quantity = $quantity;
237
-	}
238
-
239
-	public function setUom($uom)
240
-	{
241
-		$this->uom = $uom;
242
-	}
243
-
244
-	public function setTaxRate($taxRate)
245
-	{
246
-		$this->taxRate = $taxRate;
247
-	}
248
-
249
-	public function setAmount($amount)
250
-	{
251
-		$this->amount = $amount;
252
-	}
253
-
254
-	public function setCatalogCode($catalogCode)
255
-	{
256
-		$this->catalogCode = $catalogCode;
257
-	}
258
-
259
-	public function setPreferentialPolicyFlg($preferentialPolicyFlg)
260
-	{
261
-		$this->preferentialPolicyFlg = $preferentialPolicyFlg;
262
-	}
263
-
264
-	public function setAddedValueTaxFlg($addedValueTaxFlg)
265
-	{
266
-		$this->addedValueTaxFlg = $addedValueTaxFlg;
267
-	}
268
-
269
-	public function setZeroTaxRateFlg($zeroTaxRateFlg)
270
-	{
271
-		$this->zeroTaxRateFlg = $zeroTaxRateFlg;
272
-	}
149
+    public function __construct()
150
+    {
151
+
152
+    }
153
+
154
+    /**
155
+     * @JsonProperty(String, "type")
156
+     */
157
+    private $type;
158
+
159
+    /**
160
+     * @JsonProperty(String, "name")
161
+     */
162
+    private $name;
163
+
164
+    /**
165
+     * @JsonProperty(String, "spec")
166
+     */
167
+    private $spec;
168
+
169
+    /**
170
+     * @JsonProperty(String, "price")
171
+     */
172
+    private $price;
173
+
174
+    /**
175
+     * @JsonProperty(String, "quantity")
176
+     */
177
+    private $quantity;
178
+
179
+    /**
180
+     * @JsonProperty(String, "uom")
181
+     */
182
+    private $uom;
183
+
184
+    /**
185
+     * @JsonProperty(String, "taxRate")
186
+     */
187
+    private $taxRate;
188
+
189
+    /**
190
+     * @JsonProperty(String, "amount")
191
+     */
192
+    private $amount;
193
+
194
+    /**
195
+     * @JsonProperty(String, "catalogCode")
196
+     */
197
+    private $catalogCode;
198
+
199
+    /**
200
+     * @JsonProperty(String, "preferentialPolicyFlg")
201
+     */
202
+    private $preferentialPolicyFlg;
203
+
204
+    /**
205
+     * @JsonProperty(String, "addedValueTaxFlg")
206
+     */
207
+    private $addedValueTaxFlg;
208
+
209
+    /**
210
+     * @JsonProperty(String, "zeroTaxRateFlg")
211
+     */
212
+    private $zeroTaxRateFlg;
213
+
214
+    public function setType($type)
215
+    {
216
+        $this->type = $type;
217
+    }
218
+
219
+    public function setName($name)
220
+    {
221
+        $this->name = $name;
222
+    }
223
+
224
+    public function setSpec($spec)
225
+    {
226
+        $this->spec = $spec;
227
+    }
228
+
229
+    public function setPrice($price)
230
+    {
231
+        $this->price = $price;
232
+    }
233
+
234
+    public function setQuantity($quantity)
235
+    {
236
+        $this->quantity = $quantity;
237
+    }
238
+
239
+    public function setUom($uom)
240
+    {
241
+        $this->uom = $uom;
242
+    }
243
+
244
+    public function setTaxRate($taxRate)
245
+    {
246
+        $this->taxRate = $taxRate;
247
+    }
248
+
249
+    public function setAmount($amount)
250
+    {
251
+        $this->amount = $amount;
252
+    }
253
+
254
+    public function setCatalogCode($catalogCode)
255
+    {
256
+        $this->catalogCode = $catalogCode;
257
+    }
258
+
259
+    public function setPreferentialPolicyFlg($preferentialPolicyFlg)
260
+    {
261
+        $this->preferentialPolicyFlg = $preferentialPolicyFlg;
262
+    }
263
+
264
+    public function setAddedValueTaxFlg($addedValueTaxFlg)
265
+    {
266
+        $this->addedValueTaxFlg = $addedValueTaxFlg;
267
+    }
268
+
269
+    public function setZeroTaxRateFlg($zeroTaxRateFlg)
270
+    {
271
+        $this->zeroTaxRateFlg = $zeroTaxRateFlg;
272
+    }
273 273
 
274 274
 }
275 275
 
276 276
 class PddEinvoiceVendorRuihongIssueRedInvoiceRequest_RequestExtendedParams extends PopBaseJsonEntity
277 277
 {
278 278
 
279
-	public function __construct()
280
-	{
279
+    public function __construct()
280
+    {
281 281
 
282
-	}
282
+    }
283 283
 
284 284
 }
285 285
 
286 286
 class PddEinvoiceVendorRuihongIssueRedInvoiceRequest_RequestDynamicParams extends PopBaseJsonEntity
287 287
 {
288 288
 
289
-	public function __construct()
290
-	{
289
+    public function __construct()
290
+    {
291 291
 
292
-	}
292
+    }
293 293
 
294 294
 }
Please login to merge, or discard this patch.