Passed
Push — v6 ( 32f4f3...27c58a )
by 光春
03:39
created
service/pinduoduo/bin/src/Api/Request/PddGoodsCommitStatusGetRequest.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 PddGoodsCommitStatusGetRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(List<Long>, "goods_commit_id_list")
15
-	*/
16
-	private $goodsCommitIdList;
17
-
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "goods_commit_id_list", $this->goodsCommitIdList);
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.commit.status.get";
37
-	}
38
-
39
-	public function setGoodsCommitIdList($goodsCommitIdList)
40
-	{
41
-		$this->goodsCommitIdList = $goodsCommitIdList;
42
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(List<Long>, "goods_commit_id_list")
15
+     */
16
+    private $goodsCommitIdList;
17
+
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "goods_commit_id_list", $this->goodsCommitIdList);
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.commit.status.get";
37
+    }
38
+
39
+    public function setGoodsCommitIdList($goodsCommitIdList)
40
+    {
41
+        $this->goodsCommitIdList = $goodsCommitIdList;
42
+    }
43 43
 
44 44
 }
Please login to merge, or discard this patch.
bin/src/Api/Request/PddAdApiPlanUpdateDataOperateStatusRequest.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 PddAdApiPlanUpdateDataOperateStatusRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
10
+    {
11 11
 
12
-	}
13
-	/**
14
-	* @JsonProperty(Integer, "dataOperateStatus")
15
-	*/
16
-	private $dataOperateStatus;
12
+    }
13
+    /**
14
+     * @JsonProperty(Integer, "dataOperateStatus")
15
+     */
16
+    private $dataOperateStatus;
17 17
 
18
-	/**
19
-	* @JsonProperty(List<Long>, "planIds")
20
-	*/
21
-	private $planIds;
18
+    /**
19
+     * @JsonProperty(List<Long>, "planIds")
20
+     */
21
+    private $planIds;
22 22
 
23
-	/**
24
-	* @JsonProperty(Integer, "scenesType")
25
-	*/
26
-	private $scenesType;
23
+    /**
24
+     * @JsonProperty(Integer, "scenesType")
25
+     */
26
+    private $scenesType;
27 27
 
28
-	protected function setUserParams(&$params)
29
-	{
30
-		$this->setUserParam($params, "dataOperateStatus", $this->dataOperateStatus);
31
-		$this->setUserParam($params, "planIds", $this->planIds);
32
-		$this->setUserParam($params, "scenesType", $this->scenesType);
28
+    protected function setUserParams(&$params)
29
+    {
30
+        $this->setUserParam($params, "dataOperateStatus", $this->dataOperateStatus);
31
+        $this->setUserParam($params, "planIds", $this->planIds);
32
+        $this->setUserParam($params, "scenesType", $this->scenesType);
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.ad.api.plan.update.data.operate.status";
49
-	}
46
+    public function getType()
47
+    {
48
+        return "pdd.ad.api.plan.update.data.operate.status";
49
+    }
50 50
 
51
-	public function setDataOperateStatus($dataOperateStatus)
52
-	{
53
-		$this->dataOperateStatus = $dataOperateStatus;
54
-	}
51
+    public function setDataOperateStatus($dataOperateStatus)
52
+    {
53
+        $this->dataOperateStatus = $dataOperateStatus;
54
+    }
55 55
 
56
-	public function setPlanIds($planIds)
57
-	{
58
-		$this->planIds = $planIds;
59
-	}
56
+    public function setPlanIds($planIds)
57
+    {
58
+        $this->planIds = $planIds;
59
+    }
60 60
 
61
-	public function setScenesType($scenesType)
62
-	{
63
-		$this->scenesType = $scenesType;
64
-	}
61
+    public function setScenesType($scenesType)
62
+    {
63
+        $this->scenesType = $scenesType;
64
+    }
65 65
 
66 66
 }
Please login to merge, or discard this patch.
service/pinduoduo/bin/src/Api/Request/PddPngMallStaffBatchSycnRequest.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 PddPngMallStaffBatchSycnRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(List<Long>, "staff_ids")
15
-	*/
16
-	private $staffIds;
17
-
18
-	/**
19
-	* @JsonProperty(Long, "to_mall_id")
20
-	*/
21
-	private $toMallId;
22
-
23
-	protected function setUserParams(&$params)
24
-	{
25
-		$this->setUserParam($params, "staff_ids", $this->staffIds);
26
-		$this->setUserParam($params, "to_mall_id", $this->toMallId);
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.png.mall.staff.batch.sycn";
43
-	}
44
-
45
-	public function setStaffIds($staffIds)
46
-	{
47
-		$this->staffIds = $staffIds;
48
-	}
49
-
50
-	public function setToMallId($toMallId)
51
-	{
52
-		$this->toMallId = $toMallId;
53
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(List<Long>, "staff_ids")
15
+     */
16
+    private $staffIds;
17
+
18
+    /**
19
+     * @JsonProperty(Long, "to_mall_id")
20
+     */
21
+    private $toMallId;
22
+
23
+    protected function setUserParams(&$params)
24
+    {
25
+        $this->setUserParam($params, "staff_ids", $this->staffIds);
26
+        $this->setUserParam($params, "to_mall_id", $this->toMallId);
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.png.mall.staff.batch.sycn";
43
+    }
44
+
45
+    public function setStaffIds($staffIds)
46
+    {
47
+        $this->staffIds = $staffIds;
48
+    }
49
+
50
+    public function setToMallId($toMallId)
51
+    {
52
+        $this->toMallId = $toMallId;
53
+    }
54 54
 
55 55
 }
