Passed
Push — v6 ( f71c30...fe03e1 )
by 光春
04:16
created
bin/src/Api/Request/PddPromotionLimitedQualifiedGoodsGetRequest.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 PddPromotionLimitedQualifiedGoodsGetRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(List<Long>, "goods_id_list")
15
-	*/
16
-	private $goodsIdList;
17
-
18
-	/**
19
-	* @JsonProperty(Boolean, "is_valid")
20
-	*/
21
-	private $isValid;
22
-
23
-	/**
24
-	* @JsonProperty(Integer, "page_no")
25
-	*/
26
-	private $pageNo;
27
-
28
-	/**
29
-	* @JsonProperty(Integer, "page_size")
30
-	*/
31
-	private $pageSize;
32
-
33
-	protected function setUserParams(&$params)
34
-	{
35
-		$this->setUserParam($params, "goods_id_list", $this->goodsIdList);
36
-		$this->setUserParam($params, "is_valid", $this->isValid);
37
-		$this->setUserParam($params, "page_no", $this->pageNo);
38
-		$this->setUserParam($params, "page_size", $this->pageSize);
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.promotion.limited.qualified.goods.get";
55
-	}
56
-
57
-	public function setGoodsIdList($goodsIdList)
58
-	{
59
-		$this->goodsIdList = $goodsIdList;
60
-	}
61
-
62
-	public function setIsValid($isValid)
63
-	{
64
-		$this->isValid = $isValid;
65
-	}
66
-
67
-	public function setPageNo($pageNo)
68
-	{
69
-		$this->pageNo = $pageNo;
70
-	}
71
-
72
-	public function setPageSize($pageSize)
73
-	{
74
-		$this->pageSize = $pageSize;
75
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(List<Long>, "goods_id_list")
15
+     */
16
+    private $goodsIdList;
17
+
18
+    /**
19
+     * @JsonProperty(Boolean, "is_valid")
20
+     */
21
+    private $isValid;
22
+
23
+    /**
24
+     * @JsonProperty(Integer, "page_no")
25
+     */
26
+    private $pageNo;
27
+
28
+    /**
29
+     * @JsonProperty(Integer, "page_size")
30
+     */
31
+    private $pageSize;
32
+
33
+    protected function setUserParams(&$params)
34
+    {
35
+        $this->setUserParam($params, "goods_id_list", $this->goodsIdList);
36
+        $this->setUserParam($params, "is_valid", $this->isValid);
37
+        $this->setUserParam($params, "page_no", $this->pageNo);
38
+        $this->setUserParam($params, "page_size", $this->pageSize);
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.promotion.limited.qualified.goods.get";
55
+    }
56
+
57
+    public function setGoodsIdList($goodsIdList)
58
+    {
59
+        $this->goodsIdList = $goodsIdList;
60
+    }
61
+
62
+    public function setIsValid($isValid)
63
+    {
64
+        $this->isValid = $isValid;
65
+    }
66
+
67
+    public function setPageNo($pageNo)
68
+    {
69
+        $this->pageNo = $pageNo;
70
+    }
71
+
72
+    public function setPageSize($pageSize)
73
+    {
74
+        $this->pageSize = $pageSize;
75
+    }
76 76
 
77 77
 }
