Passed
Push — v6 ( fe399c...515a76 )
by 光春
06:18
created
service/pinduoduo/bin/src/Api/Request/PddPngMallStaffPageQueryRequest.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 PddPngMallStaffPageQueryRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Integer, "limit")
15
-	*/
16
-	private $limit;
17
-
18
-	/**
19
-	* @JsonProperty(Long, "start_id")
20
-	*/
21
-	private $startId;
22
-
23
-	protected function setUserParams(&$params)
24
-	{
25
-		$this->setUserParam($params, "limit", $this->limit);
26
-		$this->setUserParam($params, "start_id", $this->startId);
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.png.mall.staff.page.query";
43
-	}
44
-
45
-	public function setLimit($limit)
46
-	{
47
-		$this->limit = $limit;
48
-	}
49
-
50
-	public function setStartId($startId)
51
-	{
52
-		$this->startId = $startId;
53
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Integer, "limit")
15
+     */
16
+    private $limit;
17
+
18
+    /**
19
+     * @JsonProperty(Long, "start_id")
20
+     */
21
+    private $startId;
22
+
23
+    protected function setUserParams(&$params)
24
+    {
25
+        $this->setUserParam($params, "limit", $this->limit);
26
+        $this->setUserParam($params, "start_id", $this->startId);
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.png.mall.staff.page.query";
43
+    }
44
+
45
+    public function setLimit($limit)
46
+    {
47
+        $this->limit = $limit;
48
+    }
49
+
50
+    public function setStartId($startId)
51
+    {
52
+        $this->startId = $startId;
53
+    }
54 54
 
55 55
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddOrderBasicListGetRequest.php 1 patch
Indentation   +110 added lines, -110 removed lines patch added patch discarded remove patch
@@ -7,115 +7,115 @@
 block discarded – undo
7 7
 class PddOrderBasicListGetRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Integer, "end_confirm_at")
15
-	*/
16
-	private $endConfirmAt;
17
-
18
-	/**
19
-	* @JsonProperty(Integer, "order_status")
20
-	*/
21
-	private $orderStatus;
22
-
23
-	/**
24
-	* @JsonProperty(Integer, "page")
25
-	*/
26
-	private $page;
27
-
28
-	/**
29
-	* @JsonProperty(Integer, "page_size")
30
-	*/
31
-	private $pageSize;
32
-
33
-	/**
34
-	* @JsonProperty(Integer, "refund_status")
35
-	*/
36
-	private $refundStatus;
37
-
38
-	/**
39
-	* @JsonProperty(Integer, "start_confirm_at")
40
-	*/
41
-	private $startConfirmAt;
42
-
43
-	/**
44
-	* @JsonProperty(Integer, "trade_type")
45
-	*/
46
-	private $tradeType;
47
-
48
-	/**
49
-	* @JsonProperty(Boolean, "use_has_next")
50
-	*/
51
-	private $useHasNext;
52
-
53
-	protected function setUserParams(&$params)
54
-	{
55
-		$this->setUserParam($params, "end_confirm_at", $this->endConfirmAt);
56
-		$this->setUserParam($params, "order_status", $this->orderStatus);
57
-		$this->setUserParam($params, "page", $this->page);
58
-		$this->setUserParam($params, "page_size", $this->pageSize);
59
-		$this->setUserParam($params, "refund_status", $this->refundStatus);
60
-		$this->setUserParam($params, "start_confirm_at", $this->startConfirmAt);
61
-		$this->setUserParam($params, "trade_type", $this->tradeType);
62
-		$this->setUserParam($params, "use_has_next", $this->useHasNext);
63
-
64
-	}
65
-
66
-	public function getVersion()
67
-	{
68
-		return "V1";
69
-	}
70
-
71
-	public function getDataType()
72
-	{
73
-		return "JSON";
74
-	}
75
-
76
-	public function getType()
77
-	{
78
-		return "pdd.order.basic.list.get";
79
-	}
80
-
81
-	public function setEndConfirmAt($endConfirmAt)
82
-	{
83
-		$this->endConfirmAt = $endConfirmAt;
84
-	}
85
-
86
-	public function setOrderStatus($orderStatus)
87
-	{
88
-		$this->orderStatus = $orderStatus;
89
-	}
90
-
91
-	public function setPage($page)
92
-	{
93
-		$this->page = $page;
94
-	}
95
-
96
-	public function setPageSize($pageSize)
97
-	{
98
-		$this->pageSize = $pageSize;
99
-	}
100
-
101
-	public function setRefundStatus($refundStatus)
102
-	{
103
-		$this->refundStatus = $refundStatus;
104
-	}
105
-
106
-	public function setStartConfirmAt($startConfirmAt)
107
-	{
108
-		$this->startConfirmAt = $startConfirmAt;
109
-	}
110
-
111
-	public function setTradeType($tradeType)
112
-	{
113
-		$this->tradeType = $tradeType;
114
-	}
115
-
116
-	public function setUseHasNext($useHasNext)
117
-	{
118
-		$this->useHasNext = $useHasNext;
119
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Integer, "end_confirm_at")
15
+     */
16
+    private $endConfirmAt;
17
+
18
+    /**
19
+     * @JsonProperty(Integer, "order_status")
20
+     */
21
+    private $orderStatus;
22
+
23
+    /**
24
+     * @JsonProperty(Integer, "page")
25
+     */
26
+    private $page;
27
+
28
+    /**
29
+     * @JsonProperty(Integer, "page_size")
30
+     */
31
+    private $pageSize;
32
+
33
+    /**
34
+     * @JsonProperty(Integer, "refund_status")
35
+     */
36
+    private $refundStatus;
37
+
38
+    /**
39
+     * @JsonProperty(Integer, "start_confirm_at")
40
+     */
41
+    private $startConfirmAt;
42
+
43
+    /**
44
+     * @JsonProperty(Integer, "trade_type")
45
+     */
46
+    private $tradeType;
47
+
48
+    /**
49
+     * @JsonProperty(Boolean, "use_has_next")
50
+     */
51
+    private $useHasNext;
52
+
53
+    protected function setUserParams(&$params)
54
+    {
55
+        $this->setUserParam($params, "end_confirm_at", $this->endConfirmAt);
56
+        $this->setUserParam($params, "order_status", $this->orderStatus);
57
+        $this->setUserParam($params, "page", $this->page);
58
+        $this->setUserParam($params, "page_size", $this->pageSize);
59
+        $this->setUserParam($params, "refund_status", $this->refundStatus);
60
+        $this->setUserParam($params, "start_confirm_at", $this->startConfirmAt);
61
+        $this->setUserParam($params, "trade_type", $this->tradeType);
62
+        $this->setUserParam($params, "use_has_next", $this->useHasNext);
63
+
64
+    }
65
+
66
+    public function getVersion()
67
+    {
68
+        return "V1";
69
+    }
70
+
71
+    public function getDataType()
72
+    {
73
+        return "JSON";
74
+    }
75
+
76
+    public function getType()
77
+    {
78
+        return "pdd.order.basic.list.get";
79
+    }
80
+
81
+    public function setEndConfirmAt($endConfirmAt)
82
+    {
83
+        $this->endConfirmAt = $endConfirmAt;
84
+    }
85
+
86
+    public function setOrderStatus($orderStatus)
87
+    {
88
+        $this->orderStatus = $orderStatus;
89
+    }
90
+
91
+    public function setPage($page)
92
+    {
93
+        $this->page = $page;
94
+    }
95
+
96
+    public function setPageSize($pageSize)
97
+    {
98
+        $this->pageSize = $pageSize;
99
+    }
100
+
101
+    public function setRefundStatus($refundStatus)
102
+    {
103
+        $this->refundStatus = $refundStatus;
104
+    }
105
+
106
+    public function setStartConfirmAt($startConfirmAt)
107
+    {
108
+        $this->startConfirmAt = $startConfirmAt;
109
+    }
110
+
111
+    public function setTradeType($tradeType)
112
+    {
113
+        $this->tradeType = $tradeType;
114
+    }
115
+
116
+    public function setUseHasNext($useHasNext)
117
+    {
118
+        $this->useHasNext = $useHasNext;
119
+    }
120 120
 
