Passed
Push — v6 ( f71c30...fe03e1 )
by 光春
04:16
created
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.
pinduoduo/bin/src/Api/Request/PddDdkOauthGoodsZsUnitUrlGenRequest.php 1 patch
Indentation   +66 added lines, -66 removed lines patch added patch discarded remove patch
@@ -7,71 +7,71 @@
 block discarded – undo
7 7
 class PddDdkOauthGoodsZsUnitUrlGenRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Boolean, "generate_schema_url")
15
-	*/
16
-	private $generateSchemaUrl;
17
-
18
-	/**
19
-	* @JsonProperty(String, "pid")
20
-	*/
21
-	private $pid;
22
-
23
-	/**
24
-	* @JsonProperty(String, "source_url")
25
-	*/
26
-	private $sourceUrl;
27
-
28
-	/**
29
-	* @JsonProperty(String, "custom_parameters")
30
-	*/
31
-	private $customParameters;
32
-
33
-	protected function setUserParams(&$params)
34
-	{
35
-		$this->setUserParam($params, "generate_schema_url", $this->generateSchemaUrl);
36
-		$this->setUserParam($params, "pid", $this->pid);
37
-		$this->setUserParam($params, "source_url", $this->sourceUrl);
38
-		$this->setUserParam($params, "custom_parameters", $this->customParameters);
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.ddk.oauth.goods.zs.unit.url.gen";
55
-	}
56
-
57
-	public function setGenerateSchemaUrl($generateSchemaUrl)
58
-	{
59
-		$this->generateSchemaUrl = $generateSchemaUrl;
60
-	}
61
-
62
-	public function setPid($pid)
63
-	{
64
-		$this->pid = $pid;
65
-	}
66
-
67
-	public function setSourceUrl($sourceUrl)
68
-	{
69
-		$this->sourceUrl = $sourceUrl;
70
-	}
71
-
72
-	public function setCustomParameters($customParameters)
73
-	{
74
-		$this->customParameters = $customParameters;
75
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Boolean, "generate_schema_url")
15
+     */
16
+    private $generateSchemaUrl;
17
+
18
+    /**
19
+     * @JsonProperty(String, "pid")
20
+     */
21
+    private $pid;
22
+
23
+    /**
24
+     * @JsonProperty(String, "source_url")
25
+     */
26
+    private $sourceUrl;
27
+
28
+    /**
29
+     * @JsonProperty(String, "custom_parameters")
30
+     */
31
+    private $customParameters;
32
+
33
+    protected function setUserParams(&$params)
34
+    {
35
+        $this->setUserParam($params, "generate_schema_url", $this->generateSchemaUrl);
36
+        $this->setUserParam($params, "pid", $this->pid);
37
+        $this->setUserParam($params, "source_url", $this->sourceUrl);
38
+        $this->setUserParam($params, "custom_parameters", $this->customParameters);
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.ddk.oauth.goods.zs.unit.url.gen";
55
+    }
56
+
57
+    public function setGenerateSchemaUrl($generateSchemaUrl)
58
+    {
59
+        $this->generateSchemaUrl = $generateSchemaUrl;
60
+    }
61
+
62
+    public function setPid($pid)
63
+    {
64
+        $this->pid = $pid;
65
+    }
66
+
67
+    public function setSourceUrl($sourceUrl)
68
+    {
69
+        $this->sourceUrl = $sourceUrl;
70
+    }
71
+
72
+    public function setCustomParameters($customParameters)
73
+    {
74
+        $this->customParameters = $customParameters;
75
+    }
76 76
 
77 77
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddPmcUserGetRequest.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 PddPmcUserGetRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(String, "owner_id")
15
-	*/
16
-	private $ownerId;
17
-
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "owner_id", $this->ownerId);
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.pmc.user.get";
37
-	}
38
-
39
-	public function setOwnerId($ownerId)
40
-	{
41
-		$this->ownerId = $ownerId;
42
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(String, "owner_id")
15
+     */
16
+    private $ownerId;
17
+
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "owner_id", $this->ownerId);
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.pmc.user.get";
37
+    }
38
+
39
+    public function setOwnerId($ownerId)
40
+    {
41
+        $this->ownerId = $ownerId;
42
+    }
43 43
 
44 44
 }
Please login to merge, or discard this patch.