Please login to merge, or discard this patch.
pinduoduo/bin/src/Api/Request/PddSmsVendorComplaintCreateRequest.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 PddSmsVendorComplaintCreateRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(String, "account")
15
-	*/
16
-	private $account;
17
-
18
-	/**
19
-	* @JsonProperty(String, "complaint_time")
20
-	*/
21
-	private $complaintTime;
22
-
23
-	/**
24
-	* @JsonProperty(Integer, "count")
25
-	*/
26
-	private $count;
27
-
28
-	/**
29
-	* @JsonProperty(String, "deliver_time")
30
-	*/
31
-	private $deliverTime;
32
-
33
-	/**
34
-	* @JsonProperty(String, "mobile")
35
-	*/
36
-	private $mobile;
37
-
38
-	/**
39
-	* @JsonProperty(String, "operator")
40
-	*/
41
-	private $operator;
42
-
43
-	/**
44
-	* @JsonProperty(String, "province")
45
-	*/
46
-	private $province;
47
-
48
-	/**
49
-	* @JsonProperty(String, "sms_content")
50
-	*/
51
-	private $smsContent;
52
-
53
-	protected function setUserParams(&$params)
54
-	{
55
-		$this->setUserParam($params, "account", $this->account);
56
-		$this->setUserParam($params, "complaint_time", $this->complaintTime);
57
-		$this->setUserParam($params, "count", $this->count);
58
-		$this->setUserParam($params, "deliver_time", $this->deliverTime);
59
-		$this->setUserParam($params, "mobile", $this->mobile);
60
-		$this->setUserParam($params, "operator", $this->operator);
61
-		$this->setUserParam($params, "province", $this->province);
62
-		$this->setUserParam($params, "sms_content", $this->smsContent);
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.sms.vendor.complaint.create";
79
-	}
80
-
81
-	public function setAccount($account)
82
-	{
83
-		$this->account = $account;
84
-	}
85
-
86
-	public function setComplaintTime($complaintTime)
87
-	{
88
-		$this->complaintTime = $complaintTime;
89
-	}
90
-
91
-	public function setCount($count)
92
-	{
93
-		$this->count = $count;
94
-	}
95
-
96
-	public function setDeliverTime($deliverTime)
97
-	{
98
-		$this->deliverTime = $deliverTime;
99
-	}
100
-
101
-	public function setMobile($mobile)
102
-	{
103
-		$this->mobile = $mobile;
104
-	}
105
-
106
-	public function setOperator($operator)
107
-	{
108
-		$this->operator = $operator;
109
-	}
110
-
111
-	public function setProvince($province)
112
-	{
113
-		$this->province = $province;
114
-	}
115
-
116
-	public function setSmsContent($smsContent)
117
-	{
118
-		$this->smsContent = $smsContent;
119
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(String, "account")
15
+     */
16
+    private $account;
17
+
18
+    /**
19
+     * @JsonProperty(String, "complaint_time")
20
+     */
21
+    private $complaintTime;
22
+
23
+    /**
24
+     * @JsonProperty(Integer, "count")
25
+     */
26
+    private $count;
27
+
28
+    /**
29
+     * @JsonProperty(String, "deliver_time")
30
+     */
31
+    private $deliverTime;
32
+
33
+    /**
34
+     * @JsonProperty(String, "mobile")
35
+     */
36
+    private $mobile;
37
+
38
+    /**
39
+     * @JsonProperty(String, "operator")
40
+     */
41
+    private $operator;
42
+
43
+    /**
44
+     * @JsonProperty(String, "province")
45
+     */
46
+    private $province;
47
+
48
+    /**
49
+     * @JsonProperty(String, "sms_content")
50
+     */
51
+    private $smsContent;
52
+
53
+    protected function setUserParams(&$params)
54
+    {
55
+        $this->setUserParam($params, "account", $this->account);
56
+        $this->setUserParam($params, "complaint_time", $this->complaintTime);
57
+        $this->setUserParam($params, "count", $this->count);
58
+        $this->setUserParam($params, "deliver_time", $this->deliverTime);
59
+        $this->setUserParam($params, "mobile", $this->mobile);
60
+        $this->setUserParam($params, "operator", $this->operator);
61
+        $this->setUserParam($params, "province", $this->province);
62
+        $this->setUserParam($params, "sms_content", $this->smsContent);
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.sms.vendor.complaint.create";
79
+    }
80
+
81
+    public function setAccount($account)
82
+    {
83
+        $this->account = $account;
84
+    }
85
+
86
+    public function setComplaintTime($complaintTime)
87
+    {
88
+        $this->complaintTime = $complaintTime;
89
+    }
90
+
91
+    public function setCount($count)
92
+    {
93
+        $this->count = $count;
94
+    }
95
+
96
+    public function setDeliverTime($deliverTime)
97
+    {
98
+        $this->deliverTime = $deliverTime;
99
+    }
100
+
101
+    public function setMobile($mobile)
102
+    {
103
+        $this->mobile = $mobile;
104
+    }
105
+
106
+    public function setOperator($operator)
107
+    {
108
+        $this->operator = $operator;
109
+    }
110
+
111
+    public function setProvince($province)
112
+    {
113
+        $this->province = $province;
114
+    }
115
+
116
+    public function setSmsContent($smsContent)
117
+    {
118
+        $this->smsContent = $smsContent;
119
+    }
120 120
 
121 121
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddMallTicketDetailRequest.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 PddMallTicketDetailRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(String, "ticket_id")
15
-	*/
16
-	private $ticketId;
17
-
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "ticket_id", $this->ticketId);
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.mall.ticket.detail";
37
-	}
38
-
39
-	public function setTicketId($ticketId)
40
-	{
41
-		$this->ticketId = $ticketId;
42
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(String, "ticket_id")
15
+     */
16
+    private $ticketId;
17
+
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "ticket_id", $this->ticketId);
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.mall.ticket.detail";
37
+    }
38
+
39
+    public function setTicketId($ticketId)
40
+    {
41
+        $this->ticketId = $ticketId;
42
+    }
43 43
 
