Passed
Push — v6 ( fe399c...515a76 )
by 光春
06:18
created
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.
service/pinduoduo/bin/src/Api/Request/PddKttIncrementOrderQueryRequest.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 PddKttIncrementOrderQueryRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Integer, "after_sales_status")
15
-	*/
16
-	private $afterSalesStatus;
17
-
18
-	/**
19
-	* @JsonProperty(Integer, "cancel_status")
20
-	*/
21
-	private $cancelStatus;
22
-
23
-	/**
24
-	* @JsonProperty(Long, "end_updated_at")
25
-	*/
26
-	private $endUpdatedAt;
27
-
28
-	/**
29
-	* @JsonProperty(Integer, "page_number")
30
-	*/
31
-	private $pageNumber;
32
-
33
-	/**
34
-	* @JsonProperty(Integer, "page_size")
35
-	*/
36
-	private $pageSize;
37
-
38
-	/**
39
-	* @JsonProperty(Integer, "shipping_status")
40
-	*/
41
-	private $shippingStatus;
42
-
43
-	/**
44
-	* @JsonProperty(Long, "start_updated_at")
45
-	*/
46
-	private $startUpdatedAt;
47
-
48
-	/**
49
-	* @JsonProperty(Integer, "verification_status")
50
-	*/
51
-	private $verificationStatus;
52
-
53
-	protected function setUserParams(&$params)
54
-	{
55
-		$this->setUserParam($params, "after_sales_status", $this->afterSalesStatus);
56
-		$this->setUserParam($params, "cancel_status", $this->cancelStatus);
57
-		$this->setUserParam($params, "end_updated_at", $this->endUpdatedAt);
58
-		$this->setUserParam($params, "page_number", $this->pageNumber);
59
-		$this->setUserParam($params, "page_size", $this->pageSize);
60
-		$this->setUserParam($params, "shipping_status", $this->shippingStatus);
61
-		$this->setUserParam($params, "start_updated_at", $this->startUpdatedAt);
62
-		$this->setUserParam($params, "verification_status", $this->verificationStatus);
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.ktt.increment.order.query";
79
-	}
80
-
81
-	public function setAfterSalesStatus($afterSalesStatus)
82
-	{
83
-		$this->afterSalesStatus = $afterSalesStatus;
84
-	}
85
-
86
-	public function setCancelStatus($cancelStatus)
87
-	{
88
-		$this->cancelStatus = $cancelStatus;
89
-	}
90
-
91
-	public function setEndUpdatedAt($endUpdatedAt)
92
-	{
93
-		$this->endUpdatedAt = $endUpdatedAt;
94
-	}
95
-
96
-	public function setPageNumber($pageNumber)
97
-	{
98
-		$this->pageNumber = $pageNumber;
99
-	}
100
-
101
-	public function setPageSize($pageSize)
102
-	{
103
-		$this->pageSize = $pageSize;
104
-	}
105
-
106
-	public function setShippingStatus($shippingStatus)
107
-	{
108
-		$this->shippingStatus = $shippingStatus;
109
-	}
110
-
111
-	public function setStartUpdatedAt($startUpdatedAt)
112
-	{
113
-		$this->startUpdatedAt = $startUpdatedAt;
114
-	}
115
-
116
-	public function setVerificationStatus($verificationStatus)
117
-	{
118
-		$this->verificationStatus = $verificationStatus;
119
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Integer, "after_sales_status")
15
+     */
16
+    private $afterSalesStatus;
17
+
18
+    /**
19
+     * @JsonProperty(Integer, "cancel_status")
20
+     */
21
+    private $cancelStatus;
22
+
23
+    /**
24
+     * @JsonProperty(Long, "end_updated_at")
25
+     */
26
+    private $endUpdatedAt;
27
+
28
+    /**
29
+     * @JsonProperty(Integer, "page_number")
30
+     */
31
+    private $pageNumber;
32
+
33
+    /**
34
+     * @JsonProperty(Integer, "page_size")
35
+     */
36
+    private $pageSize;
37
+
38
+    /**
39
+     * @JsonProperty(Integer, "shipping_status")
40
+     */
41
+    private $shippingStatus;
42
+
43
+    /**
44
+     * @JsonProperty(Long, "start_updated_at")
45
+     */
46
+    private $startUpdatedAt;
47
+
48
+    /**
49
+     * @JsonProperty(Integer, "verification_status")
50
+     */
51
+    private $verificationStatus;
52
+
53
+    protected function setUserParams(&$params)
54
+    {
55
+        $this->setUserParam($params, "after_sales_status", $this->afterSalesStatus);
56
+        $this->setUserParam($params, "cancel_status", $this->cancelStatus);
57
+        $this->setUserParam($params, "end_updated_at", $this->endUpdatedAt);
58
+        $this->setUserParam($params, "page_number", $this->pageNumber);
59
+        $this->setUserParam($params, "page_size", $this->pageSize);
60
+        $this->setUserParam($params, "shipping_status", $this->shippingStatus);
61
+        $this->setUserParam($params, "start_updated_at", $this->startUpdatedAt);
62
+        $this->setUserParam($params, "verification_status", $this->verificationStatus);
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.ktt.increment.order.query";
79
+    }
80
+
81
+    public function setAfterSalesStatus($afterSalesStatus)
82
+    {
83
+        $this->afterSalesStatus = $afterSalesStatus;
84
+    }
85
+
86
+    public function setCancelStatus($cancelStatus)
87
+    {
88
+        $this->cancelStatus = $cancelStatus;
89
+    }
90
+
91
+    public function setEndUpdatedAt($endUpdatedAt)
92
+    {
93
+        $this->endUpdatedAt = $endUpdatedAt;
94
+    }
95
+
96
+    public function setPageNumber($pageNumber)
97
+    {
98
+        $this->pageNumber = $pageNumber;
99
+    }
100
+
101
+    public function setPageSize($pageSize)
102
+    {
103
+        $this->pageSize = $pageSize;
104
+    }
105
+
106
+    public function setShippingStatus($shippingStatus)
107
+    {
108
+        $this->shippingStatus = $shippingStatus;
109
+    }
110
+
111
+    public function setStartUpdatedAt($startUpdatedAt)
112
+    {
113
+        $this->startUpdatedAt = $startUpdatedAt;
114
+    }
115
+
116
+    public function setVerificationStatus($verificationStatus)
117
+    {
118
+        $this->verificationStatus = $verificationStatus;
119
+    }
120 120
 
