Passed
Push — v6 ( 32f4f3...27c58a )
by 光春
03:39
created
src/service/pinduoduo/bin/src/Api/Request/PddGoodsSpuGetRequest.php 1 patch
Indentation   +88 added lines, -88 removed lines patch added patch discarded remove patch
@@ -7,99 +7,99 @@
 block discarded – undo
7 7
 class PddGoodsSpuGetRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(String, "cat_id")
15
-	*/
16
-	private $catId;
17
-
18
-	/**
19
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsSpuGetRequest_KeyPropItem>, "key_prop")
20
-	*/
21
-	private $keyProp;
22
-
23
-	protected function setUserParams(&$params)
24
-	{
25
-		$this->setUserParam($params, "cat_id", $this->catId);
26
-		$this->setUserParam($params, "key_prop", $this->keyProp);
27
-
28
-	}
29
-
30
-	public function getVersion()
31
-	{
32
-		return "V1";
33
-	}
34
-
35
-	public function getDataType()
36
-	{
37
-		return "JSON";
38
-	}
39
-
40
-	public function getType()
41
-	{
42
-		return "pdd.goods.spu.get";
43
-	}
44
-
45
-	public function setCatId($catId)
46
-	{
47
-		$this->catId = $catId;
48
-	}
49
-
50
-	public function setKeyProp($keyProp)
51
-	{
52
-		$this->keyProp = $keyProp;
53
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(String, "cat_id")
15
+     */
16
+    private $catId;
17
+
18
+    /**
19
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsSpuGetRequest_KeyPropItem>, "key_prop")
20
+     */
21
+    private $keyProp;
22
+
23
+    protected function setUserParams(&$params)
24
+    {
25
+        $this->setUserParam($params, "cat_id", $this->catId);
26
+        $this->setUserParam($params, "key_prop", $this->keyProp);
27
+
28
+    }
29
+
30
+    public function getVersion()
31
+    {
32
+        return "V1";
33
+    }
34
+
35
+    public function getDataType()
36
+    {
37
+        return "JSON";
38
+    }
39
+
40
+    public function getType()
41
+    {
42
+        return "pdd.goods.spu.get";
43
+    }
44
+
45
+    public function setCatId($catId)
46
+    {
47
+        $this->catId = $catId;
48
+    }
49
+
50
+    public function setKeyProp($keyProp)
51
+    {
52
+        $this->keyProp = $keyProp;
53
+    }
54 54
 
55 55
 }
56 56
 
57 57
 class PddGoodsSpuGetRequest_KeyPropItem extends PopBaseJsonEntity
58 58
 {
59 59
 
60
-	public function __construct()
61
-	{
62
-
63
-	}
64
-
65
-	/**
66
-	* @JsonProperty(Long, "ref_pid")
67
-	*/
68
-	private $refPid;
69
-
70
-	/**
71
-	* @JsonProperty(String, "value_unit")
72
-	*/
73
-	private $valueUnit;
74
-
75
-	/**
76
-	* @JsonProperty(String, "value")
77
-	*/
78
-	private $value;
79
-
80
-	/**
81
-	* @JsonProperty(Long, "vid")
82
-	*/
83
-	private $vid;
84
-
85
-	public function setRefPid($refPid)
86
-	{
87
-		$this->refPid = $refPid;
88
-	}
89
-
90
-	public function setValueUnit($valueUnit)
91
-	{
92
-		$this->valueUnit = $valueUnit;
93
-	}
94
-
95
-	public function setValue($value)
96
-	{
97
-		$this->value = $value;
98
-	}
99
-
100
-	public function setVid($vid)
101
-	{
102
-		$this->vid = $vid;
103
-	}
60
+    public function __construct()
61
+    {
62
+
63
+    }
64
+
65
+    /**
66
+     * @JsonProperty(Long, "ref_pid")
67
+     */
68
+    private $refPid;
69
+
70
+    /**
71
+     * @JsonProperty(String, "value_unit")
72
+     */
73
+    private $valueUnit;
74
+
75
+    /**
76
+     * @JsonProperty(String, "value")
77
+     */
78
+    private $value;
79
+
80
+    /**
81
+     * @JsonProperty(Long, "vid")
82
+     */
83
+    private $vid;
84
+
85
+    public function setRefPid($refPid)
86
+    {
87
+        $this->refPid = $refPid;
88
+    }
89
+
90
+    public function setValueUnit($valueUnit)
91
+    {
92
+        $this->valueUnit = $valueUnit;
93
+    }
94
+
95
+    public function setValue($value)
96
+    {
97
+        $this->value = $value;
98
+    }
99
+
100
+    public function setVid($vid)
101
+    {
102
+        $this->vid = $vid;
103
+    }
104 104
 
105 105
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddGoodsInformationGetRequest.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 PddGoodsInformationGetRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Long, "goods_id")
15
-	*/
16
-	private $goodsId;
17
-
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "goods_id", $this->goodsId);
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.information.get";
37
-	}
38
-
39
-	public function setGoodsId($goodsId)
40
-	{
41
-		$this->goodsId = $goodsId;
42
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Long, "goods_id")
15
+     */
16
+    private $goodsId;
17
+
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "goods_id", $this->goodsId);
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.information.get";
37
+    }
38
+
39
+    public function setGoodsId($goodsId)
40
+    {
41
+        $this->goodsId = $goodsId;
42
+    }
43 43
 
