Passed
Push — v6 ( fe399c...515a76 )
by 光春
06:18
created
pinduoduo/bin/src/Api/Request/PddAdApiUnitCreativeQueryFlowRateRequest.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 PddAdApiUnitCreativeQueryFlowRateRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Long, "adId")
15
-	*/
16
-	private $adId;
17
-
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "adId", $this->adId);
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.ad.api.unit.creative.query.flow.rate";
37
-	}
38
-
39
-	public function setAdId($adId)
40
-	{
41
-		$this->adId = $adId;
42
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Long, "adId")
15
+     */
16
+    private $adId;
17
+
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "adId", $this->adId);
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.ad.api.unit.creative.query.flow.rate";
37
+    }
38
+
39
+    public function setAdId($adId)
40
+    {
41
+        $this->adId = $adId;
42
+    }
43 43
 
44 44
 }
Please login to merge, or discard this patch.
bin/src/Api/Request/PddCloudSecurityEventTrackingBatchOrderRequest.php 1 patch
Indentation   +138 added lines, -138 removed lines patch added patch discarded remove patch
@@ -7,149 +7,149 @@
 block discarded – undo
7 7
 class PddCloudSecurityEventTrackingBatchOrderRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Integer, "eventType")
15
-	*/
16
-	private $eventType;
17
-
18
-	/**
19
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddCloudSecurityEventTrackingBatchOrderRequest_OrderEventsItem>, "orderEvents")
20
-	*/
21
-	private $orderEvents;
22
-
23
-	protected function setUserParams(&$params)
24
-	{
25
-		$this->setUserParam($params, "eventType", $this->eventType);
26
-		$this->setUserParam($params, "orderEvents", $this->orderEvents);
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.cloud.security.event.tracking.batch.order";
43
-	}
44
-
45
-	public function setEventType($eventType)
46
-	{
47
-		$this->eventType = $eventType;
48
-	}
49
-
50
-	public function setOrderEvents($orderEvents)
51
-	{
52
-		$this->orderEvents = $orderEvents;
53
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Integer, "eventType")
15
+     */
16
+    private $eventType;
17
+
18
+    /**
19
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddCloudSecurityEventTrackingBatchOrderRequest_OrderEventsItem>, "orderEvents")
20
+     */
21
+    private $orderEvents;
22
+
23
+    protected function setUserParams(&$params)
24
+    {
25
+        $this->setUserParam($params, "eventType", $this->eventType);
26
+        $this->setUserParam($params, "orderEvents", $this->orderEvents);
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.cloud.security.event.tracking.batch.order";
43
+    }
44
+
45
+    public function setEventType($eventType)
46
+    {
47
+        $this->eventType = $eventType;
48
+    }
49
+
50
+    public function setOrderEvents($orderEvents)
51
+    {
52
+        $this->orderEvents = $orderEvents;
53
+    }
54 54
 
55 55
 }
56 56
 
57 57
 class PddCloudSecurityEventTrackingBatchOrderRequest_OrderEventsItem extends PopBaseJsonEntity