121 121
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddMallTicketListRequest.php 1 patch
Indentation   +77 added lines, -77 removed lines patch added patch discarded remove patch
@@ -7,82 +7,82 @@
 block discarded – undo
7 7
 class PddMallTicketListRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Integer, "create_end_time")
15
-	*/
16
-	private $createEndTime;
17
-
18
-	/**
19
-	* @JsonProperty(Integer, "create_start_time")
20
-	*/
21
-	private $createStartTime;
22
-
23
-	/**
24
-	* @JsonProperty(Integer, "page_num")
25
-	*/
26
-	private $pageNum;
27
-
28
-	/**
29
-	* @JsonProperty(Integer, "page_size")
30
-	*/
31
-	private $pageSize;
32
-
33
-	/**
34
-	* @JsonProperty(Integer, "progress")
35
-	*/
36
-	private $progress;
37
-
38
-	protected function setUserParams(&$params)
39
-	{
40
-		$this->setUserParam($params, "create_end_time", $this->createEndTime);
41
-		$this->setUserParam($params, "create_start_time", $this->createStartTime);
42
-		$this->setUserParam($params, "page_num", $this->pageNum);
43
-		$this->setUserParam($params, "page_size", $this->pageSize);
44
-		$this->setUserParam($params, "progress", $this->progress);
45
-
46
-	}
47
-
48
-	public function getVersion()
49
-	{
50
-		return "V1";
51
-	}
52
-
53
-	public function getDataType()
54
-	{
55
-		return "JSON";
56
-	}
57
-
58
-	public function getType()
59
-	{
60
-		return "pdd.mall.ticket.list";
61
-	}
62
-
63
-	public function setCreateEndTime($createEndTime)
64
-	{
65
-		$this->createEndTime = $createEndTime;
66
-	}
67
-
68
-	public function setCreateStartTime($createStartTime)
69
-	{
70
-		$this->createStartTime = $createStartTime;
71
-	}
72
-
73
-	public function setPageNum($pageNum)
74
-	{
75
-		$this->pageNum = $pageNum;
76
-	}
77
-
78
-	public function setPageSize($pageSize)
79
-	{
80
-		$this->pageSize = $pageSize;
81
-	}
82
-
83
-	public function setProgress($progress)
84
-	{
85
-		$this->progress = $progress;
86
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Integer, "create_end_time")
15
+     */
16
+    private $createEndTime;
17
+
18
+    /**
19
+     * @JsonProperty(Integer, "create_start_time")
20
+     */
21
+    private $createStartTime;
22
+
23
+    /**
24
+     * @JsonProperty(Integer, "page_num")
25
+     */
26
+    private $pageNum;
27
+
28
+    /**
29
+     * @JsonProperty(Integer, "page_size")
30
+     */
31
+    private $pageSize;
32
+
33
+    /**
34
+     * @JsonProperty(Integer, "progress")
35
+     */
36
+    private $progress;
37
+
38
+    protected function setUserParams(&$params)
39
+    {
40
+        $this->setUserParam($params, "create_end_time", $this->createEndTime);
41
+        $this->setUserParam($params, "create_start_time", $this->createStartTime);
42
+        $this->setUserParam($params, "page_num", $this->pageNum);
43
+        $this->setUserParam($params, "page_size", $this->pageSize);
44
+        $this->setUserParam($params, "progress", $this->progress);
45
+
46
+    }
47
+
48
+    public function getVersion()
49
+    {
50
+        return "V1";
51
+    }
52
+
53
+    public function getDataType()
54
+    {
55
+        return "JSON";
56
+    }
57
+
58
+    public function getType()
59
+    {
60
+        return "pdd.mall.ticket.list";
61
+    }
62
+
63
+    public function setCreateEndTime($createEndTime)
64
+    {
65
+        $this->createEndTime = $createEndTime;
66
+    }
67
+
68
+    public function setCreateStartTime($createStartTime)
69
+    {
70
+        $this->createStartTime = $createStartTime;
71
+    }
72
+
73
+    public function setPageNum($pageNum)
74
+    {
75
+        $this->pageNum = $pageNum;
76
+    }
77
+
78
+    public function setPageSize($pageSize)
79
+    {
80
+        $this->pageSize = $pageSize;
81
+    }
82
+
83
+    public function setProgress($progress)
84
+    {
85
+        $this->progress = $progress;
86
+    }
87 87
 
88 88
 }
Please login to merge, or discard this patch.
service/pinduoduo/bin/src/Api/Request/PddGoodsAuthorizationCatsRequest.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 PddGoodsAuthorizationCatsRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Long, "parent_cat_id")
15
-	*/
16
-	private $parentCatId;
17
-
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "parent_cat_id", $this->parentCatId);
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.authorization.cats";
37
-	}
38
-
39
-	public function setParentCatId($parentCatId)
40
-	{
41
-		$this->parentCatId = $parentCatId;
42
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Long, "parent_cat_id")
15
+     */
16
+    private $parentCatId;
17
+
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "parent_cat_id", $this->parentCatId);
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.authorization.cats";
37
+    }
38
+
39
+    public function setParentCatId($parentCatId)
40
+    {
41
+        $this->parentCatId = $parentCatId;
42
+    }
43 43
 
44 44
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddCloudWaybillGetRequest.php 1 patch
Indentation   +512 added lines, -512 removed lines patch added patch discarded remove patch
@@ -7,588 +7,588 @@
 block discarded – undo
7 7
 class PddCloudWaybillGetRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
10
+    {
11 11
 
12
-	}
13
-	/**
14
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddCloudWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequest, "param_waybill_cloud_print_apply_new_request")
15
-	*/
16
-	private $paramWaybillCloudPrintApplyNewRequest;
12
+    }
13
+    /**
14
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddCloudWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequest, "param_waybill_cloud_print_apply_new_request")
15
+     */
16
+    private $paramWaybillCloudPrintApplyNewRequest;
17 17
 
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "param_waybill_cloud_print_apply_new_request", $this->paramWaybillCloudPrintApplyNewRequest);
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "param_waybill_cloud_print_apply_new_request", $this->paramWaybillCloudPrintApplyNewRequest);
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.cloud.waybill.get";
37
-	}
34
+    public function getType()
35
+    {
36
+        return "pdd.cloud.waybill.get";
37
+    }
38 38
 