44 44
 }
Please login to merge, or discard this patch.
pinduoduo/bin/src/Api/Request/PddPromotionLimitedDiscountListGetRequest.php 1 patch
Indentation   +99 added lines, -99 removed lines patch added patch discarded remove patch
@@ -7,104 +7,104 @@
 block discarded – undo
7 7
 class PddPromotionLimitedDiscountListGetRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(List<Integer>, "activity_types")
15
-	*/
16
-	private $activityTypes;
17
-
18
-	/**
19
-	* @JsonProperty(List<Long>, "goods_id_list")
20
-	*/
21
-	private $goodsIdList;
22
-
23
-	/**
24
-	* @JsonProperty(Boolean, "just_count")
25
-	*/
26
-	private $justCount;
27
-
28
-	/**
29
-	* @JsonProperty(Integer, "order")
30
-	*/
31
-	private $order;
32
-
33
-	/**
34
-	* @JsonProperty(Integer, "page_no")
35
-	*/
36
-	private $pageNo;
37
-
38
-	/**
39
-	* @JsonProperty(Integer, "page_size")
40
-	*/
41
-	private $pageSize;
42
-
43
-	/**
44
-	* @JsonProperty(List<Integer>, "status_list")
45
-	*/
46
-	private $statusList;
47
-
48
-	protected function setUserParams(&$params)
49
-	{
50
-		$this->setUserParam($params, "activity_types", $this->activityTypes);
51
-		$this->setUserParam($params, "goods_id_list", $this->goodsIdList);
52
-		$this->setUserParam($params, "just_count", $this->justCount);
53
-		$this->setUserParam($params, "order", $this->order);
54
-		$this->setUserParam($params, "page_no", $this->pageNo);
55
-		$this->setUserParam($params, "page_size", $this->pageSize);
56
-		$this->setUserParam($params, "status_list", $this->statusList);
57
-
58
-	}
59
-
60
-	public function getVersion()
61
-	{
62
-		return "V1";
63
-	}
64
-
65
-	public function getDataType()
66
-	{
67
-		return "JSON";
68
-	}
69
-
70
-	public function getType()
71
-	{
72
-		return "pdd.promotion.limited.discount.list.get";
73
-	}
74
-
75
-	public function setActivityTypes($activityTypes)
76
-	{
77
-		$this->activityTypes = $activityTypes;
78
-	}
79
-
80
-	public function setGoodsIdList($goodsIdList)
81
-	{
82
-		$this->goodsIdList = $goodsIdList;
83
-	}
84
-
85
-	public function setJustCount($justCount)
86
-	{
87
-		$this->justCount = $justCount;
88
-	}
89
-
90
-	public function setOrder($order)
91
-	{
92
-		$this->order = $order;
93
-	}
94
-
95
-	public function setPageNo($pageNo)
96
-	{
97
-		$this->pageNo = $pageNo;
98
-	}
99
-
100
-	public function setPageSize($pageSize)
101
-	{
102
-		$this->pageSize = $pageSize;
103
-	}
104
-
105
-	public function setStatusList($statusList)
106
-	{
107
-		$this->statusList = $statusList;
108
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(List<Integer>, "activity_types")
15
+     */
16
+    private $activityTypes;
17
+
18
+    /**
19
+     * @JsonProperty(List<Long>, "goods_id_list")
20
+     */
21
+    private $goodsIdList;
22
+
23
+    /**
24
+     * @JsonProperty(Boolean, "just_count")
25
+     */
26
+    private $justCount;
27
+
28
+    /**
29
+     * @JsonProperty(Integer, "order")
30
+     */
31
+    private $order;
32
+
33
+    /**
34
+     * @JsonProperty(Integer, "page_no")
35
+     */
36
+    private $pageNo;
37
+
38
+    /**
39
+     * @JsonProperty(Integer, "page_size")
40
+     */
41
+    private $pageSize;
42
+
43
+    /**
44
+     * @JsonProperty(List<Integer>, "status_list")
45
+     */
46
+    private $statusList;
47
+
48
+    protected function setUserParams(&$params)
49
+    {
50
+        $this->setUserParam($params, "activity_types", $this->activityTypes);
51
+        $this->setUserParam($params, "goods_id_list", $this->goodsIdList);
52
+        $this->setUserParam($params, "just_count", $this->justCount);
53
+        $this->setUserParam($params, "order", $this->order);
54
+        $this->setUserParam($params, "page_no", $this->pageNo);
55
+        $this->setUserParam($params, "page_size", $this->pageSize);
56
+        $this->setUserParam($params, "status_list", $this->statusList);
57
+
58
+    }
59
+
60
+    public function getVersion()
61
+    {
62
+        return "V1";
63
+    }
64
+
65
+    public function getDataType()
66
+    {
67
+        return "JSON";
68
+    }
69
+
70
+    public function getType()
71
+    {
72
+        return "pdd.promotion.limited.discount.list.get";
73
+    }
74
+
75
+    public function setActivityTypes($activityTypes)
76
+    {
77
+        $this->activityTypes = $activityTypes;
78
+    }
79
+
80
+    public function setGoodsIdList($goodsIdList)
81
+    {
82
+        $this->goodsIdList = $goodsIdList;
83
+    }
84
+
85
+    public function setJustCount($justCount)
86
+    {
87
+        $this->justCount = $justCount;
88
+    }
89
+
90
+    public function setOrder($order)
91
+    {
92
+        $this->order = $order;
93
+    }
94
+
95
+    public function setPageNo($pageNo)
96
+    {
97
+        $this->pageNo = $pageNo;
98
+    }
99
+
100
+    public function setPageSize($pageSize)
101
+    {
102
+        $this->pageSize = $pageSize;
103
+    }
104
+
105
+    public function setStatusList($statusList)
106
+    {
107
+        $this->statusList = $statusList;
108
+    }
109 109
 
110 110
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddOrderPromiseInfoGetRequest.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 PddOrderPromiseInfoGetRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Long, "promise_id")
15
-	*/
16
-	private $promiseId;
17
-
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "promise_id", $this->promiseId);
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.order.promise.info.get";
37
-	}
38
-
39
-	public function setPromiseId($promiseId)
40
-	{
41
-		$this->promiseId = $promiseId;
42
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Long, "promise_id")
15
+     */
16
+    private $promiseId;
17
+
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "promise_id", $this->promiseId);
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.order.promise.info.get";
37
+    }
38
+
39
+    public function setPromiseId($promiseId)
40
+    {
41
+        $this->promiseId = $promiseId;
42
+    }
43 43
 