58 58
 {
59 59
 
60
-	public function __construct()
61
-	{
62
-
63
-	}
64
-
65
-	/**
66
-	* @JsonProperty(List<Long>, "mallIdList")
67
-	*/
68
-	private $mallIdList;
69
-
70
-	/**
71
-	* @JsonProperty(String, "operation")
72
-	*/
73
-	private $operation;
74
-
75
-	/**
76
-	* @JsonProperty(List<String>, "orderList")
77
-	*/
78
-	private $orderList;
79
-
80
-	/**
81
-	* @JsonProperty(String, "pati")
82
-	*/
83
-	private $pati;
84
-
85
-	/**
86
-	* @JsonProperty(String, "sendTo")
87
-	*/
88
-	private $sendTo;
89
-
90
-	/**
91
-	* @JsonProperty(Long, "timestamp")
92
-	*/
93
-	private $timestamp;
94
-
95
-	/**
96
-	* @JsonProperty(String, "url")
97
-	*/
98
-	private $url;
99
-
100
-	/**
101
-	* @JsonProperty(String, "userId")
102
-	*/
103
-	private $userId;
104
-
105
-	/**
106
-	* @JsonProperty(String, "userIp")
107
-	*/
108
-	private $userIp;
109
-
110
-	public function setMallIdList($mallIdList)
111
-	{
112
-		$this->mallIdList = $mallIdList;
113
-	}
114
-
115
-	public function setOperation($operation)
116
-	{
117
-		$this->operation = $operation;
118
-	}
119
-
120
-	public function setOrderList($orderList)
121
-	{
122
-		$this->orderList = $orderList;
123
-	}
124
-
125
-	public function setPati($pati)
126
-	{
127
-		$this->pati = $pati;
128
-	}
129
-
130
-	public function setSendTo($sendTo)
131
-	{
132
-		$this->sendTo = $sendTo;
133
-	}
134
-
135
-	public function setTimestamp($timestamp)
136
-	{
137
-		$this->timestamp = $timestamp;
138
-	}
139
-
140
-	public function setUrl($url)
141
-	{
142
-		$this->url = $url;
143
-	}
144
-
145
-	public function setUserId($userId)
146
-	{
147
-		$this->userId = $userId;
148
-	}
149
-
150
-	public function setUserIp($userIp)
151
-	{
152
-		$this->userIp = $userIp;
153
-	}
60
+    public function __construct()
61
+    {
62
+
63
+    }
64
+
65
+    /**
66
+     * @JsonProperty(List<Long>, "mallIdList")
67
+     */
68
+    private $mallIdList;
69
+
70
+    /**
71
+     * @JsonProperty(String, "operation")
72
+     */
73
+    private $operation;
74
+
75
+    /**
76
+     * @JsonProperty(List<String>, "orderList")
77
+     */
78
+    private $orderList;
79
+
80
+    /**
81
+     * @JsonProperty(String, "pati")
82
+     */
83
+    private $pati;
84
+
85
+    /**
86
+     * @JsonProperty(String, "sendTo")
87
+     */
88
+    private $sendTo;
89
+
90
+    /**
91
+     * @JsonProperty(Long, "timestamp")
92
+     */
93
+    private $timestamp;
94
+
95
+    /**
96
+     * @JsonProperty(String, "url")
97
+     */
98
+    private $url;
99
+
100
+    /**
101
+     * @JsonProperty(String, "userId")
102
+     */
103
+    private $userId;
104
+
105
+    /**
106
+     * @JsonProperty(String, "userIp")
107
+     */
108
+    private $userIp;
109
+
110
+    public function setMallIdList($mallIdList)
111
+    {
112
+        $this->mallIdList = $mallIdList;
113
+    }
114
+
115
+    public function setOperation($operation)
116
+    {
117
+        $this->operation = $operation;
118
+    }
119
+
120
+    public function setOrderList($orderList)
121
+    {
122
+        $this->orderList = $orderList;
123
+    }
124
+
125
+    public function setPati($pati)
126
+    {
127
+        $this->pati = $pati;
128
+    }
129
+
130
+    public function setSendTo($sendTo)
131
+    {
132
+        $this->sendTo = $sendTo;
133
+    }
134
+
135
+    public function setTimestamp($timestamp)
136
+    {
137
+        $this->timestamp = $timestamp;
138
+    }
139
+
140
+    public function setUrl($url)
141
+    {
142
+        $this->url = $url;
143
+    }
144
+
145
+    public function setUserId($userId)
146
+    {
147
+        $this->userId = $userId;
148
+    }
149
+
150
+    public function setUserIp($userIp)
151
+    {
152
+        $this->userIp = $userIp;
153
+    }
154 154
 
155 155
 }