44 44
 }
Please login to merge, or discard this patch.
pinduoduo/bin/src/Api/Request/PddAdApiUnitCreativeQueryListRequest.php 1 patch
Indentation   +77 added lines, -77 removed lines patch added patch discarded remove patch
@@ -7,82 +7,82 @@
 block discarded – undo
7 7
 class PddAdApiUnitCreativeQueryListRequest 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(String, "beginDate")
20
-	*/
21
-	private $beginDate;
22
-
23
-	/**
24
-	* @JsonProperty(String, "endDate")
25
-	*/
26
-	private $endDate;
27
-
28
-	/**
29
-	* @JsonProperty(Integer, "orderBy")
30
-	*/
31
-	private $orderBy;
32
-
33
-	/**
34
-	* @JsonProperty(Integer, "sortBy")
35
-	*/
36
-	private $sortBy;
37
-
38
-	protected function setUserParams(&$params)
39
-	{
40
-		$this->setUserParam($params, "adId", $this->adId);
41
-		$this->setUserParam($params, "beginDate", $this->beginDate);
42
-		$this->setUserParam($params, "endDate", $this->endDate);
43
-		$this->setUserParam($params, "orderBy", $this->orderBy);
44
-		$this->setUserParam($params, "sortBy", $this->sortBy);
45
-
46
-	}
47
-
48
-	public function getVersion()
49
-	{
50
-		return "V1";
51
-	}
52
-
53
-	public function getDataType()
54
-	{
55
-		return "JSON";
56
-	}
57
-
58
-	public function getType()
59
-	{
60
-		return "pdd.ad.api.unit.creative.query.list";
61
-	}
62
-
63
-	public function setAdId($adId)
64
-	{
65
-		$this->adId = $adId;
66
-	}
67
-
68
-	public function setBeginDate($beginDate)
69
-	{
70
-		$this->beginDate = $beginDate;
71
-	}
72
-
73
-	public function setEndDate($endDate)
74
-	{
75
-		$this->endDate = $endDate;
76
-	}
77
-
78
-	public function setOrderBy($orderBy)
79
-	{
80
-		$this->orderBy = $orderBy;
81
-	}
82
-
83
-	public function setSortBy($sortBy)
84
-	{
85
-		$this->sortBy = $sortBy;
86
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Long, "adId")
15
+     */
16
+    private $adId;
17
+
18
+    /**
19
+     * @JsonProperty(String, "beginDate")
20
+     */
21
+    private $beginDate;
22
+
23
+    /**
24
+     * @JsonProperty(String, "endDate")
25
+     */
26
+    private $endDate;
27
+
28
+    /**
29
+     * @JsonProperty(Integer, "orderBy")
30
+     */
31
+    private $orderBy;
32
+
33
+    /**
34
+     * @JsonProperty(Integer, "sortBy")
35
+     */
36
+    private $sortBy;
37
+
38
+    protected function setUserParams(&$params)
39
+    {
40
+        $this->setUserParam($params, "adId", $this->adId);
41
+        $this->setUserParam($params, "beginDate", $this->beginDate);
42
+        $this->setUserParam($params, "endDate", $this->endDate);
43
+        $this->setUserParam($params, "orderBy", $this->orderBy);
44
+        $this->setUserParam($params, "sortBy", $this->sortBy);
45
+
46
+    }
47
+
48
+    public function getVersion()
49
+    {
50
+        return "V1";
51
+    }
52
+
53
+    public function getDataType()
54
+    {
55
+        return "JSON";
56
+    }
57
+
58
+    public function getType()
59
+    {
60
+        return "pdd.ad.api.unit.creative.query.list";
61
+    }
62
+
63
+    public function setAdId($adId)
64
+    {
65
+        $this->adId = $adId;
66
+    }
67
+
68
+    public function setBeginDate($beginDate)
69
+    {
70
+        $this->beginDate = $beginDate;
71
+    }
72
+
73
+    public function setEndDate($endDate)
74
+    {
75
+        $this->endDate = $endDate;
76
+    }
77
+
78
+    public function setOrderBy($orderBy)
79
+    {
80
+        $this->orderBy = $orderBy;
81
+    }
82
+
83
+    public function setSortBy($sortBy)
84
+    {
85
+        $this->sortBy = $sortBy;
86
+    }
87 87
 
88 88
 }