121 121
 }
Please login to merge, or discard this patch.
pinduoduo/bin/src/Api/Request/PddAdApiPlanUpdatePlanDiscountRequest.php 1 patch
Indentation   +74 added lines, -74 removed lines patch added patch discarded remove patch
@@ -7,99 +7,99 @@
 block discarded – undo
7 7
 class PddAdApiPlanUpdatePlanDiscountRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiPlanUpdatePlanDiscountRequest_PlanDiscount, "planDiscount")
15
-	*/
16
-	private $planDiscount;
17
-
18
-	/**
19
-	* @JsonProperty(Long, "planId")
20
-	*/
21
-	private $planId;
22
-
23
-	protected function setUserParams(&$params)
24
-	{
25
-		$this->setUserParam($params, "planDiscount", $this->planDiscount);
26
-		$this->setUserParam($params, "planId", $this->planId);
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.plan.update.plan.discount";
43
-	}
44
-
45
-	public function setPlanDiscount($planDiscount)
46
-	{
47
-		$this->planDiscount = $planDiscount;
48
-	}
49
-
50
-	public function setPlanId($planId)
51
-	{
52
-		$this->planId = $planId;
53
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiPlanUpdatePlanDiscountRequest_PlanDiscount, "planDiscount")
15
+     */
16
+    private $planDiscount;
17
+
18
+    /**
19
+     * @JsonProperty(Long, "planId")
20
+     */
21
+    private $planId;
22
+
23
+    protected function setUserParams(&$params)
24
+    {
25
+        $this->setUserParam($params, "planDiscount", $this->planDiscount);
26
+        $this->setUserParam($params, "planId", $this->planId);
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.plan.update.plan.discount";
43
+    }
44
+
45
+    public function setPlanDiscount($planDiscount)
46
+    {
47
+        $this->planDiscount = $planDiscount;
48
+    }
49
+
50
+    public function setPlanId($planId)
51
+    {
52
+        $this->planId = $planId;
53
+    }
54 54
 
55 55
 }
56 56
 
57 57
 class PddAdApiPlanUpdatePlanDiscountRequest_PlanDiscount extends PopBaseJsonEntity
