Passed
Push — v6 ( fe399c...515a76 )
by 光春
06:18
created
bin/src/Api/Request/PddAdApiUnitCreativeUpdateDataOperateStatusRequest.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 PddAdApiUnitCreativeUpdateDataOperateStatusRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Integer, "dataOperateStatus")
15
-	*/
16
-	private $dataOperateStatus;
17
-
18
-	/**
19
-	* @JsonProperty(List<Long>, "unitCreativeIds")
20
-	*/
21
-	private $unitCreativeIds;
22
-
23
-	protected function setUserParams(&$params)
24
-	{
25
-		$this->setUserParam($params, "dataOperateStatus", $this->dataOperateStatus);
26
-		$this->setUserParam($params, "unitCreativeIds", $this->unitCreativeIds);
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.update.data.operate.status";
43
-	}
44
-
45
-	public function setDataOperateStatus($dataOperateStatus)
46
-	{
47
-		$this->dataOperateStatus = $dataOperateStatus;
48
-	}
49
-
50
-	public function setUnitCreativeIds($unitCreativeIds)
51
-	{
52
-		$this->unitCreativeIds = $unitCreativeIds;
53
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Integer, "dataOperateStatus")
15
+     */
16
+    private $dataOperateStatus;
17
+
18
+    /**
19
+     * @JsonProperty(List<Long>, "unitCreativeIds")
20
+     */
21
+    private $unitCreativeIds;
22
+
23
+    protected function setUserParams(&$params)
24
+    {
25
+        $this->setUserParam($params, "dataOperateStatus", $this->dataOperateStatus);
26
+        $this->setUserParam($params, "unitCreativeIds", $this->unitCreativeIds);
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.update.data.operate.status";
43
+    }
44
+
45
+    public function setDataOperateStatus($dataOperateStatus)
46
+    {
47
+        $this->dataOperateStatus = $dataOperateStatus;
48
+    }
49
+
50
+    public function setUnitCreativeIds($unitCreativeIds)
51
+    {
52
+        $this->unitCreativeIds = $unitCreativeIds;
53
+    }
54 54
 
55 55
 }
Please login to merge, or discard this patch.
bin/src/Api/Request/PddEinvoiceOutboundQueryTaxpayerInfoRequest.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 PddEinvoiceOutboundQueryTaxpayerInfoRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
10
+    {
11 11
 
12
-	}
13
-	/**
14
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceOutboundQueryTaxpayerInfoRequest_Request, "request")
15
-	*/
16
-	private $request;
12
+    }
13
+    /**
14
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceOutboundQueryTaxpayerInfoRequest_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.einvoice.outbound.query.taxpayer.info";
37
-	}
34
+    public function getType()
35
+    {
36
+        return "pdd.einvoice.outbound.query.taxpayer.info";
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 PddEinvoiceOutboundQueryTaxpayerInfoRequest_Request extends PopBaseJsonEntity
47 47
 {
48 48
 
49
-	public function __construct()
50
-	{
51
-
52
-	}
53
-
54
-	/**
55
-	* @JsonProperty(String, "appCode")
56
-	*/
57
-	private $appCode;
58
-
59
-	/**
60
-	* @JsonProperty(String, "cmdName")
61
-	*/
62
-	private $cmdName;
63
-
64
-	/**
65
-	* @JsonProperty(String, "sign")
66
-	*/
67
-	private $sign;
68
-
69
-	/**
70
-	* @JsonProperty(String, "serialNo")
71
-	*/
72
-	private $serialNo;
73
-
74
-	/**
75
-	* @JsonProperty(String, "postTime")
76
-	*/
77
-	private $postTime;
78
-
79
-	/**
80
-	* @JsonProperty(String, "taxpayerCode")
81
-	*/
82
-	private $taxpayerCode;
83
-
84
-	public function setAppCode($appCode)
85
-	{
86
-		$this->appCode = $appCode;
87
-	}
88
-
89
-	public function setCmdName($cmdName)
90
-	{
91
-		$this->cmdName = $cmdName;
92
-	}
93
-
94
-	public function setSign($sign)
95
-	{
96
-		$this->sign = $sign;
97
-	}
98
-
99
-	public function setSerialNo($serialNo)
100
-	{
101
-		$this->serialNo = $serialNo;
102
-	}
103
-
104
-	public function setPostTime($postTime)
105
-	{
106
-		$this->postTime = $postTime;
107
-	}
108
-
109
-	public function setTaxpayerCode($taxpayerCode)
110
-	{
111
-		$this->taxpayerCode = $taxpayerCode;
112
-	}
49
+    public function __construct()
50
+    {
51
+
52
+    }
53
+
54
+    /**
55
+     * @JsonProperty(String, "appCode")
56
+     */
57
+    private $appCode;
58
+
59
+    /**
60
+     * @JsonProperty(String, "cmdName")
61
+     */
62
+    private $cmdName;
63
+
64
+    /**
65
+     * @JsonProperty(String, "sign")
66
+     */
67
+    private $sign;
68
+
69
+    /**
70
+     * @JsonProperty(String, "serialNo")
71
+     */
72
+    private $serialNo;
73
+
74
+    /**
75
+     * @JsonProperty(String, "postTime")
76
+     */
77
+    private $postTime;
78
+
79
+    /**
80
+     * @JsonProperty(String, "taxpayerCode")
81
+     */
82
+    private $taxpayerCode;
83
+
84
+    public function setAppCode($appCode)
85
+    {
86
+        $this->appCode = $appCode;
87
+    }
88
+
89
+    public function setCmdName($cmdName)
90
+    {
91
+        $this->cmdName = $cmdName;
92
+    }
93
+
94
+    public function setSign($sign)
95
+    {
96
+        $this->sign = $sign;
97
+    }
98
+
99
+    public function setSerialNo($serialNo)
100
+    {
101
+        $this->serialNo = $serialNo;
102
+    }
103
+
104
+    public function setPostTime($postTime)
105
+    {
106
+        $this->postTime = $postTime;
107
+    }
108
+
109
+    public function setTaxpayerCode($taxpayerCode)
110
+    {
111
+        $this->taxpayerCode = $taxpayerCode;
112
+    }
113 113
 