39
-	public function setParamWaybillCloudPrintApplyNewRequest($paramWaybillCloudPrintApplyNewRequest)
40
-	{
41
-		$this->paramWaybillCloudPrintApplyNewRequest = $paramWaybillCloudPrintApplyNewRequest;
42
-	}
39
+    public function setParamWaybillCloudPrintApplyNewRequest($paramWaybillCloudPrintApplyNewRequest)
40
+    {
41
+        $this->paramWaybillCloudPrintApplyNewRequest = $paramWaybillCloudPrintApplyNewRequest;
42
+    }
43 43
 
44 44
 }
45 45
 
46 46
 class PddCloudWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequest extends PopBaseJsonEntity
47 47
 {
48 48
 
49
-	public function __construct()
50
-	{
51
-
52
-	}
53
-
54
-	/**
55
-	* @JsonProperty(Boolean, "need_encrypt")
56
-	*/
57
-	private $needEncrypt;
58
-
59
-	/**
60
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddCloudWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestSender, "sender")
61
-	*/
62
-	private $sender;
63
-
64
-	/**
65
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddCloudWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestTradeOrderInfoDtosItem>, "trade_order_info_dtos")
66
-	*/
67
-	private $tradeOrderInfoDtos;
68
-
69
-	/**
70
-	* @JsonProperty(String, "wp_code")
71
-	*/
72
-	private $wpCode;
73
-
74
-	/**
75
-	* @JsonProperty(String, "token")
76
-	*/
77
-	private $token;
78
-
79
-	/**
80
-	* @JsonProperty(Long, "ext_id")
81
-	*/
82
-	private $extId;
83
-
84
-	/**
85
-	* @JsonProperty(String, "extendProps")
86
-	*/
87
-	private $extendProps;
88
-
89
-	/**
90
-	* @JsonProperty(String, "order_sn")
91
-	*/
92
-	private $orderSn;
93
-
94
-	public function setNeedEncrypt($needEncrypt)
95
-	{
96
-		$this->needEncrypt = $needEncrypt;
97
-	}
98
-
99
-	public function setSender($sender)
100
-	{
101
-		$this->sender = $sender;
102
-	}
103
-
104
-	public function setTradeOrderInfoDtos($tradeOrderInfoDtos)
105
-	{
106
-		$this->tradeOrderInfoDtos = $tradeOrderInfoDtos;
107
-	}
108
-
109
-	public function setWpCode($wpCode)
110
-	{
111
-		$this->wpCode = $wpCode;
112
-	}
113
-
114
-	public function setToken($token)
115
-	{
116
-		$this->token = $token;
117
-	}
118
-
119
-	public function setExtId($extId)
120
-	{
121
-		$this->extId = $extId;
122
-	}
123
-
124
-	public function setExtendProps($extendProps)
125
-	{
126
-		$this->extendProps = $extendProps;
127
-	}
128
-
129
-	public function setOrderSn($orderSn)
130
-	{
131
-		$this->orderSn = $orderSn;
132
-	}
49
+    public function __construct()
50
+    {
51
+
52
+    }
53
+
54
+    /**
55
+     * @JsonProperty(Boolean, "need_encrypt")
56
+     */
57
+    private $needEncrypt;
58
+
59
+    /**
60
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddCloudWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestSender, "sender")
61
+     */
62
+    private $sender;
63
+
64
+    /**
65
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddCloudWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestTradeOrderInfoDtosItem>, "trade_order_info_dtos")
66
+     */
67
+    private $tradeOrderInfoDtos;
68
+
69
+    /**
70
+     * @JsonProperty(String, "wp_code")
71
+     */
72
+    private $wpCode;
73
+
74
+    /**
75
+     * @JsonProperty(String, "token")
76
+     */
77
+    private $token;
78
+
79
+    /**
80
+     * @JsonProperty(Long, "ext_id")
81
+     */
82
+    private $extId;
83
+
84
+    /**
85
+     * @JsonProperty(String, "extendProps")
86
+     */
87
+    private $extendProps;
88
+
89
+    /**
90
+     * @JsonProperty(String, "order_sn")
91
+     */
92
+    private $orderSn;
93
+
94
+    public function setNeedEncrypt($needEncrypt)
95
+    {
96
+        $this->needEncrypt = $needEncrypt;
97
+    }
98
+
99
+    public function setSender($sender)
100
+    {
101
+        $this->sender = $sender;
102
+    }
103
+
104
+    public function setTradeOrderInfoDtos($tradeOrderInfoDtos)
105
+    {
106
+        $this->tradeOrderInfoDtos = $tradeOrderInfoDtos;
107
+    }
108
+
109
+    public function setWpCode($wpCode)
110
+    {
111
+        $this->wpCode = $wpCode;
112
+    }
113
+
114
+    public function setToken($token)
115
+    {
116
+        $this->token = $token;
117
+    }
118
+
119
+    public function setExtId($extId)
120
+    {
121
+        $this->extId = $extId;
122
+    }
123
+
124
+    public function setExtendProps($extendProps)
125
+    {
126
+        $this->extendProps = $extendProps;
127
+    }
128
+
129
+    public function setOrderSn($orderSn)
130
+    {
131
+        $this->orderSn = $orderSn;
132
+    }
133 133
 
134 134
 }
135 135
 
136 136
 class PddCloudWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestSender extends PopBaseJsonEntity
137 137
 {
138 138
 
139
-	public function __construct()
140
-	{
141
-
142
-	}
143
-
144
-	/**
145
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddCloudWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestSenderAddress, "address")
146
-	*/
147
-	private $address;
148
-
149
-	/**
150
-	* @JsonProperty(String, "mobile")
151
-	*/
152
-	private $mobile;
153
-
154
-	/**
155
-	* @JsonProperty(String, "name")
156
-	*/
157
-	private $name;
158
-
159
-	/**
160
-	* @JsonProperty(String, "phone")
161
-	*/
162
-	private $phone;
163
-
164
-	public function setAddress($address)
165
-	{
166
-		$this->address = $address;
167
-	}
168
-
169
-	public function setMobile($mobile)
170
-	{
171
-		$this->mobile = $mobile;
172
-	}
173
-
174
-	public function setName($name)
175
-	{
176
-		$this->name = $name;
177
-	}
178
-
179
-	public function setPhone($phone)
180
-	{
181
-		$this->phone = $phone;
182
-	}
139
+    public function __construct()
140
+    {
141
+
142
+    }
143
+
144
+    /**
145
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddCloudWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestSenderAddress, "address")
146
+     */
147
+    private $address;
148
+
149
+    /**
150
+     * @JsonProperty(String, "mobile")
151
+     */
152
+    private $mobile;
153
+
154
+    /**
155
+     * @JsonProperty(String, "name")
156
+     */
157
+    private $name;
158
+
159
+    /**
160
+     * @JsonProperty(String, "phone")
161
+     */
162
+    private $phone;
163
+
164
+    public function setAddress($address)
165
+    {
166
+        $this->address = $address;
167
+    }
168
+
169
+    public function setMobile($mobile)
170
+    {
171
+        $this->mobile = $mobile;
172
+    }
173
+
174
+    public function setName($name)
175
+    {
176
+        $this->name = $name;
177
+    }
178
+
179
+    public function setPhone($phone)
180
+    {
181
+        $this->phone = $phone;
182
+    }
183 183
 
184 184
 }
