Passed
Push — v6 ( f71c30...fe03e1 )
by 光春
04:16
created
src/service/pinduoduo/bin/src/Api/Request/PddAdApiKeywordUpdateRequest.php 1 patch
Indentation   +78 added lines, -78 removed lines patch added patch discarded remove patch
@@ -7,89 +7,89 @@
 block discarded – undo
7 7
 class PddAdApiKeywordUpdateRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Long, "adId")
15
-	*/
16
-	private $adId;
17
-
18
-	/**
19
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiKeywordUpdateRequest_KeywordsItem>, "keywords")
20
-	*/
21
-	private $keywords;
22
-
23
-	protected function setUserParams(&$params)
24
-	{
25
-		$this->setUserParam($params, "adId", $this->adId);
26
-		$this->setUserParam($params, "keywords", $this->keywords);
27
-
28
-	}
29
-
30
-	public function getVersion()
31
-	{
32
-		return "V1";
33
-	}
34
-
35
-	public function getDataType()
36
-	{
37
-		return "JSON";
38
-	}
39
-
40
-	public function getType()
41
-	{
42
-		return "pdd.ad.api.keyword.update";
43
-	}
44
-
45
-	public function setAdId($adId)
46
-	{
47
-		$this->adId = $adId;
48
-	}
49
-
50
-	public function setKeywords($keywords)
51
-	{
52
-		$this->keywords = $keywords;
53
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Long, "adId")
15
+     */
16
+    private $adId;
17
+
18
+    /**
19
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiKeywordUpdateRequest_KeywordsItem>, "keywords")
20
+     */
21
+    private $keywords;
22
+
23
+    protected function setUserParams(&$params)
24
+    {
25
+        $this->setUserParam($params, "adId", $this->adId);
26
+        $this->setUserParam($params, "keywords", $this->keywords);
27
+
28
+    }
29
+
30
+    public function getVersion()
31
+    {
32
+        return "V1";
33
+    }
34
+
35
+    public function getDataType()
36
+    {
37
+        return "JSON";
38
+    }
39
+
40
+    public function getType()
41
+    {
42
+        return "pdd.ad.api.keyword.update";
43
+    }
44
+
45
+    public function setAdId($adId)
46
+    {
47
+        $this->adId = $adId;
48
+    }
49
+
50
+    public function setKeywords($keywords)
51
+    {
52
+        $this->keywords = $keywords;
53
+    }
54 54
 
55 55
 }
56 56
 
57 57
 class PddAdApiKeywordUpdateRequest_KeywordsItem extends PopBaseJsonEntity
58 58
 {
59 59
 
60
-	public function __construct()
61
-	{
62
-
63
-	}
64
-
65
-	/**
66
-	* @JsonProperty(Long, "bid")
67
-	*/
68
-	private $bid;
69
-
70
-	/**
71
-	* @JsonProperty(Long, "keywordId")
72
-	*/
73
-	private $keywordId;
74
-
75
-	/**
76
-	* @JsonProperty(Long, "premiumRate")
77
-	*/
78
-	private $premiumRate;
79
-
80
-	public function setBid($bid)
81
-	{
82
-		$this->bid = $bid;
83
-	}
84
-
85
-	public function setKeywordId($keywordId)
86
-	{
87
-		$this->keywordId = $keywordId;
88
-	}
89
-
90
-	public function setPremiumRate($premiumRate)
91
-	{
92
-		$this->premiumRate = $premiumRate;
93
-	}
60
+    public function __construct()
61
+    {
62
+
63
+    }
64
+
65
+    /**
66
+     * @JsonProperty(Long, "bid")
67
+     */
68
+    private $bid;
69
+
70
+    /**
71
+     * @JsonProperty(Long, "keywordId")
72
+     */
73
+    private $keywordId;
74
+
75
+    /**
76
+     * @JsonProperty(Long, "premiumRate")
77
+     */
78
+    private $premiumRate;
79
+
80
+    public function setBid($bid)
81
+    {
82
+        $this->bid = $bid;
83
+    }
84
+
85
+    public function setKeywordId($keywordId)
86
+    {
87
+        $this->keywordId = $keywordId;
88
+    }
89
+
90
+    public function setPremiumRate($premiumRate)
91
+    {
92
+        $this->premiumRate = $premiumRate;
93
+    }
94 94
 
95 95
 }
Please login to merge, or discard this patch.
service/pinduoduo/bin/src/Api/Request/PddDdkCmsPromUrlGenerateRequest.php 1 patch
Indentation   +132 added lines, -132 removed lines patch added patch discarded remove patch
@@ -7,137 +7,137 @@
 block discarded – undo
7 7
 class PddDdkCmsPromUrlGenerateRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Integer, "channel_type")