114 114
 }
Please login to merge, or discard this patch.
pinduoduo/bin/src/Api/Request/PddMallCpsProtocolStatusQueryRequest.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -7,27 +7,27 @@
 block discarded – undo
7 7
 class PddMallCpsProtocolStatusQueryRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
10
+    {
11 11
 
12
-	}
13
-	protected function setUserParams(&$params)
14
-	{
12
+    }
13
+    protected function setUserParams(&$params)
14
+    {
15 15
 
16
-	}
16
+    }
17 17
 
18
-	public function getVersion()
19
-	{
20
-		return "V1";
21
-	}
18
+    public function getVersion()
19
+    {
20
+        return "V1";
21
+    }
22 22
 
23
-	public function getDataType()
24
-	{
25
-		return "JSON";
26
-	}
23
+    public function getDataType()
24
+    {
25
+        return "JSON";
26
+    }
27 27
 
28
-	public function getType()
29
-	{
30
-		return "pdd.mall.cps.protocol.status.query";
31
-	}
28
+    public function getType()
29
+    {
30
+        return "pdd.mall.cps.protocol.status.query";
31
+    }
32 32
 
33 33
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddAdApiUnitQueryListRequest.php 1 patch
Indentation   +88 added lines, -88 removed lines patch added patch discarded remove patch
@@ -7,93 +7,93 @@
 block discarded – undo
7 7
 class PddAdApiUnitQueryListRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(String, "beginDate")
15
-	*/
16
-	private $beginDate;
17
-
18
-	/**
19
-	* @JsonProperty(String, "endDate")
20
-	*/
21
-	private $endDate;
22
-
23
-	/**
24
-	* @JsonProperty(Integer, "orderBy")
25
-	*/
26
-	private $orderBy;
27
-
28
-	/**
29
-	* @JsonProperty(Long, "planId")
30
-	*/
31
-	private $planId;
32
-
33
-	/**
34
-	* @JsonProperty(Integer, "scenesType")
35
-	*/
36
-	private $scenesType;
37
-
38
-	/**
39
-	* @JsonProperty(Integer, "sortBy")
40
-	*/
41
-	private $sortBy;
42
-
43
-	protected function setUserParams(&$params)
44
-	{
45
-		$this->setUserParam($params, "beginDate", $this->beginDate);
46
-		$this->setUserParam($params, "endDate", $this->endDate);
47
-		$this->setUserParam($params, "orderBy", $this->orderBy);
48
-		$this->setUserParam($params, "planId", $this->planId);
49
-		$this->setUserParam($params, "scenesType", $this->scenesType);
50
-		$this->setUserParam($params, "sortBy", $this->sortBy);
51
-
52
-	}
53
-
54
-	public function getVersion()
55
-	{
56
-		return "V1";
57
-	}
58
-
59
-	public function getDataType()
60
-	{
61
-		return "JSON";
62
-	}
63
-
64
-	public function getType()
65
-	{
66
-		return "pdd.ad.api.unit.query.list";
67
-	}
68
-
69
-	public function setBeginDate($beginDate)
70
-	{
71
-		$this->beginDate = $beginDate;
72
-	}
73
-
74
-	public function setEndDate($endDate)
75
-	{
76
-		$this->endDate = $endDate;
77
-	}
78
-
79
-	public function setOrderBy($orderBy)
80
-	{
81
-		$this->orderBy = $orderBy;
82
-	}
83
-
84
-	public function setPlanId($planId)
85
-	{
86
-		$this->planId = $planId;
87
-	}
88
-
89
-	public function setScenesType($scenesType)
90
-	{
91
-		$this->scenesType = $scenesType;
92
-	}
93
-
94
-	public function setSortBy($sortBy)
95
-	{
96
-		$this->sortBy = $sortBy;
97
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(String, "beginDate")
15
+     */
16
+    private $beginDate;
17
+
18
+    /**
19
+     * @JsonProperty(String, "endDate")
20
+     */
21
+    private $endDate;
22
+
23
+    /**
24
+     * @JsonProperty(Integer, "orderBy")
25
+     */
26
+    private $orderBy;
27
+
28
+    /**
29
+     * @JsonProperty(Long, "planId")
30
+     */
31
+    private $planId;
32
+
33
+    /**
34
+     * @JsonProperty(Integer, "scenesType")
35
+     */
36
+    private $scenesType;
37
+
38
+    /**
39
+     * @JsonProperty(Integer, "sortBy")
40
+     */
41
+    private $sortBy;
42
+
43
+    protected function setUserParams(&$params)
44
+    {
45
+        $this->setUserParam($params, "beginDate", $this->beginDate);
46
+        $this->setUserParam($params, "endDate", $this->endDate);
47
+        $this->setUserParam($params, "orderBy", $this->orderBy);
48
+        $this->setUserParam($params, "planId", $this->planId);
49
+        $this->setUserParam($params, "scenesType", $this->scenesType);
50
+        $this->setUserParam($params, "sortBy", $this->sortBy);
51
+
52
+    }
53
+
54
+    public function getVersion()
55
+    {
56
+        return "V1";
57
+    }
58
+
59
+    public function getDataType()
60
+    {
61
+        return "JSON";
62
+    }
63
+
64
+    public function getType()
65
+    {
66
+        return "pdd.ad.api.unit.query.list";
67
+    }
68
+
69
+    public function setBeginDate($beginDate)
70
+    {
71
+        $this->beginDate = $beginDate;
72
+    }
73
+
74
+    public function setEndDate($endDate)
75
+    {
76
+        $this->endDate = $endDate;
77
+    }
78
+
79
+    public function setOrderBy($orderBy)
80
+    {
81
+        $this->orderBy = $orderBy;
82
+    }
83
+
84
+    public function setPlanId($planId)
85
+    {
86
+        $this->planId = $planId;
87
+    }
88
+
89
+    public function setScenesType($scenesType)
90
+    {
91
+        $this->scenesType = $scenesType;
92
+    }
93
+
94
+    public function setSortBy($sortBy)
95
+    {
96
+        $this->sortBy = $sortBy;
97
+    }
98 98
 
99 99
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddCloudWaybillUpdateRequest.php 1 patch
Indentation   +336 added lines, -336 removed lines patch added patch discarded remove patch
@@ -7,398 +7,398 @@
 block discarded – undo
7 7
 class PddCloudWaybillUpdateRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
10
+    {
11 11
 
12
-	}
13
-	/**
14
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddCloudWaybillUpdateRequest_WaybillCloudPrintUpdateRequest, "waybill_cloud_print_update_request")
15
-	*/
16
-	private $waybillCloudPrintUpdateRequest;
12
+    }
13
+    /**
14
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddCloudWaybillUpdateRequest_WaybillCloudPrintUpdateRequest, "waybill_cloud_print_update_request")
15
+     */
16
+    private $waybillCloudPrintUpdateRequest;
17 17
 
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "waybill_cloud_print_update_request", $this->waybillCloudPrintUpdateRequest);
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "waybill_cloud_print_update_request", $this->waybillCloudPrintUpdateRequest);
21 21
 