185 185
 
186 186
 class PddCloudWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestSenderAddress extends PopBaseJsonEntity
187 187
 {
188 188
 
189
-	public function __construct()
190
-	{
191
-
192
-	}
193
-
194
-	/**
195
-	* @JsonProperty(String, "city")
196
-	*/
197
-	private $city;
198
-
199
-	/**
200
-	* @JsonProperty(String, "detail")
201
-	*/
202
-	private $detail;
203
-
204
-	/**
205
-	* @JsonProperty(String, "district")
206
-	*/
207
-	private $district;
208
-
209
-	/**
210
-	* @JsonProperty(String, "province")
211
-	*/
212
-	private $province;
213
-
214
-	/**
215
-	* @JsonProperty(String, "town")
216
-	*/
217
-	private $town;
218
-
219
-	/**
220
-	* @JsonProperty(String, "country")
221
-	*/
222
-	private $country;
223
-
224
-	public function setCity($city)
225
-	{
226
-		$this->city = $city;
227
-	}
228
-
229
-	public function setDetail($detail)
230
-	{
231
-		$this->detail = $detail;
232
-	}
233
-
234
-	public function setDistrict($district)
235
-	{
236
-		$this->district = $district;
237
-	}
238
-
239
-	public function setProvince($province)
240
-	{
241
-		$this->province = $province;
242
-	}
243
-
244
-	public function setTown($town)
245
-	{
246
-		$this->town = $town;
247
-	}
248
-
249
-	public function setCountry($country)
250
-	{
251
-		$this->country = $country;
252
-	}
189
+    public function __construct()
190
+    {
191
+
192
+    }
193
+
194
+    /**
195
+     * @JsonProperty(String, "city")
196
+     */
197
+    private $city;
198
+
199
+    /**
200
+     * @JsonProperty(String, "detail")
201
+     */
202
+    private $detail;
203
+
204
+    /**
205
+     * @JsonProperty(String, "district")
206
+     */
207
+    private $district;
208
+
209
+    /**
210
+     * @JsonProperty(String, "province")
211
+     */
212
+    private $province;
213
+
214
+    /**
215
+     * @JsonProperty(String, "town")
216
+     */
217
+    private $town;
218
+
219
+    /**
220
+     * @JsonProperty(String, "country")
221
+     */
222
+    private $country;
223
+
224
+    public function setCity($city)
225
+    {
226
+        $this->city = $city;
227
+    }
228
+
229
+    public function setDetail($detail)
230
+    {
231
+        $this->detail = $detail;
232
+    }
233
+
234
+    public function setDistrict($district)
235
+    {
236
+        $this->district = $district;
237
+    }
238
+
239
+    public function setProvince($province)
240
+    {
241
+        $this->province = $province;
242
+    }
243
+
244
+    public function setTown($town)
245
+    {
246
+        $this->town = $town;
247
+    }
248
+
249
+    public function setCountry($country)
250
+    {
251
+        $this->country = $country;
252
+    }
253 253
 
254 254
 }
255 255
 
256 256
 class PddCloudWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestTradeOrderInfoDtosItem extends PopBaseJsonEntity
257 257
 {
258 258
 
259
-	public function __construct()
260
-	{
261
-
262
-	}
263
-
264
-	/**
265
-	* @JsonProperty(String, "logistics_services")
266
-	*/
267
-	private $logisticsServices;
268
-
269
-	/**
270
-	* @JsonProperty(String, "object_id")
271
-	*/
272
-	private $objectId;
273
-
274
-	/**
275
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddCloudWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestTradeOrderInfoDtosItemOrderInfo, "order_info")
276
-	*/
277
-	private $orderInfo;
278
-
279
-	/**
280
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddCloudWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestTradeOrderInfoDtosItemPackageInfo, "package_info")
281
-	*/
282
-	private $packageInfo;
283
-
284
-	/**
285
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddCloudWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestTradeOrderInfoDtosItemRecipient, "recipient")
286
-	*/
287
-	private $recipient;
288
-
289
-	/**
290
-	* @JsonProperty(String, "user_id")
291
-	*/
292
-	private $userId;
293
-
294
-	/**
295
-	* @JsonProperty(String, "template_url")
296
-	*/
297
-	private $templateUrl;
298
-
299
-	public function setLogisticsServices($logisticsServices)
300
-	{
301
-		$this->logisticsServices = $logisticsServices;
302
-	}
303
-
304
-	public function setObjectId($objectId)
305
-	{
306
-		$this->objectId = $objectId;
307
-	}
308
-
309
-	public function setOrderInfo($orderInfo)
310
-	{
311
-		$this->orderInfo = $orderInfo;
312
-	}
313
-
314
-	public function setPackageInfo($packageInfo)
315
-	{
316
-		$this->packageInfo = $packageInfo;
317
-	}
318
-
319
-	public function setRecipient($recipient)
320
-	{
321
-		$this->recipient = $recipient;
322
-	}
323
-
324
-	public function setUserId($userId)
325
-	{
326
-		$this->userId = $userId;
327
-	}
328
-
329
-	public function setTemplateUrl($templateUrl)
330
-	{
331
-		$this->templateUrl = $templateUrl;
332
-	}
259
+    public function __construct()
260
+    {
261
+
262
+    }
263
+
264
+    /**
265
+     * @JsonProperty(String, "logistics_services")
266
+     */
267
+    private $logisticsServices;
268
+
269
+    /**
270
+     * @JsonProperty(String, "object_id")
271
+     */
272
+    private $objectId;
273
+
274
+    /**
275
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddCloudWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestTradeOrderInfoDtosItemOrderInfo, "order_info")
276
+     */
277
+    private $orderInfo;
278
+
279
+    /**
280
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddCloudWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestTradeOrderInfoDtosItemPackageInfo, "package_info")
281
+     */
282
+    private $packageInfo;
283
+
284
+    /**
285
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddCloudWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestTradeOrderInfoDtosItemRecipient, "recipient")
286
+     */
287
+    private $recipient;
288
+
289
+    /**
290
+     * @JsonProperty(String, "user_id")
291
+     */
292
+    private $userId;
293
+
294
+    /**
295
+     * @JsonProperty(String, "template_url")
296
+     */
297
+    private $templateUrl;
298
+
299
+    public function setLogisticsServices($logisticsServices)
300
+    {
301
+        $this->logisticsServices = $logisticsServices;
302
+    }
303
+
304
+    public function setObjectId($objectId)
305
+    {
306
+        $this->objectId = $objectId;
307
+    }
308
+
309
+    public function setOrderInfo($orderInfo)
310
+    {
311
+        $this->orderInfo = $orderInfo;
312
+    }
313
+
314
+    public function setPackageInfo($packageInfo)
315
+    {
316
+        $this->packageInfo = $packageInfo;
317
+    }
318
+
319
+    public function setRecipient($recipient)
320
+    {
321
+        $this->recipient = $recipient;
322
+    }
323
+
324
+    public function setUserId($userId)
325
+    {
326
+        $this->userId = $userId;
327
+    }
328
+
329
+    public function setTemplateUrl($templateUrl)
330
+    {
331
+        $this->templateUrl = $templateUrl;
332
+    }
333 333
 
334 334
 }