Please login to merge, or discard this patch.
pinduoduo/bin/src/Api/Request/PddAdApiReportDailyReportQueryRequest.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 PddAdApiReportDailyReportQueryRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(String, "endDateString")
15
-	*/
16
-	private $endDateString;
17
-
18
-	/**
19
-	* @JsonProperty(Long, "entityId")
20
-	*/
21
-	private $entityId;
22
-
23
-	/**
24
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiReportDailyReportQueryRequest_tring, String>, "externalParamMap")
25
-	*/
26
-	private $externalParamMap;
27
-
28
-	/**
29
-	* @JsonProperty(Integer, "queryDimensionType")
30
-	*/
31
-	private $queryDimensionType;
32
-
33
-	/**
34
-	* @JsonProperty(Integer, "scenesType")
35
-	*/
36
-	private $scenesType;
37
-
38
-	/**
39
-	* @JsonProperty(String, "startDateString")
40
-	*/
41
-	private $startDateString;
42
-
43
-	protected function setUserParams(&$params)
44
-	{
45
-		$this->setUserParam($params, "endDateString", $this->endDateString);
46
-		$this->setUserParam($params, "entityId", $this->entityId);
47
-		$this->setUserParam($params, "externalParamMap", $this->externalParamMap);
48
-		$this->setUserParam($params, "queryDimensionType", $this->queryDimensionType);
49
-		$this->setUserParam($params, "scenesType", $this->scenesType);
50
-		$this->setUserParam($params, "startDateString", $this->startDateString);
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.report.daily.report.query";
67
-	}
68
-
69
-	public function setEndDateString($endDateString)
70
-	{
71
-		$this->endDateString = $endDateString;
72
-	}
73
-
74
-	public function setEntityId($entityId)
75
-	{
76
-		$this->entityId = $entityId;
77
-	}
78
-
79
-	public function setExternalParamMap($externalParamMap)
80
-	{
81
-		$this->externalParamMap = $externalParamMap;
82
-	}
83
-
84
-	public function setQueryDimensionType($queryDimensionType)
85
-	{
86
-		$this->queryDimensionType = $queryDimensionType;
87
-	}
88
-
89
-	public function setScenesType($scenesType)
90
-	{
91
-		$this->scenesType = $scenesType;
92
-	}
93
-
94
-	public function setStartDateString($startDateString)
95
-	{
96
-		$this->startDateString = $startDateString;
97
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(String, "endDateString")
15
+     */
16
+    private $endDateString;
17
+
18
+    /**
19
+     * @JsonProperty(Long, "entityId")
20
+     */
21
+    private $entityId;
22
+
23
+    /**
24
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiReportDailyReportQueryRequest_tring, String>, "externalParamMap")
25
+     */
26
+    private $externalParamMap;
27
+
28
+    /**
29
+     * @JsonProperty(Integer, "queryDimensionType")
30
+     */
31
+    private $queryDimensionType;
32
+
33
+    /**
34
+     * @JsonProperty(Integer, "scenesType")
35
+     */
36
+    private $scenesType;
37
+
38
+    /**
39
+     * @JsonProperty(String, "startDateString")
40
+     */
41
+    private $startDateString;
42
+
43
+    protected function setUserParams(&$params)
44
+    {
45
+        $this->setUserParam($params, "endDateString", $this->endDateString);
46
+        $this->setUserParam($params, "entityId", $this->entityId);
47
+        $this->setUserParam($params, "externalParamMap", $this->externalParamMap);
48
+        $this->setUserParam($params, "queryDimensionType", $this->queryDimensionType);
49
+        $this->setUserParam($params, "scenesType", $this->scenesType);
50
+        $this->setUserParam($params, "startDateString", $this->startDateString);
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.report.daily.report.query";
67
+    }
68
+
69
+    public function setEndDateString($endDateString)
70
+    {
71
+        $this->endDateString = $endDateString;
72
+    }
73
+
74
+    public function setEntityId($entityId)
75
+    {
76
+        $this->entityId = $entityId;
77
+    }
78
+
79
+    public function setExternalParamMap($externalParamMap)
80
+    {
81
+        $this->externalParamMap = $externalParamMap;
82
+    }
83
+
84
+    public function setQueryDimensionType($queryDimensionType)
85
+    {
86
+        $this->queryDimensionType = $queryDimensionType;
87
+    }
88
+
89
+    public function setScenesType($scenesType)
90
+    {
91
+        $this->scenesType = $scenesType;
92
+    }
93
+
94
+    public function setStartDateString($startDateString)
95
+    {
96
+        $this->startDateString = $startDateString;
97
+    }
98 98
 
99 99
 }