22
-	}
22
+    }
23 23
 
24
-	public function getVersion()
25
-	{
26
-		return "V1";
27
-	}
24
+    public function getVersion()
25
+    {
26
+        return "V1";
27
+    }
28 28
 
29
-	public function getDataType()
30
-	{
31
-		return "JSON";
32
-	}
29
+    public function getDataType()
30
+    {
31
+        return "JSON";
32
+    }
33 33
 
34
-	public function getType()
35
-	{
36
-		return "pdd.cloud.waybill.update";
37
-	}
34
+    public function getType()
35
+    {
36
+        return "pdd.cloud.waybill.update";
37
+    }
38 38
 
39
-	public function setWaybillCloudPrintUpdateRequest($waybillCloudPrintUpdateRequest)
40
-	{
41
-		$this->waybillCloudPrintUpdateRequest = $waybillCloudPrintUpdateRequest;
42
-	}
39
+    public function setWaybillCloudPrintUpdateRequest($waybillCloudPrintUpdateRequest)
40
+    {
41
+        $this->waybillCloudPrintUpdateRequest = $waybillCloudPrintUpdateRequest;
42
+    }
43 43
 
44 44
 }
45 45
 
46 46
 class PddCloudWaybillUpdateRequest_WaybillCloudPrintUpdateRequest extends PopBaseJsonEntity
