WlbInventorylogQueryRequest.php
2.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
<?php
/**
* TOP API: taobao.wlb.inventorylog.query request
*
* @author auto create
* @since 1.0, 2012-12-13 16:33:03
*/
class WlbInventorylogQueryRequest
{
/**
* 结束修改时间,小于等于该时间
**/
private $gmtEnd;
/**
* 起始修改时间,大于等于该时间
**/
private $gmtStart;
/**
* 商品ID
**/
private $itemId;
/**
* 库存操作作类型(可以为空)
CHU_KU 1-出库
RU_KU 2-入库
FREEZE 3-冻结
THAW 4-解冻
CHECK_FREEZE 5-冻结确认
CHANGE_KU 6-库存类型变更
若值不在范围内,则按CHU_KU处理
**/
private $opType;
/**
* 可指定授权的用户来查询
**/
private $opUserId;
/**
* 单号
**/
private $orderCode;
/**
* 当前页
**/
private $pageNo;
/**
* 分页记录个数
**/
private $pageSize;
/**
* 仓库编码
**/
private $storeCode;
private $apiParas = array();
public function setGmtEnd($gmtEnd)
{
$this->gmtEnd = $gmtEnd;
$this->apiParas["gmt_end"] = $gmtEnd;
}
public function getGmtEnd()
{
return $this->gmtEnd;
}
public function setGmtStart($gmtStart)
{
$this->gmtStart = $gmtStart;
$this->apiParas["gmt_start"] = $gmtStart;
}
public function getGmtStart()
{
return $this->gmtStart;
}
public function setItemId($itemId)
{
$this->itemId = $itemId;
$this->apiParas["item_id"] = $itemId;
}
public function getItemId()
{
return $this->itemId;
}
public function setOpType($opType)
{
$this->opType = $opType;
$this->apiParas["op_type"] = $opType;
}
public function getOpType()
{
return $this->opType;
}
public function setOpUserId($opUserId)
{
$this->opUserId = $opUserId;
$this->apiParas["op_user_id"] = $opUserId;
}
public function getOpUserId()
{
return $this->opUserId;
}
public function setOrderCode($orderCode)
{
$this->orderCode = $orderCode;
$this->apiParas["order_code"] = $orderCode;
}
public function getOrderCode()
{
return $this->orderCode;
}
public function setPageNo($pageNo)
{
$this->pageNo = $pageNo;
$this->apiParas["page_no"] = $pageNo;
}
public function getPageNo()
{
return $this->pageNo;
}
public function setPageSize($pageSize)
{
$this->pageSize = $pageSize;
$this->apiParas["page_size"] = $pageSize;
}
public function getPageSize()
{
return $this->pageSize;
}
public function setStoreCode($storeCode)
{
$this->storeCode = $storeCode;
$this->apiParas["store_code"] = $storeCode;
}
public function getStoreCode()
{
return $this->storeCode;
}
public function getApiMethodName()
{
return "taobao.wlb.inventorylog.query";
}
public function getApiParas()
{
return $this->apiParas;
}
public function check()
{
}
public function putOtherTextParam($key, $value) {
$this->apiParas[$key] = $value;
$this->$key = $value;
}
}