44 44
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddFlightOrderQuerysnRequest.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 PddFlightOrderQuerysnRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(String, "trace_id")
15
-	*/
16
-	private $traceId;
17
-
18
-	/**
19
-	* @JsonProperty(String, "travel_sn")
20
-	*/
21
-	private $travelSn;
22
-
23
-	protected function setUserParams(&$params)
24
-	{
25
-		$this->setUserParam($params, "trace_id", $this->traceId);
26
-		$this->setUserParam($params, "travel_sn", $this->travelSn);
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.flight.order.querysn";
43
-	}
44
-
45
-	public function setTraceId($traceId)
46
-	{
47
-		$this->traceId = $traceId;
48
-	}
49
-
50
-	public function setTravelSn($travelSn)
51
-	{
52
-		$this->travelSn = $travelSn;
53
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(String, "trace_id")
15
+     */
16
+    private $traceId;
17
+
18
+    /**
19
+     * @JsonProperty(String, "travel_sn")
20
+     */
21
+    private $travelSn;
22
+
23
+    protected function setUserParams(&$params)
24
+    {
25
+        $this->setUserParam($params, "trace_id", $this->traceId);
26
+        $this->setUserParam($params, "travel_sn", $this->travelSn);
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.flight.order.querysn";
43
+    }
44
+
45
+    public function setTraceId($traceId)
46
+    {
47
+        $this->traceId = $traceId;
48
+    }
49
+
50
+    public function setTravelSn($travelSn)
51
+    {
52
+        $this->travelSn = $travelSn;
53
+    }
54 54
 
55 55
 }
Please login to merge, or discard this patch.
service/pinduoduo/bin/src/Api/Request/PddLogisticsTicketNotifyRequest.php 1 patch
Indentation   +132 added lines, -132 removed lines patch added patch discarded remove patch
@@ -7,137 +7,137 @@
 block discarded – undo
7 7
 class PddLogisticsTicketNotifyRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(List<String>, "attach_path_list")