47 47
 {
48 48
 
49
-	public function __construct()
50
-	{
51
-
52
-	}
53
-
54
-	/**
55
-	* @JsonProperty(String, "object_id")
56
-	*/
57
-	private $objectId;
58
-
59
-	/**
60
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddCloudWaybillUpdateRequest_WaybillCloudPrintUpdateRequestPackageInfo, "package_info")
61
-	*/
62
-	private $packageInfo;
63
-
64
-	/**
65
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddCloudWaybillUpdateRequest_WaybillCloudPrintUpdateRequestRecipient, "recipient")
66
-	*/
67
-	private $recipient;
68
-
69
-	/**
70
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddCloudWaybillUpdateRequest_WaybillCloudPrintUpdateRequestSender, "sender")
71
-	*/
72
-	private $sender;
73
-
74
-	/**
75
-	* @JsonProperty(String, "template_url")
76
-	*/
77
-	private $templateUrl;
78
-
79
-	/**
80
-	* @JsonProperty(String, "waybill_code")
81
-	*/
82
-	private $waybillCode;
83
-
84
-	/**
85
-	* @JsonProperty(String, "wp_code")
86
-	*/
87
-	private $wpCode;
88
-
89
-	/**
90
-	* @JsonProperty(String, "token")
91
-	*/
92
-	private $token;
93
-
94
-	/**
95
-	* @JsonProperty(Long, "ext_id")
96
-	*/
97
-	private $extId;
98
-
99
-	/**
100
-	* @JsonProperty(String, "ext_fields")
101
-	*/
102
-	private $extFields;
103
-
104
-	/**
105
-	* @JsonProperty(String, "order_sn")
106
-	*/
107
-	private $orderSn;
108
-
109
-	public function setObjectId($objectId)
110
-	{
111
-		$this->objectId = $objectId;
112
-	}
113
-
114
-	public function setPackageInfo($packageInfo)
115
-	{
116
-		$this->packageInfo = $packageInfo;
117
-	}
118
-
119
-	public function setRecipient($recipient)
120
-	{
121
-		$this->recipient = $recipient;
122
-	}
123
-
124
-	public function setSender($sender)
125
-	{
126
-		$this->sender = $sender;
127
-	}
128
-
129
-	public function setTemplateUrl($templateUrl)
130
-	{
131
-		$this->templateUrl = $templateUrl;
132
-	}
133
-
134
-	public function setWaybillCode($waybillCode)
135
-	{
136
-		$this->waybillCode = $waybillCode;
137
-	}
138
-
139
-	public function setWpCode($wpCode)
140
-	{
141
-		$this->wpCode = $wpCode;
142
-	}
143
-
144
-	public function setToken($token)
145
-	{
146
-		$this->token = $token;
147
-	}
148
-
149
-	public function setExtId($extId)
150
-	{
151
-		$this->extId = $extId;
152
-	}
153
-
154
-	public function setExtFields($extFields)
155
-	{
156
-		$this->extFields = $extFields;
157
-	}
158
-
159
-	public function setOrderSn($orderSn)
160
-	{
161
-		$this->orderSn = $orderSn;
162
-	}
49
+    public function __construct()
50
+    {
51
+
52
+    }
53
+
54
+    /**
55
+     * @JsonProperty(String, "object_id")
56
+     */
57
+    private $objectId;
58
+
59
+    /**
60
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddCloudWaybillUpdateRequest_WaybillCloudPrintUpdateRequestPackageInfo, "package_info")
61
+     */
62
+    private $packageInfo;
63
+
64
+    /**
65
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddCloudWaybillUpdateRequest_WaybillCloudPrintUpdateRequestRecipient, "recipient")
66
+     */
67
+    private $recipient;
68
+
69
+    /**
70
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddCloudWaybillUpdateRequest_WaybillCloudPrintUpdateRequestSender, "sender")
71
+     */
72
+    private $sender;
73
+
74
+    /**
75
+     * @JsonProperty(String, "template_url")
76
+     */
77
+    private $templateUrl;
78
+
79
+    /**
80
+     * @JsonProperty(String, "waybill_code")
81
+     */
82
+    private $waybillCode;
83
+
84
+    /**
85
+     * @JsonProperty(String, "wp_code")
86
+     */
87
+    private $wpCode;
88
+
89
+    /**
90
+     * @JsonProperty(String, "token")
91
+     */
92
+    private $token;
93
+
94
+    /**
95
+     * @JsonProperty(Long, "ext_id")
96
+     */
97
+    private $extId;
98
+
99
+    /**
100
+     * @JsonProperty(String, "ext_fields")
101
+     */
102
+    private $extFields;
103
+
104
+    /**
105
+     * @JsonProperty(String, "order_sn")
106
+     */
107
+    private $orderSn;
108
+
109
+    public function setObjectId($objectId)
110
+    {
111
+        $this->objectId = $objectId;
112
+    }
113
+
114
+    public function setPackageInfo($packageInfo)
115
+    {
116
+        $this->packageInfo = $packageInfo;
117
+    }
118
+
119
+    public function setRecipient($recipient)
120
+    {
121
+        $this->recipient = $recipient;
122
+    }
123
+
124
+    public function setSender($sender)
125
+    {
126
+        $this->sender = $sender;
127
+    }
128
+
129
+    public function setTemplateUrl($templateUrl)
130
+    {
131
+        $this->templateUrl = $templateUrl;
132
+    }
133
+
134
+    public function setWaybillCode($waybillCode)
135
+    {
136
+        $this->waybillCode = $waybillCode;
137
+    }
138
+
139
+    public function setWpCode($wpCode)
140
+    {
141
+        $this->wpCode = $wpCode;
142
+    }
143
+
144
+    public function setToken($token)
145
+    {
146
+        $this->token = $token;
147
+    }
148
+
149
+    public function setExtId($extId)
150
+    {
151
+        $this->extId = $extId;
152
+    }
153
+
154
+    public function setExtFields($extFields)
155
+    {
156
+        $this->extFields = $extFields;
157
+    }
158
+
159
+    public function setOrderSn($orderSn)
160
+    {
161
+        $this->orderSn = $orderSn;
162
+    }
163 163
 
164 164
 }
165 165
 
166 166
 class PddCloudWaybillUpdateRequest_WaybillCloudPrintUpdateRequestPackageInfo extends PopBaseJsonEntity
167 167
 {
168 168
 
169
-	public function __construct()
170
-	{
169
+    public function __construct()
170
+    {
171 171
 
172
-	}
172
+    }
173 173
 
174
-	/**
175
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddCloudWaybillUpdateRequest_WaybillCloudPrintUpdateRequestPackageInfoItemsItem>, "items")
176
-	*/
177
-	private $items;
174
+    /**
175
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddCloudWaybillUpdateRequest_WaybillCloudPrintUpdateRequestPackageInfoItemsItem>, "items")
176
+     */
177
+    private $items;
178 178
 
179
-	/**
180
-	* @JsonProperty(Long, "volume")
181
-	*/
182
-	private $volume;
179
+    /**
180
+     * @JsonProperty(Long, "volume")
181
+     */
182
+    private $volume;
183 183
 
184
-	/**
185
-	* @JsonProperty(Long, "weight")
186
-	*/
187
-	private $weight;
184
+    /**
185
+     * @JsonProperty(Long, "weight")
186
+     */
187
+    private $weight;
188 188
 
189
-	public function setItems($items)
190
-	{
191
-		$this->items = $items;
192
-	}
189
+    public function setItems($items)
190
+    {
191
+        $this->items = $items;
192
+    }
193 193
 
194
-	public function setVolume($volume)
195
-	{
196
-		$this->volume = $volume;
197
-	}
194
+    public function setVolume($volume)
195
+    {
196
+        $this->volume = $volume;
197
+    }
198 198
 
199
-	public function setWeight($weight)
200
-	{
201
-		$this->weight = $weight;
202
-	}
199
+    public function setWeight($weight)
200
+    {
201
+        $this->weight = $weight;
202
+    }
203 203
 
204 204
 }