58 58
 {
59 59
 
60
-	public function __construct()
61
-	{
60
+    public function __construct()
61
+    {
62 62
 
63
-	}
63
+    }
64 64
 
65
-	/**
66
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiPlanUpdatePlanDiscountRequest_PlanDiscountDiscountsItem>, "discounts")
67
-	*/
68
-	private $discounts;
65
+    /**
66
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiPlanUpdatePlanDiscountRequest_PlanDiscountDiscountsItem>, "discounts")
67
+     */
68
+    private $discounts;
69 69
 
70
-	public function setDiscounts($discounts)
71
-	{
72
-		$this->discounts = $discounts;
73
-	}
70
+    public function setDiscounts($discounts)
71
+    {
72
+        $this->discounts = $discounts;
73
+    }
74 74
 
75 75
 }
76 76
 
77 77
 class PddAdApiPlanUpdatePlanDiscountRequest_PlanDiscountDiscountsItem extends PopBaseJsonEntity
78 78
 {
79 79
 
80
-	public function __construct()
81
-	{
80
+    public function __construct()
81
+    {
82 82
 
83
-	}
83
+    }
84 84
 
85
-	/**
86
-	* @JsonProperty(Integer, "index")
87
-	*/
88
-	private $index;
85
+    /**
86
+     * @JsonProperty(Integer, "index")
87
+     */
88
+    private $index;
89 89
 
90
-	/**
91
-	* @JsonProperty(Integer, "rate")
92
-	*/
93
-	private $rate;
90
+    /**
91
+     * @JsonProperty(Integer, "rate")
92
+     */
93
+    private $rate;
94 94
 
95
-	public function setIndex($index)
96
-	{
97
-		$this->index = $index;
98
-	}
95
+    public function setIndex($index)
96
+    {
97
+        $this->index = $index;
98
+    }
99 99
 
100
-	public function setRate($rate)
101
-	{
102
-		$this->rate = $rate;
103
-	}
100
+    public function setRate($rate)
101
+    {
102
+        $this->rate = $rate;
103
+    }
104 104
 
105 105
 }
Please login to merge, or discard this patch.
pinduoduo/bin/src/Api/Request/PddNextoneLogisticsWarehouseUpdateRequest.php 1 patch
Indentation   +90 added lines, -90 removed lines patch added patch discarded remove patch
@@ -7,108 +7,108 @@
 block discarded – undo
7 7
 class PddNextoneLogisticsWarehouseUpdateRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
10
+    {
11 11
 
12
-	}
13
-	/**
14
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddNextoneLogisticsWarehouseUpdateRequest_Request, "request")
15
-	*/
16
-	private $request;
12
+    }
13
+    /**
14
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddNextoneLogisticsWarehouseUpdateRequest_Request, "request")
15
+     */
16
+    private $request;
17 17
 
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "request", $this->request);
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "request", $this->request);
21 21
 
22
-	}
22
+    }
23 23
 
24
-	public function getVersion()
25
-	{
26
-		return "V1";
27
-	}
24
+    public function getVersion()
25
+    {
26
+        return "V1";
27
+    }
28 28
 
29
-	public function getDataType()
30
-	{
31
-		return "JSON";
32
-	}
29
+    public function getDataType()
30
+    {
31
+        return "JSON";
32
+    }
33 33
 
34
-	public function getType()
35
-	{
36
-		return "pdd.nextone.logistics.warehouse.update";
37
-	}
34
+    public function getType()
35
+    {
36
+        return "pdd.nextone.logistics.warehouse.update";
37
+    }
38 38
 
39
-	public function setRequest($request)
40
-	{
41
-		$this->request = $request;
42
-	}
39
+    public function setRequest($request)
40
+    {
41
+        $this->request = $request;
42
+    }
43 43
 
44 44
 }
45 45
 
46 46
 class PddNextoneLogisticsWarehouseUpdateRequest_Request extends PopBaseJsonEntity