Please login to merge, or discard this patch.
service/pinduoduo/bin/src/Api/Request/PddStockDepotPriorityListRequest.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 PddStockDepotPriorityListRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Integer, "province_id")
15
-	*/
16
-	private $provinceId;
17
-
18
-	/**
19
-	* @JsonProperty(Integer, "city_id")
20
-	*/
21
-	private $cityId;
22
-
23
-	/**
24
-	* @JsonProperty(Integer, "district_id")
25
-	*/
26
-	private $districtId;
27
-
28
-	/**
29
-	* @JsonProperty(String, "depot_code")
30
-	*/
31
-	private $depotCode;
32
-
33
-	/**
34
-	* @JsonProperty(Integer, "page_size")
35
-	*/
36
-	private $pageSize;
37
-
38
-	/**
39
-	* @JsonProperty(Integer, "page_num")
40
-	*/
41
-	private $pageNum;
42
-
43
-	protected function setUserParams(&$params)
44
-	{
45
-		$this->setUserParam($params, "province_id", $this->provinceId);
46
-		$this->setUserParam($params, "city_id", $this->cityId);
47
-		$this->setUserParam($params, "district_id", $this->districtId);
48
-		$this->setUserParam($params, "depot_code", $this->depotCode);
49
-		$this->setUserParam($params, "page_size", $this->pageSize);
50
-		$this->setUserParam($params, "page_num", $this->pageNum);
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.stock.depot.priority.list";
67
-	}
68
-
69
-	public function setProvinceId($provinceId)
70
-	{
71
-		$this->provinceId = $provinceId;
72
-	}
73
-
74
-	public function setCityId($cityId)
75
-	{
76
-		$this->cityId = $cityId;
77
-	}
78
-
79
-	public function setDistrictId($districtId)
80
-	{
81
-		$this->districtId = $districtId;
82
-	}
83
-
84
-	public function setDepotCode($depotCode)
85
-	{
86
-		$this->depotCode = $depotCode;
87
-	}
88
-
89
-	public function setPageSize($pageSize)
90
-	{
91
-		$this->pageSize = $pageSize;
92
-	}
93
-
94
-	public function setPageNum($pageNum)
95
-	{
96
-		$this->pageNum = $pageNum;
97
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Integer, "province_id")
15
+     */
16
+    private $provinceId;
17
+
18
+    /**
19
+     * @JsonProperty(Integer, "city_id")
20
+     */
21
+    private $cityId;
22
+
23
+    /**
24
+     * @JsonProperty(Integer, "district_id")
25
+     */
26
+    private $districtId;
27
+
28
+    /**
29
+     * @JsonProperty(String, "depot_code")
30
+     */
31
+    private $depotCode;
32
+
33
+    /**
34
+     * @JsonProperty(Integer, "page_size")
35
+     */
36
+    private $pageSize;
37
+
38
+    /**
39
+     * @JsonProperty(Integer, "page_num")
40
+     */
41
+    private $pageNum;
42
+
43
+    protected function setUserParams(&$params)
44
+    {
45
+        $this->setUserParam($params, "province_id", $this->provinceId);
46
+        $this->setUserParam($params, "city_id", $this->cityId);
47
+        $this->setUserParam($params, "district_id", $this->districtId);
48
+        $this->setUserParam($params, "depot_code", $this->depotCode);
49
+        $this->setUserParam($params, "page_size", $this->pageSize);
50
+        $this->setUserParam($params, "page_num", $this->pageNum);
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.stock.depot.priority.list";
67
+    }
68
+
69
+    public function setProvinceId($provinceId)
70
+    {
71
+        $this->provinceId = $provinceId;
72
+    }
73
+
74
+    public function setCityId($cityId)
75
+    {
76
+        $this->cityId = $cityId;
77
+    }
78
+
79
+    public function setDistrictId($districtId)
80
+    {
81
+        $this->districtId = $districtId;
82
+    }
83
+
84
+    public function setDepotCode($depotCode)
85
+    {
86
+        $this->depotCode = $depotCode;
87
+    }
88
+
89
+    public function setPageSize($pageSize)
90
+    {
91
+        $this->pageSize = $pageSize;
92
+    }
93
+
94
+    public function setPageNum($pageNum)
95
+    {
96
+        $this->pageNum = $pageNum;
97
+    }
98 98
 
99 99
 }