15
-	*/
16
-	private $attachPathList;
17
-
18
-	/**
19
-	* @JsonProperty(Long, "ticket_id")
20
-	*/
21
-	private $ticketId;
22
-
23
-	/**
24
-	* @JsonProperty(String, "waybill_no")
25
-	*/
26
-	private $waybillNo;
27
-
28
-	/**
29
-	* @JsonProperty(String, "handle_result")
30
-	*/
31
-	private $handleResult;
32
-
33
-	/**
34
-	* @JsonProperty(Integer, "sign_state")
35
-	*/
36
-	private $signState;
37
-
38
-	/**
39
-	* @JsonProperty(Integer, "compensate_state")
40
-	*/
41
-	private $compensateState;
42
-
43
-	/**
44
-	* @JsonProperty(Long, "compensate_amount")
45
-	*/
46
-	private $compensateAmount;
47
-
48
-	/**
49
-	* @JsonProperty(Integer, "duty")
50
-	*/
51
-	private $duty;
52
-
53
-	/**
54
-	* @JsonProperty(String, "express_dealer")
55
-	*/
56
-	private $expressDealer;
57
-
58
-	/**
59
-	* @JsonProperty(String, "express_dealer_contact")
60
-	*/
61
-	private $expressDealerContact;
62
-
63
-	protected function setUserParams(&$params)
64
-	{
65
-		$this->setUserParam($params, "attach_path_list", $this->attachPathList);
66
-		$this->setUserParam($params, "ticket_id", $this->ticketId);
67
-		$this->setUserParam($params, "waybill_no", $this->waybillNo);
68
-		$this->setUserParam($params, "handle_result", $this->handleResult);
69
-		$this->setUserParam($params, "sign_state", $this->signState);
70
-		$this->setUserParam($params, "compensate_state", $this->compensateState);
71
-		$this->setUserParam($params, "compensate_amount", $this->compensateAmount);
72
-		$this->setUserParam($params, "duty", $this->duty);
73
-		$this->setUserParam($params, "express_dealer", $this->expressDealer);
74
-		$this->setUserParam($params, "express_dealer_contact", $this->expressDealerContact);
75
-
76
-	}
77
-
78
-	public function getVersion()
79
-	{
80
-		return "V1";
81
-	}
82
-
83
-	public function getDataType()
84
-	{
85
-		return "JSON";
86
-	}
87
-
88
-	public function getType()
89
-	{
90
-		return "pdd.logistics.ticket.notify";
91
-	}
92
-
93
-	public function setAttachPathList($attachPathList)
94
-	{
95
-		$this->attachPathList = $attachPathList;
96
-	}
97
-
98
-	public function setTicketId($ticketId)
99
-	{
100
-		$this->ticketId = $ticketId;
101
-	}
102
-
103
-	public function setWaybillNo($waybillNo)
104
-	{
105
-		$this->waybillNo = $waybillNo;
106
-	}
107
-
108
-	public function setHandleResult($handleResult)
109
-	{
110
-		$this->handleResult = $handleResult;
111
-	}
112
-
113
-	public function setSignState($signState)
114
-	{
115
-		$this->signState = $signState;
116
-	}
117
-
118
-	public function setCompensateState($compensateState)
119
-	{
120
-		$this->compensateState = $compensateState;
121
-	}
122
-
123
-	public function setCompensateAmount($compensateAmount)
124
-	{
125
-		$this->compensateAmount = $compensateAmount;
126
-	}
127
-
128
-	public function setDuty($duty)
129
-	{
130
-		$this->duty = $duty;
131
-	}
132
-
133
-	public function setExpressDealer($expressDealer)
134
-	{
135
-		$this->expressDealer = $expressDealer;
136
-	}
137
-
138
-	public function setExpressDealerContact($expressDealerContact)
139
-	{
140
-		$this->expressDealerContact = $expressDealerContact;
141
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(List<String>, "attach_path_list")
15
+     */
16
+    private $attachPathList;
17
+
18
+    /**
19
+     * @JsonProperty(Long, "ticket_id")
20
+     */
21
+    private $ticketId;
22
+
23
+    /**
24
+     * @JsonProperty(String, "waybill_no")
25
+     */
26
+    private $waybillNo;
27
+
28
+    /**
29
+     * @JsonProperty(String, "handle_result")
30
+     */
31
+    private $handleResult;
32
+
33
+    /**
34
+     * @JsonProperty(Integer, "sign_state")
35
+     */
36
+    private $signState;
37
+
38
+    /**
39
+     * @JsonProperty(Integer, "compensate_state")
40
+     */
41
+    private $compensateState;
42
+
43
+    /**
44
+     * @JsonProperty(Long, "compensate_amount")
45
+     */
46
+    private $compensateAmount;
47
+
48
+    /**
49
+     * @JsonProperty(Integer, "duty")
50
+     */
51
+    private $duty;
52
+
53
+    /**
54
+     * @JsonProperty(String, "express_dealer")
55
+     */
56
+    private $expressDealer;
57
+
58
+    /**
59
+     * @JsonProperty(String, "express_dealer_contact")
60
+     */
61
+    private $expressDealerContact;
62
+
63
+    protected function setUserParams(&$params)
64
+    {
65
+        $this->setUserParam($params, "attach_path_list", $this->attachPathList);
66
+        $this->setUserParam($params, "ticket_id", $this->ticketId);
67
+        $this->setUserParam($params, "waybill_no", $this->waybillNo);
68
+        $this->setUserParam($params, "handle_result", $this->handleResult);
69
+        $this->setUserParam($params, "sign_state", $this->signState);
70
+        $this->setUserParam($params, "compensate_state", $this->compensateState);
71
+        $this->setUserParam($params, "compensate_amount", $this->compensateAmount);
72
+        $this->setUserParam($params, "duty", $this->duty);
73
+        $this->setUserParam($params, "express_dealer", $this->expressDealer);
74
+        $this->setUserParam($params, "express_dealer_contact", $this->expressDealerContact);
75
+
76
+    }
77
+
78
+    public function getVersion()
79
+    {
80
+        return "V1";
81
+    }
82
+
83
+    public function getDataType()
84
+    {
85
+        return "JSON";
86
+    }
87
+
88
+    public function getType()
89
+    {
90
+        return "pdd.logistics.ticket.notify";
91
+    }
92
+
93
+    public function setAttachPathList($attachPathList)
94
+    {
95
+        $this->attachPathList = $attachPathList;
96
+    }
97
+
98
+    public function setTicketId($ticketId)
99
+    {
100
+        $this->ticketId = $ticketId;
101
+    }
102
+
103
+    public function setWaybillNo($waybillNo)
104
+    {
105
+        $this->waybillNo = $waybillNo;
106
+    }
107
+
108
+    public function setHandleResult($handleResult)
109
+    {
110
+        $this->handleResult = $handleResult;
111
+    }
112
+
113
+    public function setSignState($signState)
114
+    {
115
+        $this->signState = $signState;
116
+    }
117
+
118
+    public function setCompensateState($compensateState)
119
+    {
120
+        $this->compensateState = $compensateState;
121
+    }
122
+
123
+    public function setCompensateAmount($compensateAmount)
124
+    {
125
+        $this->compensateAmount = $compensateAmount;
126
+    }
127
+
128
+    public function setDuty($duty)
129
+    {
130
+        $this->duty = $duty;
131
+    }
132
+
133
+    public function setExpressDealer($expressDealer)
134
+    {
135
+        $this->expressDealer = $expressDealer;
136
+    }
137
+
138
+    public function setExpressDealerContact($expressDealerContact)
139
+    {
140
+        $this->expressDealerContact = $expressDealerContact;
141
+    }
142 142
 
143 143
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddAdApiKeywordUpdateRequest.php 1 patch
Indentation   +78 added lines, -78 removed lines patch added patch discarded remove patch
@@ -7,89 +7,89 @@
 block discarded – undo
7 7
 class PddAdApiKeywordUpdateRequest 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(List<\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiKeywordUpdateRequest_KeywordsItem>, "keywords")
20
-	*/
21
-	private $keywords;
22
-
23
-	protected function setUserParams(&$params)
24
-	{
25
-		$this->setUserParam($params, "adId", $this->adId);
26
-		$this->setUserParam($params, "keywords", $this->keywords);
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.ad.api.keyword.update";
43
-	}
44
-
45
-	public function setAdId($adId)
46
-	{
47
-		$this->adId = $adId;
48
-	}
49
-
50
-	public function setKeywords($keywords)
51
-	{
52
-		$this->keywords = $keywords;
53
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Long, "adId")
15
+     */
16
+    private $adId;
17
+
18
+    /**
19
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiKeywordUpdateRequest_KeywordsItem>, "keywords")
20
+     */
21
+    private $keywords;
22
+
23
+    protected function setUserParams(&$params)
24
+    {
25
+        $this->setUserParam($params, "adId", $this->adId);
26
+        $this->setUserParam($params, "keywords", $this->keywords);
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.ad.api.keyword.update";
43
+    }
44
+
45
+    public function setAdId($adId)
46
+    {
47
+        $this->adId = $adId;
48
+    }
49
+
50
+    public function setKeywords($keywords)
51
+    {
52
+        $this->keywords = $keywords;
53
+    }
54 54
 
55 55
 }
