Passed
Push — v6 ( f71c30...fe03e1 )
by 光春
04:16
created
src/service/pinduoduo/bin/src/Api/Request/PddLogisticsTicketGetRequest.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 PddLogisticsTicketGetRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Long, "end_updated_at")
15
-	*/
16
-	private $endUpdatedAt;
17
-
18
-	/**
19
-	* @JsonProperty(Integer, "page")
20
-	*/
21
-	private $page;
22
-
23
-	/**
24
-	* @JsonProperty(Integer, "page_size")
25
-	*/
26
-	private $pageSize;
27
-
28
-	/**
29
-	* @JsonProperty(Long, "start_updated_at")
30
-	*/
31
-	private $startUpdatedAt;
32
-
33
-	protected function setUserParams(&$params)
34
-	{
35
-		$this->setUserParam($params, "end_updated_at", $this->endUpdatedAt);
36
-		$this->setUserParam($params, "page", $this->page);
37
-		$this->setUserParam($params, "page_size", $this->pageSize);
38
-		$this->setUserParam($params, "start_updated_at", $this->startUpdatedAt);
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.logistics.ticket.get";
55
-	}
56
-
57
-	public function setEndUpdatedAt($endUpdatedAt)
58
-	{
59
-		$this->endUpdatedAt = $endUpdatedAt;
60
-	}
61
-
62
-	public function setPage($page)
63
-	{
64
-		$this->page = $page;
65
-	}
66
-
67
-	public function setPageSize($pageSize)
68
-	{
69
-		$this->pageSize = $pageSize;
70
-	}
71
-
72
-	public function setStartUpdatedAt($startUpdatedAt)
73
-	{
74
-		$this->startUpdatedAt = $startUpdatedAt;
75
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Long, "end_updated_at")
15
+     */
16
+    private $endUpdatedAt;
17
+
18
+    /**
19
+     * @JsonProperty(Integer, "page")
20
+     */
21
+    private $page;
22
+
23
+    /**
24
+     * @JsonProperty(Integer, "page_size")
25
+     */
26
+    private $pageSize;
27
+
28
+    /**
29
+     * @JsonProperty(Long, "start_updated_at")
30
+     */
31
+    private $startUpdatedAt;
32
+
33
+    protected function setUserParams(&$params)
34
+    {
35
+        $this->setUserParam($params, "end_updated_at", $this->endUpdatedAt);
36
+        $this->setUserParam($params, "page", $this->page);
37
+        $this->setUserParam($params, "page_size", $this->pageSize);
38
+        $this->setUserParam($params, "start_updated_at", $this->startUpdatedAt);
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.logistics.ticket.get";
55
+    }
56
+
57
+    public function setEndUpdatedAt($endUpdatedAt)
58
+    {
59
+        $this->endUpdatedAt = $endUpdatedAt;
60
+    }
61
+
62
+    public function setPage($page)
63
+    {
64
+        $this->page = $page;
65
+    }
66
+
67
+    public function setPageSize($pageSize)
68
+    {
69
+        $this->pageSize = $pageSize;
70
+    }
71
+
72
+    public function setStartUpdatedAt($startUpdatedAt)
73
+    {
74
+        $this->startUpdatedAt = $startUpdatedAt;
75
+    }
76 76
 
77 77
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddGoodsOptGetRequest.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 PddGoodsOptGetRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Integer, "parent_opt_id")
15
-	*/
16
-	private $parentOptId;
17
-
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "parent_opt_id", $this->parentOptId);
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.opt.get";
37
-	}
38
-
39
-	public function setParentOptId($parentOptId)
40
-	{
41
-		$this->parentOptId = $parentOptId;
42
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Integer, "parent_opt_id")
15
+     */
16
+    private $parentOptId;
17
+
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "parent_opt_id", $this->parentOptId);
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.opt.get";
37
+    }
38
+
39
+    public function setParentOptId($parentOptId)
40
+    {
41
+        $this->parentOptId = $parentOptId;
42
+    }
43 43
 
44 44
 }