Please login to merge, or discard this patch.
pinduoduo/bin/src/Api/Request/PddCloudLogisticsOnlineSendRequest.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 PddCloudLogisticsOnlineSendRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(String, "feature")
15
-	*/
16
-	private $feature;
17
-
18
-	/**
19
-	* @JsonProperty(Long, "logistics_id")
20
-	*/
21
-	private $logisticsId;
22
-
23
-	/**
24
-	* @JsonProperty(String, "order_sn")
25
-	*/
26
-	private $orderSn;
27
-
28
-	/**
29
-	* @JsonProperty(String, "refund_address_id")
30
-	*/
31
-	private $refundAddressId;
32
-
33
-	/**
34
-	* @JsonProperty(String, "tracking_number")
35
-	*/
36
-	private $trackingNumber;
37
-
38
-	/**
39
-	* @JsonProperty(String, "ext_token")
40
-	*/
41
-	private $extToken;
42
-
43
-	protected function setUserParams(&$params)
44
-	{
45
-		$this->setUserParam($params, "feature", $this->feature);
46
-		$this->setUserParam($params, "logistics_id", $this->logisticsId);
47
-		$this->setUserParam($params, "order_sn", $this->orderSn);
48
-		$this->setUserParam($params, "refund_address_id", $this->refundAddressId);
49
-		$this->setUserParam($params, "tracking_number", $this->trackingNumber);
50
-		$this->setUserParam($params, "ext_token", $this->extToken);
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.cloud.logistics.online.send";
67
-	}
68
-
69
-	public function setFeature($feature)
70
-	{
71
-		$this->feature = $feature;
72
-	}
73
-
74
-	public function setLogisticsId($logisticsId)
75
-	{
76
-		$this->logisticsId = $logisticsId;
77
-	}
78
-
79
-	public function setOrderSn($orderSn)
80
-	{
81
-		$this->orderSn = $orderSn;
82
-	}
83
-
84
-	public function setRefundAddressId($refundAddressId)
85
-	{
86
-		$this->refundAddressId = $refundAddressId;
87
-	}
88
-
89
-	public function setTrackingNumber($trackingNumber)
90
-	{
91
-		$this->trackingNumber = $trackingNumber;
92
-	}
93
-
94
-	public function setExtToken($extToken)
95
-	{
96
-		$this->extToken = $extToken;
97
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(String, "feature")
15
+     */
16
+    private $feature;
17
+
18
+    /**
19
+     * @JsonProperty(Long, "logistics_id")
20
+     */
21
+    private $logisticsId;
22
+
23
+    /**
24
+     * @JsonProperty(String, "order_sn")
25
+     */
26
+    private $orderSn;
27
+
28
+    /**
29
+     * @JsonProperty(String, "refund_address_id")
30
+     */
31
+    private $refundAddressId;
32
+
33
+    /**
34
+     * @JsonProperty(String, "tracking_number")
35
+     */
36
+    private $trackingNumber;
37
+
38
+    /**
39
+     * @JsonProperty(String, "ext_token")
40
+     */
41
+    private $extToken;
42
+
43
+    protected function setUserParams(&$params)
44
+    {
45
+        $this->setUserParam($params, "feature", $this->feature);
46
+        $this->setUserParam($params, "logistics_id", $this->logisticsId);
47
+        $this->setUserParam($params, "order_sn", $this->orderSn);
48
+        $this->setUserParam($params, "refund_address_id", $this->refundAddressId);
49
+        $this->setUserParam($params, "tracking_number", $this->trackingNumber);
50
+        $this->setUserParam($params, "ext_token", $this->extToken);
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.cloud.logistics.online.send";
67
+    }
68
+
69
+    public function setFeature($feature)
70
+    {
71
+        $this->feature = $feature;
72
+    }
73
+
74
+    public function setLogisticsId($logisticsId)
75
+    {
76
+        $this->logisticsId = $logisticsId;
77
+    }
78
+
79
+    public function setOrderSn($orderSn)
80
+    {
81
+        $this->orderSn = $orderSn;
82
+    }
83
+
84
+    public function setRefundAddressId($refundAddressId)
85
+    {
86
+        $this->refundAddressId = $refundAddressId;
87
+    }
88
+
89
+    public function setTrackingNumber($trackingNumber)
90
+    {
91
+        $this->trackingNumber = $trackingNumber;
92
+    }
93
+
94
+    public function setExtToken($extToken)
95
+    {
96
+        $this->extToken = $extToken;
97
+    }
98 98
 
99 99
 }
Please login to merge, or discard this patch.
bin/src/Api/Request/PddAdApiUnitBidQueryBaseLocationProfileRequest.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 PddAdApiUnitBidQueryBaseLocationProfileRequest 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.ad.api.unit.bid.query.base.location.profile";
31
-	}
28
+    public function getType()
29
+    {
30
+        return "pdd.ad.api.unit.bid.query.base.location.profile";
31
+    }
32 32
 
33 33
 }
Please login to merge, or discard this patch.
pinduoduo/bin/src/Api/Request/PddPromotionLimitedActivityCreateRequest.php 1 patch
Indentation   +139 added lines, -139 removed lines patch added patch discarded remove patch
@@ -7,168 +7,168 @@
 block discarded – undo
