Passed
Push — v6 ( fe03e1...0ec70f )
by 光春
04:11
created

PddVasOrderSearchRequest::setSkuId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 1
dl 0
loc 3
rs 10
1
<?php
2
namespace Com\Pdd\Pop\Sdk\Api\Request;
3
4
use Com\Pdd\Pop\Sdk\PopBaseHttpRequest;
5
use Com\Pdd\Pop\Sdk\PopBaseJsonEntity;
6
7
class PddVasOrderSearchRequest extends PopBaseHttpRequest
8
{
9
    public function __construct()
10
	{
11
12
	}
13
	/**
14
	* @JsonProperty(Long, "create_time_end")
15
	*/
16
	private $createTimeEnd;
17
18
	/**
19
	* @JsonProperty(Long, "create_time_start")
20
	*/
21
	private $createTimeStart;
22
23
	/**
24
	* @JsonProperty(Long, "mall_id")
25
	*/
26
	private $mallId;
27
28
	/**
29
	* @JsonProperty(String, "order_sn")
30
	*/
31
	private $orderSn;
32
33
	/**
34
	* @JsonProperty(Integer, "order_status")
35
	*/
36
	private $orderStatus;
37
38
	/**
39
	* @JsonProperty(Integer, "page")
40
	*/
41
	private $page;
42
43
	/**
44
	* @JsonProperty(Integer, "page_size")
45
	*/
46
	private $pageSize;
47
48
	/**
49
	* @JsonProperty(Long, "pay_time_end")
50
	*/
51
	private $payTimeEnd;
52
53
	/**
54
	* @JsonProperty(Long, "pay_time_start")
55
	*/
56
	private $payTimeStart;
57
58
	/**
59
	* @JsonProperty(Long, "sku_id")
60
	*/
61
	private $skuId;
62
63
	/**
64
	* @JsonProperty(Integer, "refund_status")
65
	*/
66
	private $refundStatus;
67
68
	protected function setUserParams(&$params)
69
	{
70
		$this->setUserParam($params, "create_time_end", $this->createTimeEnd);
71
		$this->setUserParam($params, "create_time_start", $this->createTimeStart);
72
		$this->setUserParam($params, "mall_id", $this->mallId);
73
		$this->setUserParam($params, "order_sn", $this->orderSn);
74
		$this->setUserParam($params, "order_status", $this->orderStatus);
75
		$this->setUserParam($params, "page", $this->page);
76
		$this->setUserParam($params, "page_size", $this->pageSize);
77
		$this->setUserParam($params, "pay_time_end", $this->payTimeEnd);
78
		$this->setUserParam($params, "pay_time_start", $this->payTimeStart);
79
		$this->setUserParam($params, "sku_id", $this->skuId);
80
		$this->setUserParam($params, "refund_status", $this->refundStatus);
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.vas.order.search";
97
	}
98
99
	public function setCreateTimeEnd($createTimeEnd)
100
	{
101
		$this->createTimeEnd = $createTimeEnd;
102
	}
103
104
	public function setCreateTimeStart($createTimeStart)
105
	{
106
		$this->createTimeStart = $createTimeStart;
107
	}
108
109
	public function setMallId($mallId)
110
	{
111
		$this->mallId = $mallId;
112
	}
113
114
	public function setOrderSn($orderSn)
115
	{
116
		$this->orderSn = $orderSn;
117
	}
118
119
	public function setOrderStatus($orderStatus)
120
	{
121
		$this->orderStatus = $orderStatus;
122
	}
123
124
	public function setPage($page)
125
	{
126
		$this->page = $page;
127
	}
128
129
	public function setPageSize($pageSize)
130
	{
131
		$this->pageSize = $pageSize;
132
	}
133
134
	public function setPayTimeEnd($payTimeEnd)
135
	{
136
		$this->payTimeEnd = $payTimeEnd;
137
	}
138
139
	public function setPayTimeStart($payTimeStart)
140
	{
141
		$this->payTimeStart = $payTimeStart;
142
	}
143
144
	public function setSkuId($skuId)
145
	{
146
		$this->skuId = $skuId;
147
	}
148
149
	public function setRefundStatus($refundStatus)
150
	{
151
		$this->refundStatus = $refundStatus;
152
	}
153
154
}
155