Please login to merge, or discard this patch.
service/pinduoduo/bin/src/Api/Request/PddAdApiUnitCreativeDeleteRequest.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 PddAdApiUnitCreativeDeleteRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Long, "unitCreativeId")
15
-	*/
16
-	private $unitCreativeId;
17
-
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "unitCreativeId", $this->unitCreativeId);
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.delete";
37
-	}
38
-
39
-	public function setUnitCreativeId($unitCreativeId)
40
-	{
41
-		$this->unitCreativeId = $unitCreativeId;
42
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Long, "unitCreativeId")
15
+     */
16
+    private $unitCreativeId;
17
+
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "unitCreativeId", $this->unitCreativeId);
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.delete";
37
+    }
38
+
39
+    public function setUnitCreativeId($unitCreativeId)
40
+    {
41
+        $this->unitCreativeId = $unitCreativeId;
42
+    }
43 43
 
44 44
 }
Please login to merge, or discard this patch.
pinduoduo/bin/src/Api/Request/PddCloudprintStdtemplatesGetRequest.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 PddCloudprintStdtemplatesGetRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(String, "wp_code")
15
-	*/
16
-	private $wpCode;
17
-
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "wp_code", $this->wpCode);
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.cloudprint.stdtemplates.get";
37
-	}
38
-
39
-	public function setWpCode($wpCode)
40
-	{
41
-		$this->wpCode = $wpCode;
42
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(String, "wp_code")
15
+     */
16
+    private $wpCode;
17
+
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "wp_code", $this->wpCode);
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.cloudprint.stdtemplates.get";
37
+    }
38
+
39
+    public function setWpCode($wpCode)
40
+    {
41
+        $this->wpCode = $wpCode;
42
+    }
43 43
 
44 44
 }
Please login to merge, or discard this patch.
bin/src/Api/Request/PddAdApiUnitCreativeDistributeFlowRateRequest.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 PddAdApiUnitCreativeDistributeFlowRateRequest 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(Integer, "creativeFlowRate")
20
-	*/
21
-	private $creativeFlowRate;
22
-
23
-	protected function setUserParams(&$params)
24
-	{
25
-		$this->setUserParam($params, "adId", $this->adId);
26
-		$this->setUserParam($params, "creativeFlowRate", $this->creativeFlowRate);
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.unit.creative.distribute.flow.rate";
43
-	}
44
-
45
-	public function setAdId($adId)
46
-	{
47
-		$this->adId = $adId;
48
-	}
49
-
50
-	public function setCreativeFlowRate($creativeFlowRate)
51
-	{
52
-		$this->creativeFlowRate = $creativeFlowRate;
53
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Long, "adId")
15
+     */
16
+    private $adId;
17
+
18
+    /**
19
+     * @JsonProperty(Integer, "creativeFlowRate")
20
+     */
21
+    private $creativeFlowRate;
22
+
23
+    protected function setUserParams(&$params)
24
+    {
25
+        $this->setUserParam($params, "adId", $this->adId);
26
+        $this->setUserParam($params, "creativeFlowRate", $this->creativeFlowRate);
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.unit.creative.distribute.flow.rate";
43
+    }
44
+
45
+    public function setAdId($adId)
46
+    {
47
+        $this->adId = $adId;
48
+    }
49
+
50
+    public function setCreativeFlowRate($creativeFlowRate)
51
+    {
52
+        $this->creativeFlowRate = $creativeFlowRate;
53
+    }
54 54
 
55 55
 }
Please login to merge, or discard this patch.
service/pinduoduo/bin/src/Api/Request/PddCloudprintCustomaresGetRequest.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 PddCloudprintCustomaresGetRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(String, "template_id")
15
-	*/
16
-	private $templateId;
17
-
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "template_id", $this->templateId);
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.cloudprint.customares.get";
37
-	}
38
-
39
-	public function setTemplateId($templateId)
40
-	{
41
-		$this->templateId = $templateId;
42
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(String, "template_id")
15
+     */
16
+    private $templateId;
17
+
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "template_id", $this->templateId);
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.cloudprint.customares.get";
37
+    }
38
+
39
+    public function setTemplateId($templateId)
40
+    {
41
+        $this->templateId = $templateId;
42
+    }
43 43
 
44 44
 }
Please login to merge, or discard this patch.
service/pinduoduo/bin/src/Api/Request/PddFlightOrderPayConfirmRequest.php 1 patch
Indentation   +152 added lines, -152 removed lines patch added patch discarded remove patch
@@ -7,163 +7,163 @@
 block discarded – undo
7 7
 class PddFlightOrderPayConfirmRequest 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, "sub_trace_id")