56 56
 
57 57
 class PddAdApiKeywordUpdateRequest_KeywordsItem extends PopBaseJsonEntity
58 58
 {
59 59
 
60
-	public function __construct()
61
-	{
62
-
63
-	}
64
-
65
-	/**
66
-	* @JsonProperty(Long, "bid")
67
-	*/
68
-	private $bid;
69
-
70
-	/**
71
-	* @JsonProperty(Long, "keywordId")
72
-	*/
73
-	private $keywordId;
74
-
75
-	/**
76
-	* @JsonProperty(Long, "premiumRate")
77
-	*/
78
-	private $premiumRate;
79
-
80
-	public function setBid($bid)
81
-	{
82
-		$this->bid = $bid;
83
-	}
84
-
85
-	public function setKeywordId($keywordId)
86
-	{
87
-		$this->keywordId = $keywordId;
88
-	}
89
-
90
-	public function setPremiumRate($premiumRate)
91
-	{
92
-		$this->premiumRate = $premiumRate;
93
-	}
60
+    public function __construct()
61
+    {
62
+
63
+    }
64
+
65
+    /**
66
+     * @JsonProperty(Long, "bid")
67
+     */
68
+    private $bid;
69
+
70
+    /**
71
+     * @JsonProperty(Long, "keywordId")
72
+     */
73
+    private $keywordId;
74
+
75
+    /**
76
+     * @JsonProperty(Long, "premiumRate")
77
+     */
78
+    private $premiumRate;
79
+
80
+    public function setBid($bid)
81
+    {
82
+        $this->bid = $bid;
83
+    }
84
+
85
+    public function setKeywordId($keywordId)
86
+    {
87
+        $this->keywordId = $keywordId;
88
+    }
89
+
90
+    public function setPremiumRate($premiumRate)
91
+    {
92
+        $this->premiumRate = $premiumRate;
93
+    }
94 94
 
95 95
 }