205 205
 
206 206
 class PddCloudWaybillUpdateRequest_WaybillCloudPrintUpdateRequestPackageInfoItemsItem extends PopBaseJsonEntity
207 207
 {
208 208
 
209
-	public function __construct()
210
-	{
209
+    public function __construct()
210
+    {
211 211
 
212
-	}
212
+    }
213 213
 
214
-	/**
215
-	* @JsonProperty(Integer, "count")
216
-	*/
217
-	private $count;
214
+    /**
215
+     * @JsonProperty(Integer, "count")
216
+     */
217
+    private $count;
218 218
 
219
-	/**
220
-	* @JsonProperty(String, "name")
221
-	*/
222
-	private $name;
219
+    /**
220
+     * @JsonProperty(String, "name")
221
+     */
222
+    private $name;
223 223
 
224
-	/**
225
-	* @JsonProperty(String, "ext_json")
226
-	*/
227
-	private $extJson;
224
+    /**
225
+     * @JsonProperty(String, "ext_json")
226
+     */
227
+    private $extJson;
228 228
 
229
-	public function setCount($count)
230
-	{
231
-		$this->count = $count;
232
-	}
229
+    public function setCount($count)
230
+    {
231
+        $this->count = $count;
232
+    }
233 233
 
234
-	public function setName($name)
235
-	{
236
-		$this->name = $name;
237
-	}
234
+    public function setName($name)
235
+    {
236
+        $this->name = $name;
237
+    }
238 238
 
239
-	public function setExtJson($extJson)
240
-	{
241
-		$this->extJson = $extJson;
242
-	}
239
+    public function setExtJson($extJson)
240
+    {
241
+        $this->extJson = $extJson;
242
+    }
243 243
 
244 244
 }
245 245
 
246 246
 class PddCloudWaybillUpdateRequest_WaybillCloudPrintUpdateRequestRecipient extends PopBaseJsonEntity
247 247
 {
248 248
 
249
-	public function __construct()
250
-	{
251
-
252
-	}
253
-
254
-	/**
255
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddCloudWaybillUpdateRequest_WaybillCloudPrintUpdateRequestRecipientAddress, "address")
256
-	*/
257
-	private $address;
258
-
259
-	/**
260
-	* @JsonProperty(String, "mobile")
261
-	*/
262
-	private $mobile;
263
-
264
-	/**
265
-	* @JsonProperty(String, "name")
266
-	*/
267
-	private $name;
268
-
269
-	/**
270
-	* @JsonProperty(String, "phone")
271
-	*/
272
-	private $phone;
273
-
274
-	public function setAddress($address)
275
-	{
276
-		$this->address = $address;
277
-	}
278
-
279
-	public function setMobile($mobile)
280
-	{
281
-		$this->mobile = $mobile;
282
-	}
283
-
284
-	public function setName($name)
285
-	{
286
-		$this->name = $name;
287
-	}
288
-
289
-	public function setPhone($phone)
290
-	{
291
-		$this->phone = $phone;
292
-	}
249
+    public function __construct()
250
+    {
251
+
252
+    }
253
+
254
+    /**
255
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddCloudWaybillUpdateRequest_WaybillCloudPrintUpdateRequestRecipientAddress, "address")
256
+     */
257
+    private $address;
258
+
259
+    /**
260
+     * @JsonProperty(String, "mobile")
261
+     */
262
+    private $mobile;
263
+
264
+    /**
265
+     * @JsonProperty(String, "name")
266
+     */
267
+    private $name;
268
+
269
+    /**
270
+     * @JsonProperty(String, "phone")
271
+     */
272
+    private $phone;
273
+
274
+    public function setAddress($address)
275
+    {
276
+        $this->address = $address;
277
+    }
278
+
279
+    public function setMobile($mobile)
280
+    {
281
+        $this->mobile = $mobile;
282
+    }
283
+
284
+    public function setName($name)
285
+    {
286
+        $this->name = $name;
287
+    }
288
+
289
+    public function setPhone($phone)
290
+    {
291
+        $this->phone = $phone;
292
+    }
293 293
 
294 294
 }
295 295
 
296 296
 class PddCloudWaybillUpdateRequest_WaybillCloudPrintUpdateRequestRecipientAddress extends PopBaseJsonEntity