15
-	*/
16
-	private $channelType;
17
-
18
-	/**
19
-	* @JsonProperty(String, "custom_parameters")
20
-	*/
21
-	private $customParameters;
22
-
23
-	/**
24
-	* @JsonProperty(Boolean, "generate_mobile")
25
-	*/
26
-	private $generateMobile;
27
-
28
-	/**
29
-	* @JsonProperty(Boolean, "generate_schema_url")
30
-	*/
31
-	private $generateSchemaUrl;
32
-
33
-	/**
34
-	* @JsonProperty(Boolean, "generate_short_url")
35
-	*/
36
-	private $generateShortUrl;
37
-
38
-	/**
39
-	* @JsonProperty(Boolean, "generate_weapp_webview")
40
-	*/
41
-	private $generateWeappWebview;
42
-
43
-	/**
44
-	* @JsonProperty(Boolean, "multi_group")
45
-	*/
46
-	private $multiGroup;
47
-
48
-	/**
49
-	* @JsonProperty(List<String>, "p_id_list")
50
-	*/
51
-	private $pIdList;
52
-
53
-	/**
54
-	* @JsonProperty(Boolean, "generate_we_app")
55
-	*/
56
-	private $generateWeApp;
57
-
58
-	/**
59
-	* @JsonProperty(String, "keyword")
60
-	*/
61
-	private $keyword;
62
-
63
-	protected function setUserParams(&$params)
64
-	{
65
-		$this->setUserParam($params, "channel_type", $this->channelType);
66
-		$this->setUserParam($params, "custom_parameters", $this->customParameters);
67
-		$this->setUserParam($params, "generate_mobile", $this->generateMobile);
68
-		$this->setUserParam($params, "generate_schema_url", $this->generateSchemaUrl);
69
-		$this->setUserParam($params, "generate_short_url", $this->generateShortUrl);
70
-		$this->setUserParam($params, "generate_weapp_webview", $this->generateWeappWebview);
71
-		$this->setUserParam($params, "multi_group", $this->multiGroup);
72
-		$this->setUserParam($params, "p_id_list", $this->pIdList);
73
-		$this->setUserParam($params, "generate_we_app", $this->generateWeApp);
74
-		$this->setUserParam($params, "keyword", $this->keyword);
75
-
76
-	}
77
-
78
-	public function getVersion()
79
-	{
80
-		return "V1";
81
-	}
82
-
83
-	public function getDataType()
84
-	{
85
-		return "JSON";
86
-	}
87
-
88
-	public function getType()
89
-	{
90
-		return "pdd.ddk.cms.prom.url.generate";
91
-	}
92
-
93
-	public function setChannelType($channelType)
94
-	{
95
-		$this->channelType = $channelType;
96
-	}
97
-
98
-	public function setCustomParameters($customParameters)
99
-	{
100
-		$this->customParameters = $customParameters;
101
-	}
102
-
103
-	public function setGenerateMobile($generateMobile)
104
-	{
105
-		$this->generateMobile = $generateMobile;
106
-	}
107
-
108
-	public function setGenerateSchemaUrl($generateSchemaUrl)
109
-	{
110
-		$this->generateSchemaUrl = $generateSchemaUrl;
111
-	}
112
-
113
-	public function setGenerateShortUrl($generateShortUrl)
114
-	{
115
-		$this->generateShortUrl = $generateShortUrl;
116
-	}
117
-
118
-	public function setGenerateWeappWebview($generateWeappWebview)
119
-	{
120
-		$this->generateWeappWebview = $generateWeappWebview;
121
-	}
122
-
123
-	public function setMultiGroup($multiGroup)
124
-	{
125
-		$this->multiGroup = $multiGroup;
126
-	}
127
-
128
-	public function setPIdList($pIdList)
129
-	{
130
-		$this->pIdList = $pIdList;
131
-	}
132
-
133
-	public function setGenerateWeApp($generateWeApp)
134
-	{
135
-		$this->generateWeApp = $generateWeApp;
136
-	}
137
-
138
-	public function setKeyword($keyword)
139
-	{
140
-		$this->keyword = $keyword;
141
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Integer, "channel_type")
15
+     */
16
+    private $channelType;
17
+
18
+    /**
19
+     * @JsonProperty(String, "custom_parameters")
20
+     */
21
+    private $customParameters;
22
+
23
+    /**
24
+     * @JsonProperty(Boolean, "generate_mobile")
25
+     */
26
+    private $generateMobile;
27
+
28
+    /**
29
+     * @JsonProperty(Boolean, "generate_schema_url")
30
+     */
31
+    private $generateSchemaUrl;
32
+
33
+    /**
34
+     * @JsonProperty(Boolean, "generate_short_url")
35
+     */
36
+    private $generateShortUrl;
37
+
38
+    /**
39
+     * @JsonProperty(Boolean, "generate_weapp_webview")
40
+     */
41
+    private $generateWeappWebview;
42
+
43
+    /**
44
+     * @JsonProperty(Boolean, "multi_group")
45
+     */
46
+    private $multiGroup;
47
+
48
+    /**
49
+     * @JsonProperty(List<String>, "p_id_list")
50
+     */
51
+    private $pIdList;
52
+
53
+    /**
54
+     * @JsonProperty(Boolean, "generate_we_app")
55
+     */
56
+    private $generateWeApp;
57
+
58
+    /**
59
+     * @JsonProperty(String, "keyword")
60
+     */
61
+    private $keyword;
62
+
63
+    protected function setUserParams(&$params)
64
+    {
65
+        $this->setUserParam($params, "channel_type", $this->channelType);
66
+        $this->setUserParam($params, "custom_parameters", $this->customParameters);
67
+        $this->setUserParam($params, "generate_mobile", $this->generateMobile);
68
+        $this->setUserParam($params, "generate_schema_url", $this->generateSchemaUrl);
69
+        $this->setUserParam($params, "generate_short_url", $this->generateShortUrl);
70
+        $this->setUserParam($params, "generate_weapp_webview", $this->generateWeappWebview);
71
+        $this->setUserParam($params, "multi_group", $this->multiGroup);
72
+        $this->setUserParam($params, "p_id_list", $this->pIdList);
73
+        $this->setUserParam($params, "generate_we_app", $this->generateWeApp);
74
+        $this->setUserParam($params, "keyword", $this->keyword);
75
+
76
+    }
77
+
78
+    public function getVersion()
79
+    {
80
+        return "V1";
81
+    }
82
+
83
+    public function getDataType()
84
+    {
85
+        return "JSON";
86
+    }
87
+
88
+    public function getType()
89
+    {
90
+        return "pdd.ddk.cms.prom.url.generate";
91
+    }
92
+
93
+    public function setChannelType($channelType)
94
+    {
95
+        $this->channelType = $channelType;
96
+    }
97
+
98
+    public function setCustomParameters($customParameters)
99
+    {
100
+        $this->customParameters = $customParameters;
101
+    }
102
+
103
+    public function setGenerateMobile($generateMobile)
104
+    {
105
+        $this->generateMobile = $generateMobile;
106
+    }
107
+
108
+    public function setGenerateSchemaUrl($generateSchemaUrl)
109
+    {
110
+        $this->generateSchemaUrl = $generateSchemaUrl;
111
+    }
112
+
113
+    public function setGenerateShortUrl($generateShortUrl)
114
+    {
115
+        $this->generateShortUrl = $generateShortUrl;
116
+    }
117
+
118
+    public function setGenerateWeappWebview($generateWeappWebview)
119
+    {
120
+        $this->generateWeappWebview = $generateWeappWebview;
121
+    }
122
+
123
+    public function setMultiGroup($multiGroup)
124
+    {
125
+        $this->multiGroup = $multiGroup;
126
+    }
127
+
128
+    public function setPIdList($pIdList)
129
+    {
130
+        $this->pIdList = $pIdList;
131
+    }
132
+
133
+    public function setGenerateWeApp($generateWeApp)
134
+    {
135
+        $this->generateWeApp = $generateWeApp;
136
+    }
137
+
138
+    public function setKeyword($keyword)
139
+    {
140
+        $this->keyword = $keyword;
141
+    }
142 142
 