Please login to merge, or discard this patch.
service/pinduoduo/bin/src/Api/Request/PddDdkCmsPromUrlGenerateRequest.php 1 patch
Indentation   +132 added lines, -132 removed lines patch added patch discarded remove patch
@@ -7,137 +7,137 @@
 block discarded – undo
7 7
 class PddDdkCmsPromUrlGenerateRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Integer, "channel_type")
15
-	*/
16
-	private $channelType;
17
-
18
-	/**
19
-	* @JsonProperty(String, "custom_parameters")
20
-	*/
21
-	private $customParameters;
22
-
23
-	/**
24
-	* @JsonProperty(Boolean, "generate_mobile")
25
-	*/
26
-	private $generateMobile;
27
-
28
-	/**
29
-	* @JsonProperty(Boolean, "generate_schema_url")
30
-	*/
31
-	private $generateSchemaUrl;
32
-
33
-	/**
34
-	* @JsonProperty(Boolean, "generate_short_url")
35
-	*/
36
-	private $generateShortUrl;
37
-
38
-	/**
39
-	* @JsonProperty(Boolean, "generate_weapp_webview")
40
-	*/
41
-	private $generateWeappWebview;
42
-
43
-	/**
44
-	* @JsonProperty(Boolean, "multi_group")
45
-	*/
46
-	private $multiGroup;
47
-
48
-	/**
49
-	* @JsonProperty(List<String>, "p_id_list")
50
-	*/
51
-	private $pIdList;
52
-
53
-	/**
54
-	* @JsonProperty(Boolean, "generate_we_app")
55
-	*/
56
-	private $generateWeApp;
57
-
58
-	/**
59
-	* @JsonProperty(String, "keyword")
60
-	*/
61
-	private $keyword;
62
-
63
-	protected function setUserParams(&$params)
64
-	{
65
-		$this->setUserParam($params, "channel_type", $this->channelType);
66
-		$this->setUserParam($params, "custom_parameters", $this->customParameters);
67
-		$this->setUserParam($params, "generate_mobile", $this->generateMobile);
68
-		$this->setUserParam($params, "generate_schema_url", $this->generateSchemaUrl);
69
-		$this->setUserParam($params, "generate_short_url", $this->generateShortUrl);
70
-		$this->setUserParam($params, "generate_weapp_webview", $this->generateWeappWebview);
71
-		$this->setUserParam($params, "multi_group", $this->multiGroup);
72
-		$this->setUserParam($params, "p_id_list", $this->pIdList);
73
-		$this->setUserParam($params, "generate_we_app", $this->generateWeApp);
74
-		$this->setUserParam($params, "keyword", $this->keyword);
75
-
76
-	}
77
-
78
-	public function getVersion()
79
-	{
80
-		return "V1";
81
-	}
82
-
83
-	public function getDataType()
84
-	{
85
-		return "JSON";
86
-	}
87
-
88
-	public function getType()
89
-	{
90
-		return "pdd.ddk.cms.prom.url.generate";
91
-	}
92
-
93
-	public function setChannelType($channelType)
94
-	{
95
-		$this->channelType = $channelType;
96
-	}
97
-
98
-	public function setCustomParameters($customParameters)
99
-	{
100
-		$this->customParameters = $customParameters;
101
-	}
102
-
103
-	public function setGenerateMobile($generateMobile)
104
-	{
105
-		$this->generateMobile = $generateMobile;
106
-	}
107
-
108
-	public function setGenerateSchemaUrl($generateSchemaUrl)
109
-	{
110
-		$this->generateSchemaUrl = $generateSchemaUrl;
111
-	}
112
-
113
-	public function setGenerateShortUrl($generateShortUrl)
114
-	{
115
-		$this->generateShortUrl = $generateShortUrl;
116
-	}
117
-
118
-	public function setGenerateWeappWebview($generateWeappWebview)
119
-	{
120
-		$this->generateWeappWebview = $generateWeappWebview;
121
-	}
122
-
123
-	public function setMultiGroup($multiGroup)
124
-	{
125
-		$this->multiGroup = $multiGroup;
126
-	}
127
-
128
-	public function setPIdList($pIdList)
129
-	{
130
-		$this->pIdList = $pIdList;
131
-	}
132
-
133
-	public function setGenerateWeApp($generateWeApp)
134
-	{
135
-		$this->generateWeApp = $generateWeApp;
136
-	}
137
-
138
-	public function setKeyword($keyword)
139
-	{
140
-		$this->keyword = $keyword;
141
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Integer, "channel_type")
15
+     */
16
+    private $channelType;
17
+
18
+    /**
19
+     * @JsonProperty(String, "custom_parameters")
20
+     */
21
+    private $customParameters;
22
+
23
+    /**
24
+     * @JsonProperty(Boolean, "generate_mobile")
25
+     */
26
+    private $generateMobile;
27
+
28
+    /**
29
+     * @JsonProperty(Boolean, "generate_schema_url")
30
+     */
31
+    private $generateSchemaUrl;
32
+
33
+    /**
34
+     * @JsonProperty(Boolean, "generate_short_url")
35
+     */
36
+    private $generateShortUrl;
37
+
38
+    /**
39
+     * @JsonProperty(Boolean, "generate_weapp_webview")
40
+     */
41
+    private $generateWeappWebview;
42
+
43
+    /**
44
+     * @JsonProperty(Boolean, "multi_group")
45
+     */
46
+    private $multiGroup;
47
+
48
+    /**
49
+     * @JsonProperty(List<String>, "p_id_list")
50
+     */
51
+    private $pIdList;
52
+
53
+    /**
54
+     * @JsonProperty(Boolean, "generate_we_app")
55
+     */
56
+    private $generateWeApp;
57
+
58
+    /**
59
+     * @JsonProperty(String, "keyword")
60
+     */
61
+    private $keyword;
62
+
63
+    protected function setUserParams(&$params)
64
+    {
65
+        $this->setUserParam($params, "channel_type", $this->channelType);
66
+        $this->setUserParam($params, "custom_parameters", $this->customParameters);
67
+        $this->setUserParam($params, "generate_mobile", $this->generateMobile);
68
+        $this->setUserParam($params, "generate_schema_url", $this->generateSchemaUrl);
69
+        $this->setUserParam($params, "generate_short_url", $this->generateShortUrl);
70
+        $this->setUserParam($params, "generate_weapp_webview", $this->generateWeappWebview);
71
+        $this->setUserParam($params, "multi_group", $this->multiGroup);
72
+        $this->setUserParam($params, "p_id_list", $this->pIdList);
73
+        $this->setUserParam($params, "generate_we_app", $this->generateWeApp);
74
+        $this->setUserParam($params, "keyword", $this->keyword);
75
+
76
+    }
77
+
78
+    public function getVersion()
79
+    {
80
+        return "V1";
81
+    }
82
+
83
+    public function getDataType()
84
+    {
85
+        return "JSON";
86
+    }
87
+
88
+    public function getType()
89
+    {
90
+        return "pdd.ddk.cms.prom.url.generate";
91
+    }
92
+
93
+    public function setChannelType($channelType)
94
+    {
95
+        $this->channelType = $channelType;
96
+    }
97
+
98
+    public function setCustomParameters($customParameters)
99
+    {
100
+        $this->customParameters = $customParameters;
101
+    }
102
+
103
+    public function setGenerateMobile($generateMobile)
104
+    {
105
+        $this->generateMobile = $generateMobile;
106
+    }
107
+
108
+    public function setGenerateSchemaUrl($generateSchemaUrl)
109
+    {
110
+        $this->generateSchemaUrl = $generateSchemaUrl;
111
+    }
112
+
113
+    public function setGenerateShortUrl($generateShortUrl)
114
+    {
115
+        $this->generateShortUrl = $generateShortUrl;
116
+    }
117
+
118
+    public function setGenerateWeappWebview($generateWeappWebview)
119
+    {
120
+        $this->generateWeappWebview = $generateWeappWebview;
121
+    }
122
+
123
+    public function setMultiGroup($multiGroup)
124
+    {
125
+        $this->multiGroup = $multiGroup;
126
+    }
127
+
128
+    public function setPIdList($pIdList)
129
+    {
130
+        $this->pIdList = $pIdList;
131
+    }
132
+
133
+    public function setGenerateWeApp($generateWeApp)
134
+    {
135
+        $this->generateWeApp = $generateWeApp;
136
+    }
137
+
138
+    public function setKeyword($keyword)
139
+    {
140
+        $this->keyword = $keyword;
141
+    }
142 142
 