297 297
 {
298 298
 
299
-	public function __construct()
300
-	{
301
-
302
-	}
303
-
304
-	/**
305
-	* @JsonProperty(String, "city")
306
-	*/
307
-	private $city;
308
-
309
-	/**
310
-	* @JsonProperty(String, "detail")
311
-	*/
312
-	private $detail;
313
-
314
-	/**
315
-	* @JsonProperty(String, "district")
316
-	*/
317
-	private $district;
318
-
319
-	/**
320
-	* @JsonProperty(String, "province")
321
-	*/
322
-	private $province;
323
-
324
-	/**
325
-	* @JsonProperty(String, "town")
326
-	*/
327
-	private $town;
328
-
329
-	/**
330
-	* @JsonProperty(String, "country")
331
-	*/
332
-	private $country;
333
-
334
-	public function setCity($city)
335
-	{
336
-		$this->city = $city;
337
-	}
338
-
339
-	public function setDetail($detail)
340
-	{
341
-		$this->detail = $detail;
342
-	}
343
-
344
-	public function setDistrict($district)
345
-	{
346
-		$this->district = $district;
347
-	}
348
-
349
-	public function setProvince($province)
350
-	{
351
-		$this->province = $province;
352
-	}
353
-
354
-	public function setTown($town)
355
-	{
356
-		$this->town = $town;
357
-	}
358
-
359
-	public function setCountry($country)
360
-	{
361
-		$this->country = $country;
362
-	}
299
+    public function __construct()
300
+    {
301
+
302
+    }
303
+
304
+    /**
305
+     * @JsonProperty(String, "city")
306
+     */
307
+    private $city;
308
+
309
+    /**
310
+     * @JsonProperty(String, "detail")
311
+     */
312
+    private $detail;
313
+
314
+    /**
315
+     * @JsonProperty(String, "district")
316
+     */
317
+    private $district;
318
+
319
+    /**
320
+     * @JsonProperty(String, "province")
321
+     */
322
+    private $province;
323
+
324
+    /**
325
+     * @JsonProperty(String, "town")
326
+     */
327
+    private $town;
328
+
329
+    /**
330
+     * @JsonProperty(String, "country")
331
+     */
332
+    private $country;
333
+
334
+    public function setCity($city)
335
+    {
336
+        $this->city = $city;
337
+    }
338
+
339
+    public function setDetail($detail)
340
+    {
341
+        $this->detail = $detail;
342
+    }
343
+
344
+    public function setDistrict($district)
345
+    {
346
+        $this->district = $district;
347
+    }
348
+
349
+    public function setProvince($province)
350
+    {
351
+        $this->province = $province;
352
+    }
353
+
354
+    public function setTown($town)
355
+    {
356
+        $this->town = $town;
357
+    }
358
+
359
+    public function setCountry($country)
360
+    {
361
+        $this->country = $country;
362
+    }
363 363
 
364 364
 }
365 365
 
366 366
 class PddCloudWaybillUpdateRequest_WaybillCloudPrintUpdateRequestSender extends PopBaseJsonEntity
367 367
 {
368 368
 
369
-	public function __construct()
370
-	{
371
-
372
-	}
373
-
374
-	/**
375
-	* @JsonProperty(String, "mobile")
376
-	*/
377
-	private $mobile;
378
-
379
-	/**
380
-	* @JsonProperty(String, "name")
381
-	*/
382
-	private $name;
383
-
384
-	/**
385
-	* @JsonProperty(String, "phone")
386
-	*/
387
-	private $phone;
388
-
389
-	public function setMobile($mobile)
390
-	{
391
-		$this->mobile = $mobile;
392
-	}
393
-
394
-	public function setName($name)
395
-	{
396
-		$this->name = $name;
397
-	}
398
-
399
-	public function setPhone($phone)
400
-	{
401
-		$this->phone = $phone;
402
-	}
369
+    public function __construct()
370
+    {
371
+
372
+    }
373
+
374
+    /**
375
+     * @JsonProperty(String, "mobile")
376
+     */
377
+    private $mobile;
378
+
379
+    /**
380
+     * @JsonProperty(String, "name")
381
+     */
382
+    private $name;
383
+
384
+    /**
385
+     * @JsonProperty(String, "phone")
386
+     */
387
+    private $phone;
388
+
389
+    public function setMobile($mobile)
390
+    {
391
+        $this->mobile = $mobile;
392
+    }
393
+
394
+    public function setName($name)
395
+    {
396
+        $this->name = $name;
397
+    }
398
+
399
+    public function setPhone($phone)
400
+    {
401
+        $this->phone = $phone;
402
+    }
403 403
 
404 404
 }
Please login to merge, or discard this patch.
pinduoduo/bin/src/Api/Request/PddAdApiKeywordRecommendGetRequest.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 PddAdApiKeywordRecommendGetRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Long, "goodsId")
15
-	*/
16
-	private $goodsId;
17
-
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "goodsId", $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.ad.api.keyword.recommend.get";
37
-	}
38
-
39
-	public function setGoodsId($goodsId)
40
-	{
41
-		$this->goodsId = $goodsId;
42
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Long, "goodsId")
15
+     */
16
+    private $goodsId;
17
+
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "goodsId", $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.ad.api.keyword.recommend.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/PddFlightCallbackFlightchangeRequest.php 1 patch
Indentation   +172 added lines, -172 removed lines patch added patch discarded remove patch
@@ -7,183 +7,183 @@
 block discarded – undo
7 7
 class PddFlightCallbackFlightchangeRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(String, "change_effect_time")