Please login to merge, or discard this patch.
bin/src/Api/Request/PddPromotionLimitedQualifiedGoodsGetRequest.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 PddPromotionLimitedQualifiedGoodsGetRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(List<Long>, "goods_id_list")
15
-	*/
16
-	private $goodsIdList;
17
-
18
-	/**
19
-	* @JsonProperty(Boolean, "is_valid")
20
-	*/
21
-	private $isValid;
22
-
23
-	/**
24
-	* @JsonProperty(Integer, "page_no")
25
-	*/
26
-	private $pageNo;
27
-
28
-	/**
29
-	* @JsonProperty(Integer, "page_size")
30
-	*/
31
-	private $pageSize;
32
-
33
-	protected function setUserParams(&$params)
34
-	{
35
-		$this->setUserParam($params, "goods_id_list", $this->goodsIdList);
36
-		$this->setUserParam($params, "is_valid", $this->isValid);
37
-		$this->setUserParam($params, "page_no", $this->pageNo);
38
-		$this->setUserParam($params, "page_size", $this->pageSize);
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.promotion.limited.qualified.goods.get";
55
-	}
56
-
57
-	public function setGoodsIdList($goodsIdList)
58
-	{
59
-		$this->goodsIdList = $goodsIdList;
60
-	}
61
-
62
-	public function setIsValid($isValid)
63
-	{
64
-		$this->isValid = $isValid;
65
-	}
66
-
67
-	public function setPageNo($pageNo)
68
-	{
69
-		$this->pageNo = $pageNo;
70
-	}
71
-
72
-	public function setPageSize($pageSize)
73
-	{
74
-		$this->pageSize = $pageSize;
75
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(List<Long>, "goods_id_list")
15
+     */
16
+    private $goodsIdList;
17
+
18
+    /**
19
+     * @JsonProperty(Boolean, "is_valid")
20
+     */
21
+    private $isValid;
22
+
23
+    /**
24
+     * @JsonProperty(Integer, "page_no")
25
+     */
26
+    private $pageNo;
27
+
28
+    /**
29
+     * @JsonProperty(Integer, "page_size")
30
+     */
31
+    private $pageSize;
32
+
33
+    protected function setUserParams(&$params)
34
+    {
35
+        $this->setUserParam($params, "goods_id_list", $this->goodsIdList);
36
+        $this->setUserParam($params, "is_valid", $this->isValid);
37
+        $this->setUserParam($params, "page_no", $this->pageNo);
38
+        $this->setUserParam($params, "page_size", $this->pageSize);
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.promotion.limited.qualified.goods.get";
55
+    }
56
+
57
+    public function setGoodsIdList($goodsIdList)
58
+    {
59
+        $this->goodsIdList = $goodsIdList;
60
+    }
61
+
62
+    public function setIsValid($isValid)
63
+    {
64
+        $this->isValid = $isValid;
65
+    }
66
+
67
+    public function setPageNo($pageNo)
68
+    {
69
+        $this->pageNo = $pageNo;
70
+    }
71
+
72
+    public function setPageSize($pageSize)
73
+    {
74
+        $this->pageSize = $pageSize;
75
+    }
76 76
 
77 77
 }