143 143
 }
Please login to merge, or discard this patch.
pinduoduo/bin/src/Api/Request/PddLogisticsIsvTraceNotifySubRequest.php 1 patch
Indentation   +44 added lines, -44 removed lines patch added patch discarded remove patch
@@ -7,60 +7,60 @@
 block discarded – undo
7 7
 class PddLogisticsIsvTraceNotifySubRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
10
+    {
11 11
 
12
-	}
13
-	/**
14
-	* @JsonProperty(String, "ship_code")
15
-	*/
16
-	private $shipCode;
12
+    }
13
+    /**
14
+     * @JsonProperty(String, "ship_code")
15
+     */
16
+    private $shipCode;
17 17
 
18
-	/**
19
-	* @JsonProperty(String, "tel")
20
-	*/
21
-	private $tel;
18
+    /**
19
+     * @JsonProperty(String, "tel")
20
+     */
21
+    private $tel;
22 22
 
23
-	/**
24
-	* @JsonProperty(String, "track_no")
25
-	*/
26
-	private $trackNo;
23
+    /**
24
+     * @JsonProperty(String, "track_no")
25
+     */
26
+    private $trackNo;
27 27
 
28
-	protected function setUserParams(&$params)
29
-	{
30
-		$this->setUserParam($params, "ship_code", $this->shipCode);
31
-		$this->setUserParam($params, "tel", $this->tel);
32
-		$this->setUserParam($params, "track_no", $this->trackNo);
28
+    protected function setUserParams(&$params)
29
+    {
30
+        $this->setUserParam($params, "ship_code", $this->shipCode);
31
+        $this->setUserParam($params, "tel", $this->tel);
32
+        $this->setUserParam($params, "track_no", $this->trackNo);
33 33
 
34
-	}
34
+    }
35 35
 
36
-	public function getVersion()
37
-	{
38
-		return "V1";
39
-	}
36
+    public function getVersion()
37
+    {
38
+        return "V1";
39
+    }
40 40
 
41
-	public function getDataType()
42
-	{
43
-		return "JSON";
44
-	}
41
+    public function getDataType()
42
+    {
43
+        return "JSON";
44
+    }
45 45
 
46
-	public function getType()
47
-	{
48
-		return "pdd.logistics.isv.trace.notify.sub";
49
-	}
46
+    public function getType()
47
+    {
48
+        return "pdd.logistics.isv.trace.notify.sub";
49
+    }
50 50
 
51
-	public function setShipCode($shipCode)
52
-	{
53
-		$this->shipCode = $shipCode;
54
-	}
51
+    public function setShipCode($shipCode)
52
+    {
53
+        $this->shipCode = $shipCode;
54
+    }
55 55
 
56
-	public function setTel($tel)
57
-	{
58
-		$this->tel = $tel;
59
-	}
56
+    public function setTel($tel)
57
+    {
58
+        $this->tel = $tel;
59
+    }
60 60
 
61
-	public function setTrackNo($trackNo)
62
-	{
63
-		$this->trackNo = $trackNo;
64
-	}
61
+    public function setTrackNo($trackNo)
62
+    {
63
+        $this->trackNo = $trackNo;
64
+    }
65 65
 
66 66
 }
Please login to merge, or discard this patch.
pinduoduo/bin/src/Api/Request/PddAdApiReportHourlyReportQueryRequest.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 PddAdApiReportHourlyReportQueryRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(String, "dateString")
15
-	*/
16
-	private $dateString;
17
-
18
-	/**
19
-	* @JsonProperty(Long, "entityId")
20
-	*/
21
-	private $entityId;
22
-
23
-	/**
24
-	* @JsonProperty(Integer, "queryDimensionType")
25
-	*/
26
-	private $queryDimensionType;
27
-
28
-	/**
29
-	* @JsonProperty(Integer, "scenesType")
30
-	*/
31
-	private $scenesType;
32
-
33
-	protected function setUserParams(&$params)
34
-	{
35
-		$this->setUserParam($params, "dateString", $this->dateString);
36
-		$this->setUserParam($params, "entityId", $this->entityId);
37
-		$this->setUserParam($params, "queryDimensionType", $this->queryDimensionType);
38
-		$this->setUserParam($params, "scenesType", $this->scenesType);
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.ad.api.report.hourly.report.query";
55
-	}
56
-
57
-	public function setDateString($dateString)
58
-	{
59
-		$this->dateString = $dateString;
60
-	}
61
-
62
-	public function setEntityId($entityId)
63
-	{
64
-		$this->entityId = $entityId;
65
-	}
66
-
67
-	public function setQueryDimensionType($queryDimensionType)
68
-	{
69
-		$this->queryDimensionType = $queryDimensionType;
70
-	}
71
-
72
-	public function setScenesType($scenesType)
73
-	{
74
-		$this->scenesType = $scenesType;
75
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(String, "dateString")
15
+     */
16
+    private $dateString;
17
+
18
+    /**
19
+     * @JsonProperty(Long, "entityId")
20
+     */
21
+    private $entityId;
22
+
23
+    /**
24
+     * @JsonProperty(Integer, "queryDimensionType")
25
+     */
26
+    private $queryDimensionType;
27
+
28
+    /**
29
+     * @JsonProperty(Integer, "scenesType")
30
+     */
31
+    private $scenesType;
32
+
33
+    protected function setUserParams(&$params)
34
+    {
35
+        $this->setUserParam($params, "dateString", $this->dateString);
36
+        $this->setUserParam($params, "entityId", $this->entityId);
37
+        $this->setUserParam($params, "queryDimensionType", $this->queryDimensionType);
38
+        $this->setUserParam($params, "scenesType", $this->scenesType);
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.ad.api.report.hourly.report.query";
55
+    }
56
+
57
+    public function setDateString($dateString)
58
+    {
59
+        $this->dateString = $dateString;
60
+    }
61
+
62
+    public function setEntityId($entityId)
63
+    {
64
+        $this->entityId = $entityId;
65
+    }
66
+
67
+    public function setQueryDimensionType($queryDimensionType)
68
+    {
69
+        $this->queryDimensionType = $queryDimensionType;
70
+    }
71
+
72
+    public function setScenesType($scenesType)
73
+    {
74
+        $this->scenesType = $scenesType;
75
+    }
76 76
 
77 77
 }