20
-	*/
21
-	private $subTraceId;
22
-
23
-	/**
24
-	* @JsonProperty(String, "out_order_no")
25
-	*/
26
-	private $outOrderNo;
27
-
28
-	/**
29
-	* @JsonProperty(String, "parent_travel_sn")
30
-	*/
31
-	private $parentTravelSn;
32
-
33
-	/**
34
-	* @JsonProperty(Long, "total_pay")
35
-	*/
36
-	private $totalPay;
37
-
38
-	/**
39
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightOrderPayConfirmRequest_PassengerInfoListItem>, "passenger_info_list")
40
-	*/
41
-	private $passengerInfoList;
42
-
43
-	protected function setUserParams(&$params)
44
-	{
45
-		$this->setUserParam($params, "trace_id", $this->traceId);
46
-		$this->setUserParam($params, "sub_trace_id", $this->subTraceId);
47
-		$this->setUserParam($params, "out_order_no", $this->outOrderNo);
48
-		$this->setUserParam($params, "parent_travel_sn", $this->parentTravelSn);
49
-		$this->setUserParam($params, "total_pay", $this->totalPay);
50
-		$this->setUserParam($params, "passenger_info_list", $this->passengerInfoList);
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.flight.order.pay.confirm";
67
-	}
68
-
69
-	public function setTraceId($traceId)
70
-	{
71
-		$this->traceId = $traceId;
72
-	}
73
-
74
-	public function setSubTraceId($subTraceId)
75
-	{
76
-		$this->subTraceId = $subTraceId;
77
-	}
78
-
79
-	public function setOutOrderNo($outOrderNo)
80
-	{
81
-		$this->outOrderNo = $outOrderNo;
82
-	}
83
-
84
-	public function setParentTravelSn($parentTravelSn)
85
-	{
86
-		$this->parentTravelSn = $parentTravelSn;
87
-	}
88
-
89
-	public function setTotalPay($totalPay)
90
-	{
91
-		$this->totalPay = $totalPay;
92
-	}
93
-
94
-	public function setPassengerInfoList($passengerInfoList)
95
-	{
96
-		$this->passengerInfoList = $passengerInfoList;
97
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(String, "trace_id")
15
+     */
16
+    private $traceId;
17
+
18
+    /**
19
+     * @JsonProperty(String, "sub_trace_id")
20
+     */
21
+    private $subTraceId;
22
+
23
+    /**
24
+     * @JsonProperty(String, "out_order_no")
25
+     */
26
+    private $outOrderNo;
27
+
28
+    /**
29
+     * @JsonProperty(String, "parent_travel_sn")
30
+     */
31
+    private $parentTravelSn;
32
+
33
+    /**
34
+     * @JsonProperty(Long, "total_pay")
35
+     */
36
+    private $totalPay;
37
+
38
+    /**
39
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightOrderPayConfirmRequest_PassengerInfoListItem>, "passenger_info_list")
40
+     */
41
+    private $passengerInfoList;
42
+
43
+    protected function setUserParams(&$params)
44
+    {
45
+        $this->setUserParam($params, "trace_id", $this->traceId);
46
+        $this->setUserParam($params, "sub_trace_id", $this->subTraceId);
47
+        $this->setUserParam($params, "out_order_no", $this->outOrderNo);
48
+        $this->setUserParam($params, "parent_travel_sn", $this->parentTravelSn);
49
+        $this->setUserParam($params, "total_pay", $this->totalPay);
50
+        $this->setUserParam($params, "passenger_info_list", $this->passengerInfoList);
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.flight.order.pay.confirm";
67
+    }
68
+
69
+    public function setTraceId($traceId)
70
+    {
71
+        $this->traceId = $traceId;
72
+    }
73
+
74
+    public function setSubTraceId($subTraceId)
75
+    {
76
+        $this->subTraceId = $subTraceId;
77
+    }
78
+
79
+    public function setOutOrderNo($outOrderNo)
80
+    {
81
+        $this->outOrderNo = $outOrderNo;
82
+    }
83
+
84
+    public function setParentTravelSn($parentTravelSn)
85
+    {
86
+        $this->parentTravelSn = $parentTravelSn;
87
+    }
88
+
89
+    public function setTotalPay($totalPay)
90
+    {
91
+        $this->totalPay = $totalPay;
92
+    }
93
+
94
+    public function setPassengerInfoList($passengerInfoList)
95
+    {
96
+        $this->passengerInfoList = $passengerInfoList;
97
+    }
98 98
 
99 99
 }