Please login to merge, or discard this patch.
pinduoduo/bin/src/Api/Request/PddSmsVendorComplaintCreateRequest.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 PddSmsVendorComplaintCreateRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(String, "account")
15
-	*/
16
-	private $account;
17
-
18
-	/**
19
-	* @JsonProperty(String, "complaint_time")
20
-	*/
21
-	private $complaintTime;
22
-
23
-	/**
24
-	* @JsonProperty(Integer, "count")
25
-	*/
26
-	private $count;
27
-
28
-	/**
29
-	* @JsonProperty(String, "deliver_time")
30
-	*/
31
-	private $deliverTime;
32
-
33
-	/**
34
-	* @JsonProperty(String, "mobile")
35
-	*/
36
-	private $mobile;
37
-
38
-	/**
39
-	* @JsonProperty(String, "operator")
40
-	*/
41
-	private $operator;
42
-
43
-	/**
44
-	* @JsonProperty(String, "province")
45
-	*/
46
-	private $province;
47
-
48
-	/**
49
-	* @JsonProperty(String, "sms_content")
50
-	*/
51
-	private $smsContent;
52
-
53
-	protected function setUserParams(&$params)
54
-	{
55
-		$this->setUserParam($params, "account", $this->account);
56
-		$this->setUserParam($params, "complaint_time", $this->complaintTime);
57
-		$this->setUserParam($params, "count", $this->count);
58
-		$this->setUserParam($params, "deliver_time", $this->deliverTime);
59
-		$this->setUserParam($params, "mobile", $this->mobile);
60
-		$this->setUserParam($params, "operator", $this->operator);
61
-		$this->setUserParam($params, "province", $this->province);
62
-		$this->setUserParam($params, "sms_content", $this->smsContent);
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.sms.vendor.complaint.create";
79
-	}
80
-
81
-	public function setAccount($account)
82
-	{
83
-		$this->account = $account;
84
-	}
85
-
86
-	public function setComplaintTime($complaintTime)
87
-	{
88
-		$this->complaintTime = $complaintTime;
89
-	}
90
-
91
-	public function setCount($count)
92
-	{
93
-		$this->count = $count;
94
-	}
95
-
96
-	public function setDeliverTime($deliverTime)
97
-	{
98
-		$this->deliverTime = $deliverTime;
99
-	}
100
-
101
-	public function setMobile($mobile)
102
-	{
103
-		$this->mobile = $mobile;
104
-	}
105
-
106
-	public function setOperator($operator)
107
-	{
108
-		$this->operator = $operator;
109
-	}
110
-
111
-	public function setProvince($province)
112
-	{
113
-		$this->province = $province;
114
-	}
115
-
116
-	public function setSmsContent($smsContent)
117
-	{
118
-		$this->smsContent = $smsContent;
119
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(String, "account")
15
+     */
16
+    private $account;
17
+
18
+    /**
19
+     * @JsonProperty(String, "complaint_time")
20
+     */
21
+    private $complaintTime;
22
+
23
+    /**
24
+     * @JsonProperty(Integer, "count")
25
+     */
26
+    private $count;
27
+
28
+    /**
29
+     * @JsonProperty(String, "deliver_time")
30
+     */
31
+    private $deliverTime;
32
+
33
+    /**
34
+     * @JsonProperty(String, "mobile")
35
+     */
36
+    private $mobile;
37
+
38
+    /**
39
+     * @JsonProperty(String, "operator")
40
+     */
41
+    private $operator;
42
+
43
+    /**
44
+     * @JsonProperty(String, "province")
45
+     */
46
+    private $province;
47
+
48
+    /**
49
+     * @JsonProperty(String, "sms_content")
50
+     */
51
+    private $smsContent;
52
+
53
+    protected function setUserParams(&$params)
54
+    {
55
+        $this->setUserParam($params, "account", $this->account);
56
+        $this->setUserParam($params, "complaint_time", $this->complaintTime);
57
+        $this->setUserParam($params, "count", $this->count);
58
+        $this->setUserParam($params, "deliver_time", $this->deliverTime);
59
+        $this->setUserParam($params, "mobile", $this->mobile);
60
+        $this->setUserParam($params, "operator", $this->operator);
61
+        $this->setUserParam($params, "province", $this->province);
62
+        $this->setUserParam($params, "sms_content", $this->smsContent);
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.sms.vendor.complaint.create";
79
+    }
80
+
81
+    public function setAccount($account)
82
+    {
83
+        $this->account = $account;
84
+    }
85
+
86
+    public function setComplaintTime($complaintTime)
87
+    {
88
+        $this->complaintTime = $complaintTime;
89
+    }
90
+
91
+    public function setCount($count)
92
+    {
93
+        $this->count = $count;
94
+    }
95
+
96
+    public function setDeliverTime($deliverTime)
97
+    {
98
+        $this->deliverTime = $deliverTime;
99
+    }
100
+
101
+    public function setMobile($mobile)
102
+    {
103
+        $this->mobile = $mobile;
104
+    }
105
+
106
+    public function setOperator($operator)
107
+    {
108
+        $this->operator = $operator;
109
+    }
110
+
111
+    public function setProvince($province)
112
+    {
113
+        $this->province = $province;
114
+    }
115
+
116
+    public function setSmsContent($smsContent)
117
+    {
118
+        $this->smsContent = $smsContent;
119
+    }
120 120
 
121 121
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddMallTicketDetailRequest.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 PddMallTicketDetailRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(String, "ticket_id")
15
-	*/
16
-	private $ticketId;
17
-
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "ticket_id", $this->ticketId);
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.mall.ticket.detail";
37
-	}
38
-
39
-	public function setTicketId($ticketId)
40
-	{
41
-		$this->ticketId = $ticketId;
42
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(String, "ticket_id")
15
+     */
16
+    private $ticketId;
17
+
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "ticket_id", $this->ticketId);
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.mall.ticket.detail";
37
+    }
38
+
39
+    public function setTicketId($ticketId)
40
+    {
41
+        $this->ticketId = $ticketId;
42
+    }
43 43
 
44 44
 }