Please login to merge, or discard this patch.
service/pinduoduo/bin/src/Api/Request/PddStockGoodsIdToSkuQueryRequest.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 PddStockGoodsIdToSkuQueryRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Long, "goods_id")
15
-	*/
16
-	private $goodsId;
17
-
18
-	/**
19
-	* @JsonProperty(Long, "ware_id")
20
-	*/
21
-	private $wareId;
22
-
23
-	protected function setUserParams(&$params)
24
-	{
25
-		$this->setUserParam($params, "goods_id", $this->goodsId);
26
-		$this->setUserParam($params, "ware_id", $this->wareId);
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.stock.goods.id.to.sku.query";
43
-	}
44
-
45
-	public function setGoodsId($goodsId)
46
-	{
47
-		$this->goodsId = $goodsId;
48
-	}
49
-
50
-	public function setWareId($wareId)
51
-	{
52
-		$this->wareId = $wareId;
53
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Long, "goods_id")
15
+     */
16
+    private $goodsId;
17
+
18
+    /**
19
+     * @JsonProperty(Long, "ware_id")
20
+     */
21
+    private $wareId;
22
+
23
+    protected function setUserParams(&$params)
24
+    {
25
+        $this->setUserParam($params, "goods_id", $this->goodsId);
26
+        $this->setUserParam($params, "ware_id", $this->wareId);
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.stock.goods.id.to.sku.query";
43
+    }
44
+
45
+    public function setGoodsId($goodsId)
46
+    {
47
+        $this->goodsId = $goodsId;
48
+    }
49
+
50
+    public function setWareId($wareId)
51
+    {
52
+        $this->wareId = $wareId;
53
+    }
54 54
 
55 55
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddGoodsSkuPriceUpdateRequest.php 1 patch
Indentation   +121 added lines, -121 removed lines patch added patch discarded remove patch
@@ -7,132 +7,132 @@
 block discarded – undo
7 7
 class PddGoodsSkuPriceUpdateRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Long, "goods_id")
15
-	*/
16
-	private $goodsId;
17
-
18
-	/**
19
-	* @JsonProperty(Long, "market_price")
20
-	*/
21
-	private $marketPrice;
22
-
23
-	/**
24
-	* @JsonProperty(String, "market_price_in_yuan")
25
-	*/
26
-	private $marketPriceInYuan;
27
-
28
-	/**
29
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsSkuPriceUpdateRequest_SkuPriceListItem>, "sku_price_list")
30
-	*/
31
-	private $skuPriceList;
32
-
33
-	/**
34
-	* @JsonProperty(Integer, "sync_goods_operate")
35
-	*/
36
-	private $syncGoodsOperate;
37
-
38
-	protected function setUserParams(&$params)
39
-	{
40
-		$this->setUserParam($params, "goods_id", $this->goodsId);
41
-		$this->setUserParam($params, "market_price", $this->marketPrice);
42
-		$this->setUserParam($params, "market_price_in_yuan", $this->marketPriceInYuan);
43
-		$this->setUserParam($params, "sku_price_list", $this->skuPriceList);
44
-		$this->setUserParam($params, "sync_goods_operate", $this->syncGoodsOperate);
45
-
46
-	}
47
-
48
-	public function getVersion()
49
-	{
50
-		return "V1";
51
-	}
52
-
53
-	public function getDataType()
54
-	{
55
-		return "JSON";
56
-	}
57
-
58
-	public function getType()
59
-	{
60
-		return "pdd.goods.sku.price.update";
61
-	}
62
-
63
-	public function setGoodsId($goodsId)
64
-	{
65
-		$this->goodsId = $goodsId;
66
-	}
67
-
68
-	public function setMarketPrice($marketPrice)
69
-	{
70
-		$this->marketPrice = $marketPrice;
71
-	}
72
-
73
-	public function setMarketPriceInYuan($marketPriceInYuan)
74
-	{
75
-		$this->marketPriceInYuan = $marketPriceInYuan;
76
-	}
77
-
78
-	public function setSkuPriceList($skuPriceList)
79
-	{
80
-		$this->skuPriceList = $skuPriceList;
81
-	}
82
-
83
-	public function setSyncGoodsOperate($syncGoodsOperate)
84
-	{
85
-		$this->syncGoodsOperate = $syncGoodsOperate;
86
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Long, "goods_id")
15
+     */
16
+    private $goodsId;
17
+
18
+    /**
19
+     * @JsonProperty(Long, "market_price")
20
+     */
21
+    private $marketPrice;
22
+
23
+    /**
24
+     * @JsonProperty(String, "market_price_in_yuan")
25
+     */
26
+    private $marketPriceInYuan;
27
+
28
+    /**
29
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsSkuPriceUpdateRequest_SkuPriceListItem>, "sku_price_list")
30
+     */
31
+    private $skuPriceList;
32
+
33
+    /**
34
+     * @JsonProperty(Integer, "sync_goods_operate")
35
+     */
36
+    private $syncGoodsOperate;
37
+
38
+    protected function setUserParams(&$params)
39
+    {
40
+        $this->setUserParam($params, "goods_id", $this->goodsId);
41
+        $this->setUserParam($params, "market_price", $this->marketPrice);
42
+        $this->setUserParam($params, "market_price_in_yuan", $this->marketPriceInYuan);
43
+        $this->setUserParam($params, "sku_price_list", $this->skuPriceList);
44
+        $this->setUserParam($params, "sync_goods_operate", $this->syncGoodsOperate);
45
+
46
+    }
47
+
48
+    public function getVersion()
49
+    {
50
+        return "V1";
51
+    }
52
+
53
+    public function getDataType()
54
+    {
55
+        return "JSON";
56
+    }
57
+
58
+    public function getType()
59
+    {
60
+        return "pdd.goods.sku.price.update";
61
+    }
62
+
63
+    public function setGoodsId($goodsId)
64
+    {
65
+        $this->goodsId = $goodsId;
66
+    }
67
+
68
+    public function setMarketPrice($marketPrice)
69
+    {
70
+        $this->marketPrice = $marketPrice;
71
+    }
72
+
73
+    public function setMarketPriceInYuan($marketPriceInYuan)
74
+    {
75
+        $this->marketPriceInYuan = $marketPriceInYuan;
76
+    }
77
+
78
+    public function setSkuPriceList($skuPriceList)
79
+    {
80
+        $this->skuPriceList = $skuPriceList;
81
+    }
82
+
83
+    public function setSyncGoodsOperate($syncGoodsOperate)
84
+    {
85
+        $this->syncGoodsOperate = $syncGoodsOperate;
86
+    }
87 87
 