47 47
 {
48 48
 
49
-	public function __construct()
50
-	{
51
-
52
-	}
53
-
54
-	/**
55
-	* @JsonProperty(Long, "after_sales_id")
56
-	*/
57
-	private $afterSalesId;
58
-
59
-	/**
60
-	* @JsonProperty(Long, "operate_time")
61
-	*/
62
-	private $operateTime;
63
-
64
-	/**
65
-	* @JsonProperty(String, "order_sn")
66
-	*/
67
-	private $orderSn;
68
-
69
-	/**
70
-	* @JsonProperty(Integer, "reverse_logistics_id")
71
-	*/
72
-	private $reverseLogisticsId;
73
-
74
-	/**
75
-	* @JsonProperty(String, "reverse_tracking_number")
76
-	*/
77
-	private $reverseTrackingNumber;
78
-
79
-	/**
80
-	* @JsonProperty(Integer, "warehouse_status")
81
-	*/
82
-	private $warehouseStatus;
83
-
84
-	public function setAfterSalesId($afterSalesId)
85
-	{
86
-		$this->afterSalesId = $afterSalesId;
87
-	}
88
-
89
-	public function setOperateTime($operateTime)
90
-	{
91
-		$this->operateTime = $operateTime;
92
-	}
93
-
94
-	public function setOrderSn($orderSn)
95
-	{
96
-		$this->orderSn = $orderSn;
97
-	}
98
-
99
-	public function setReverseLogisticsId($reverseLogisticsId)
100
-	{
101
-		$this->reverseLogisticsId = $reverseLogisticsId;
102
-	}
103
-
104
-	public function setReverseTrackingNumber($reverseTrackingNumber)
105
-	{
106
-		$this->reverseTrackingNumber = $reverseTrackingNumber;
107
-	}
108
-
109
-	public function setWarehouseStatus($warehouseStatus)
110
-	{
111
-		$this->warehouseStatus = $warehouseStatus;
112
-	}
49
+    public function __construct()
50
+    {
51
+
52
+    }
53
+
54
+    /**
55
+     * @JsonProperty(Long, "after_sales_id")
56
+     */
57
+    private $afterSalesId;
58
+
59
+    /**
60
+     * @JsonProperty(Long, "operate_time")
61
+     */
62
+    private $operateTime;
63
+
64
+    /**
65
+     * @JsonProperty(String, "order_sn")
66
+     */
67
+    private $orderSn;
68
+
69
+    /**
70
+     * @JsonProperty(Integer, "reverse_logistics_id")
71
+     */
72
+    private $reverseLogisticsId;
73
+
74
+    /**
75
+     * @JsonProperty(String, "reverse_tracking_number")
76
+     */
77
+    private $reverseTrackingNumber;
78
+
79
+    /**
80
+     * @JsonProperty(Integer, "warehouse_status")
81
+     */
82
+    private $warehouseStatus;
83
+
84
+    public function setAfterSalesId($afterSalesId)
85
+    {
86
+        $this->afterSalesId = $afterSalesId;
87
+    }
88
+
89
+    public function setOperateTime($operateTime)
90
+    {
91
+        $this->operateTime = $operateTime;
92
+    }
93
+
94
+    public function setOrderSn($orderSn)
95
+    {
96
+        $this->orderSn = $orderSn;
97
+    }
98
+
99
+    public function setReverseLogisticsId($reverseLogisticsId)
100
+    {
101
+        $this->reverseLogisticsId = $reverseLogisticsId;
102
+    }
103
+
104
+    public function setReverseTrackingNumber($reverseTrackingNumber)
105
+    {
106
+        $this->reverseTrackingNumber = $reverseTrackingNumber;
107
+    }
108
+
109
+    public function setWarehouseStatus($warehouseStatus)
110
+    {
111
+        $this->warehouseStatus = $warehouseStatus;
112
+    }
113 113
 
114 114
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddStockWareInfoListRequest.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 PddStockWareInfoListRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(List<String>, "ware_sn_list")
15
-	*/
16
-	private $wareSnList;
17
-
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "ware_sn_list", $this->wareSnList);
21
-
22
-	}
23
-
24
-	public function getVersion()
25
-	{
26
-		return "V1";
27
-	}
28
-
29
-	public function getDataType()
30
-	{
31
-		return "JSON";
32
-	}
33
-
34
-	public function getType()
35
-	{
36
-		return "pdd.stock.ware.info.list";
37
-	}
38
-
39
-	public function setWareSnList($wareSnList)
40
-	{
41
-		$this->wareSnList = $wareSnList;
42
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(List<String>, "ware_sn_list")
15
+     */
16
+    private $wareSnList;
17
+
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "ware_sn_list", $this->wareSnList);
21
+
22
+    }
23
+
24
+    public function getVersion()
25
+    {
26
+        return "V1";
27
+    }
28
+
29
+    public function getDataType()
30
+    {
31
+        return "JSON";
32
+    }
33
+
34
+    public function getType()
35
+    {
36
+        return "pdd.stock.ware.info.list";
37
+    }
38
+
39
+    public function setWareSnList($wareSnList)
40
+    {
41
+        $this->wareSnList = $wareSnList;
42
+    }
43 43
 
44 44
 }
Please login to merge, or discard this patch.