7 7
 class PddPromotionLimitedActivityCreateRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
10
+    {
11 11
 
12
-	}
13
-	/**
14
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddPromotionLimitedActivityCreateRequest_RequestItem>, "request")
15
-	*/
16
-	private $request;
12
+    }
13
+    /**
14
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddPromotionLimitedActivityCreateRequest_RequestItem>, "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.promotion.limited.activity.create";
37
-	}
34
+    public function getType()
35
+    {
36
+        return "pdd.promotion.limited.activity.create";
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 PddPromotionLimitedActivityCreateRequest_RequestItem extends PopBaseJsonEntity
47 47
 {
48 48
 
49
-	public function __construct()
50
-	{
51
-
52
-	}
53
-
54
-	/**
55
-	* @JsonProperty(String, "activity_name")
56
-	*/
57
-	private $activityName;
58
-
59
-	/**
60
-	* @JsonProperty(Integer, "activity_type")
61
-	*/
62
-	private $activityType;
63
-
64
-	/**
65
-	* @JsonProperty(Long, "discount")
66
-	*/
67
-	private $discount;
68
-
69
-	/**
70
-	* @JsonProperty(Long, "end_time")
71
-	*/
72
-	private $endTime;
73
-
74
-	/**
75
-	* @JsonProperty(Long, "goods_id")
76
-	*/
77
-	private $goodsId;
78
-
79
-	/**
80
-	* @JsonProperty(Long, "quantity")
81
-	*/
82
-	private $quantity;
83
-
84
-	/**
85
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddPromotionLimitedActivityCreateRequest_RequestItemSkuPriceListItem>, "sku_price_list")
86
-	*/
87
-	private $skuPriceList;
88
-
89
-	/**
90
-	* @JsonProperty(Long, "start_time")
91
-	*/
92
-	private $startTime;
93
-
94
-	/**
95
-	* @JsonProperty(Long, "user_activity_limit")
96
-	*/
97
-	private $userActivityLimit;
98
-
99
-	public function setActivityName($activityName)
100
-	{
101
-		$this->activityName = $activityName;
102
-	}
103
-
104
-	public function setActivityType($activityType)
105
-	{
106
-		$this->activityType = $activityType;
107
-	}
108
-
109
-	public function setDiscount($discount)
110
-	{
111
-		$this->discount = $discount;
112
-	}
113
-
114
-	public function setEndTime($endTime)
115
-	{
116
-		$this->endTime = $endTime;
117
-	}
118
-
119
-	public function setGoodsId($goodsId)
120
-	{
121
-		$this->goodsId = $goodsId;
122
-	}
123
-
124
-	public function setQuantity($quantity)
125
-	{
126
-		$this->quantity = $quantity;
127
-	}
128
-
129
-	public function setSkuPriceList($skuPriceList)
130
-	{
131
-		$this->skuPriceList = $skuPriceList;
132
-	}
133
-
134
-	public function setStartTime($startTime)
135
-	{
136
-		$this->startTime = $startTime;
137
-	}
138
-
139
-	public function setUserActivityLimit($userActivityLimit)
140
-	{
141
-		$this->userActivityLimit = $userActivityLimit;
142
-	}
49
+    public function __construct()
50
+    {
51
+
52
+    }
53
+
54
+    /**
55
+     * @JsonProperty(String, "activity_name")
56
+     */
57
+    private $activityName;
58
+
59
+    /**
60
+     * @JsonProperty(Integer, "activity_type")
61
+     */
62
+    private $activityType;
63
+
64
+    /**
65
+     * @JsonProperty(Long, "discount")
66
+     */
67
+    private $discount;
68
+
69
+    /**
70
+     * @JsonProperty(Long, "end_time")
71
+     */
72
+    private $endTime;
73
+
74
+    /**
75
+     * @JsonProperty(Long, "goods_id")
76
+     */
77
+    private $goodsId;
78
+
79
+    /**
80
+     * @JsonProperty(Long, "quantity")
81
+     */
82
+    private $quantity;
83
+
84
+    /**
85
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddPromotionLimitedActivityCreateRequest_RequestItemSkuPriceListItem>, "sku_price_list")
86
+     */
87
+    private $skuPriceList;
88
+
89
+    /**
90
+     * @JsonProperty(Long, "start_time")
91
+     */
92
+    private $startTime;
93
+
94
+    /**
95
+     * @JsonProperty(Long, "user_activity_limit")
96
+     */
97
+    private $userActivityLimit;
98
+
99
+    public function setActivityName($activityName)
100
+    {
101
+        $this->activityName = $activityName;
102
+    }
103
+
104
+    public function setActivityType($activityType)
105
+    {
106
+        $this->activityType = $activityType;
107
+    }
108
+
109
+    public function setDiscount($discount)
110
+    {
111
+        $this->discount = $discount;
112
+    }
113
+
114
+    public function setEndTime($endTime)
115
+    {
116
+        $this->endTime = $endTime;
117
+    }
118
+
119
+    public function setGoodsId($goodsId)
120
+    {
121
+        $this->goodsId = $goodsId;
122
+    }
123
+
124
+    public function setQuantity($quantity)
125
+    {
126
+        $this->quantity = $quantity;
127
+    }
128
+
129
+    public function setSkuPriceList($skuPriceList)
130
+    {
131
+        $this->skuPriceList = $skuPriceList;
132
+    }
133
+
134
+    public function setStartTime($startTime)
135
+    {
136
+        $this->startTime = $startTime;
137
+    }
138
+
139
+    public function setUserActivityLimit($userActivityLimit)
140
+    {
141
+        $this->userActivityLimit = $userActivityLimit;
142
+    }
143 143
 