88 88
 }
89 89
 
90 90
 class PddGoodsSkuPriceUpdateRequest_SkuPriceListItem extends PopBaseJsonEntity
91 91
 {
92 92
 
93
-	public function __construct()
94
-	{
95
-
96
-	}
97
-
98
-	/**
99
-	* @JsonProperty(Long, "group_price")
100
-	*/
101
-	private $groupPrice;
102
-
103
-	/**
104
-	* @JsonProperty(Integer, "is_onsale")
105
-	*/
106
-	private $isOnsale;
107
-
108
-	/**
109
-	* @JsonProperty(Long, "single_price")
110
-	*/
111
-	private $singlePrice;
112
-
113
-	/**
114
-	* @JsonProperty(Long, "sku_id")
115
-	*/
116
-	private $skuId;
117
-
118
-	public function setGroupPrice($groupPrice)
119
-	{
120
-		$this->groupPrice = $groupPrice;
121
-	}
122
-
123
-	public function setIsOnsale($isOnsale)
124
-	{
125
-		$this->isOnsale = $isOnsale;
126
-	}
127
-
128
-	public function setSinglePrice($singlePrice)
129
-	{
130
-		$this->singlePrice = $singlePrice;
131
-	}
132
-
133
-	public function setSkuId($skuId)
134
-	{
135
-		$this->skuId = $skuId;
136
-	}
93
+    public function __construct()
94
+    {
95
+
96
+    }
97
+
98
+    /**
99
+     * @JsonProperty(Long, "group_price")
100
+     */
101
+    private $groupPrice;
102
+
103
+    /**
104
+     * @JsonProperty(Integer, "is_onsale")
105
+     */
106
+    private $isOnsale;
107
+
108
+    /**
109
+     * @JsonProperty(Long, "single_price")
110
+     */
111
+    private $singlePrice;
112
+
113
+    /**
114
+     * @JsonProperty(Long, "sku_id")
115
+     */
116
+    private $skuId;
117
+
118
+    public function setGroupPrice($groupPrice)
119
+    {
120
+        $this->groupPrice = $groupPrice;
121
+    }
122
+
123
+    public function setIsOnsale($isOnsale)
124
+    {
125
+        $this->isOnsale = $isOnsale;
126
+    }
127
+
128
+    public function setSinglePrice($singlePrice)
129
+    {
130
+        $this->singlePrice = $singlePrice;
131
+    }
132
+
133
+    public function setSkuId($skuId)
134
+    {
135
+        $this->skuId = $skuId;
136
+    }
137 137
 
138 138
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddExpressDepotInfoGetRequest.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 PddExpressDepotInfoGetRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Long, "depot_id")
15
-	*/
16
-	private $depotId;
17
-
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "depot_id", $this->depotId);
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.express.depot.info.get";
37
-	}
38
-
39
-	public function setDepotId($depotId)
40
-	{
41
-		$this->depotId = $depotId;
42
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Long, "depot_id")
15
+     */
16
+    private $depotId;
17
+
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "depot_id", $this->depotId);
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.express.depot.info.get";
37
+    }
38
+
39
+    public function setDepotId($depotId)
40
+    {
41
+        $this->depotId = $depotId;
42
+    }
43 43
 