Please login to merge, or discard this patch.
pinduoduo/bin/src/Api/Request/PddAdApiUnitCreativeQueryListRequest.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 PddAdApiUnitCreativeQueryListRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Long, "adId")
15
-	*/
16
-	private $adId;
17
-
18
-	/**
19
-	* @JsonProperty(String, "beginDate")
20
-	*/
21
-	private $beginDate;
22
-
23
-	/**
24
-	* @JsonProperty(String, "endDate")
25
-	*/
26
-	private $endDate;
27
-
28
-	/**
29
-	* @JsonProperty(Integer, "orderBy")
30
-	*/
31
-	private $orderBy;
32
-
33
-	/**
34
-	* @JsonProperty(Integer, "sortBy")
35
-	*/
36
-	private $sortBy;
37
-
38
-	protected function setUserParams(&$params)
39
-	{
40
-		$this->setUserParam($params, "adId", $this->adId);
41
-		$this->setUserParam($params, "beginDate", $this->beginDate);
42
-		$this->setUserParam($params, "endDate", $this->endDate);
43
-		$this->setUserParam($params, "orderBy", $this->orderBy);
44
-		$this->setUserParam($params, "sortBy", $this->sortBy);
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.ad.api.unit.creative.query.list";
61
-	}
62
-
63
-	public function setAdId($adId)
64
-	{
65
-		$this->adId = $adId;
66
-	}
67
-
68
-	public function setBeginDate($beginDate)
69
-	{
70
-		$this->beginDate = $beginDate;
71
-	}
72
-
73
-	public function setEndDate($endDate)
74
-	{
75
-		$this->endDate = $endDate;
76
-	}
77
-
78
-	public function setOrderBy($orderBy)
79
-	{
80
-		$this->orderBy = $orderBy;
81
-	}
82
-
83
-	public function setSortBy($sortBy)
84
-	{
85
-		$this->sortBy = $sortBy;
86
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Long, "adId")
15
+     */
16
+    private $adId;
17
+
18
+    /**
19
+     * @JsonProperty(String, "beginDate")
20
+     */
21
+    private $beginDate;
22
+
23
+    /**
24
+     * @JsonProperty(String, "endDate")
25
+     */
26
+    private $endDate;
27
+
28
+    /**
29
+     * @JsonProperty(Integer, "orderBy")
30
+     */
31
+    private $orderBy;
32
+
33
+    /**
34
+     * @JsonProperty(Integer, "sortBy")
35
+     */
36
+    private $sortBy;
37
+
38
+    protected function setUserParams(&$params)
39
+    {
40
+        $this->setUserParam($params, "adId", $this->adId);
41
+        $this->setUserParam($params, "beginDate", $this->beginDate);
42
+        $this->setUserParam($params, "endDate", $this->endDate);
43
+        $this->setUserParam($params, "orderBy", $this->orderBy);
44
+        $this->setUserParam($params, "sortBy", $this->sortBy);
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.ad.api.unit.creative.query.list";
61
+    }
62
+
63
+    public function setAdId($adId)
64
+    {
65
+        $this->adId = $adId;
66
+    }
67
+
68
+    public function setBeginDate($beginDate)
69
+    {
70
+        $this->beginDate = $beginDate;
71
+    }
72
+
73
+    public function setEndDate($endDate)
74
+    {
75
+        $this->endDate = $endDate;
76
+    }
77
+
78
+    public function setOrderBy($orderBy)
79
+    {
80
+        $this->orderBy = $orderBy;
81
+    }
82
+
83
+    public function setSortBy($sortBy)
84
+    {
85
+        $this->sortBy = $sortBy;
86
+    }
87 87
 
88 88
 }
Please login to merge, or discard this patch.
pinduoduo/bin/src/Api/Request/PddAdApiReportDailyReportQueryRequest.php 1 patch
Indentation   +88 added lines, -88 removed lines patch added patch discarded remove patch
@@ -7,93 +7,93 @@
 block discarded – undo
7 7
 class PddAdApiReportDailyReportQueryRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(String, "endDateString")