Please login to merge, or discard this patch.
pinduoduo/bin/src/Api/Request/PddFlightCallbackConfirmRefundRequest.php 1 patch
Indentation   +330 added lines, -330 removed lines patch added patch discarded remove patch
@@ -7,358 +7,358 @@
 block discarded – undo
7 7
 class PddFlightCallbackConfirmRefundRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Integer, "error_code")
15
-	*/
16
-	private $errorCode;
17
-
18
-	/**
19
-	* @JsonProperty(String, "error_msg")
20
-	*/
21
-	private $errorMsg;
22
-
23
-	/**
24
-	* @JsonProperty(String, "out_order_no")
25
-	*/
26
-	private $outOrderNo;
27
-
28
-	/**
29
-	* @JsonProperty(String, "out_refund_no")
30
-	*/
31
-	private $outRefundNo;
32
-
33
-	/**
34
-	* @JsonProperty(String, "parent_travel_sn")
35
-	*/
36
-	private $parentTravelSn;
37
-
38
-	/**
39
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightCallbackConfirmRefundRequest_PassengerInfoListItem>, "passenger_info_list")
40
-	*/
41
-	private $passengerInfoList;
42
-
43
-	/**
44
-	* @JsonProperty(Integer, "refund_callback_type")
45
-	*/
46
-	private $refundCallbackType;
47
-
48
-	/**
49
-	* @JsonProperty(Integer, "refund_status")
50
-	*/
51
-	private $refundStatus;
52
-
53
-	/**
54
-	* @JsonProperty(String, "refund_time")
55
-	*/
56
-	private $refundTime;
57
-
58
-	/**
59
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightCallbackConfirmRefundRequest_SubRefundInfoListItem>, "sub_refund_info_list")
60
-	*/
61
-	private $subRefundInfoList;
62
-
63
-	/**
64
-	* @JsonProperty(String, "trace_id")
65
-	*/
66
-	private $traceId;
67
-
68
-	protected function setUserParams(&$params)
69
-	{
70
-		$this->setUserParam($params, "error_code", $this->errorCode);
71
-		$this->setUserParam($params, "error_msg", $this->errorMsg);
72
-		$this->setUserParam($params, "out_order_no", $this->outOrderNo);
73
-		$this->setUserParam($params, "out_refund_no", $this->outRefundNo);
74
-		$this->setUserParam($params, "parent_travel_sn", $this->parentTravelSn);
75
-		$this->setUserParam($params, "passenger_info_list", $this->passengerInfoList);
76
-		$this->setUserParam($params, "refund_callback_type", $this->refundCallbackType);
77
-		$this->setUserParam($params, "refund_status", $this->refundStatus);
78
-		$this->setUserParam($params, "refund_time", $this->refundTime);
79
-		$this->setUserParam($params, "sub_refund_info_list", $this->subRefundInfoList);
80
-		$this->setUserParam($params, "trace_id", $this->traceId);
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.flight.callback.confirm.refund";
97
-	}
98
-
99
-	public function setErrorCode($errorCode)
100
-	{
101
-		$this->errorCode = $errorCode;
102
-	}
103
-
104
-	public function setErrorMsg($errorMsg)
105
-	{
106
-		$this->errorMsg = $errorMsg;
107
-	}
108
-
109
-	public function setOutOrderNo($outOrderNo)
110
-	{
111
-		$this->outOrderNo = $outOrderNo;
112
-	}
113
-
114
-	public function setOutRefundNo($outRefundNo)
115
-	{
116
-		$this->outRefundNo = $outRefundNo;
117
-	}
118
-
119
-	public function setParentTravelSn($parentTravelSn)
120
-	{
121
-		$this->parentTravelSn = $parentTravelSn;
122
-	}
123
-
124
-	public function setPassengerInfoList($passengerInfoList)
125
-	{
126
-		$this->passengerInfoList = $passengerInfoList;
127
-	}
128
-
129
-	public function setRefundCallbackType($refundCallbackType)
130
-	{
131
-		$this->refundCallbackType = $refundCallbackType;
132
-	}
133
-
134
-	public function setRefundStatus($refundStatus)
135
-	{
136
-		$this->refundStatus = $refundStatus;
137
-	}
138
-
139
-	public function setRefundTime($refundTime)
140
-	{
141
-		$this->refundTime = $refundTime;
142
-	}
143
-
144
-	public function setSubRefundInfoList($subRefundInfoList)
145
-	{
146
-		$this->subRefundInfoList = $subRefundInfoList;
147
-	}
148
-
149
-	public function setTraceId($traceId)
150
-	{
151
-		$this->traceId = $traceId;
152
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Integer, "error_code")
15
+     */
16
+    private $errorCode;
17
+
18
+    /**
19
+     * @JsonProperty(String, "error_msg")
20
+     */
21
+    private $errorMsg;
22
+
23
+    /**
24
+     * @JsonProperty(String, "out_order_no")
25
+     */
26
+    private $outOrderNo;
27
+
28
+    /**
29
+     * @JsonProperty(String, "out_refund_no")
30
+     */
31
+    private $outRefundNo;
32
+
33
+    /**
34
+     * @JsonProperty(String, "parent_travel_sn")
35
+     */
36
+    private $parentTravelSn;
37
+
38
+    /**
39
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightCallbackConfirmRefundRequest_PassengerInfoListItem>, "passenger_info_list")
40
+     */
41
+    private $passengerInfoList;
42
+
43
+    /**
44
+     * @JsonProperty(Integer, "refund_callback_type")
45
+     */
46
+    private $refundCallbackType;
47
+
48
+    /**
49
+     * @JsonProperty(Integer, "refund_status")
50
+     */
51
+    private $refundStatus;
52
+
53
+    /**
54
+     * @JsonProperty(String, "refund_time")
55
+     */
56
+    private $refundTime;
57
+
58
+    /**
59
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightCallbackConfirmRefundRequest_SubRefundInfoListItem>, "sub_refund_info_list")
60
+     */
61
+    private $subRefundInfoList;
62
+
63
+    /**
64
+     * @JsonProperty(String, "trace_id")
65
+     */
66
+    private $traceId;
67
+
68
+    protected function setUserParams(&$params)
69
+    {
70
+        $this->setUserParam($params, "error_code", $this->errorCode);
71
+        $this->setUserParam($params, "error_msg", $this->errorMsg);
72
+        $this->setUserParam($params, "out_order_no", $this->outOrderNo);
73
+        $this->setUserParam($params, "out_refund_no", $this->outRefundNo);
74
+        $this->setUserParam($params, "parent_travel_sn", $this->parentTravelSn);
75
+        $this->setUserParam($params, "passenger_info_list", $this->passengerInfoList);
76
+        $this->setUserParam($params, "refund_callback_type", $this->refundCallbackType);
77
+        $this->setUserParam($params, "refund_status", $this->refundStatus);
78
+        $this->setUserParam($params, "refund_time", $this->refundTime);
79
+        $this->setUserParam($params, "sub_refund_info_list", $this->subRefundInfoList);
80
+        $this->setUserParam($params, "trace_id", $this->traceId);
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.flight.callback.confirm.refund";
97
+    }
98
+
99
+    public function setErrorCode($errorCode)
100
+    {
101
+        $this->errorCode = $errorCode;
102
+    }
103
+
104
+    public function setErrorMsg($errorMsg)
105
+    {
106
+        $this->errorMsg = $errorMsg;
107
+    }
108
+
109
+    public function setOutOrderNo($outOrderNo)
110
+    {
111
+        $this->outOrderNo = $outOrderNo;
112
+    }
113
+
114
+    public function setOutRefundNo($outRefundNo)
115
+    {
116
+        $this->outRefundNo = $outRefundNo;
117
+    }
118
+
119
+    public function setParentTravelSn($parentTravelSn)
120
+    {
121
+        $this->parentTravelSn = $parentTravelSn;
122
+    }
123
+
124
+    public function setPassengerInfoList($passengerInfoList)
125
+    {
126
+        $this->passengerInfoList = $passengerInfoList;
127
+    }
128
+
129
+    public function setRefundCallbackType($refundCallbackType)
130
+    {
131
+        $this->refundCallbackType = $refundCallbackType;
132
+    }
133
+
134
+    public function setRefundStatus($refundStatus)
135
+    {
136
+        $this->refundStatus = $refundStatus;
137
+    }
138
+
139
+    public function setRefundTime($refundTime)
140
+    {
141
+        $this->refundTime = $refundTime;
142
+    }
143
+
144
+    public function setSubRefundInfoList($subRefundInfoList)
145
+    {
146
+        $this->subRefundInfoList = $subRefundInfoList;
147
+    }
148
+
149
+    public function setTraceId($traceId)
150
+    {
151
+        $this->traceId = $traceId;
152
+    }
153 153
 