144 144
 }
145 145
 
146 146
 class PddPromotionLimitedActivityCreateRequest_RequestItemSkuPriceListItem extends PopBaseJsonEntity
147 147
 {
148 148
 
149
-	public function __construct()
150
-	{
149
+    public function __construct()
150
+    {
151 151
 
152
-	}
152
+    }
153 153
 
154
-	/**
155
-	* @JsonProperty(Long, "activity_price")
156
-	*/
157
-	private $activityPrice;
154
+    /**
155
+     * @JsonProperty(Long, "activity_price")
156
+     */
157
+    private $activityPrice;
158 158
 
159
-	/**
160
-	* @JsonProperty(Long, "sku_id")
161
-	*/
162
-	private $skuId;
159
+    /**
160
+     * @JsonProperty(Long, "sku_id")
161
+     */
162
+    private $skuId;
163 163
 
164
-	public function setActivityPrice($activityPrice)
165
-	{
166
-		$this->activityPrice = $activityPrice;
167
-	}
164
+    public function setActivityPrice($activityPrice)
165
+    {
166
+        $this->activityPrice = $activityPrice;
167
+    }
168 168
 
169
-	public function setSkuId($skuId)
170
-	{
171
-		$this->skuId = $skuId;
172
-	}
169
+    public function setSkuId($skuId)
170
+    {
171
+        $this->skuId = $skuId;
172
+    }
173 173
 
174 174
 }
Please login to merge, or discard this patch.
pinduoduo/bin/src/Api/Request/PddFlightCallbackConfirmChangeRequest.php 1 patch
Indentation   +296 added lines, -296 removed lines patch added patch discarded remove patch
@@ -7,307 +7,307 @@
 block discarded – undo
7 7
 class PddFlightCallbackConfirmChangeRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(String, "change_time")