15
-	*/
16
-	private $endDateString;
17
-
18
-	/**
19
-	* @JsonProperty(Long, "entityId")
20
-	*/
21
-	private $entityId;
22
-
23
-	/**
24
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiReportDailyReportQueryRequest_tring, String>, "externalParamMap")
25
-	*/
26
-	private $externalParamMap;
27
-
28
-	/**
29
-	* @JsonProperty(Integer, "queryDimensionType")
30
-	*/
31
-	private $queryDimensionType;
32
-
33
-	/**
34
-	* @JsonProperty(Integer, "scenesType")
35
-	*/
36
-	private $scenesType;
37
-
38
-	/**
39
-	* @JsonProperty(String, "startDateString")
40
-	*/
41
-	private $startDateString;
42
-
43
-	protected function setUserParams(&$params)
44
-	{
45
-		$this->setUserParam($params, "endDateString", $this->endDateString);
46
-		$this->setUserParam($params, "entityId", $this->entityId);
47
-		$this->setUserParam($params, "externalParamMap", $this->externalParamMap);
48
-		$this->setUserParam($params, "queryDimensionType", $this->queryDimensionType);
49
-		$this->setUserParam($params, "scenesType", $this->scenesType);
50
-		$this->setUserParam($params, "startDateString", $this->startDateString);
51
-
52
-	}
53
-
54
-	public function getVersion()
55
-	{
56
-		return "V1";
57
-	}
58
-
59
-	public function getDataType()
60
-	{
61
-		return "JSON";
62
-	}
63
-
64
-	public function getType()
65
-	{
66
-		return "pdd.ad.api.report.daily.report.query";
67
-	}
68
-
69
-	public function setEndDateString($endDateString)
70
-	{
71
-		$this->endDateString = $endDateString;
72
-	}
73
-
74
-	public function setEntityId($entityId)
75
-	{
76
-		$this->entityId = $entityId;
77
-	}
78
-
79
-	public function setExternalParamMap($externalParamMap)
80
-	{
81
-		$this->externalParamMap = $externalParamMap;
82
-	}
83
-
84
-	public function setQueryDimensionType($queryDimensionType)
85
-	{
86
-		$this->queryDimensionType = $queryDimensionType;
87
-	}
88
-
89
-	public function setScenesType($scenesType)
90
-	{
91
-		$this->scenesType = $scenesType;
92
-	}
93
-
94
-	public function setStartDateString($startDateString)
95
-	{
96
-		$this->startDateString = $startDateString;
97
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(String, "endDateString")
15
+     */
16
+    private $endDateString;
17
+
18
+    /**
19
+     * @JsonProperty(Long, "entityId")
20
+     */
21
+    private $entityId;
22
+
23
+    /**
24
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiReportDailyReportQueryRequest_tring, String>, "externalParamMap")
25
+     */
26
+    private $externalParamMap;
27
+
28
+    /**
29
+     * @JsonProperty(Integer, "queryDimensionType")
30
+     */
31
+    private $queryDimensionType;
32
+
33
+    /**
34
+     * @JsonProperty(Integer, "scenesType")
35
+     */
36
+    private $scenesType;
37
+
38
+    /**
39
+     * @JsonProperty(String, "startDateString")
40
+     */
41
+    private $startDateString;
42
+
43
+    protected function setUserParams(&$params)
44
+    {
45
+        $this->setUserParam($params, "endDateString", $this->endDateString);
46
+        $this->setUserParam($params, "entityId", $this->entityId);
47
+        $this->setUserParam($params, "externalParamMap", $this->externalParamMap);
48
+        $this->setUserParam($params, "queryDimensionType", $this->queryDimensionType);
49
+        $this->setUserParam($params, "scenesType", $this->scenesType);
50
+        $this->setUserParam($params, "startDateString", $this->startDateString);
51
+
52
+    }
53
+
54
+    public function getVersion()
55
+    {
56
+        return "V1";
57
+    }
58
+
59
+    public function getDataType()
60
+    {
61
+        return "JSON";
62
+    }
63
+
64
+    public function getType()
65
+    {
66
+        return "pdd.ad.api.report.daily.report.query";
67
+    }
68
+
69
+    public function setEndDateString($endDateString)
70
+    {
71
+        $this->endDateString = $endDateString;
72
+    }
73
+
74
+    public function setEntityId($entityId)
75
+    {
76
+        $this->entityId = $entityId;
77
+    }
78
+
79
+    public function setExternalParamMap($externalParamMap)
80
+    {
81
+        $this->externalParamMap = $externalParamMap;
82
+    }
83
+
84
+    public function setQueryDimensionType($queryDimensionType)
85
+    {
86
+        $this->queryDimensionType = $queryDimensionType;
87
+    }
88
+
89
+    public function setScenesType($scenesType)
90
+    {
91
+        $this->scenesType = $scenesType;
92
+    }
93
+
94
+    public function setStartDateString($startDateString)
95
+    {
96
+        $this->startDateString = $startDateString;
97
+    }
98 98
 
99 99
 }