335 335
 
336 336
 class PddCloudWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestTradeOrderInfoDtosItemOrderInfo extends PopBaseJsonEntity
337 337
 {
338 338
 
339
-	public function __construct()
340
-	{
339
+    public function __construct()
340
+    {
341 341
 
342
-	}
342
+    }
343 343
 
344
-	/**
345
-	* @JsonProperty(String, "order_channels_type")
346
-	*/
347
-	private $orderChannelsType;
344
+    /**
345
+     * @JsonProperty(String, "order_channels_type")
346
+     */
347
+    private $orderChannelsType;
348 348
 
349
-	/**
350
-	* @JsonProperty(List<String>, "trade_order_list")
351
-	*/
352
-	private $tradeOrderList;
349
+    /**
350
+     * @JsonProperty(List<String>, "trade_order_list")
351
+     */
352
+    private $tradeOrderList;
353 353
 
354
-	public function setOrderChannelsType($orderChannelsType)
355
-	{
356
-		$this->orderChannelsType = $orderChannelsType;
357
-	}
354
+    public function setOrderChannelsType($orderChannelsType)
355
+    {
356
+        $this->orderChannelsType = $orderChannelsType;
357
+    }
358 358
 
359
-	public function setTradeOrderList($tradeOrderList)
360
-	{
361
-		$this->tradeOrderList = $tradeOrderList;
362
-	}
359
+    public function setTradeOrderList($tradeOrderList)
360
+    {
361
+        $this->tradeOrderList = $tradeOrderList;
362
+    }
363 363
 
364 364
 }
365 365
 
366 366
 class PddCloudWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestTradeOrderInfoDtosItemPackageInfo extends PopBaseJsonEntity
367 367
 {
368 368
 
369
-	public function __construct()
370
-	{
371
-
372
-	}
373
-
374
-	/**
375
-	* @JsonProperty(String, "goods_description")
376
-	*/
377
-	private $goodsDescription;
378
-
379
-	/**
380
-	* @JsonProperty(String, "id")
381
-	*/
382
-	private $id;
383
-
384
-	/**
385
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddCloudWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestTradeOrderInfoDtosItemPackageInfoItemsItem>, "items")
386
-	*/
387
-	private $items;
388
-
389
-	/**
390
-	* @JsonProperty(String, "packaging_description")
391
-	*/
392
-	private $packagingDescription;
393
-
394
-	/**
395
-	* @JsonProperty(String, "total_packages_count")
396
-	*/
397
-	private $totalPackagesCount;
398
-
399
-	/**
400
-	* @JsonProperty(String, "volume")
401
-	*/
402
-	private $volume;
403
-
404
-	/**
405
-	* @JsonProperty(String, "weight")
406
-	*/
407
-	private $weight;
408
-
409
-	public function setGoodsDescription($goodsDescription)
410
-	{
411
-		$this->goodsDescription = $goodsDescription;
412
-	}
413
-
414
-	public function setId($id)
415
-	{
416
-		$this->id = $id;
417
-	}
418
-
419
-	public function setItems($items)
420
-	{
421
-		$this->items = $items;
422
-	}
423
-
424
-	public function setPackagingDescription($packagingDescription)
425
-	{
426
-		$this->packagingDescription = $packagingDescription;
427
-	}
428
-
429
-	public function setTotalPackagesCount($totalPackagesCount)
430
-	{
431
-		$this->totalPackagesCount = $totalPackagesCount;
432
-	}
433
-
434
-	public function setVolume($volume)
435
-	{
436
-		$this->volume = $volume;
437
-	}
438
-
439
-	public function setWeight($weight)
440
-	{
441
-		$this->weight = $weight;
442
-	}
369
+    public function __construct()
370
+    {
371
+
372
+    }
373
+
374
+    /**
375
+     * @JsonProperty(String, "goods_description")
376
+     */
377
+    private $goodsDescription;
378
+
379
+    /**
380
+     * @JsonProperty(String, "id")
381
+     */
382
+    private $id;
383
+
384
+    /**
385
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddCloudWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestTradeOrderInfoDtosItemPackageInfoItemsItem>, "items")
386
+     */
387
+    private $items;
388
+
389
+    /**
390
+     * @JsonProperty(String, "packaging_description")
391
+     */
392
+    private $packagingDescription;
393
+
394
+    /**
395
+     * @JsonProperty(String, "total_packages_count")
396
+     */
397
+    private $totalPackagesCount;
398
+
399
+    /**
400
+     * @JsonProperty(String, "volume")
401
+     */
402
+    private $volume;
403
+
404
+    /**
405
+     * @JsonProperty(String, "weight")
406
+     */
407
+    private $weight;
408
+
409
+    public function setGoodsDescription($goodsDescription)
410
+    {
411
+        $this->goodsDescription = $goodsDescription;
412
+    }
413
+
414
+    public function setId($id)
415
+    {
416
+        $this->id = $id;
417
+    }
418
+
419
+    public function setItems($items)
420
+    {
421
+        $this->items = $items;
422
+    }
423
+
424
+    public function setPackagingDescription($packagingDescription)
425
+    {
426
+        $this->packagingDescription = $packagingDescription;
427
+    }
428
+
429
+    public function setTotalPackagesCount($totalPackagesCount)
430
+    {
431
+        $this->totalPackagesCount = $totalPackagesCount;
432
+    }
433
+
434
+    public function setVolume($volume)
435
+    {
436
+        $this->volume = $volume;
437
+    }
438
+
439
+    public function setWeight($weight)
440
+    {
441
+        $this->weight = $weight;
442
+    }
443 443
 
444 444
 }
445 445
 
446 446
 class PddCloudWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestTradeOrderInfoDtosItemPackageInfoItemsItem extends PopBaseJsonEntity
447 447
 {
448 448
 
449
-	public function __construct()
450
-	{
449
+    public function __construct()
450
+    {
451 451
 
452
-	}
452
+    }
453 453
 
454
-	/**
455
-	* @JsonProperty(Integer, "count")
456
-	*/
457
-	private $count;
454
+    /**
455
+     * @JsonProperty(Integer, "count")
456
+     */
457
+    private $count;
458 458
 
459
-	/**
460
-	* @JsonProperty(String, "name")
461
-	*/
462
-	private $name;
459
+    /**
460
+     * @JsonProperty(String, "name")
461
+     */
462
+    private $name;
463 463
 
464
-	public function setCount($count)
465
-	{
466
-		$this->count = $count;
467
-	}
464
+    public function setCount($count)
465
+    {
466
+        $this->count = $count;
467
+    }
468 468
 
469
-	public function setName($name)
470
-	{
471
-		$this->name = $name;
472
-	}
469
+    public function setName($name)
470
+    {
471
+        $this->name = $name;
472
+    }
473 473
 
474 474
 }