154 154
 }
155 155
 
156 156
 class PddFlightCallbackConfirmRefundRequest_PassengerInfoListItem extends PopBaseJsonEntity
157 157
 {
158 158
 
159
-	public function __construct()
160
-	{
161
-
162
-	}
163
-
164
-	/**
165
-	* @JsonProperty(String, "name")
166
-	*/
167
-	private $name;
168
-
169
-	/**
170
-	* @JsonProperty(Long, "refund_airport_tax")
171
-	*/
172
-	private $refundAirportTax;
173
-
174
-	/**
175
-	* @JsonProperty(Long, "refund_fee")
176
-	*/
177
-	private $refundFee;
178
-
179
-	/**
180
-	* @JsonProperty(Long, "refund_fuel_tax")
181
-	*/
182
-	private $refundFuelTax;
183
-
184
-	/**
185
-	* @JsonProperty(Long, "refund_settle_price")
186
-	*/
187
-	private $refundSettlePrice;
188
-
189
-	/**
190
-	* @JsonProperty(String, "sub_out_refund_no")
191
-	*/
192
-	private $subOutRefundNo;
193
-
194
-	/**
195
-	* @JsonProperty(String, "ticket_no")
196
-	*/
197
-	private $ticketNo;
198
-
199
-	/**
200
-	* @JsonProperty(String, "travel_sn")
201
-	*/
202
-	private $travelSn;
203
-
204
-	public function setName($name)
205
-	{
206
-		$this->name = $name;
207
-	}
208
-
209
-	public function setRefundAirportTax($refundAirportTax)
210
-	{
211
-		$this->refundAirportTax = $refundAirportTax;
212
-	}
213
-
214
-	public function setRefundFee($refundFee)
215
-	{
216
-		$this->refundFee = $refundFee;
217
-	}
218
-
219
-	public function setRefundFuelTax($refundFuelTax)
220
-	{
221
-		$this->refundFuelTax = $refundFuelTax;
222
-	}
223
-
224
-	public function setRefundSettlePrice($refundSettlePrice)
225
-	{
226
-		$this->refundSettlePrice = $refundSettlePrice;
227
-	}
228
-
229
-	public function setSubOutRefundNo($subOutRefundNo)
230
-	{
231
-		$this->subOutRefundNo = $subOutRefundNo;
232
-	}
233
-
234
-	public function setTicketNo($ticketNo)
235
-	{
236
-		$this->ticketNo = $ticketNo;
237
-	}
238
-
239
-	public function setTravelSn($travelSn)
240
-	{
241
-		$this->travelSn = $travelSn;
242
-	}
159
+    public function __construct()
160
+    {
161
+
162
+    }
163
+
164
+    /**
165
+     * @JsonProperty(String, "name")
166
+     */
167
+    private $name;
168
+
169
+    /**
170
+     * @JsonProperty(Long, "refund_airport_tax")
171
+     */
172
+    private $refundAirportTax;
173
+
174
+    /**
175
+     * @JsonProperty(Long, "refund_fee")
176
+     */
177
+    private $refundFee;
178
+
179
+    /**
180
+     * @JsonProperty(Long, "refund_fuel_tax")
181
+     */
182
+    private $refundFuelTax;
183
+
184
+    /**
185
+     * @JsonProperty(Long, "refund_settle_price")
186
+     */
187
+    private $refundSettlePrice;
188
+
189
+    /**
190
+     * @JsonProperty(String, "sub_out_refund_no")
191
+     */
192
+    private $subOutRefundNo;
193
+
194
+    /**
195
+     * @JsonProperty(String, "ticket_no")
196
+     */
197
+    private $ticketNo;
198
+
199
+    /**
200
+     * @JsonProperty(String, "travel_sn")
201
+     */
202
+    private $travelSn;
203
+
204
+    public function setName($name)
205
+    {
206
+        $this->name = $name;
207
+    }
208
+
209
+    public function setRefundAirportTax($refundAirportTax)
210
+    {
211
+        $this->refundAirportTax = $refundAirportTax;
212
+    }
213
+
214
+    public function setRefundFee($refundFee)
215
+    {
216
+        $this->refundFee = $refundFee;
217
+    }
218
+
219
+    public function setRefundFuelTax($refundFuelTax)
220
+    {
221
+        $this->refundFuelTax = $refundFuelTax;
222
+    }
223
+
224
+    public function setRefundSettlePrice($refundSettlePrice)
225
+    {
226
+        $this->refundSettlePrice = $refundSettlePrice;
227
+    }
228
+
229
+    public function setSubOutRefundNo($subOutRefundNo)
230
+    {
231
+        $this->subOutRefundNo = $subOutRefundNo;
232
+    }
233
+
234
+    public function setTicketNo($ticketNo)
235
+    {
236
+        $this->ticketNo = $ticketNo;
237
+    }
238
+
239
+    public function setTravelSn($travelSn)
240
+    {
241
+        $this->travelSn = $travelSn;
242
+    }
243 243
 
244 244
 }