15
-	*/
16
-	private $changeTime;
17
-
18
-	/**
19
-	* @JsonProperty(Integer, "change_type")
20
-	*/
21
-	private $changeType;
22
-
23
-	/**
24
-	* @JsonProperty(Integer, "error_code")
25
-	*/
26
-	private $errorCode;
27
-
28
-	/**
29
-	* @JsonProperty(String, "error_msg")
30
-	*/
31
-	private $errorMsg;
32
-
33
-	/**
34
-	* @JsonProperty(String, "out_change_no")
35
-	*/
36
-	private $outChangeNo;
37
-
38
-	/**
39
-	* @JsonProperty(String, "out_order_no")
40
-	*/
41
-	private $outOrderNo;
42
-
43
-	/**
44
-	* @JsonProperty(String, "parent_travel_sn")
45
-	*/
46
-	private $parentTravelSn;
47
-
48
-	/**
49
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightCallbackConfirmChangeRequest_PassengerInfoListItem>, "passenger_info_list")
50
-	*/
51
-	private $passengerInfoList;
52
-
53
-	/**
54
-	* @JsonProperty(String, "sub_trace_id")
55
-	*/
56
-	private $subTraceId;
57
-
58
-	/**
59
-	* @JsonProperty(String, "trace_id")
60
-	*/
61
-	private $traceId;
62
-
63
-	protected function setUserParams(&$params)
64
-	{
65
-		$this->setUserParam($params, "change_time", $this->changeTime);
66
-		$this->setUserParam($params, "change_type", $this->changeType);
67
-		$this->setUserParam($params, "error_code", $this->errorCode);
68
-		$this->setUserParam($params, "error_msg", $this->errorMsg);
69
-		$this->setUserParam($params, "out_change_no", $this->outChangeNo);
70
-		$this->setUserParam($params, "out_order_no", $this->outOrderNo);
71
-		$this->setUserParam($params, "parent_travel_sn", $this->parentTravelSn);
72
-		$this->setUserParam($params, "passenger_info_list", $this->passengerInfoList);
73
-		$this->setUserParam($params, "sub_trace_id", $this->subTraceId);
74
-		$this->setUserParam($params, "trace_id", $this->traceId);
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.flight.callback.confirm.change";
91
-	}
92
-
93
-	public function setChangeTime($changeTime)
94
-	{
95
-		$this->changeTime = $changeTime;
96
-	}
97
-
98
-	public function setChangeType($changeType)
99
-	{
100
-		$this->changeType = $changeType;
101
-	}
102
-
103
-	public function setErrorCode($errorCode)
104
-	{
105
-		$this->errorCode = $errorCode;
106
-	}
107
-
108
-	public function setErrorMsg($errorMsg)
109
-	{
110
-		$this->errorMsg = $errorMsg;
111
-	}
112
-
113
-	public function setOutChangeNo($outChangeNo)
114
-	{
115
-		$this->outChangeNo = $outChangeNo;
116
-	}
117
-
118
-	public function setOutOrderNo($outOrderNo)
119
-	{
120
-		$this->outOrderNo = $outOrderNo;
121
-	}
122
-
123
-	public function setParentTravelSn($parentTravelSn)
124
-	{
125
-		$this->parentTravelSn = $parentTravelSn;
126
-	}
127
-
128
-	public function setPassengerInfoList($passengerInfoList)
129
-	{
130
-		$this->passengerInfoList = $passengerInfoList;
131
-	}
132
-
133
-	public function setSubTraceId($subTraceId)
134
-	{
135
-		$this->subTraceId = $subTraceId;
136
-	}
137
-
138
-	public function setTraceId($traceId)
139
-	{
140
-		$this->traceId = $traceId;
141
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(String, "change_time")
15
+     */
16
+    private $changeTime;
17
+
18
+    /**
19
+     * @JsonProperty(Integer, "change_type")
20
+     */
21
+    private $changeType;
22
+
23
+    /**
24
+     * @JsonProperty(Integer, "error_code")
25
+     */
26
+    private $errorCode;
27
+
28
+    /**
29
+     * @JsonProperty(String, "error_msg")
30
+     */
31
+    private $errorMsg;
32
+
33
+    /**
34
+     * @JsonProperty(String, "out_change_no")
35
+     */
36
+    private $outChangeNo;
37
+
38
+    /**
39
+     * @JsonProperty(String, "out_order_no")
40
+     */
41
+    private $outOrderNo;
42
+
43
+    /**
44
+     * @JsonProperty(String, "parent_travel_sn")
45
+     */
46
+    private $parentTravelSn;
47
+
48
+    /**
49
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightCallbackConfirmChangeRequest_PassengerInfoListItem>, "passenger_info_list")
50
+     */
51
+    private $passengerInfoList;
52
+
53
+    /**
54
+     * @JsonProperty(String, "sub_trace_id")
55
+     */
56
+    private $subTraceId;
57
+
58
+    /**
59
+     * @JsonProperty(String, "trace_id")
60
+     */
61
+    private $traceId;
62
+
63
+    protected function setUserParams(&$params)
64
+    {
65
+        $this->setUserParam($params, "change_time", $this->changeTime);
66
+        $this->setUserParam($params, "change_type", $this->changeType);
67
+        $this->setUserParam($params, "error_code", $this->errorCode);
68
+        $this->setUserParam($params, "error_msg", $this->errorMsg);
69
+        $this->setUserParam($params, "out_change_no", $this->outChangeNo);
70
+        $this->setUserParam($params, "out_order_no", $this->outOrderNo);
71
+        $this->setUserParam($params, "parent_travel_sn", $this->parentTravelSn);
72
+        $this->setUserParam($params, "passenger_info_list", $this->passengerInfoList);
73
+        $this->setUserParam($params, "sub_trace_id", $this->subTraceId);
74
+        $this->setUserParam($params, "trace_id", $this->traceId);
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.flight.callback.confirm.change";
91
+    }
92
+
93
+    public function setChangeTime($changeTime)
94
+    {
95
+        $this->changeTime = $changeTime;
96
+    }
97
+
98
+    public function setChangeType($changeType)
99
+    {
100
+        $this->changeType = $changeType;
101
+    }
102
+
103
+    public function setErrorCode($errorCode)
104
+    {
105
+        $this->errorCode = $errorCode;
106
+    }
107
+
108
+    public function setErrorMsg($errorMsg)
109
+    {
110
+        $this->errorMsg = $errorMsg;
111
+    }
112
+
113
+    public function setOutChangeNo($outChangeNo)
114
+    {
115
+        $this->outChangeNo = $outChangeNo;
116
+    }
117
+
118
+    public function setOutOrderNo($outOrderNo)
119
+    {
120
+        $this->outOrderNo = $outOrderNo;
121
+    }
122
+
123
+    public function setParentTravelSn($parentTravelSn)
124
+    {
125
+        $this->parentTravelSn = $parentTravelSn;
126
+    }
127
+
128
+    public function setPassengerInfoList($passengerInfoList)
129
+    {
130
+        $this->passengerInfoList = $passengerInfoList;
131
+    }
132
+
133
+    public function setSubTraceId($subTraceId)
134
+    {
135
+        $this->subTraceId = $subTraceId;
136
+    }
137
+
138
+    public function setTraceId($traceId)
139
+    {
140
+        $this->traceId = $traceId;
141
+    }
142 142
 
143 143
 }