475 475
 
476 476
 class PddCloudWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestTradeOrderInfoDtosItemRecipient extends PopBaseJsonEntity
477 477
 {
478 478
 
479
-	public function __construct()
480
-	{
481
-
482
-	}
483
-
484
-	/**
485
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddCloudWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestTradeOrderInfoDtosItemRecipientAddress, "address")
486
-	*/
487
-	private $address;
488
-
489
-	/**
490
-	* @JsonProperty(String, "mobile")
491
-	*/
492
-	private $mobile;
493
-
494
-	/**
495
-	* @JsonProperty(String, "name")
496
-	*/
497
-	private $name;
498
-
499
-	/**
500
-	* @JsonProperty(String, "phone")
501
-	*/
502
-	private $phone;
503
-
504
-	public function setAddress($address)
505
-	{
506
-		$this->address = $address;
507
-	}
508
-
509
-	public function setMobile($mobile)
510
-	{
511
-		$this->mobile = $mobile;
512
-	}
513
-
514
-	public function setName($name)
515
-	{
516
-		$this->name = $name;
517
-	}
518
-
519
-	public function setPhone($phone)
520
-	{
521
-		$this->phone = $phone;
522
-	}
479
+    public function __construct()
480
+    {
481
+
482
+    }
483
+
484
+    /**
485
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddCloudWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestTradeOrderInfoDtosItemRecipientAddress, "address")
486
+     */
487
+    private $address;
488
+
489
+    /**
490
+     * @JsonProperty(String, "mobile")
491
+     */
492
+    private $mobile;
493
+
494
+    /**
495
+     * @JsonProperty(String, "name")
496
+     */
497
+    private $name;
498
+
499
+    /**
500
+     * @JsonProperty(String, "phone")
501
+     */
502
+    private $phone;
503
+
504
+    public function setAddress($address)
505
+    {
506
+        $this->address = $address;
507
+    }
508
+
509
+    public function setMobile($mobile)
510
+    {
511
+        $this->mobile = $mobile;
512
+    }
513
+
514
+    public function setName($name)
515
+    {
516
+        $this->name = $name;
517
+    }
518
+
519
+    public function setPhone($phone)
520
+    {
521
+        $this->phone = $phone;
522
+    }
523 523
 
524 524
 }
525 525
 
526 526
 class PddCloudWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestTradeOrderInfoDtosItemRecipientAddress extends PopBaseJsonEntity
527 527
 {
528 528
 
529
-	public function __construct()
530
-	{
531
-
532
-	}
533
-
534
-	/**
535
-	* @JsonProperty(String, "city")
536
-	*/
537
-	private $city;
538
-
539
-	/**
540
-	* @JsonProperty(String, "detail")
541
-	*/
542
-	private $detail;
543
-
544
-	/**
545
-	* @JsonProperty(String, "district")
546
-	*/
547
-	private $district;
548
-
549
-	/**
550
-	* @JsonProperty(String, "province")
551
-	*/
552
-	private $province;
553
-
554
-	/**
555
-	* @JsonProperty(String, "town")
556
-	*/
557
-	private $town;
558
-
559
-	/**
560
-	* @JsonProperty(String, "country")
561
-	*/
562
-	private $country;
563
-
564
-	public function setCity($city)
565
-	{
566
-		$this->city = $city;
567
-	}
568
-
569
-	public function setDetail($detail)
570
-	{
571
-		$this->detail = $detail;
572
-	}
573
-
574
-	public function setDistrict($district)
575
-	{
576
-		$this->district = $district;
577
-	}
578
-
579
-	public function setProvince($province)
580
-	{
581
-		$this->province = $province;
582
-	}
583
-
584
-	public function setTown($town)
585
-	{
586
-		$this->town = $town;
587
-	}
588
-
589
-	public function setCountry($country)
590
-	{
591
-		$this->country = $country;
592
-	}
529
+    public function __construct()
530
+    {
531
+
532
+    }
533
+
534
+    /**
535
+     * @JsonProperty(String, "city")
536
+     */
537
+    private $city;
538
+
539
+    /**
540
+     * @JsonProperty(String, "detail")
541
+     */
542
+    private $detail;
543
+
544
+    /**
545
+     * @JsonProperty(String, "district")
546
+     */
547
+    private $district;
548
+
549
+    /**
550
+     * @JsonProperty(String, "province")
551
+     */
552
+    private $province;
553
+
554
+    /**
555
+     * @JsonProperty(String, "town")
556
+     */
557
+    private $town;
558
+
559
+    /**
560
+     * @JsonProperty(String, "country")
561
+     */
562
+    private $country;
563
+
564
+    public function setCity($city)
565
+    {
566
+        $this->city = $city;
567
+    }
568
+
569
+    public function setDetail($detail)
570
+    {
571
+        $this->detail = $detail;
572
+    }
573
+
574
+    public function setDistrict($district)
575
+    {
576
+        $this->district = $district;
577
+    }
578
+
579
+    public function setProvince($province)
580
+    {
581
+        $this->province = $province;
582
+    }
583
+
584
+    public function setTown($town)
585
+    {
586
+        $this->town = $town;
587
+    }
588
+
589
+    public function setCountry($country)
590
+    {
591
+        $this->country = $country;
592
+    }
593 593
 
594 594
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddGoodsSpuSearchRequest.php 1 patch
Indentation   +99 added lines, -99 removed lines patch added patch discarded remove patch
@@ -7,110 +7,110 @@
 block discarded – undo
7 7
 class PddGoodsSpuSearchRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Long, "cat_id")
15
-	*/
16
-	private $catId;
17
-
18
-	/**
19
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsSpuSearchRequest_KeyPropItem>, "key_prop")
20
-	*/
21
-	private $keyProp;
22
-
23
-	/**
24
-	* @JsonProperty(String, "spu_name")
25
-	*/
26
-	private $spuName;
27
-
28
-	protected function setUserParams(&$params)
29
-	{
30
-		$this->setUserParam($params, "cat_id", $this->catId);
31
-		$this->setUserParam($params, "key_prop", $this->keyProp);
32
-		$this->setUserParam($params, "spu_name", $this->spuName);
33
-
34
-	}
35
-
36
-	public function getVersion()
37
-	{
38
-		return "V1";
39
-	}
40
-
41
-	public function getDataType()
42
-	{
43
-		return "JSON";
44
-	}
45
-
46
-	public function getType()
47
-	{
48
-		return "pdd.goods.spu.search";
49
-	}
50
-
51
-	public function setCatId($catId)
52
-	{
53
-		$this->catId = $catId;
54
-	}
55
-
56
-	public function setKeyProp($keyProp)
57
-	{
58
-		$this->keyProp = $keyProp;
59
-	}
60
-
61
-	public function setSpuName($spuName)
62
-	{
63
-		$this->spuName = $spuName;
64
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Long, "cat_id")
15
+     */
16
+    private $catId;
17
+
18
+    /**
19
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsSpuSearchRequest_KeyPropItem>, "key_prop")
20
+     */
21
+    private $keyProp;
22
+
23
+    /**
24
+     * @JsonProperty(String, "spu_name")
25
+     */
26
+    private $spuName;
27
+
28
+    protected function setUserParams(&$params)
29
+    {
30
+        $this->setUserParam($params, "cat_id", $this->catId);
31
+        $this->setUserParam($params, "key_prop", $this->keyProp);
32
+        $this->setUserParam($params, "spu_name", $this->spuName);
33
+
34
+    }
35
+
36
+    public function getVersion()
37
+    {
38
+        return "V1";
39
+    }
40
+
41
+    public function getDataType()
42
+    {
43
+        return "JSON";
44
+    }
45
+
46
+    public function getType()
47
+    {
48
+        return "pdd.goods.spu.search";
49
+    }
50
+
51
+    public function setCatId($catId)
52
+    {
53
+        $this->catId = $catId;
54
+    }
55
+
56
+    public function setKeyProp($keyProp)
57
+    {
58
+        $this->keyProp = $keyProp;
59
+    }
60
+
61
+    public function setSpuName($spuName)
62
+    {
63
+        $this->spuName = $spuName;
64
+    }
65 65
 