143 143
 }
Please login to merge, or discard this patch.
pinduoduo/bin/src/Api/Request/PddLogisticsIsvTraceNotifySubRequest.php 1 patch
Indentation   +44 added lines, -44 removed lines patch added patch discarded remove patch
@@ -7,60 +7,60 @@
 block discarded – undo
7 7
 class PddLogisticsIsvTraceNotifySubRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
10
+    {
11 11
 
12
-	}
13
-	/**
14
-	* @JsonProperty(String, "ship_code")
15
-	*/
16
-	private $shipCode;
12
+    }
13
+    /**
14
+     * @JsonProperty(String, "ship_code")
15
+     */
16
+    private $shipCode;
17 17
 
18
-	/**
19
-	* @JsonProperty(String, "tel")
20
-	*/
21
-	private $tel;
18
+    /**
19
+     * @JsonProperty(String, "tel")
20
+     */
21
+    private $tel;
22 22
 
23
-	/**
24
-	* @JsonProperty(String, "track_no")
25
-	*/
26
-	private $trackNo;
23
+    /**
24
+     * @JsonProperty(String, "track_no")
25
+     */
26
+    private $trackNo;
27 27
 
28
-	protected function setUserParams(&$params)
29
-	{
30
-		$this->setUserParam($params, "ship_code", $this->shipCode);
31
-		$this->setUserParam($params, "tel", $this->tel);
32
-		$this->setUserParam($params, "track_no", $this->trackNo);
28
+    protected function setUserParams(&$params)
29
+    {
30
+        $this->setUserParam($params, "ship_code", $this->shipCode);
31
+        $this->setUserParam($params, "tel", $this->tel);
32
+        $this->setUserParam($params, "track_no", $this->trackNo);
33 33
 
34
-	}
34
+    }
35 35
 