100 100
 
101 101
 class PddFlightOrderPayConfirmRequest_PassengerInfoListItem extends PopBaseJsonEntity
102 102
 {
103 103
 
104
-	public function __construct()
105
-	{
106
-
107
-	}
108
-
109
-	/**
110
-	* @JsonProperty(String, "travel_sn")
111
-	*/
112
-	private $travelSn;
113
-
114
-	/**
115
-	* @JsonProperty(String, "name")
116
-	*/
117
-	private $name;
118
-
119
-	/**
120
-	* @JsonProperty(String, "passenger_type")
121
-	*/
122
-	private $passengerType;
123
-
124
-	/**
125
-	* @JsonProperty(String, "identity_type")
126
-	*/
127
-	private $identityType;
128
-
129
-	/**
130
-	* @JsonProperty(String, "identity_no")
131
-	*/
132
-	private $identityNo;
133
-
134
-	/**
135
-	* @JsonProperty(String, "pnr")
136
-	*/
137
-	private $pnr;
138
-
139
-	public function setTravelSn($travelSn)
140
-	{
141
-		$this->travelSn = $travelSn;
142
-	}
143
-
144
-	public function setName($name)
145
-	{
146
-		$this->name = $name;
147
-	}
148
-
149
-	public function setPassengerType($passengerType)
150
-	{
151
-		$this->passengerType = $passengerType;
152
-	}
153
-
154
-	public function setIdentityType($identityType)
155
-	{
156
-		$this->identityType = $identityType;
157
-	}
158
-
159
-	public function setIdentityNo($identityNo)
160
-	{
161
-		$this->identityNo = $identityNo;
162
-	}
163
-
164
-	public function setPnr($pnr)
165
-	{
166
-		$this->pnr = $pnr;
167
-	}
104
+    public function __construct()
105
+    {
106
+
107
+    }
108
+
109
+    /**
110
+     * @JsonProperty(String, "travel_sn")
111
+     */
112
+    private $travelSn;
113
+
114
+    /**
115
+     * @JsonProperty(String, "name")
116
+     */
117
+    private $name;
118
+
119
+    /**
120
+     * @JsonProperty(String, "passenger_type")
121
+     */
122
+    private $passengerType;
123
+
124
+    /**
125
+     * @JsonProperty(String, "identity_type")
126
+     */
127
+    private $identityType;
128
+
129
+    /**
130
+     * @JsonProperty(String, "identity_no")
131
+     */
132
+    private $identityNo;
133
+
134
+    /**
135
+     * @JsonProperty(String, "pnr")
136
+     */
137
+    private $pnr;
138
+
139
+    public function setTravelSn($travelSn)
140
+    {
141
+        $this->travelSn = $travelSn;
142
+    }
143
+
144
+    public function setName($name)
145
+    {
146
+        $this->name = $name;
147
+    }
148
+
149
+    public function setPassengerType($passengerType)
150
+    {
151
+        $this->passengerType = $passengerType;
152
+    }
153
+
154
+    public function setIdentityType($identityType)
155
+    {
156
+        $this->identityType = $identityType;
157
+    }
158
+
159
+    public function setIdentityNo($identityNo)
160
+    {
161
+        $this->identityNo = $identityNo;
162
+    }
163
+
164
+    public function setPnr($pnr)
165
+    {
166
+        $this->pnr = $pnr;
167
+    }
168 168
 
169 169
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddGoodsSpecGetRequest.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 PddGoodsSpecGetRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Long, "cat_id")
15
-	*/
16
-	private $catId;
17
-
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "cat_id", $this->catId);
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.spec.get";
37
-	}
38
-
39
-	public function setCatId($catId)
40
-	{
41
-		$this->catId = $catId;
42
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Long, "cat_id")
15
+     */
16
+    private $catId;
17
+
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "cat_id", $this->catId);
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.spec.get";
37
+    }
38
+
39
+    public function setCatId($catId)
40
+    {
41
+        $this->catId = $catId;
42
+    }
43 43
 
44 44
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddExpressAddDepotRequest.php 1 patch
Indentation   +143 added lines, -143 removed lines patch added patch discarded remove patch
@@ -7,148 +7,148 @@
 block discarded – undo