Please login to merge, or discard this patch.
service/pinduoduo/bin/src/Api/Request/PddStockGoodsIdToSkuQueryRequest.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 PddStockGoodsIdToSkuQueryRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Long, "goods_id")
15
-	*/
16
-	private $goodsId;
17
-
18
-	/**
19
-	* @JsonProperty(Long, "ware_id")
20
-	*/
21
-	private $wareId;
22
-
23
-	protected function setUserParams(&$params)
24
-	{
25
-		$this->setUserParam($params, "goods_id", $this->goodsId);
26
-		$this->setUserParam($params, "ware_id", $this->wareId);
27
-
28
-	}
29
-
30
-	public function getVersion()
31
-	{
32
-		return "V1";
33
-	}
34
-
35
-	public function getDataType()
36
-	{
37
-		return "JSON";
38
-	}
39
-
40
-	public function getType()
41
-	{
42
-		return "pdd.stock.goods.id.to.sku.query";
43
-	}
44
-
45
-	public function setGoodsId($goodsId)
46
-	{
47
-		$this->goodsId = $goodsId;
48
-	}
49
-
50
-	public function setWareId($wareId)
51
-	{
52
-		$this->wareId = $wareId;
53
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Long, "goods_id")
15
+     */
16
+    private $goodsId;
17
+
18
+    /**
19
+     * @JsonProperty(Long, "ware_id")
20
+     */
21
+    private $wareId;
22
+
23
+    protected function setUserParams(&$params)
24
+    {
25
+        $this->setUserParam($params, "goods_id", $this->goodsId);
26
+        $this->setUserParam($params, "ware_id", $this->wareId);
27
+
28
+    }
29
+
30
+    public function getVersion()
31
+    {
32
+        return "V1";
33
+    }
34
+
35
+    public function getDataType()
36
+    {
37
+        return "JSON";
38
+    }
39
+
40
+    public function getType()
41
+    {
42
+        return "pdd.stock.goods.id.to.sku.query";
43
+    }
44
+
45
+    public function setGoodsId($goodsId)
46
+    {
47
+        $this->goodsId = $goodsId;
48
+    }
49
+
50
+    public function setWareId($wareId)
51
+    {
52
+        $this->wareId = $wareId;
53
+    }
54 54
 
55 55
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddGoodsSkuPriceUpdateRequest.php 1 patch
Indentation   +121 added lines, -121 removed lines patch added patch discarded remove patch
@@ -7,132 +7,132 @@
 block discarded – undo
7 7
 class PddGoodsSkuPriceUpdateRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Long, "goods_id")
15
-	*/
16
-	private $goodsId;
17
-
18
-	/**
19
-	* @JsonProperty(Long, "market_price")
20
-	*/
21
-	private $marketPrice;
22
-
23
-	/**
24
-	* @JsonProperty(String, "market_price_in_yuan")
25
-	*/
26
-	private $marketPriceInYuan;
27
-
28
-	/**
29
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsSkuPriceUpdateRequest_SkuPriceListItem>, "sku_price_list")
30
-	*/
31
-	private $skuPriceList;
32
-
33
-	/**
34
-	* @JsonProperty(Integer, "sync_goods_operate")
35
-	*/
36
-	private $syncGoodsOperate;
37
-
38
-	protected function setUserParams(&$params)
39
-	{
40
-		$this->setUserParam($params, "goods_id", $this->goodsId);
41
-		$this->setUserParam($params, "market_price", $this->marketPrice);
42
-		$this->setUserParam($params, "market_price_in_yuan", $this->marketPriceInYuan);
43
-		$this->setUserParam($params, "sku_price_list", $this->skuPriceList);
44
-		$this->setUserParam($params, "sync_goods_operate", $this->syncGoodsOperate);
45
-
46
-	}
47
-
48
-	public function getVersion()
49
-	{
50
-		return "V1";
51
-	}
52
-
53
-	public function getDataType()
54
-	{
55
-		return "JSON";
56
-	}
57
-
58
-	public function getType()
59
-	{
60
-		return "pdd.goods.sku.price.update";
61
-	}
62
-
63
-	public function setGoodsId($goodsId)
64
-	{
65
-		$this->goodsId = $goodsId;
66
-	}
67
-
68
-	public function setMarketPrice($marketPrice)
69
-	{
70
-		$this->marketPrice = $marketPrice;
71
-	}
72
-
73
-	public function setMarketPriceInYuan($marketPriceInYuan)
74
-	{
75
-		$this->marketPriceInYuan = $marketPriceInYuan;
76
-	}
77
-
78
-	public function setSkuPriceList($skuPriceList)
79
-	{
80
-		$this->skuPriceList = $skuPriceList;
81
-	}
82
-
83
-	public function setSyncGoodsOperate($syncGoodsOperate)
84
-	{
85
-		$this->syncGoodsOperate = $syncGoodsOperate;
86
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Long, "goods_id")
15
+     */
16
+    private $goodsId;
17
+
18
+    /**
19
+     * @JsonProperty(Long, "market_price")
20
+     */
21
+    private $marketPrice;
22
+
23
+    /**
24
+     * @JsonProperty(String, "market_price_in_yuan")
25
+     */
26
+    private $marketPriceInYuan;
27
+
28
+    /**
29
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsSkuPriceUpdateRequest_SkuPriceListItem>, "sku_price_list")
30
+     */
31
+    private $skuPriceList;
32
+
33
+    /**
34
+     * @JsonProperty(Integer, "sync_goods_operate")
35
+     */
36
+    private $syncGoodsOperate;
37
+
38
+    protected function setUserParams(&$params)
39
+    {
40
+        $this->setUserParam($params, "goods_id", $this->goodsId);
41
+        $this->setUserParam($params, "market_price", $this->marketPrice);
42
+        $this->setUserParam($params, "market_price_in_yuan", $this->marketPriceInYuan);
43
+        $this->setUserParam($params, "sku_price_list", $this->skuPriceList);
44
+        $this->setUserParam($params, "sync_goods_operate", $this->syncGoodsOperate);
45
+
46
+    }
47
+
48
+    public function getVersion()
49
+    {
50
+        return "V1";
51
+    }
52
+
53
+    public function getDataType()
54
+    {
55
+        return "JSON";
56
+    }
57
+
58
+    public function getType()
59
+    {
60
+        return "pdd.goods.sku.price.update";
61
+    }
62
+
63
+    public function setGoodsId($goodsId)
64
+    {
65
+        $this->goodsId = $goodsId;
66
+    }
67
+
68
+    public function setMarketPrice($marketPrice)
69
+    {
70
+        $this->marketPrice = $marketPrice;
71
+    }
72
+
73
+    public function setMarketPriceInYuan($marketPriceInYuan)
74
+    {
75
+        $this->marketPriceInYuan = $marketPriceInYuan;
76
+    }
77
+
78
+    public function setSkuPriceList($skuPriceList)
79
+    {
80
+        $this->skuPriceList = $skuPriceList;
81
+    }
82
+
83
+    public function setSyncGoodsOperate($syncGoodsOperate)
84
+    {
85
+        $this->syncGoodsOperate = $syncGoodsOperate;
86
+    }
87 87
 