36
-	public function getVersion()
37
-	{
38
-		return "V1";
39
-	}
36
+    public function getVersion()
37
+    {
38
+        return "V1";
39
+    }
40 40
 
41
-	public function getDataType()
42
-	{
43
-		return "JSON";
44
-	}
41
+    public function getDataType()
42
+    {
43
+        return "JSON";
44
+    }
45 45
 
46
-	public function getType()
47
-	{
48
-		return "pdd.logistics.isv.trace.notify.sub";
49
-	}
46
+    public function getType()
47
+    {
48
+        return "pdd.logistics.isv.trace.notify.sub";
49
+    }
50 50
 
51
-	public function setShipCode($shipCode)
52
-	{
53
-		$this->shipCode = $shipCode;
54
-	}
51
+    public function setShipCode($shipCode)
52
+    {
53
+        $this->shipCode = $shipCode;
54
+    }
55 55
 
56
-	public function setTel($tel)
57
-	{
58
-		$this->tel = $tel;
59
-	}
56
+    public function setTel($tel)
57
+    {
58
+        $this->tel = $tel;
59
+    }
60 60
 
61
-	public function setTrackNo($trackNo)
62
-	{
63
-		$this->trackNo = $trackNo;
64
-	}
61
+    public function setTrackNo($trackNo)
62
+    {
63
+        $this->trackNo = $trackNo;
64
+    }
65 65
 
66 66
 }
Please login to merge, or discard this patch.