44 44
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddFlightRefundApplyRequest.php 1 patch
Indentation   +173 added lines, -173 removed lines patch added patch discarded remove patch
@@ -7,184 +7,184 @@
 block discarded – undo
7 7
 class PddFlightRefundApplyRequest 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(Integer, "refund_type")
35
-	*/
36
-	private $refundType;
37
-
38
-	/**
39
-	* @JsonProperty(String, "refund_reason")
40
-	*/
41
-	private $refundReason;
42
-
43
-	/**
44
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightRefundApplyRequest_PassengerInfoListItem>, "passenger_info_list")
45
-	*/
46
-	private $passengerInfoList;
47
-
48
-	protected function setUserParams(&$params)
49
-	{
50
-		$this->setUserParam($params, "trace_id", $this->traceId);
51
-		$this->setUserParam($params, "sub_trace_id", $this->subTraceId);
52
-		$this->setUserParam($params, "out_order_no", $this->outOrderNo);
53
-		$this->setUserParam($params, "parent_travel_sn", $this->parentTravelSn);
54
-		$this->setUserParam($params, "refund_type", $this->refundType);
55
-		$this->setUserParam($params, "refund_reason", $this->refundReason);
56
-		$this->setUserParam($params, "passenger_info_list", $this->passengerInfoList);
57
-
58
-	}
59
-
60
-	public function getVersion()
61
-	{
62
-		return "V1";
63
-	}
64
-
65
-	public function getDataType()
66
-	{
67
-		return "JSON";
68
-	}
69
-
70
-	public function getType()
71
-	{
72
-		return "pdd.flight.refund.apply";
73
-	}
74
-
75
-	public function setTraceId($traceId)
76
-	{
77
-		$this->traceId = $traceId;
78
-	}
79
-
80
-	public function setSubTraceId($subTraceId)
81
-	{
82
-		$this->subTraceId = $subTraceId;
83
-	}
84
-
85
-	public function setOutOrderNo($outOrderNo)
86
-	{
87
-		$this->outOrderNo = $outOrderNo;
88
-	}
89
-
90
-	public function setParentTravelSn($parentTravelSn)
91
-	{
92
-		$this->parentTravelSn = $parentTravelSn;
93
-	}
94
-
95
-	public function setRefundType($refundType)
96
-	{
97
-		$this->refundType = $refundType;
98
-	}
99
-
100
-	public function setRefundReason($refundReason)
101
-	{
102
-		$this->refundReason = $refundReason;
103
-	}
104
-
105
-	public function setPassengerInfoList($passengerInfoList)
106
-	{
107
-		$this->passengerInfoList = $passengerInfoList;
108
-	}
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(Integer, "refund_type")
35
+     */
36
+    private $refundType;
37
+
38
+    /**
39
+     * @JsonProperty(String, "refund_reason")
40
+     */
41
+    private $refundReason;
42
+
43
+    /**
44
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightRefundApplyRequest_PassengerInfoListItem>, "passenger_info_list")
45
+     */
46
+    private $passengerInfoList;
47
+
48
+    protected function setUserParams(&$params)
49
+    {
50
+        $this->setUserParam($params, "trace_id", $this->traceId);
51
+        $this->setUserParam($params, "sub_trace_id", $this->subTraceId);
52
+        $this->setUserParam($params, "out_order_no", $this->outOrderNo);
53
+        $this->setUserParam($params, "parent_travel_sn", $this->parentTravelSn);
54
+        $this->setUserParam($params, "refund_type", $this->refundType);
55
+        $this->setUserParam($params, "refund_reason", $this->refundReason);
56
+        $this->setUserParam($params, "passenger_info_list", $this->passengerInfoList);
57
+
58
+    }
59
+
60
+    public function getVersion()
61
+    {
62
+        return "V1";
63
+    }
64
+
65
+    public function getDataType()
66
+    {
67
+        return "JSON";
68
+    }
69
+
70
+    public function getType()
71
+    {
72
+        return "pdd.flight.refund.apply";
73
+    }
74
+
75
+    public function setTraceId($traceId)
76
+    {
77
+        $this->traceId = $traceId;
78
+    }
79
+
80
+    public function setSubTraceId($subTraceId)
81
+    {
82
+        $this->subTraceId = $subTraceId;
83
+    }
84
+
85
+    public function setOutOrderNo($outOrderNo)
86
+    {
87
+        $this->outOrderNo = $outOrderNo;
88
+    }
89
+
90
+    public function setParentTravelSn($parentTravelSn)
91
+    {
92
+        $this->parentTravelSn = $parentTravelSn;
93
+    }
94
+
95
+    public function setRefundType($refundType)
96
+    {
97
+        $this->refundType = $refundType;
98
+    }
99
+
100
+    public function setRefundReason($refundReason)
101
+    {
102
+        $this->refundReason = $refundReason;
103
+    }
104
+
105
+    public function setPassengerInfoList($passengerInfoList)
106
+    {
107
+        $this->passengerInfoList = $passengerInfoList;
108
+    }
109 109
 