66 66
 }
67 67
 
68 68
 class PddGoodsSpuSearchRequest_KeyPropItem extends PopBaseJsonEntity
69 69
 {
70 70
 
71
-	public function __construct()
72
-	{
73
-
74
-	}
75
-
76
-	/**
77
-	* @JsonProperty(Long, "ref_pid")
78
-	*/
79
-	private $refPid;
80
-
81
-	/**
82
-	* @JsonProperty(String, "value_unit")
83
-	*/
84
-	private $valueUnit;
85
-
86
-	/**
87
-	* @JsonProperty(String, "value")
88
-	*/
89
-	private $value;
90
-
91
-	/**
92
-	* @JsonProperty(Long, "vid")
93
-	*/
94
-	private $vid;
95
-
96
-	public function setRefPid($refPid)
97
-	{
98
-		$this->refPid = $refPid;
99
-	}
100
-
101
-	public function setValueUnit($valueUnit)
102
-	{
103
-		$this->valueUnit = $valueUnit;
104
-	}
105
-
106
-	public function setValue($value)
107
-	{
108
-		$this->value = $value;
109
-	}
110
-
111
-	public function setVid($vid)
112
-	{
113
-		$this->vid = $vid;
114
-	}
71
+    public function __construct()
72
+    {
73
+
74
+    }
75
+
76
+    /**
77
+     * @JsonProperty(Long, "ref_pid")
78
+     */
79
+    private $refPid;
80
+
81
+    /**
82
+     * @JsonProperty(String, "value_unit")
83
+     */
84
+    private $valueUnit;
85
+
86
+    /**
87
+     * @JsonProperty(String, "value")
88
+     */
89
+    private $value;
90
+
91
+    /**
92
+     * @JsonProperty(Long, "vid")
93
+     */
94
+    private $vid;
95
+
96
+    public function setRefPid($refPid)
97
+    {
98
+        $this->refPid = $refPid;
99
+    }
100
+
101
+    public function setValueUnit($valueUnit)
102
+    {
103
+        $this->valueUnit = $valueUnit;
104
+    }
105
+
106
+    public function setValue($value)
107
+    {
108
+        $this->value = $value;
109
+    }
110
+
111
+    public function setVid($vid)
112
+    {
113
+        $this->vid = $vid;
114
+    }
115 115
 
116 116
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddPmcUserCancelRequest.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 PddPmcUserCancelRequest 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.cancel";
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.cancel";
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.
pinduoduo/bin/src/Api/Request/PddGoodsSizespecTemplateUpdateRequest.php 1 patch
Indentation   +157 added lines, -157 removed lines patch added patch discarded remove patch
@@ -7,228 +7,228 @@
 block discarded – undo
7 7
 class PddGoodsSizespecTemplateUpdateRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
10
+    {
11 11
 
12
-	}
13
-	/**
14
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsSizespecTemplateUpdateRequest_SizeSpecDto, "size_spec_dto")
15
-	*/
16
-	private $sizeSpecDto;
12
+    }
13
+    /**
14
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsSizespecTemplateUpdateRequest_SizeSpecDto, "size_spec_dto")
15
+     */
16
+    private $sizeSpecDto;
17 17
 
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "size_spec_dto", $this->sizeSpecDto);
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "size_spec_dto", $this->sizeSpecDto);
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.goods.sizespec.template.update";
37
-	}
34
+    public function getType()
35
+    {
36
+        return "pdd.goods.sizespec.template.update";
37
+    }
38 38
 
39
-	public function setSizeSpecDto($sizeSpecDto)
40
-	{
41
-		$this->sizeSpecDto = $sizeSpecDto;
42
-	}
39
+    public function setSizeSpecDto($sizeSpecDto)
40
+    {
41
+        $this->sizeSpecDto = $sizeSpecDto;
42
+    }
43 43
 
44 44
 }
45 45
 
46 46
 class PddGoodsSizespecTemplateUpdateRequest_SizeSpecDto extends PopBaseJsonEntity
47 47
 {
48 48
 
49
-	public function __construct()
50
-	{
51
-
52
-	}
53
-
54
-	/**
55
-	* @JsonProperty(Integer, "class_id")
56
-	*/
57
-	private $classId;
58
-
59
-	/**
60
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsSizespecTemplateUpdateRequest_SizeSpecDtoContent, "content")
61
-	*/
62
-	private $content;
63
-
64
-	/**
65
-	* @JsonProperty(Long, "id")
66
-	*/
67
-	private $id;
68
-
69
-	/**
70
-	* @JsonProperty(String, "name")
71
-	*/
72
-	private $name;
73
-
74
-	public function setClassId($classId)
75
-	{
76
-		$this->classId = $classId;
77
-	}
78
-
79
-	public function setContent($content)
80
-	{
81
-		$this->content = $content;
82
-	}
83
-
84
-	public function setId($id)
85
-	{
86
-		$this->id = $id;
87
-	}
88
-
89
-	public function setName($name)
90
-	{
91
-		$this->name = $name;
92
-	}
49
+    public function __construct()
50
+    {
51
+
52
+    }
53
+
54
+    /**
55
+     * @JsonProperty(Integer, "class_id")
56
+     */
57
+    private $classId;
58
+
59
+    /**
60
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsSizespecTemplateUpdateRequest_SizeSpecDtoContent, "content")
61
+     */
62
+    private $content;
63
+
64
+    /**
65
+     * @JsonProperty(Long, "id")
66
+     */
67
+    private $id;
68
+
69
+    /**
70
+     * @JsonProperty(String, "name")
71
+     */
72
+    private $name;
73
+
74
+    public function setClassId($classId)
75
+    {
76
+        $this->classId = $classId;
77
+    }
78
+
79
+    public function setContent($content)
80
+    {
81
+        $this->content = $content;
82
+    }
83
+
84
+    public function setId($id)
85
+    {
86
+        $this->id = $id;
87
+    }
88
+
89
+    public function setName($name)
90
+    {
91
+        $this->name = $name;
92
+    }
93 93
 
94 94
 }