144 144
 
145 145
 class PddFlightCallbackConfirmChangeRequest_PassengerInfoListItem extends PopBaseJsonEntity
146 146
 {
147 147
 
148
-	public function __construct()
149
-	{
150
-
151
-	}
152
-
153
-	/**
154
-	* @JsonProperty(Long, "airport_tax")
155
-	*/
156
-	private $airportTax;
157
-
158
-	/**
159
-	* @JsonProperty(String, "change_ticket_no")
160
-	*/
161
-	private $changeTicketNo;
162
-
163
-	/**
164
-	* @JsonProperty(Long, "fuel_tax")
165
-	*/
166
-	private $fuelTax;
167
-
168
-	/**
169
-	* @JsonProperty(String, "identity_no")
170
-	*/
171
-	private $identityNo;
172
-
173
-	/**
174
-	* @JsonProperty(String, "identity_type")
175
-	*/
176
-	private $identityType;
177
-
178
-	/**
179
-	* @JsonProperty(String, "name")
180
-	*/
181
-	private $name;
182
-
183
-	/**
184
-	* @JsonProperty(String, "origin_pnr")
185
-	*/
186
-	private $originPnr;
187
-
188
-	/**
189
-	* @JsonProperty(String, "origin_ticket_no")
190
-	*/
191
-	private $originTicketNo;
192
-
193
-	/**
194
-	* @JsonProperty(Long, "pay")
195
-	*/
196
-	private $pay;
197
-
198
-	/**
199
-	* @JsonProperty(Long, "pay_airline_tax")
200
-	*/
201
-	private $payAirlineTax;
202
-
203
-	/**
204
-	* @JsonProperty(Long, "pay_fee")
205
-	*/
206
-	private $payFee;
207
-
208
-	/**
209
-	* @JsonProperty(Long, "pay_fuel_tax")
210
-	*/
211
-	private $payFuelTax;
212
-
213
-	/**
214
-	* @JsonProperty(Long, "pay_price")
215
-	*/
216
-	private $payPrice;
217
-
218
-	/**
219
-	* @JsonProperty(Long, "price")
220
-	*/
221
-	private $price;
222
-
223
-	/**
224
-	* @JsonProperty(String, "sub_out_change_no")
225
-	*/
226
-	private $subOutChangeNo;
227
-
228
-	/**
229
-	* @JsonProperty(String, "travel_sn")
230
-	*/
231
-	private $travelSn;
232
-
233
-	public function setAirportTax($airportTax)
234
-	{
235
-		$this->airportTax = $airportTax;
236
-	}
237
-
238
-	public function setChangeTicketNo($changeTicketNo)
239
-	{
240
-		$this->changeTicketNo = $changeTicketNo;
241
-	}
242
-
243
-	public function setFuelTax($fuelTax)
244
-	{
245
-		$this->fuelTax = $fuelTax;
246
-	}
247
-
248
-	public function setIdentityNo($identityNo)
249
-	{
250
-		$this->identityNo = $identityNo;
251
-	}
252
-
253
-	public function setIdentityType($identityType)
254
-	{
255
-		$this->identityType = $identityType;
256
-	}
257
-
258
-	public function setName($name)
259
-	{
260
-		$this->name = $name;
261
-	}
262
-
263
-	public function setOriginPnr($originPnr)
264
-	{
265
-		$this->originPnr = $originPnr;
266
-	}
267
-
268
-	public function setOriginTicketNo($originTicketNo)
269
-	{
270
-		$this->originTicketNo = $originTicketNo;
271
-	}
272
-
273
-	public function setPay($pay)
274
-	{
275
-		$this->pay = $pay;
276
-	}
277
-
278
-	public function setPayAirlineTax($payAirlineTax)
279
-	{
280
-		$this->payAirlineTax = $payAirlineTax;
281
-	}
282
-
283
-	public function setPayFee($payFee)
284
-	{
285
-		$this->payFee = $payFee;
286
-	}
287
-
288
-	public function setPayFuelTax($payFuelTax)
289
-	{
290
-		$this->payFuelTax = $payFuelTax;
291
-	}
292
-
293
-	public function setPayPrice($payPrice)
294
-	{
295
-		$this->payPrice = $payPrice;
296
-	}
297
-
298
-	public function setPrice($price)
299
-	{
300
-		$this->price = $price;
301
-	}
302
-
303
-	public function setSubOutChangeNo($subOutChangeNo)
304
-	{
305
-		$this->subOutChangeNo = $subOutChangeNo;
306
-	}
307
-
308
-	public function setTravelSn($travelSn)
309
-	{
310
-		$this->travelSn = $travelSn;
311
-	}
148
+    public function __construct()
149
+    {
150
+
151
+    }
152
+
153
+    /**
154
+     * @JsonProperty(Long, "airport_tax")
155
+     */
156
+    private $airportTax;
157
+
158
+    /**
159
+     * @JsonProperty(String, "change_ticket_no")
160
+     */
161
+    private $changeTicketNo;
162
+
163
+    /**
164
+     * @JsonProperty(Long, "fuel_tax")
165
+     */
166
+    private $fuelTax;
167
+
168
+    /**
169
+     * @JsonProperty(String, "identity_no")
170
+     */
171
+    private $identityNo;
172
+
173
+    /**
174
+     * @JsonProperty(String, "identity_type")
175
+     */
176
+    private $identityType;
177
+
178
+    /**
179
+     * @JsonProperty(String, "name")
180
+     */
181
+    private $name;
182
+
183
+    /**
184
+     * @JsonProperty(String, "origin_pnr")
185
+     */
186
+    private $originPnr;
187
+
188
+    /**
189
+     * @JsonProperty(String, "origin_ticket_no")
190
+     */
191
+    private $originTicketNo;
192
+
193
+    /**
194
+     * @JsonProperty(Long, "pay")
195
+     */
196
+    private $pay;
197
+
198
+    /**
199
+     * @JsonProperty(Long, "pay_airline_tax")
200
+     */
201
+    private $payAirlineTax;
202
+
203
+    /**
204
+     * @JsonProperty(Long, "pay_fee")
205
+     */
206
+    private $payFee;
207
+
208
+    /**
209
+     * @JsonProperty(Long, "pay_fuel_tax")
210
+     */
211
+    private $payFuelTax;
212
+
213
+    /**
214
+     * @JsonProperty(Long, "pay_price")
215
+     */
216
+    private $payPrice;
217
+
218
+    /**
219
+     * @JsonProperty(Long, "price")
220
+     */
221
+    private $price;
222
+
223
+    /**
224
+     * @JsonProperty(String, "sub_out_change_no")
225
+     */
226
+    private $subOutChangeNo;
227
+
228
+    /**
229
+     * @JsonProperty(String, "travel_sn")
230
+     */
231
+    private $travelSn;
232
+
233
+    public function setAirportTax($airportTax)
234
+    {
235
+        $this->airportTax = $airportTax;
236
+    }
237
+
238
+    public function setChangeTicketNo($changeTicketNo)
239
+    {
240
+        $this->changeTicketNo = $changeTicketNo;
241
+    }
242
+
243
+    public function setFuelTax($fuelTax)
244
+    {
245
+        $this->fuelTax = $fuelTax;
246
+    }
247
+
248
+    public function setIdentityNo($identityNo)
249
+    {
250
+        $this->identityNo = $identityNo;
251
+    }
252
+
253
+    public function setIdentityType($identityType)
254
+    {
255
+        $this->identityType = $identityType;
256
+    }
257
+
258
+    public function setName($name)
259
+    {
260
+        $this->name = $name;
261
+    }
262
+
263
+    public function setOriginPnr($originPnr)
264
+    {
265
+        $this->originPnr = $originPnr;
266
+    }
267
+
268
+    public function setOriginTicketNo($originTicketNo)
269
+    {
270
+        $this->originTicketNo = $originTicketNo;
271
+    }
272
+
273
+    public function setPay($pay)
274
+    {
275
+        $this->pay = $pay;
276
+    }
277
+
278
+    public function setPayAirlineTax($payAirlineTax)
279
+    {
280
+        $this->payAirlineTax = $payAirlineTax;
281
+    }
282
+
283
+    public function setPayFee($payFee)
284
+    {
285
+        $this->payFee = $payFee;
286
+    }
287
+
288
+    public function setPayFuelTax($payFuelTax)
289
+    {
290
+        $this->payFuelTax = $payFuelTax;
291
+    }
292
+
293
+    public function setPayPrice($payPrice)
294
+    {
295
+        $this->payPrice = $payPrice;
296
+    }
297
+
298
+    public function setPrice($price)
299
+    {
300
+        $this->price = $price;
301
+    }
302
+
303
+    public function setSubOutChangeNo($subOutChangeNo)
304
+    {
305
+        $this->subOutChangeNo = $subOutChangeNo;
306
+    }
307
+
308
+    public function setTravelSn($travelSn)
309
+    {
310
+        $this->travelSn = $travelSn;
311
+    }
312 312
 
313 313
 }
Please login to merge, or discard this patch.
bin/src/Api/Request/PddPngPermissionsMallStaffPushConfirmRequest.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 PddPngPermissionsMallStaffPushConfirmRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Long, "from_mall_id")
15
-	*/
16
-	private $fromMallId;
17
-
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "from_mall_id", $this->fromMallId);
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.png.permissions.mall.staff.push.confirm";
37
-	}
38
-
39
-	public function setFromMallId($fromMallId)
40
-	{
41
-		$this->fromMallId = $fromMallId;
42
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Long, "from_mall_id")
15
+     */
16
+    private $fromMallId;
17
+
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "from_mall_id", $this->fromMallId);
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.png.permissions.mall.staff.push.confirm";
37
+    }
38
+
39
+    public function setFromMallId($fromMallId)
40
+    {
41
+        $this->fromMallId = $fromMallId;
42
+    }
43 43
 
44 44
 }
Please login to merge, or discard this patch.