245 245
 
246 246
 class PddFlightCallbackConfirmRefundRequest_SubRefundInfoListItem extends PopBaseJsonEntity
247 247
 {
248 248
 
249
-	public function __construct()
250
-	{
249
+    public function __construct()
250
+    {
251 251
 
252
-	}
252
+    }
253 253
 
254
-	/**
255
-	* @JsonProperty(String, "no")
256
-	*/
257
-	private $no;
254
+    /**
255
+     * @JsonProperty(String, "no")
256
+     */
257
+    private $no;
258 258
 
259
-	/**
260
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightCallbackConfirmRefundRequest_SubRefundInfoListItemPassengerInfoListItem>, "passenger_info_list")
261
-	*/
262
-	private $passengerInfoList;
259
+    /**
260
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightCallbackConfirmRefundRequest_SubRefundInfoListItemPassengerInfoListItem>, "passenger_info_list")
261
+     */
262
+    private $passengerInfoList;
263 263
 
264
-	public function setNo($no)
265
-	{
266
-		$this->no = $no;
267
-	}
264
+    public function setNo($no)
265
+    {
266
+        $this->no = $no;
267
+    }
268 268
 
269
-	public function setPassengerInfoList($passengerInfoList)
270
-	{
271
-		$this->passengerInfoList = $passengerInfoList;
272
-	}
269
+    public function setPassengerInfoList($passengerInfoList)
270
+    {
271
+        $this->passengerInfoList = $passengerInfoList;
272
+    }
273 273
 
274 274
 }
275 275
 
276 276
 class PddFlightCallbackConfirmRefundRequest_SubRefundInfoListItemPassengerInfoListItem extends PopBaseJsonEntity