110 110
 }
111 111
 
112 112
 class PddFlightRefundApplyRequest_PassengerInfoListItem extends PopBaseJsonEntity
113 113
 {
114 114
 
115
-	public function __construct()
116
-	{
117
-
118
-	}
119
-
120
-	/**
121
-	* @JsonProperty(String, "passenger_type")
122
-	*/
123
-	private $passengerType;
124
-
125
-	/**
126
-	* @JsonProperty(String, "name")
127
-	*/
128
-	private $name;
129
-
130
-	/**
131
-	* @JsonProperty(String, "identity_type")
132
-	*/
133
-	private $identityType;
134
-
135
-	/**
136
-	* @JsonProperty(String, "identity_no")
137
-	*/
138
-	private $identityNo;
139
-
140
-	/**
141
-	* @JsonProperty(String, "travel_sn")
142
-	*/
143
-	private $travelSn;
144
-
145
-	/**
146
-	* @JsonProperty(String, "ticket_no")
147
-	*/
148
-	private $ticketNo;
149
-
150
-	/**
151
-	* @JsonProperty(String, "old_ticket_no")
152
-	*/
153
-	private $oldTicketNo;
154
-
155
-	public function setPassengerType($passengerType)
156
-	{
157
-		$this->passengerType = $passengerType;
158
-	}
159
-
160
-	public function setName($name)
161
-	{
162
-		$this->name = $name;
163
-	}
164
-
165
-	public function setIdentityType($identityType)
166
-	{
167
-		$this->identityType = $identityType;
168
-	}
169
-
170
-	public function setIdentityNo($identityNo)
171
-	{
172
-		$this->identityNo = $identityNo;
173
-	}
174
-
175
-	public function setTravelSn($travelSn)
176
-	{
177
-		$this->travelSn = $travelSn;
178
-	}
179
-
180
-	public function setTicketNo($ticketNo)
181
-	{
182
-		$this->ticketNo = $ticketNo;
183
-	}
184
-
185
-	public function setOldTicketNo($oldTicketNo)
186
-	{
187
-		$this->oldTicketNo = $oldTicketNo;
188
-	}
115
+    public function __construct()
116
+    {
117
+
118
+    }
119
+
120
+    /**
121
+     * @JsonProperty(String, "passenger_type")
122
+     */
123
+    private $passengerType;
124
+
125
+    /**
126
+     * @JsonProperty(String, "name")
127
+     */
128
+    private $name;
129
+
130
+    /**
131
+     * @JsonProperty(String, "identity_type")
132
+     */
133
+    private $identityType;
134
+
135
+    /**
136
+     * @JsonProperty(String, "identity_no")
137
+     */
138
+    private $identityNo;
139
+
140
+    /**
141
+     * @JsonProperty(String, "travel_sn")
142
+     */
143
+    private $travelSn;
144
+
145
+    /**
146
+     * @JsonProperty(String, "ticket_no")
147
+     */
148
+    private $ticketNo;
149
+
150
+    /**
151
+     * @JsonProperty(String, "old_ticket_no")
152
+     */
153
+    private $oldTicketNo;
154
+
155
+    public function setPassengerType($passengerType)
156
+    {
157
+        $this->passengerType = $passengerType;
158
+    }
159
+
160
+    public function setName($name)
161
+    {
162
+        $this->name = $name;
163
+    }
164
+
165
+    public function setIdentityType($identityType)
166
+    {
167
+        $this->identityType = $identityType;
168
+    }
169
+
170
+    public function setIdentityNo($identityNo)
171
+    {
172
+        $this->identityNo = $identityNo;
173
+    }
174
+
175
+    public function setTravelSn($travelSn)
176
+    {
177
+        $this->travelSn = $travelSn;
178
+    }
179
+
180
+    public function setTicketNo($ticketNo)
181
+    {
182
+        $this->ticketNo = $ticketNo;
183
+    }
184
+
185
+    public function setOldTicketNo($oldTicketNo)
186
+    {
187
+        $this->oldTicketNo = $oldTicketNo;
188
+    }
189 189
 
190 190
 }
Please login to merge, or discard this patch.