15
-	*/
16
-	private $changeEffectTime;
17
-
18
-	/**
19
-	* @JsonProperty(Integer, "change_type")
20
-	*/
21
-	private $changeType;
22
-
23
-	/**
24
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddFlightCallbackFlightchangeRequest_FlightInfo, "flight_info")
25
-	*/
26
-	private $flightInfo;
27
-
28
-	/**
29
-	* @JsonProperty(String, "parent_travel_sn")
30
-	*/
31
-	private $parentTravelSn;
32
-
33
-	/**
34
-	* @JsonProperty(String, "trace_id")
35
-	*/
36
-	private $traceId;
37
-
38
-	/**
39
-	* @JsonProperty(List<String>, "travel_sn")
40
-	*/
41
-	private $travelSn;
42
-
43
-	protected function setUserParams(&$params)
44
-	{
45
-		$this->setUserParam($params, "change_effect_time", $this->changeEffectTime);
46
-		$this->setUserParam($params, "change_type", $this->changeType);
47
-		$this->setUserParam($params, "flight_info", $this->flightInfo);
48
-		$this->setUserParam($params, "parent_travel_sn", $this->parentTravelSn);
49
-		$this->setUserParam($params, "trace_id", $this->traceId);
50
-		$this->setUserParam($params, "travel_sn", $this->travelSn);
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.callback.flightchange";
67
-	}
68
-
69
-	public function setChangeEffectTime($changeEffectTime)
70
-	{
71
-		$this->changeEffectTime = $changeEffectTime;
72
-	}
73
-
74
-	public function setChangeType($changeType)
75
-	{
76
-		$this->changeType = $changeType;
77
-	}
78
-
79
-	public function setFlightInfo($flightInfo)
80
-	{
81
-		$this->flightInfo = $flightInfo;
82
-	}
83
-
84
-	public function setParentTravelSn($parentTravelSn)
85
-	{
86
-		$this->parentTravelSn = $parentTravelSn;
87
-	}
88
-
89
-	public function setTraceId($traceId)
90
-	{
91
-		$this->traceId = $traceId;
92
-	}
93
-
94
-	public function setTravelSn($travelSn)
95
-	{
96
-		$this->travelSn = $travelSn;
97
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(String, "change_effect_time")
15
+     */
16
+    private $changeEffectTime;
17
+
18
+    /**
19
+     * @JsonProperty(Integer, "change_type")
20
+     */
21
+    private $changeType;
22
+
23
+    /**
24
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddFlightCallbackFlightchangeRequest_FlightInfo, "flight_info")
25
+     */
26
+    private $flightInfo;
27
+
28
+    /**
29
+     * @JsonProperty(String, "parent_travel_sn")
30
+     */
31
+    private $parentTravelSn;
32
+
33
+    /**
34
+     * @JsonProperty(String, "trace_id")
35
+     */
36
+    private $traceId;
37
+
38
+    /**
39
+     * @JsonProperty(List<String>, "travel_sn")
40
+     */
41
+    private $travelSn;
42
+
43
+    protected function setUserParams(&$params)
44
+    {
45
+        $this->setUserParam($params, "change_effect_time", $this->changeEffectTime);
46
+        $this->setUserParam($params, "change_type", $this->changeType);
47
+        $this->setUserParam($params, "flight_info", $this->flightInfo);
48
+        $this->setUserParam($params, "parent_travel_sn", $this->parentTravelSn);
49
+        $this->setUserParam($params, "trace_id", $this->traceId);
50
+        $this->setUserParam($params, "travel_sn", $this->travelSn);
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.callback.flightchange";
67
+    }
68
+
69
+    public function setChangeEffectTime($changeEffectTime)
70
+    {
71
+        $this->changeEffectTime = $changeEffectTime;
72
+    }
73
+
74
+    public function setChangeType($changeType)
75
+    {
76
+        $this->changeType = $changeType;
77
+    }
78
+
79
+    public function setFlightInfo($flightInfo)
80
+    {
81
+        $this->flightInfo = $flightInfo;
82
+    }
83
+
84
+    public function setParentTravelSn($parentTravelSn)
85
+    {
86
+        $this->parentTravelSn = $parentTravelSn;
87
+    }
88
+
89
+    public function setTraceId($traceId)
90
+    {
91
+        $this->traceId = $traceId;
92
+    }
93
+
94
+    public function setTravelSn($travelSn)
95
+    {
96
+        $this->travelSn = $travelSn;
97
+    }
98 98
 
99 99
 }
100 100
 
101 101
 class PddFlightCallbackFlightchangeRequest_FlightInfo extends PopBaseJsonEntity