95 95
 
96 96
 class PddGoodsSizespecTemplateUpdateRequest_SizeSpecDtoContent extends PopBaseJsonEntity
97 97
 {
98 98
 
99
-	public function __construct()
100
-	{
99
+    public function __construct()
100
+    {
101 101
 
102
-	}
102
+    }
103 103
 
104
-	/**
105
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsSizespecTemplateUpdateRequest_SizeSpecDtoContentMeta, "meta")
106
-	*/
107
-	private $meta;
104
+    /**
105
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsSizespecTemplateUpdateRequest_SizeSpecDtoContentMeta, "meta")
106
+     */
107
+    private $meta;
108 108
 
109
-	/**
110
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsSizespecTemplateUpdateRequest_SizeSpecDtoContentRecordsItem>, "records")
111
-	*/
112
-	private $records;
109
+    /**
110
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsSizespecTemplateUpdateRequest_SizeSpecDtoContentRecordsItem>, "records")
111
+     */
112
+    private $records;
113 113
 
114
-	public function setMeta($meta)
115
-	{
116
-		$this->meta = $meta;
117
-	}
114
+    public function setMeta($meta)
115
+    {
116
+        $this->meta = $meta;
117
+    }
118 118
 
119
-	public function setRecords($records)
120
-	{
121
-		$this->records = $records;
122
-	}
119
+    public function setRecords($records)
120
+    {
121
+        $this->records = $records;
122
+    }
123 123
 
124 124
 }
125 125
 
126 126
 class PddGoodsSizespecTemplateUpdateRequest_SizeSpecDtoContentMeta extends PopBaseJsonEntity
127 127
 {
128 128
 
129
-	public function __construct()
130
-	{
129
+    public function __construct()
130
+    {
131 131
 
132
-	}
132
+    }
133 133
 
134
-	/**
135
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsSizespecTemplateUpdateRequest_SizeSpecDtoContentMetaElementsItem>, "elements")
136
-	*/
137
-	private $elements;
134
+    /**
135
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsSizespecTemplateUpdateRequest_SizeSpecDtoContentMetaElementsItem>, "elements")
136
+     */
137
+    private $elements;
138 138
 
139
-	/**
140
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsSizespecTemplateUpdateRequest_SizeSpecDtoContentMetaGroupsItem>, "groups")
141
-	*/
142
-	private $groups;
139
+    /**
140
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsSizespecTemplateUpdateRequest_SizeSpecDtoContentMetaGroupsItem>, "groups")
141
+     */
142
+    private $groups;
143 143
 
144
-	public function setElements($elements)
145
-	{
146
-		$this->elements = $elements;
147
-	}
144
+    public function setElements($elements)
145
+    {
146
+        $this->elements = $elements;
147
+    }
148 148
 
149
-	public function setGroups($groups)
150
-	{
151
-		$this->groups = $groups;
152
-	}
149
+    public function setGroups($groups)
150
+    {
151
+        $this->groups = $groups;
152
+    }
153 153
 
154 154
 }
155 155
 
156 156
 class PddGoodsSizespecTemplateUpdateRequest_SizeSpecDtoContentMetaElementsItem extends PopBaseJsonEntity
157 157
 {
158 158
 
159
-	public function __construct()
160
-	{
159
+    public function __construct()
160
+    {
161 161
 
162
-	}
162
+    }
163 163
 
164
-	/**
165
-	* @JsonProperty(Integer, "id")
166
-	*/
167
-	private $id;
164
+    /**
165
+     * @JsonProperty(Integer, "id")
166
+     */
167
+    private $id;
168 168
 
169
-	/**
170
-	* @JsonProperty(String, "name")
171
-	*/
172
-	private $name;
169
+    /**
170
+     * @JsonProperty(String, "name")
171
+     */
172
+    private $name;
173 173
 
174
-	public function setId($id)
175
-	{
176
-		$this->id = $id;
177
-	}
174
+    public function setId($id)
175
+    {
176
+        $this->id = $id;
177
+    }
178 178
 
179
-	public function setName($name)
180
-	{
181
-		$this->name = $name;
182
-	}
179
+    public function setName($name)
180
+    {
181
+        $this->name = $name;
182
+    }
183 183
 
184 184
 }
185 185
 
186 186
 class PddGoodsSizespecTemplateUpdateRequest_SizeSpecDtoContentMetaGroupsItem extends PopBaseJsonEntity
187 187
 {
188 188
 
189
-	public function __construct()
190
-	{
189
+    public function __construct()
190
+    {
191 191
 
192
-	}
192
+    }
193 193
 
194
-	/**
195
-	* @JsonProperty(Integer, "id")
196
-	*/
197
-	private $id;
194
+    /**
195
+     * @JsonProperty(Integer, "id")
196
+     */
197
+    private $id;
198 198
 
199
-	/**
200
-	* @JsonProperty(String, "name")
201
-	*/
202
-	private $name;
199
+    /**
200
+     * @JsonProperty(String, "name")
201
+     */
202
+    private $name;
203 203
 
204
-	public function setId($id)
205
-	{
206
-		$this->id = $id;
207
-	}
204
+    public function setId($id)
205
+    {
206
+        $this->id = $id;
207
+    }
208 208
 
209
-	public function setName($name)
210
-	{
211
-		$this->name = $name;
212
-	}
209
+    public function setName($name)
210
+    {
211
+        $this->name = $name;
212
+    }
213 213
 
214 214
 }
215 215
 
216 216
 class PddGoodsSizespecTemplateUpdateRequest_SizeSpecDtoContentRecordsItem extends PopBaseJsonEntity
217 217
 {
218 218
 
219
-	public function __construct()
220
-	{
219
+    public function __construct()
220
+    {
221 221
 
222
-	}
222
+    }
223 223
 
224
-	/**
225
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsSizespecTemplateUpdateRequest_tring, String>, "values")
226
-	*/
227
-	private $values;
224
+    /**
225
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsSizespecTemplateUpdateRequest_tring, String>, "values")
226
+     */
227
+    private $values;
228 228
 
229
-	public function setValues($values)
230
-	{
231
-		$this->values = $values;
232
-	}
229
+    public function setValues($values)
230
+    {
231
+        $this->values = $values;
232
+    }
233 233
 
234 234
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddKttGroupQueryStatusRequest.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 PddKttGroupQueryStatusRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(String, "activity_no")
15
-	*/
16
-	private $activityNo;
17
-
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "activity_no", $this->activityNo);
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.ktt.group.query.status";
37
-	}
38
-
39
-	public function setActivityNo($activityNo)
40
-	{
41
-		$this->activityNo = $activityNo;
42
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(String, "activity_no")
15
+     */
16
+    private $activityNo;
17
+
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "activity_no", $this->activityNo);
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.ktt.group.query.status";
37
+    }
38
+
39
+    public function setActivityNo($activityNo)
40
+    {
41
+        $this->activityNo = $activityNo;
42
+    }
43 43
 
44 44
 }
Please login to merge, or discard this patch.