277 277
 {
278 278
 
279
-	public function __construct()
280
-	{
281
-
282
-	}
283
-
284
-	/**
285
-	* @JsonProperty(String, "name")
286
-	*/
287
-	private $name;
288
-
289
-	/**
290
-	* @JsonProperty(Long, "refund_airport_tax")
291
-	*/
292
-	private $refundAirportTax;
293
-
294
-	/**
295
-	* @JsonProperty(Long, "refund_fee")
296
-	*/
297
-	private $refundFee;
298
-
299
-	/**
300
-	* @JsonProperty(Long, "refund_fuel_tax")
301
-	*/
302
-	private $refundFuelTax;
303
-
304
-	/**
305
-	* @JsonProperty(Long, "refund_settle_price")
306
-	*/
307
-	private $refundSettlePrice;
308
-
309
-	/**
310
-	* @JsonProperty(String, "sub_out_refund_no")
311
-	*/
312
-	private $subOutRefundNo;
313
-
314
-	/**
315
-	* @JsonProperty(String, "ticket_no")
316
-	*/
317
-	private $ticketNo;
318
-
319
-	/**
320
-	* @JsonProperty(String, "travel_sn")
321
-	*/
322
-	private $travelSn;
323
-
324
-	public function setName($name)
325
-	{
326
-		$this->name = $name;
327
-	}
328
-
329
-	public function setRefundAirportTax($refundAirportTax)
330
-	{
331
-		$this->refundAirportTax = $refundAirportTax;
332
-	}
333
-
334
-	public function setRefundFee($refundFee)
335
-	{
336
-		$this->refundFee = $refundFee;
337
-	}
338
-
339
-	public function setRefundFuelTax($refundFuelTax)
340
-	{
341
-		$this->refundFuelTax = $refundFuelTax;
342
-	}
343
-
344
-	public function setRefundSettlePrice($refundSettlePrice)
345
-	{
346
-		$this->refundSettlePrice = $refundSettlePrice;
347
-	}
348
-
349
-	public function setSubOutRefundNo($subOutRefundNo)
350
-	{
351
-		$this->subOutRefundNo = $subOutRefundNo;
352
-	}
353
-
354
-	public function setTicketNo($ticketNo)
355
-	{
356
-		$this->ticketNo = $ticketNo;
357
-	}
358
-
359
-	public function setTravelSn($travelSn)
360
-	{
361
-		$this->travelSn = $travelSn;
362
-	}
279
+    public function __construct()
280
+    {
281
+
282
+    }
283
+
284
+    /**
285
+     * @JsonProperty(String, "name")
286
+     */
287
+    private $name;
288
+
289
+    /**
290
+     * @JsonProperty(Long, "refund_airport_tax")
291
+     */
292
+    private $refundAirportTax;
293
+
294
+    /**
295
+     * @JsonProperty(Long, "refund_fee")
296
+     */
297
+    private $refundFee;
298
+
299
+    /**
300
+     * @JsonProperty(Long, "refund_fuel_tax")
301
+     */
302
+    private $refundFuelTax;
303
+
304
+    /**
305
+     * @JsonProperty(Long, "refund_settle_price")
306
+     */
307
+    private $refundSettlePrice;
308
+
309
+    /**
310
+     * @JsonProperty(String, "sub_out_refund_no")
311
+     */
312
+    private $subOutRefundNo;
313
+
314
+    /**
315
+     * @JsonProperty(String, "ticket_no")
316
+     */
317
+    private $ticketNo;
318
+
319
+    /**
320
+     * @JsonProperty(String, "travel_sn")
321
+     */
322
+    private $travelSn;
323
+
324
+    public function setName($name)
325
+    {
326
+        $this->name = $name;
327
+    }
328
+
329
+    public function setRefundAirportTax($refundAirportTax)
330
+    {
331
+        $this->refundAirportTax = $refundAirportTax;
332
+    }
333
+
334
+    public function setRefundFee($refundFee)
335
+    {
336
+        $this->refundFee = $refundFee;
337
+    }
338
+
339
+    public function setRefundFuelTax($refundFuelTax)
340
+    {
341
+        $this->refundFuelTax = $refundFuelTax;
342
+    }
343
+
344
+    public function setRefundSettlePrice($refundSettlePrice)
345
+    {
346
+        $this->refundSettlePrice = $refundSettlePrice;
347
+    }
348
+
349
+    public function setSubOutRefundNo($subOutRefundNo)
350
+    {
351
+        $this->subOutRefundNo = $subOutRefundNo;
352
+    }
353
+
354
+    public function setTicketNo($ticketNo)
355
+    {
356
+        $this->ticketNo = $ticketNo;
357
+    }
358
+
359
+    public function setTravelSn($travelSn)
360
+    {
361
+        $this->travelSn = $travelSn;
362
+    }
363 363
 
364 364
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddGoodsMaterialDeleteRequest.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 PddGoodsMaterialDeleteRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Long, "material_id")
15
-	*/
16
-	private $materialId;
17
-
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "material_id", $this->materialId);
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.material.delete";
37
-	}
38
-
39
-	public function setMaterialId($materialId)
40
-	{
41
-		$this->materialId = $materialId;
42
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Long, "material_id")
15
+     */
16
+    private $materialId;
17
+
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "material_id", $this->materialId);
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.material.delete";
37
+    }
38
+
39
+    public function setMaterialId($materialId)
40
+    {
41
+        $this->materialId = $materialId;
42
+    }
43 43
 
44 44
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddKttGoodsUploadImageRequest.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 PddKttGoodsUploadImageRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(String, "url")
15
-	*/
16
-	private $url;
17
-
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "url", $this->url);
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.ktt.goods.upload.image";
37
-	}
38
-
39
-	public function setUrl($url)
40
-	{
41
-		$this->url = $url;
42
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(String, "url")
15
+     */
16
+    private $url;
17
+
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "url", $this->url);
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.ktt.goods.upload.image";
37
+    }
38
+
39
+    public function setUrl($url)
40
+    {
41
+        $this->url = $url;
42
+    }
43 43
 
44 44
 }
Please login to merge, or discard this patch.
service/pinduoduo/bin/src/Api/Request/PddGoodsCpsMallUnitResumeRequest.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 PddGoodsCpsMallUnitResumeRequest 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.goods.cps.mall.unit.resume";
31
-	}
28
+    public function getType()
29
+    {
30
+        return "pdd.goods.cps.mall.unit.resume";
31
+    }
32 32
 
33 33
 }