102 102
 {
103 103
 
104
-	public function __construct()
105
-	{
106
-
107
-	}
108
-
109
-	/**
110
-	* @JsonProperty(String, "arrival_airport_code")
111
-	*/
112
-	private $arrivalAirportCode;
113
-
114
-	/**
115
-	* @JsonProperty(String, "arrival_date_time")
116
-	*/
117
-	private $arrivalDateTime;
118
-
119
-	/**
120
-	* @JsonProperty(String, "departure_airport_code")
121
-	*/
122
-	private $departureAirportCode;
123
-
124
-	/**
125
-	* @JsonProperty(String, "departure_date_time")
126
-	*/
127
-	private $departureDateTime;
128
-
129
-	/**
130
-	* @JsonProperty(String, "flight_no")
131
-	*/
132
-	private $flightNo;
133
-
134
-	/**
135
-	* @JsonProperty(String, "origin_arrival_date_time")
136
-	*/
137
-	private $originArrivalDateTime;
138
-
139
-	/**
140
-	* @JsonProperty(String, "origin_departure_date_time")
141
-	*/
142
-	private $originDepartureDateTime;
143
-
144
-	/**
145
-	* @JsonProperty(String, "origin_flight_no")
146
-	*/
147
-	private $originFlightNo;
148
-
149
-	public function setArrivalAirportCode($arrivalAirportCode)
150
-	{
151
-		$this->arrivalAirportCode = $arrivalAirportCode;
152
-	}
153
-
154
-	public function setArrivalDateTime($arrivalDateTime)
155
-	{
156
-		$this->arrivalDateTime = $arrivalDateTime;
157
-	}
158
-
159
-	public function setDepartureAirportCode($departureAirportCode)
160
-	{
161
-		$this->departureAirportCode = $departureAirportCode;
162
-	}
163
-
164
-	public function setDepartureDateTime($departureDateTime)
165
-	{
166
-		$this->departureDateTime = $departureDateTime;
167
-	}
168
-
169
-	public function setFlightNo($flightNo)
170
-	{
171
-		$this->flightNo = $flightNo;
172
-	}
173
-
174
-	public function setOriginArrivalDateTime($originArrivalDateTime)
175
-	{
176
-		$this->originArrivalDateTime = $originArrivalDateTime;
177
-	}
178
-
179
-	public function setOriginDepartureDateTime($originDepartureDateTime)
180
-	{
181
-		$this->originDepartureDateTime = $originDepartureDateTime;
182
-	}
183
-
184
-	public function setOriginFlightNo($originFlightNo)
185
-	{
186
-		$this->originFlightNo = $originFlightNo;
187
-	}
104
+    public function __construct()
105
+    {
106
+
107
+    }
108
+
109
+    /**
110
+     * @JsonProperty(String, "arrival_airport_code")
111
+     */
112
+    private $arrivalAirportCode;
113
+
114
+    /**
115
+     * @JsonProperty(String, "arrival_date_time")
116
+     */
117
+    private $arrivalDateTime;
118
+
119
+    /**
120
+     * @JsonProperty(String, "departure_airport_code")
121
+     */
122
+    private $departureAirportCode;
123
+
124
+    /**
125
+     * @JsonProperty(String, "departure_date_time")
126
+     */
127
+    private $departureDateTime;
128
+
129
+    /**
130
+     * @JsonProperty(String, "flight_no")
131
+     */
132
+    private $flightNo;
133
+
134
+    /**
135
+     * @JsonProperty(String, "origin_arrival_date_time")
136
+     */
137
+    private $originArrivalDateTime;
138
+
139
+    /**
140
+     * @JsonProperty(String, "origin_departure_date_time")
141
+     */
142
+    private $originDepartureDateTime;
143
+
144
+    /**
145
+     * @JsonProperty(String, "origin_flight_no")
146
+     */
147
+    private $originFlightNo;
148
+
149
+    public function setArrivalAirportCode($arrivalAirportCode)
150
+    {
151
+        $this->arrivalAirportCode = $arrivalAirportCode;
152
+    }
153
+
154
+    public function setArrivalDateTime($arrivalDateTime)
155
+    {
156
+        $this->arrivalDateTime = $arrivalDateTime;
157
+    }
158
+
159
+    public function setDepartureAirportCode($departureAirportCode)
160
+    {
161
+        $this->departureAirportCode = $departureAirportCode;
162
+    }
163
+
164
+    public function setDepartureDateTime($departureDateTime)
165
+    {
166
+        $this->departureDateTime = $departureDateTime;
167
+    }
168
+
169
+    public function setFlightNo($flightNo)
170
+    {
171
+        $this->flightNo = $flightNo;
172
+    }
173
+
174
+    public function setOriginArrivalDateTime($originArrivalDateTime)
175
+    {
176
+        $this->originArrivalDateTime = $originArrivalDateTime;
177
+    }
178
+
179
+    public function setOriginDepartureDateTime($originDepartureDateTime)
180
+    {
181
+        $this->originDepartureDateTime = $originDepartureDateTime;
182
+    }
183
+
184
+    public function setOriginFlightNo($originFlightNo)
185
+    {
186
+        $this->originFlightNo = $originFlightNo;
187
+    }
188 188
 
189 189
 }
Please login to merge, or discard this patch.
pinduoduo/bin/src/Api/Request/PddGoodsFilespaceImageUploadRequest.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 PddGoodsFilespaceImageUploadRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsFilespaceImageUploadRequest_FILE, "file")
15
-	*/
16
-	private $file;
17
-
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "file", $this->file);
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.filespace.image.upload";
37
-	}
38
-
39
-	public function setFile($file)
40
-	{
41
-		$this->file = $file;
42
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsFilespaceImageUploadRequest_FILE, "file")
15
+     */
16
+    private $file;
17
+
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "file", $this->file);
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.filespace.image.upload";
37
+    }
38
+
39
+    public function setFile($file)
40
+    {
41
+        $this->file = $file;
42
+    }
43 43
 
44 44
 }
Please login to merge, or discard this patch.
service/pinduoduo/bin/src/Api/Request/PddOneExpressCostTemplateRequest.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 PddOneExpressCostTemplateRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Long, "cost_template_id")
15
-	*/
16
-	private $costTemplateId;
17
-
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "cost_template_id", $this->costTemplateId);
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.one.express.cost.template";
37
-	}
38
-
39
-	public function setCostTemplateId($costTemplateId)
40
-	{
41
-		$this->costTemplateId = $costTemplateId;
42
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Long, "cost_template_id")
15
+     */
16
+    private $costTemplateId;
17
+
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "cost_template_id", $this->costTemplateId);
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.one.express.cost.template";
37
+    }
38
+
39
+    public function setCostTemplateId($costTemplateId)
40
+    {
41
+        $this->costTemplateId = $costTemplateId;
42
+    }
43 43
 
44 44
 }
Please login to merge, or discard this patch.