7 7
 class PddExpressAddDepotRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(String, "contact_name")
15
-	*/
16
-	private $contactName;
17
-
18
-	/**
19
-	* @JsonProperty(String, "depot_address")
20
-	*/
21
-	private $depotAddress;
22
-
23
-	/**
24
-	* @JsonProperty(String, "depot_alias")
25
-	*/
26
-	private $depotAlias;
27
-
28
-	/**
29
-	* @JsonProperty(Integer, "depot_city_id")
30
-	*/
31
-	private $depotCityId;
32
-
33
-	/**
34
-	* @JsonProperty(String, "depot_code")
35
-	*/
36
-	private $depotCode;
37
-
38
-	/**
39
-	* @JsonProperty(Integer, "depot_district_id")
40
-	*/
41
-	private $depotDistrictId;
42
-
43
-	/**
44
-	* @JsonProperty(String, "depot_name")
45
-	*/
46
-	private $depotName;
47
-
48
-	/**
49
-	* @JsonProperty(Integer, "depot_province_id")
50
-	*/
51
-	private $depotProvinceId;
52
-
53
-	/**
54
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddExpressAddDepotRequest_tring, Map<String, List<String>>>, "depot_region")
55
-	*/
56
-	private $depotRegion;
57
-
58
-	/**
59
-	* @JsonProperty(String, "telephone")
60
-	*/
61
-	private $telephone;
62
-
63
-	/**
64
-	* @JsonProperty(String, "zip_code")
65
-	*/
66
-	private $zipCode;
67
-
68
-	protected function setUserParams(&$params)
69
-	{
70
-		$this->setUserParam($params, "contact_name", $this->contactName);
71
-		$this->setUserParam($params, "depot_address", $this->depotAddress);
72
-		$this->setUserParam($params, "depot_alias", $this->depotAlias);
73
-		$this->setUserParam($params, "depot_city_id", $this->depotCityId);
74
-		$this->setUserParam($params, "depot_code", $this->depotCode);
75
-		$this->setUserParam($params, "depot_district_id", $this->depotDistrictId);
76
-		$this->setUserParam($params, "depot_name", $this->depotName);
77
-		$this->setUserParam($params, "depot_province_id", $this->depotProvinceId);
78
-		$this->setUserParam($params, "depot_region", $this->depotRegion);
79
-		$this->setUserParam($params, "telephone", $this->telephone);
80
-		$this->setUserParam($params, "zip_code", $this->zipCode);
81
-
82
-	}
83
-
84
-	public function getVersion()
85
-	{
86
-		return "V1";
87
-	}
88
-
89
-	public function getDataType()
90
-	{
91
-		return "JSON";
92
-	}
93
-
94
-	public function getType()
95
-	{
96
-		return "pdd.express.add.depot";
97
-	}
98
-
99
-	public function setContactName($contactName)
100
-	{
101
-		$this->contactName = $contactName;
102
-	}
103
-
104
-	public function setDepotAddress($depotAddress)
105
-	{
106
-		$this->depotAddress = $depotAddress;
107
-	}
108
-
109
-	public function setDepotAlias($depotAlias)
110
-	{
111
-		$this->depotAlias = $depotAlias;
112
-	}
113
-
114
-	public function setDepotCityId($depotCityId)
115
-	{
116
-		$this->depotCityId = $depotCityId;
117
-	}
118
-
119
-	public function setDepotCode($depotCode)
120
-	{
121
-		$this->depotCode = $depotCode;
122
-	}
123
-
124
-	public function setDepotDistrictId($depotDistrictId)
125
-	{
126
-		$this->depotDistrictId = $depotDistrictId;
127
-	}
128
-
129
-	public function setDepotName($depotName)
130
-	{
131
-		$this->depotName = $depotName;
132
-	}
133
-
134
-	public function setDepotProvinceId($depotProvinceId)
135
-	{
136
-		$this->depotProvinceId = $depotProvinceId;
137
-	}
138
-
139
-	public function setDepotRegion($depotRegion)
140
-	{
141
-		$this->depotRegion = $depotRegion;
142
-	}
143
-
144
-	public function setTelephone($telephone)
145
-	{
146
-		$this->telephone = $telephone;
147
-	}
148
-
149
-	public function setZipCode($zipCode)
150
-	{
151
-		$this->zipCode = $zipCode;
152
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(String, "contact_name")
15
+     */
16
+    private $contactName;
17
+
18
+    /**
19
+     * @JsonProperty(String, "depot_address")
20
+     */
21
+    private $depotAddress;
22
+
23
+    /**
24
+     * @JsonProperty(String, "depot_alias")
25
+     */
26
+    private $depotAlias;
27
+
28
+    /**
29
+     * @JsonProperty(Integer, "depot_city_id")
30
+     */
31
+    private $depotCityId;
32
+
33
+    /**
34
+     * @JsonProperty(String, "depot_code")
35
+     */
36
+    private $depotCode;
37
+
38
+    /**
39
+     * @JsonProperty(Integer, "depot_district_id")
40
+     */
41
+    private $depotDistrictId;
42
+
43
+    /**
44
+     * @JsonProperty(String, "depot_name")
45
+     */
46
+    private $depotName;
47
+
48
+    /**
49
+     * @JsonProperty(Integer, "depot_province_id")
50
+     */
51
+    private $depotProvinceId;
52
+
53
+    /**
54
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddExpressAddDepotRequest_tring, Map<String, List<String>>>, "depot_region")
55
+     */
56
+    private $depotRegion;
57
+
58
+    /**
59
+     * @JsonProperty(String, "telephone")
60
+     */
61
+    private $telephone;
62
+
63
+    /**
64
+     * @JsonProperty(String, "zip_code")
65
+     */
66
+    private $zipCode;
67
+
68
+    protected function setUserParams(&$params)
69
+    {
70
+        $this->setUserParam($params, "contact_name", $this->contactName);
71
+        $this->setUserParam($params, "depot_address", $this->depotAddress);
72
+        $this->setUserParam($params, "depot_alias", $this->depotAlias);
73
+        $this->setUserParam($params, "depot_city_id", $this->depotCityId);
74
+        $this->setUserParam($params, "depot_code", $this->depotCode);
75
+        $this->setUserParam($params, "depot_district_id", $this->depotDistrictId);
76
+        $this->setUserParam($params, "depot_name", $this->depotName);
77
+        $this->setUserParam($params, "depot_province_id", $this->depotProvinceId);
78
+        $this->setUserParam($params, "depot_region", $this->depotRegion);
79
+        $this->setUserParam($params, "telephone", $this->telephone);
80
+        $this->setUserParam($params, "zip_code", $this->zipCode);
81
+
82
+    }
83
+
84
+    public function getVersion()
85
+    {
86
+        return "V1";
87
+    }
88
+
89
+    public function getDataType()
90
+    {
91
+        return "JSON";
92
+    }
93
+
94
+    public function getType()
95
+    {
96
+        return "pdd.express.add.depot";
97
+    }
98
+
99
+    public function setContactName($contactName)
100
+    {
101
+        $this->contactName = $contactName;
102
+    }
103
+
104
+    public function setDepotAddress($depotAddress)
105
+    {
106
+        $this->depotAddress = $depotAddress;
107
+    }
108
+
109
+    public function setDepotAlias($depotAlias)
110
+    {
111
+        $this->depotAlias = $depotAlias;
112
+    }
113
+
114
+    public function setDepotCityId($depotCityId)
115
+    {
116
+        $this->depotCityId = $depotCityId;
117
+    }
118
+
119
+    public function setDepotCode($depotCode)
120
+    {
121
+        $this->depotCode = $depotCode;
122
+    }
123
+
124
+    public function setDepotDistrictId($depotDistrictId)
125
+    {
126
+        $this->depotDistrictId = $depotDistrictId;
127
+    }
128
+
129
+    public function setDepotName($depotName)
130
+    {
131
+        $this->depotName = $depotName;
132
+    }
133
+
134
+    public function setDepotProvinceId($depotProvinceId)
135
+    {
136
+        $this->depotProvinceId = $depotProvinceId;
137
+    }
138
+
139
+    public function setDepotRegion($depotRegion)
140
+    {
141
+        $this->depotRegion = $depotRegion;
142
+    }
143
+
144
+    public function setTelephone($telephone)
145
+    {
146
+        $this->telephone = $telephone;
147
+    }
148
+
149
+    public function setZipCode($zipCode)
150
+    {
151
+        $this->zipCode = $zipCode;
152
+    }
153 153
 
154 154
 }
Please login to merge, or discard this patch.