Please login to merge, or discard this patch.
service/pinduoduo/bin/src/Api/Request/PddExpressChangeDepotInfoRequest.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 PddExpressChangeDepotInfoRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Long, "depot_id")
15
-	*/
16
-	private $depotId;
17
-
18
-	/**
19
-	* @JsonProperty(String, "depot_code")
20
-	*/
21
-	private $depotCode;
22
-
23
-	/**
24
-	* @JsonProperty(String, "depot_name")
25
-	*/
26
-	private $depotName;
27
-
28
-	/**
29
-	* @JsonProperty(String, "depot_alias")
30
-	*/
31
-	private $depotAlias;
32
-
33
-	/**
34
-	* @JsonProperty(Integer, "depot_province_id")
35
-	*/
36
-	private $depotProvinceId;
37
-
38
-	/**
39
-	* @JsonProperty(Integer, "depot_city_id")
40
-	*/
41
-	private $depotCityId;
42
-
43
-	/**
44
-	* @JsonProperty(Integer, "depot_district_id")
45
-	*/
46
-	private $depotDistrictId;
47
-
48
-	/**
49
-	* @JsonProperty(String, "depot_address")
50
-	*/
51
-	private $depotAddress;
52
-
53
-	/**
54
-	* @JsonProperty(String, "contact_name")
55
-	*/
56
-	private $contactName;
57
-
58
-	/**
59
-	* @JsonProperty(String, "telephone")
60
-	*/
61
-	private $telephone;
62
-
63
-	/**
64
-	* @JsonProperty(String, "depot_region")
65
-	*/
66
-	private $depotRegion;
67
-
68
-	protected function setUserParams(&$params)
69
-	{
70
-		$this->setUserParam($params, "depot_id", $this->depotId);
71
-		$this->setUserParam($params, "depot_code", $this->depotCode);
72
-		$this->setUserParam($params, "depot_name", $this->depotName);
73
-		$this->setUserParam($params, "depot_alias", $this->depotAlias);
74
-		$this->setUserParam($params, "depot_province_id", $this->depotProvinceId);
75
-		$this->setUserParam($params, "depot_city_id", $this->depotCityId);
76
-		$this->setUserParam($params, "depot_district_id", $this->depotDistrictId);
77
-		$this->setUserParam($params, "depot_address", $this->depotAddress);
78
-		$this->setUserParam($params, "contact_name", $this->contactName);
79
-		$this->setUserParam($params, "telephone", $this->telephone);
80
-		$this->setUserParam($params, "depot_region", $this->depotRegion);
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.change.depot.info";
97
-	}
98
-
99
-	public function setDepotId($depotId)
100
-	{
101
-		$this->depotId = $depotId;
102
-	}
103
-
104
-	public function setDepotCode($depotCode)
105
-	{
106
-		$this->depotCode = $depotCode;
107
-	}
108
-
109
-	public function setDepotName($depotName)
110
-	{
111
-		$this->depotName = $depotName;
112
-	}
113
-
114
-	public function setDepotAlias($depotAlias)
115
-	{
116
-		$this->depotAlias = $depotAlias;
117
-	}
118
-
119
-	public function setDepotProvinceId($depotProvinceId)
120
-	{
121
-		$this->depotProvinceId = $depotProvinceId;
122
-	}
123
-
124
-	public function setDepotCityId($depotCityId)
125
-	{
126
-		$this->depotCityId = $depotCityId;
127
-	}
128
-
129
-	public function setDepotDistrictId($depotDistrictId)
130
-	{
131
-		$this->depotDistrictId = $depotDistrictId;
132
-	}
133
-
134
-	public function setDepotAddress($depotAddress)
135
-	{
136
-		$this->depotAddress = $depotAddress;
137
-	}
138
-
139
-	public function setContactName($contactName)
140
-	{
141
-		$this->contactName = $contactName;
142
-	}
143
-
144
-	public function setTelephone($telephone)
145
-	{
146
-		$this->telephone = $telephone;
147
-	}
148
-
149
-	public function setDepotRegion($depotRegion)
150
-	{
151
-		$this->depotRegion = $depotRegion;
152
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Long, "depot_id")
15
+     */
16
+    private $depotId;
17
+
18
+    /**
19
+     * @JsonProperty(String, "depot_code")
20
+     */
21
+    private $depotCode;
22
+
23
+    /**
24
+     * @JsonProperty(String, "depot_name")
25
+     */
26
+    private $depotName;
27
+
28
+    /**
29
+     * @JsonProperty(String, "depot_alias")
30
+     */
31
+    private $depotAlias;
32
+
33
+    /**
34
+     * @JsonProperty(Integer, "depot_province_id")
35
+     */
36
+    private $depotProvinceId;
37
+
38
+    /**
39
+     * @JsonProperty(Integer, "depot_city_id")
40
+     */
41
+    private $depotCityId;
42
+
43
+    /**
44
+     * @JsonProperty(Integer, "depot_district_id")
45
+     */
46
+    private $depotDistrictId;
47
+
48
+    /**
49
+     * @JsonProperty(String, "depot_address")
50
+     */
51
+    private $depotAddress;
52
+
53
+    /**
54
+     * @JsonProperty(String, "contact_name")
55
+     */
56
+    private $contactName;
57
+
58
+    /**
59
+     * @JsonProperty(String, "telephone")
60
+     */
61
+    private $telephone;
62
+
63
+    /**
64
+     * @JsonProperty(String, "depot_region")
65
+     */
66
+    private $depotRegion;
67
+
68
+    protected function setUserParams(&$params)
69
+    {
70
+        $this->setUserParam($params, "depot_id", $this->depotId);
71
+        $this->setUserParam($params, "depot_code", $this->depotCode);
72
+        $this->setUserParam($params, "depot_name", $this->depotName);
73
+        $this->setUserParam($params, "depot_alias", $this->depotAlias);
74
+        $this->setUserParam($params, "depot_province_id", $this->depotProvinceId);
75
+        $this->setUserParam($params, "depot_city_id", $this->depotCityId);
76
+        $this->setUserParam($params, "depot_district_id", $this->depotDistrictId);
77
+        $this->setUserParam($params, "depot_address", $this->depotAddress);
78
+        $this->setUserParam($params, "contact_name", $this->contactName);
79
+        $this->setUserParam($params, "telephone", $this->telephone);
80
+        $this->setUserParam($params, "depot_region", $this->depotRegion);
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.change.depot.info";
97
+    }
98
+
99
+    public function setDepotId($depotId)
100
+    {
101
+        $this->depotId = $depotId;
102
+    }
103
+
104
+    public function setDepotCode($depotCode)
105
+    {
106
+        $this->depotCode = $depotCode;
107
+    }
108
+
109
+    public function setDepotName($depotName)
110
+    {
111
+        $this->depotName = $depotName;
112
+    }
113
+
114
+    public function setDepotAlias($depotAlias)
115
+    {
116
+        $this->depotAlias = $depotAlias;
117
+    }
118
+
119
+    public function setDepotProvinceId($depotProvinceId)
120
+    {
121
+        $this->depotProvinceId = $depotProvinceId;
122
+    }
123
+
124
+    public function setDepotCityId($depotCityId)
125
+    {
126
+        $this->depotCityId = $depotCityId;
127
+    }
128
+
129
+    public function setDepotDistrictId($depotDistrictId)
130
+    {
131
+        $this->depotDistrictId = $depotDistrictId;
132
+    }
133
+
134
+    public function setDepotAddress($depotAddress)
135
+    {
136
+        $this->depotAddress = $depotAddress;
137
+    }
138
+
139
+    public function setContactName($contactName)
140
+    {
141
+        $this->contactName = $contactName;
142
+    }
143
+
144
+    public function setTelephone($telephone)
145
+    {
146
+        $this->telephone = $telephone;
147
+    }
148
+
149
+    public function setDepotRegion($depotRegion)
150
+    {
151
+        $this->depotRegion = $depotRegion;
152
+    }
153 153
 
154 154
 }
Please login to merge, or discard this patch.