88 88
 }
89 89
 
90 90
 class PddGoodsSkuPriceUpdateRequest_SkuPriceListItem extends PopBaseJsonEntity
91 91
 {
92 92
 
93
-	public function __construct()
94
-	{
95
-
96
-	}
97
-
98
-	/**
99
-	* @JsonProperty(Long, "group_price")
100
-	*/
101
-	private $groupPrice;
102
-
103
-	/**
104
-	* @JsonProperty(Integer, "is_onsale")
105
-	*/
106
-	private $isOnsale;
107
-
108
-	/**
109
-	* @JsonProperty(Long, "single_price")
110
-	*/
111
-	private $singlePrice;
112
-
113
-	/**
114
-	* @JsonProperty(Long, "sku_id")
115
-	*/
116
-	private $skuId;
117
-
118
-	public function setGroupPrice($groupPrice)
119
-	{
120
-		$this->groupPrice = $groupPrice;
121
-	}
122
-
123
-	public function setIsOnsale($isOnsale)
124
-	{
125
-		$this->isOnsale = $isOnsale;
126
-	}
127
-
128
-	public function setSinglePrice($singlePrice)
129
-	{
130
-		$this->singlePrice = $singlePrice;
131
-	}
132
-
133
-	public function setSkuId($skuId)
134
-	{
135
-		$this->skuId = $skuId;
136
-	}
93
+    public function __construct()
94
+    {
95
+
96
+    }
97
+
98
+    /**
99
+     * @JsonProperty(Long, "group_price")
100
+     */
101
+    private $groupPrice;
102
+
103
+    /**
104
+     * @JsonProperty(Integer, "is_onsale")
105
+     */
106
+    private $isOnsale;
107
+
108
+    /**
109
+     * @JsonProperty(Long, "single_price")
110
+     */
111
+    private $singlePrice;
112
+
113
+    /**
114
+     * @JsonProperty(Long, "sku_id")
115
+     */
116
+    private $skuId;
117
+
118
+    public function setGroupPrice($groupPrice)
119
+    {
120
+        $this->groupPrice = $groupPrice;
121
+    }
122
+
123
+    public function setIsOnsale($isOnsale)
124
+    {
125
+        $this->isOnsale = $isOnsale;
126
+    }
127
+
128
+    public function setSinglePrice($singlePrice)
129
+    {
130
+        $this->singlePrice = $singlePrice;
131
+    }
132
+
133
+    public function setSkuId($skuId)
134
+    {
135
+        $this->skuId = $skuId;
136
+    }
137 137
 
138 138
 }
Please login to merge, or discard this patch.