| 2821 |
chandransh |
1 |
#
|
| 3431 |
rajveer |
2 |
# Autogenerated by Thrift Compiler (0.7.0)
|
| 2821 |
chandransh |
3 |
#
|
|
|
4 |
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
|
|
5 |
#
|
|
|
6 |
|
|
|
7 |
from thrift.Thrift import *
|
| 3376 |
rajveer |
8 |
import shop2020.thriftpy.generic.GenericService
|
| 2821 |
chandransh |
9 |
from ttypes import *
|
|
|
10 |
from thrift.Thrift import TProcessor
|
|
|
11 |
from thrift.transport import TTransport
|
| 3431 |
rajveer |
12 |
from thrift.protocol import TBinaryProtocol, TProtocol
|
| 2821 |
chandransh |
13 |
try:
|
|
|
14 |
from thrift.protocol import fastbinary
|
|
|
15 |
except:
|
|
|
16 |
fastbinary = None
|
|
|
17 |
|
|
|
18 |
|
| 3376 |
rajveer |
19 |
class Iface(shop2020.thriftpy.generic.GenericService.Iface):
|
| 4501 |
mandeep.dh |
20 |
def getInventoryItem(self, serialNumber):
|
| 2832 |
chandransh |
21 |
"""
|
| 4501 |
mandeep.dh |
22 |
Retrieves serialized inventory item given a serial number
|
| 3431 |
rajveer |
23 |
|
| 2832 |
chandransh |
24 |
Parameters:
|
| 4501 |
mandeep.dh |
25 |
- serialNumber
|
| 2832 |
chandransh |
26 |
"""
|
|
|
27 |
pass
|
|
|
28 |
|
| 8565 |
amar.kumar |
29 |
def getNonSeralizedInventoryItem(self, itemNumber, itemId, fulfilmentWarehouseId, billingWarehouseId):
|
| 2821 |
chandransh |
30 |
"""
|
| 5361 |
mandeep.dh |
31 |
Retrieves non-serialized inventory item from a given supplier
|
| 3431 |
rajveer |
32 |
|
| 2821 |
chandransh |
33 |
Parameters:
|
| 5530 |
mandeep.dh |
34 |
- itemNumber
|
| 4501 |
mandeep.dh |
35 |
- itemId
|
| 5530 |
mandeep.dh |
36 |
- fulfilmentWarehouseId
|
| 8565 |
amar.kumar |
37 |
- billingWarehouseId
|
| 2821 |
chandransh |
38 |
"""
|
|
|
39 |
pass
|
|
|
40 |
|
| 7410 |
amar.kumar |
41 |
def scan(self, inventoryItem, type, quantity, billingWarehouseId, transferLotId):
|
| 2821 |
chandransh |
42 |
"""
|
| 4501 |
mandeep.dh |
43 |
Scan non-serialized items.
|
| 3431 |
rajveer |
44 |
|
| 2821 |
chandransh |
45 |
Parameters:
|
| 5361 |
mandeep.dh |
46 |
- inventoryItem
|
| 2821 |
chandransh |
47 |
- type
|
| 4501 |
mandeep.dh |
48 |
- quantity
|
| 5361 |
mandeep.dh |
49 |
- billingWarehouseId
|
| 7410 |
amar.kumar |
50 |
- transferLotId
|
| 2821 |
chandransh |
51 |
"""
|
|
|
52 |
pass
|
|
|
53 |
|
| 10489 |
amar.kumar |
54 |
def genericScan(self, inventoryItem, scan):
|
|
|
55 |
"""
|
|
|
56 |
Scan non-serialized items.
|
|
|
57 |
|
|
|
58 |
Parameters:
|
|
|
59 |
- inventoryItem
|
|
|
60 |
- scan
|
|
|
61 |
"""
|
|
|
62 |
pass
|
|
|
63 |
|
| 5110 |
mandeep.dh |
64 |
def scanSerializedItemForOrder(self, serialNumber, type, orderId, fulfilmentWarehouseId, quantity, billingWarehouseId):
|
| 4501 |
mandeep.dh |
65 |
"""
|
|
|
66 |
Scan serialized items linked with an order. Returns its price.
|
| 2821 |
chandransh |
67 |
|
| 4501 |
mandeep.dh |
68 |
Parameters:
|
| 4555 |
mandeep.dh |
69 |
- serialNumber
|
| 4501 |
mandeep.dh |
70 |
- type
|
|
|
71 |
- orderId
|
| 5110 |
mandeep.dh |
72 |
- fulfilmentWarehouseId
|
|
|
73 |
- quantity
|
|
|
74 |
- billingWarehouseId
|
| 4501 |
mandeep.dh |
75 |
"""
|
|
|
76 |
pass
|
|
|
77 |
|
| 5361 |
mandeep.dh |
78 |
def scanForOrder(self, inventoryItem, type, quantity, orderId, fulfilmentWarehouseId, billingWarehouseId):
|
| 4501 |
mandeep.dh |
79 |
"""
|
|
|
80 |
Scan non-serialized items linked with an order.
|
|
|
81 |
|
|
|
82 |
Parameters:
|
| 5361 |
mandeep.dh |
83 |
- inventoryItem
|
| 4501 |
mandeep.dh |
84 |
- type
|
|
|
85 |
- quantity
|
|
|
86 |
- orderId
|
| 5110 |
mandeep.dh |
87 |
- fulfilmentWarehouseId
|
| 5361 |
mandeep.dh |
88 |
- billingWarehouseId
|
| 4501 |
mandeep.dh |
89 |
"""
|
|
|
90 |
pass
|
|
|
91 |
|
|
|
92 |
def createItemNumberMapping(self, itemNumber, itemId):
|
|
|
93 |
"""
|
|
|
94 |
Created item number to item id mapping
|
|
|
95 |
|
|
|
96 |
Parameters:
|
|
|
97 |
- itemNumber
|
|
|
98 |
- itemId
|
|
|
99 |
"""
|
|
|
100 |
pass
|
|
|
101 |
|
| 4620 |
amit.gupta |
102 |
def getItemNumbers(self, itemId):
|
|
|
103 |
"""
|
|
|
104 |
Get itemNumber mappings for itemId
|
| 4501 |
mandeep.dh |
105 |
|
| 4620 |
amit.gupta |
106 |
Parameters:
|
|
|
107 |
- itemId
|
|
|
108 |
"""
|
|
|
109 |
pass
|
|
|
110 |
|
| 5110 |
mandeep.dh |
111 |
def getItemIds(self, itemNumber):
|
|
|
112 |
"""
|
|
|
113 |
Gets item ids for a given item number
|
| 4620 |
amit.gupta |
114 |
|
| 5110 |
mandeep.dh |
115 |
Parameters:
|
|
|
116 |
- itemNumber
|
|
|
117 |
"""
|
|
|
118 |
pass
|
|
|
119 |
|
| 5185 |
mandeep.dh |
120 |
def getInventoryItemsFromLastScanType(self, lastScanType):
|
|
|
121 |
"""
|
|
|
122 |
Retrieves all inventory items given a last scan type
|
| 5110 |
mandeep.dh |
123 |
|
| 5185 |
mandeep.dh |
124 |
Parameters:
|
|
|
125 |
- lastScanType
|
|
|
126 |
"""
|
|
|
127 |
pass
|
|
|
128 |
|
|
|
129 |
def getInventoryItemFromId(self, inventoryItemId):
|
|
|
130 |
"""
|
|
|
131 |
Retrieves inventory item given a inventoryItem id
|
|
|
132 |
|
|
|
133 |
Parameters:
|
|
|
134 |
- inventoryItemId
|
|
|
135 |
"""
|
|
|
136 |
pass
|
|
|
137 |
|
| 5372 |
mandeep.dh |
138 |
def getPurchaseScans(self, startDate, endDate):
|
|
|
139 |
"""
|
|
|
140 |
Returns the purchase scans grouped by items for Purchase register reconciliation
|
| 5185 |
mandeep.dh |
141 |
|
| 5372 |
mandeep.dh |
142 |
Parameters:
|
|
|
143 |
- startDate
|
|
|
144 |
- endDate
|
|
|
145 |
"""
|
|
|
146 |
pass
|
|
|
147 |
|
| 7216 |
amar.kumar |
148 |
def getPurchaseScansByGrnDate(self, startDate, endDate):
|
|
|
149 |
"""
|
|
|
150 |
Returns the purchase scans between grn dates grouped by items for Purchase register reconciliation
|
|
|
151 |
|
|
|
152 |
Parameters:
|
|
|
153 |
- startDate
|
|
|
154 |
- endDate
|
|
|
155 |
"""
|
|
|
156 |
pass
|
|
|
157 |
|
| 10407 |
amar.kumar |
158 |
def getEmptyGrnsByDate(self, startDate, endDate):
|
|
|
159 |
"""
|
|
|
160 |
Returns the empty grn-ids between grn dates
|
|
|
161 |
|
|
|
162 |
Parameters:
|
|
|
163 |
- startDate
|
|
|
164 |
- endDate
|
|
|
165 |
"""
|
|
|
166 |
pass
|
|
|
167 |
|
| 5496 |
mandeep.dh |
168 |
def fetchScansPerInvoiceNumber(self, date):
|
|
|
169 |
"""
|
|
|
170 |
Returns the invoices and the count of scans against on a given day.
|
| 5372 |
mandeep.dh |
171 |
|
| 5496 |
mandeep.dh |
172 |
Parameters:
|
|
|
173 |
- date
|
|
|
174 |
"""
|
|
|
175 |
pass
|
|
|
176 |
|
| 5620 |
mandeep.dh |
177 |
def getInventoryItemFromOrder(self, orderId):
|
|
|
178 |
"""
|
|
|
179 |
Returns inventory item for a given order
|
| 5496 |
mandeep.dh |
180 |
|
| 5620 |
mandeep.dh |
181 |
Parameters:
|
|
|
182 |
- orderId
|
|
|
183 |
"""
|
|
|
184 |
pass
|
|
|
185 |
|
| 5711 |
mandeep.dh |
186 |
def getInventoryAge(self, ):
|
|
|
187 |
"""
|
|
|
188 |
Fetches the stock inventory age week-wise
|
|
|
189 |
"""
|
|
|
190 |
pass
|
| 5620 |
mandeep.dh |
191 |
|
| 6361 |
rajveer |
192 |
def getInventoryScansForItem(self, itemId, fromDate, toDate):
|
|
|
193 |
"""
|
|
|
194 |
Fetches the scanRecords for a given item for a given time interval
|
| 5711 |
mandeep.dh |
195 |
|
| 6361 |
rajveer |
196 |
Parameters:
|
|
|
197 |
- itemId
|
|
|
198 |
- fromDate
|
|
|
199 |
- toDate
|
|
|
200 |
"""
|
|
|
201 |
pass
|
|
|
202 |
|
|
|
203 |
def getScanRecordsForSerialNumber(self, serialNumber):
|
|
|
204 |
"""
|
|
|
205 |
Fetches the scanRecords for a given serialNumber for a given time interval
|
|
|
206 |
|
|
|
207 |
Parameters:
|
|
|
208 |
- serialNumber
|
|
|
209 |
"""
|
|
|
210 |
pass
|
|
|
211 |
|
| 7718 |
amar.kumar |
212 |
def scanForPurchaseReturn(self, saleReturnItems, vendorId, billingWarehouseId):
|
| 6467 |
amar.kumar |
213 |
"""
|
| 6630 |
amar.kumar |
214 |
Inserts outgoing scans for Returned Items and updates returnId in InventoryItems
|
| 6361 |
rajveer |
215 |
|
| 6467 |
amar.kumar |
216 |
Parameters:
|
|
|
217 |
- saleReturnItems
|
|
|
218 |
- vendorId
|
| 7718 |
amar.kumar |
219 |
- billingWarehouseId
|
| 6467 |
amar.kumar |
220 |
"""
|
|
|
221 |
pass
|
|
|
222 |
|
| 7718 |
amar.kumar |
223 |
def scanForLostItem(self, lostItems, vendorId, billingWarehouseId):
|
| 6630 |
amar.kumar |
224 |
"""
|
|
|
225 |
Inserts scans for lost Items and updates lastScanType in InventoryItems
|
| 6467 |
amar.kumar |
226 |
|
| 6630 |
amar.kumar |
227 |
Parameters:
|
|
|
228 |
- lostItems
|
|
|
229 |
- vendorId
|
| 7718 |
amar.kumar |
230 |
- billingWarehouseId
|
| 6630 |
amar.kumar |
231 |
"""
|
|
|
232 |
pass
|
|
|
233 |
|
| 7715 |
vikram.rag |
234 |
def getCurrentSerializedInventoryByScans(self, physicalWarehouseId):
|
| 6630 |
amar.kumar |
235 |
"""
|
|
|
236 |
Get inventory count for available Serialized items in our warehouses using entries in ScanNew table
|
| 7715 |
vikram.rag |
237 |
|
|
|
238 |
Parameters:
|
|
|
239 |
- physicalWarehouseId
|
| 6630 |
amar.kumar |
240 |
"""
|
|
|
241 |
pass
|
|
|
242 |
|
| 7715 |
vikram.rag |
243 |
def getCurrentNonSerializedInventoryByScans(self, physicalWarehouseId):
|
| 6630 |
amar.kumar |
244 |
"""
|
|
|
245 |
Get inventory count for available Serialized items in our warehouses using entries in ScanNew table
|
| 7715 |
vikram.rag |
246 |
|
|
|
247 |
Parameters:
|
|
|
248 |
- physicalWarehouseId
|
| 6630 |
amar.kumar |
249 |
"""
|
|
|
250 |
pass
|
|
|
251 |
|
| 6762 |
amar.kumar |
252 |
def getHistoricSerializedInventoryByScans(self, date):
|
|
|
253 |
"""
|
|
|
254 |
Get inventory for Serialized items in our warehouses at a given date using entries in ScanNew table
|
| 6630 |
amar.kumar |
255 |
|
| 6762 |
amar.kumar |
256 |
Parameters:
|
|
|
257 |
- date
|
|
|
258 |
"""
|
|
|
259 |
pass
|
|
|
260 |
|
|
|
261 |
def getHistoricNonSerializedInventoryByScans(self, date):
|
|
|
262 |
"""
|
|
|
263 |
Get inventory for Non Serialized items in our warehouses at a given date using entries in ScanNew table
|
|
|
264 |
|
|
|
265 |
Parameters:
|
|
|
266 |
- date
|
|
|
267 |
"""
|
|
|
268 |
pass
|
|
|
269 |
|
| 10407 |
amar.kumar |
270 |
def getOurHistoricSerializedInventoryByScans(self, date):
|
|
|
271 |
"""
|
|
|
272 |
Get inventory for Serialized items in our warehouses at a given date using entries in ScanNew table
|
|
|
273 |
|
|
|
274 |
Parameters:
|
|
|
275 |
- date
|
|
|
276 |
"""
|
|
|
277 |
pass
|
|
|
278 |
|
|
|
279 |
def getOurHistoricNonSerializedInventoryByScans(self, date):
|
|
|
280 |
"""
|
|
|
281 |
Get inventory for Non Serialized items in our warehouses at a given date using entries in ScanNew table
|
|
|
282 |
|
|
|
283 |
Parameters:
|
|
|
284 |
- date
|
|
|
285 |
"""
|
|
|
286 |
pass
|
|
|
287 |
|
| 7672 |
rajveer |
288 |
def scanForOursExternalSale(self, itemId, serialNumber, itemNumber, invoiceNumber, warehouseId, unitPrice, nlc, orderId):
|
| 6762 |
amar.kumar |
289 |
"""
|
| 6880 |
amar.kumar |
290 |
Insert Purchase/Sale Entries for product billed by Hotspot using OURS_EXTERNAL Billing
|
| 6762 |
amar.kumar |
291 |
|
|
|
292 |
Parameters:
|
|
|
293 |
- itemId
|
|
|
294 |
- serialNumber
|
|
|
295 |
- itemNumber
|
|
|
296 |
- invoiceNumber
|
|
|
297 |
- warehouseId
|
|
|
298 |
- unitPrice
|
| 7672 |
rajveer |
299 |
- nlc
|
| 6762 |
amar.kumar |
300 |
- orderId
|
|
|
301 |
"""
|
|
|
302 |
pass
|
|
|
303 |
|
|
|
304 |
def scanForOursExternalSaleReturn(self, orderId, unitPrice):
|
|
|
305 |
"""
|
| 6880 |
amar.kumar |
306 |
Insert Purchase_Ret/Sale_Ret Entries for product billed by Hotspot using OURS_EXTERNAL Billing
|
| 6762 |
amar.kumar |
307 |
|
|
|
308 |
Parameters:
|
|
|
309 |
- orderId
|
|
|
310 |
- unitPrice
|
|
|
311 |
"""
|
|
|
312 |
pass
|
|
|
313 |
|
| 6880 |
amar.kumar |
314 |
def getMovementNonSerializedInventoryByScans(self, startDate, endDate):
|
|
|
315 |
"""
|
| 10407 |
amar.kumar |
316 |
This returns movement for each non serialized item in the specified window.(Doesn't include Hotspot and Amazon w/h)
|
|
|
317 |
|
| 6880 |
amar.kumar |
318 |
Parameters:
|
|
|
319 |
- startDate
|
|
|
320 |
- endDate
|
|
|
321 |
"""
|
|
|
322 |
pass
|
| 6762 |
amar.kumar |
323 |
|
| 6880 |
amar.kumar |
324 |
def getMovementSerializedInventoryByScans(self, startDate, endDate):
|
|
|
325 |
"""
|
| 10407 |
amar.kumar |
326 |
This returns movement for each serialized item in the specified window.(Doesn't include Hotspot and Amazon w/h)
|
|
|
327 |
|
| 6880 |
amar.kumar |
328 |
Parameters:
|
|
|
329 |
- startDate
|
|
|
330 |
- endDate
|
|
|
331 |
"""
|
|
|
332 |
pass
|
|
|
333 |
|
| 7216 |
amar.kumar |
334 |
def getCompleteMovementSerializedInventoryByScans(self, startDate, endDate):
|
|
|
335 |
"""
|
| 10407 |
amar.kumar |
336 |
This returns movement for each serialized item in the specified window.(Doesn't include Amazon w/h)
|
|
|
337 |
|
| 7216 |
amar.kumar |
338 |
Parameters:
|
|
|
339 |
- startDate
|
|
|
340 |
- endDate
|
|
|
341 |
"""
|
|
|
342 |
pass
|
|
|
343 |
|
|
|
344 |
def getCompleteMovementNonSerializedInventoryByScans(self, startDate, endDate):
|
|
|
345 |
"""
|
| 10407 |
amar.kumar |
346 |
This returns movement for each non serialized item in the specified window.(Doesn't include Amazon w/h)
|
|
|
347 |
|
| 7216 |
amar.kumar |
348 |
Parameters:
|
|
|
349 |
- startDate
|
|
|
350 |
- endDate
|
|
|
351 |
"""
|
|
|
352 |
pass
|
|
|
353 |
|
| 7190 |
amar.kumar |
354 |
def scanfreebie(self, orderId, freebieItemId, freebieWarehouseId, scanType):
|
|
|
355 |
"""
|
|
|
356 |
Parameters:
|
|
|
357 |
- orderId
|
|
|
358 |
- freebieItemId
|
|
|
359 |
- freebieWarehouseId
|
|
|
360 |
- scanType
|
|
|
361 |
"""
|
|
|
362 |
pass
|
| 6880 |
amar.kumar |
363 |
|
| 7199 |
amar.kumar |
364 |
def reshipfreebie(self, oldOrderId, newOrderId, freebieItemId, scanType):
|
|
|
365 |
"""
|
|
|
366 |
Parameters:
|
|
|
367 |
- oldOrderId
|
|
|
368 |
- newOrderId
|
|
|
369 |
- freebieItemId
|
|
|
370 |
- scanType
|
|
|
371 |
"""
|
|
|
372 |
pass
|
| 7190 |
amar.kumar |
373 |
|
| 7410 |
amar.kumar |
374 |
def isItemTransferAllowed(self, warehouseId, transferWarehouseId):
|
|
|
375 |
"""
|
|
|
376 |
Parameters:
|
|
|
377 |
- warehouseId
|
|
|
378 |
- transferWarehouseId
|
|
|
379 |
"""
|
|
|
380 |
pass
|
| 7199 |
amar.kumar |
381 |
|
| 7410 |
amar.kumar |
382 |
def createTransferLot(self, originWarehouseId, destWarehouseId):
|
|
|
383 |
"""
|
|
|
384 |
Parameters:
|
|
|
385 |
- originWarehouseId
|
|
|
386 |
- destWarehouseId
|
|
|
387 |
"""
|
|
|
388 |
pass
|
|
|
389 |
|
|
|
390 |
def getTransferLot(self, transferLotId):
|
|
|
391 |
"""
|
|
|
392 |
Parameters:
|
|
|
393 |
- transferLotId
|
|
|
394 |
"""
|
|
|
395 |
pass
|
|
|
396 |
|
|
|
397 |
def markTransferLotAsReceived(self, id, remoteTransferRefNumber):
|
|
|
398 |
"""
|
|
|
399 |
Parameters:
|
|
|
400 |
- id
|
|
|
401 |
- remoteTransferRefNumber
|
|
|
402 |
"""
|
|
|
403 |
pass
|
|
|
404 |
|
|
|
405 |
def getTransferLotsByDate(self, fromDate, toDate):
|
|
|
406 |
"""
|
|
|
407 |
Parameters:
|
|
|
408 |
- fromDate
|
|
|
409 |
- toDate
|
|
|
410 |
"""
|
|
|
411 |
pass
|
|
|
412 |
|
|
|
413 |
def getAllowedDestinationWarehousesForTransfer(self, warehouseId):
|
|
|
414 |
"""
|
|
|
415 |
Parameters:
|
|
|
416 |
- warehouseId
|
|
|
417 |
"""
|
|
|
418 |
pass
|
|
|
419 |
|
|
|
420 |
def getItemsInTransferLot(self, transferLotId):
|
|
|
421 |
"""
|
|
|
422 |
Parameters:
|
|
|
423 |
- transferLotId
|
|
|
424 |
"""
|
|
|
425 |
pass
|
|
|
426 |
|
|
|
427 |
def markItemsAsReceivedForTransferLot(self, id):
|
|
|
428 |
"""
|
|
|
429 |
Parameters:
|
|
|
430 |
- id
|
|
|
431 |
"""
|
|
|
432 |
pass
|
|
|
433 |
|
|
|
434 |
def updateTransferLotAfterItemReceive(self, id):
|
|
|
435 |
"""
|
|
|
436 |
Parameters:
|
|
|
437 |
- id
|
|
|
438 |
"""
|
|
|
439 |
pass
|
|
|
440 |
|
| 7459 |
amar.kumar |
441 |
def scanForTransferOut(self, inventoryItems, type, transferLotId):
|
| 7410 |
amar.kumar |
442 |
"""
|
|
|
443 |
Parameters:
|
|
|
444 |
- inventoryItems
|
|
|
445 |
- type
|
|
|
446 |
- transferLotId
|
|
|
447 |
"""
|
|
|
448 |
pass
|
|
|
449 |
|
| 7459 |
amar.kumar |
450 |
def scanForTransferIn(self, inventoryItems, type, transferLotId):
|
|
|
451 |
"""
|
|
|
452 |
Parameters:
|
|
|
453 |
- inventoryItems
|
|
|
454 |
- type
|
|
|
455 |
- transferLotId
|
|
|
456 |
"""
|
|
|
457 |
pass
|
| 7410 |
amar.kumar |
458 |
|
| 7459 |
amar.kumar |
459 |
def scanForOursThirdPartyReceive(self, inventoryItems, id):
|
|
|
460 |
"""
|
|
|
461 |
Parameters:
|
|
|
462 |
- inventoryItems
|
|
|
463 |
- id
|
|
|
464 |
"""
|
|
|
465 |
pass
|
|
|
466 |
|
| 7574 |
amar.kumar |
467 |
def getCurrentQuantityForNonSerializedInTransitItemInPhysicalWarehouse(self, itemId, physicalWarehouseId):
|
|
|
468 |
"""
|
|
|
469 |
Parameters:
|
|
|
470 |
- itemId
|
|
|
471 |
- physicalWarehouseId
|
|
|
472 |
"""
|
|
|
473 |
pass
|
| 7459 |
amar.kumar |
474 |
|
| 7672 |
rajveer |
475 |
def getInTransitInventory(self, originWarehouseId):
|
|
|
476 |
"""
|
|
|
477 |
Parameters:
|
|
|
478 |
- originWarehouseId
|
|
|
479 |
"""
|
|
|
480 |
pass
|
| 7574 |
amar.kumar |
481 |
|
| 7968 |
amar.kumar |
482 |
def isItemAvailableForSale(self, itemId, serialNumber, warehouseId):
|
|
|
483 |
"""
|
|
|
484 |
Parameters:
|
|
|
485 |
- itemId
|
|
|
486 |
- serialNumber
|
|
|
487 |
- warehouseId
|
|
|
488 |
"""
|
|
|
489 |
pass
|
| 7672 |
rajveer |
490 |
|
| 7968 |
amar.kumar |
491 |
def getHistoricBadInventoryByScans(self, date):
|
|
|
492 |
"""
|
|
|
493 |
Get inventory for Non Serialized items in our warehouses at a given date using entries in ScanNew table
|
|
|
494 |
|
|
|
495 |
Parameters:
|
|
|
496 |
- date
|
|
|
497 |
"""
|
|
|
498 |
pass
|
|
|
499 |
|
| 8717 |
amar.kumar |
500 |
def scanForBadSale(self, serialNumber, itemNumber, itemId, orderId, fulfilmentWarehouseId, quantity, billingWarehouseId):
|
| 8565 |
amar.kumar |
501 |
"""
|
|
|
502 |
Parameters:
|
| 8717 |
amar.kumar |
503 |
- serialNumber
|
|
|
504 |
- itemNumber
|
|
|
505 |
- itemId
|
| 8565 |
amar.kumar |
506 |
- orderId
|
| 8717 |
amar.kumar |
507 |
- fulfilmentWarehouseId
|
| 8565 |
amar.kumar |
508 |
- quantity
|
|
|
509 |
- billingWarehouseId
|
|
|
510 |
"""
|
|
|
511 |
pass
|
| 7968 |
amar.kumar |
512 |
|
| 10120 |
manish.sha |
513 |
def getTransferLotItemsForMarkReceive(self, transferLotId, scanType):
|
|
|
514 |
"""
|
|
|
515 |
Parameters:
|
|
|
516 |
- transferLotId
|
|
|
517 |
- scanType
|
|
|
518 |
"""
|
|
|
519 |
pass
|
| 8565 |
amar.kumar |
520 |
|
| 10120 |
manish.sha |
521 |
def markItemsAsReceivedForTransferLotPartial(self, inventoryItems, transferLotId):
|
|
|
522 |
"""
|
|
|
523 |
Parameters:
|
|
|
524 |
- inventoryItems
|
|
|
525 |
- transferLotId
|
|
|
526 |
"""
|
|
|
527 |
pass
|
|
|
528 |
|
|
|
529 |
def markTransferLotAsReceivedPartial(self, id, remoteTransferRefNumber):
|
|
|
530 |
"""
|
|
|
531 |
Parameters:
|
|
|
532 |
- id
|
|
|
533 |
- remoteTransferRefNumber
|
|
|
534 |
"""
|
|
|
535 |
pass
|
|
|
536 |
|
| 10690 |
manish.sha |
537 |
def getInventoryItemScannedInForPO(self, itemId, purchaseIds):
|
|
|
538 |
"""
|
|
|
539 |
Parameters:
|
|
|
540 |
- itemId
|
|
|
541 |
- purchaseIds
|
|
|
542 |
"""
|
|
|
543 |
pass
|
| 10120 |
manish.sha |
544 |
|
| 10690 |
manish.sha |
545 |
def getAmazonTransferredSkuDetails(self, itemIds):
|
|
|
546 |
"""
|
|
|
547 |
Parameters:
|
|
|
548 |
- itemIds
|
|
|
549 |
"""
|
|
|
550 |
pass
|
|
|
551 |
|
|
|
552 |
def getScansforPurchase(self, purchaseId, scanType):
|
|
|
553 |
"""
|
|
|
554 |
Parameters:
|
|
|
555 |
- purchaseId
|
|
|
556 |
- scanType
|
|
|
557 |
"""
|
|
|
558 |
pass
|
|
|
559 |
|
| 10864 |
manish.sha |
560 |
def getCurrentBadQuantityForItem(self, itemId, currentWarehouseId, physicalWarehouseId):
|
|
|
561 |
"""
|
|
|
562 |
Parameters:
|
|
|
563 |
- itemId
|
|
|
564 |
- currentWarehouseId
|
|
|
565 |
- physicalWarehouseId
|
|
|
566 |
"""
|
|
|
567 |
pass
|
| 10690 |
manish.sha |
568 |
|
| 10864 |
manish.sha |
569 |
def scanForBadPurchaseReturn(self, saleReturnItems, vendorId, billingWarehouseId):
|
|
|
570 |
"""
|
|
|
571 |
Parameters:
|
|
|
572 |
- saleReturnItems
|
|
|
573 |
- vendorId
|
|
|
574 |
- billingWarehouseId
|
|
|
575 |
"""
|
|
|
576 |
pass
|
|
|
577 |
|
| 13504 |
manish.sha |
578 |
def getItemsInPurchaseReturn(self, purchaseReturnId, type, returnTime):
|
| 10864 |
manish.sha |
579 |
"""
|
|
|
580 |
Parameters:
|
|
|
581 |
- purchaseReturnId
|
| 11751 |
manish.sha |
582 |
- type
|
| 13504 |
manish.sha |
583 |
- returnTime
|
| 10864 |
manish.sha |
584 |
"""
|
|
|
585 |
pass
|
|
|
586 |
|
| 10886 |
manish.sha |
587 |
def getScansForInventoryItem(self, inventoryItemId, type):
|
|
|
588 |
"""
|
|
|
589 |
Parameters:
|
|
|
590 |
- inventoryItemId
|
|
|
591 |
- type
|
|
|
592 |
"""
|
|
|
593 |
pass
|
| 10864 |
manish.sha |
594 |
|
| 12531 |
manish.sha |
595 |
def checkGrnImeiStatus(self, imeiNos):
|
|
|
596 |
"""
|
|
|
597 |
Parameters:
|
|
|
598 |
- imeiNos
|
|
|
599 |
"""
|
|
|
600 |
pass
|
| 10886 |
manish.sha |
601 |
|
| 12800 |
manish.sha |
602 |
def getInventoryAgeConsideredItems(self, itemId):
|
|
|
603 |
"""
|
|
|
604 |
Parameters:
|
|
|
605 |
- itemId
|
|
|
606 |
"""
|
|
|
607 |
pass
|
| 12531 |
manish.sha |
608 |
|
| 13529 |
manish.sha |
609 |
def getCompleteMovementForThirdPartyWarehouse(self, startDate, endDate):
|
|
|
610 |
"""
|
|
|
611 |
Parameters:
|
|
|
612 |
- startDate
|
|
|
613 |
- endDate
|
|
|
614 |
"""
|
|
|
615 |
pass
|
| 12800 |
manish.sha |
616 |
|
| 14491 |
manish.sha |
617 |
def getAllDoaOutInventoryItems(self, ):
|
|
|
618 |
pass
|
| 13529 |
manish.sha |
619 |
|
| 15045 |
manish.sha |
620 |
def getAllUnCompletedStockShipments(self, source):
|
|
|
621 |
"""
|
|
|
622 |
Parameters:
|
|
|
623 |
- source
|
|
|
624 |
"""
|
|
|
625 |
pass
|
| 14491 |
manish.sha |
626 |
|
| 15045 |
manish.sha |
627 |
def getRemovalStockShipmentReferenceById(self, id):
|
|
|
628 |
"""
|
|
|
629 |
Parameters:
|
|
|
630 |
- id
|
|
|
631 |
"""
|
|
|
632 |
pass
|
|
|
633 |
|
|
|
634 |
def createRemovalStockShipmentReference(self, removalStockShipmentReference):
|
|
|
635 |
"""
|
|
|
636 |
Parameters:
|
|
|
637 |
- removalStockShipmentReference
|
|
|
638 |
"""
|
|
|
639 |
pass
|
|
|
640 |
|
|
|
641 |
def updateShipmentReferenceTransferLot(self, transferLotId, shipmentReferenceId):
|
|
|
642 |
"""
|
|
|
643 |
Parameters:
|
|
|
644 |
- transferLotId
|
|
|
645 |
- shipmentReferenceId
|
|
|
646 |
"""
|
|
|
647 |
pass
|
|
|
648 |
|
| 16264 |
manish.sha |
649 |
def fetchScansPerTransferInvoiceNumber(self, date):
|
|
|
650 |
"""
|
|
|
651 |
Returns the shipment references and the count of scans against on a given day.
|
| 15045 |
manish.sha |
652 |
|
| 16264 |
manish.sha |
653 |
Parameters:
|
|
|
654 |
- date
|
|
|
655 |
"""
|
|
|
656 |
pass
|
|
|
657 |
|
| 21619 |
amit.gupta |
658 |
def getInventoryItems(self, serialNumbers):
|
|
|
659 |
"""
|
|
|
660 |
Parameters:
|
|
|
661 |
- serialNumbers
|
|
|
662 |
"""
|
|
|
663 |
pass
|
| 16264 |
manish.sha |
664 |
|
| 21619 |
amit.gupta |
665 |
def getInventoryItemsBySerailNumbers(self, serialNumbers):
|
|
|
666 |
"""
|
|
|
667 |
Parameters:
|
|
|
668 |
- serialNumbers
|
|
|
669 |
"""
|
|
|
670 |
pass
|
|
|
671 |
|
|
|
672 |
def scanPurchaseBulk(self, inventoryItems):
|
|
|
673 |
"""
|
|
|
674 |
Parameters:
|
|
|
675 |
- inventoryItems
|
|
|
676 |
"""
|
|
|
677 |
pass
|
|
|
678 |
|
|
|
679 |
|
| 3376 |
rajveer |
680 |
class Client(shop2020.thriftpy.generic.GenericService.Client, Iface):
|
| 2821 |
chandransh |
681 |
def __init__(self, iprot, oprot=None):
|
| 3376 |
rajveer |
682 |
shop2020.thriftpy.generic.GenericService.Client.__init__(self, iprot, oprot)
|
| 2821 |
chandransh |
683 |
|
| 4501 |
mandeep.dh |
684 |
def getInventoryItem(self, serialNumber):
|
| 2832 |
chandransh |
685 |
"""
|
| 4501 |
mandeep.dh |
686 |
Retrieves serialized inventory item given a serial number
|
| 3431 |
rajveer |
687 |
|
| 2832 |
chandransh |
688 |
Parameters:
|
| 4501 |
mandeep.dh |
689 |
- serialNumber
|
| 2832 |
chandransh |
690 |
"""
|
| 4501 |
mandeep.dh |
691 |
self.send_getInventoryItem(serialNumber)
|
|
|
692 |
return self.recv_getInventoryItem()
|
| 2832 |
chandransh |
693 |
|
| 4501 |
mandeep.dh |
694 |
def send_getInventoryItem(self, serialNumber):
|
|
|
695 |
self._oprot.writeMessageBegin('getInventoryItem', TMessageType.CALL, self._seqid)
|
|
|
696 |
args = getInventoryItem_args()
|
|
|
697 |
args.serialNumber = serialNumber
|
| 2832 |
chandransh |
698 |
args.write(self._oprot)
|
|
|
699 |
self._oprot.writeMessageEnd()
|
|
|
700 |
self._oprot.trans.flush()
|
|
|
701 |
|
| 4501 |
mandeep.dh |
702 |
def recv_getInventoryItem(self, ):
|
| 2832 |
chandransh |
703 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
704 |
if mtype == TMessageType.EXCEPTION:
|
|
|
705 |
x = TApplicationException()
|
|
|
706 |
x.read(self._iprot)
|
|
|
707 |
self._iprot.readMessageEnd()
|
|
|
708 |
raise x
|
| 4501 |
mandeep.dh |
709 |
result = getInventoryItem_result()
|
| 2832 |
chandransh |
710 |
result.read(self._iprot)
|
|
|
711 |
self._iprot.readMessageEnd()
|
| 3431 |
rajveer |
712 |
if result.success is not None:
|
| 2832 |
chandransh |
713 |
return result.success
|
| 4541 |
mandeep.dh |
714 |
if result.wex is not None:
|
|
|
715 |
raise result.wex
|
| 4501 |
mandeep.dh |
716 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "getInventoryItem failed: unknown result");
|
| 2832 |
chandransh |
717 |
|
| 8565 |
amar.kumar |
718 |
def getNonSeralizedInventoryItem(self, itemNumber, itemId, fulfilmentWarehouseId, billingWarehouseId):
|
| 2821 |
chandransh |
719 |
"""
|
| 5361 |
mandeep.dh |
720 |
Retrieves non-serialized inventory item from a given supplier
|
| 3431 |
rajveer |
721 |
|
| 2821 |
chandransh |
722 |
Parameters:
|
| 5530 |
mandeep.dh |
723 |
- itemNumber
|
| 4501 |
mandeep.dh |
724 |
- itemId
|
| 5530 |
mandeep.dh |
725 |
- fulfilmentWarehouseId
|
| 8565 |
amar.kumar |
726 |
- billingWarehouseId
|
| 2821 |
chandransh |
727 |
"""
|
| 8565 |
amar.kumar |
728 |
self.send_getNonSeralizedInventoryItem(itemNumber, itemId, fulfilmentWarehouseId, billingWarehouseId)
|
| 5361 |
mandeep.dh |
729 |
return self.recv_getNonSeralizedInventoryItem()
|
| 2821 |
chandransh |
730 |
|
| 8565 |
amar.kumar |
731 |
def send_getNonSeralizedInventoryItem(self, itemNumber, itemId, fulfilmentWarehouseId, billingWarehouseId):
|
| 5361 |
mandeep.dh |
732 |
self._oprot.writeMessageBegin('getNonSeralizedInventoryItem', TMessageType.CALL, self._seqid)
|
|
|
733 |
args = getNonSeralizedInventoryItem_args()
|
| 5530 |
mandeep.dh |
734 |
args.itemNumber = itemNumber
|
| 4501 |
mandeep.dh |
735 |
args.itemId = itemId
|
| 5530 |
mandeep.dh |
736 |
args.fulfilmentWarehouseId = fulfilmentWarehouseId
|
| 8565 |
amar.kumar |
737 |
args.billingWarehouseId = billingWarehouseId
|
| 2821 |
chandransh |
738 |
args.write(self._oprot)
|
|
|
739 |
self._oprot.writeMessageEnd()
|
|
|
740 |
self._oprot.trans.flush()
|
|
|
741 |
|
| 5361 |
mandeep.dh |
742 |
def recv_getNonSeralizedInventoryItem(self, ):
|
| 2821 |
chandransh |
743 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
744 |
if mtype == TMessageType.EXCEPTION:
|
|
|
745 |
x = TApplicationException()
|
|
|
746 |
x.read(self._iprot)
|
|
|
747 |
self._iprot.readMessageEnd()
|
|
|
748 |
raise x
|
| 5361 |
mandeep.dh |
749 |
result = getNonSeralizedInventoryItem_result()
|
| 2821 |
chandransh |
750 |
result.read(self._iprot)
|
|
|
751 |
self._iprot.readMessageEnd()
|
| 3431 |
rajveer |
752 |
if result.success is not None:
|
| 2821 |
chandransh |
753 |
return result.success
|
| 5361 |
mandeep.dh |
754 |
if result.wex is not None:
|
|
|
755 |
raise result.wex
|
|
|
756 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "getNonSeralizedInventoryItem failed: unknown result");
|
| 2821 |
chandransh |
757 |
|
| 7410 |
amar.kumar |
758 |
def scan(self, inventoryItem, type, quantity, billingWarehouseId, transferLotId):
|
| 3383 |
chandransh |
759 |
"""
|
| 4501 |
mandeep.dh |
760 |
Scan non-serialized items.
|
| 3431 |
rajveer |
761 |
|
| 2821 |
chandransh |
762 |
Parameters:
|
| 5361 |
mandeep.dh |
763 |
- inventoryItem
|
| 2821 |
chandransh |
764 |
- type
|
| 4501 |
mandeep.dh |
765 |
- quantity
|
| 5361 |
mandeep.dh |
766 |
- billingWarehouseId
|
| 7410 |
amar.kumar |
767 |
- transferLotId
|
| 2821 |
chandransh |
768 |
"""
|
| 7410 |
amar.kumar |
769 |
self.send_scan(inventoryItem, type, quantity, billingWarehouseId, transferLotId)
|
| 4501 |
mandeep.dh |
770 |
self.recv_scan()
|
| 2821 |
chandransh |
771 |
|
| 7410 |
amar.kumar |
772 |
def send_scan(self, inventoryItem, type, quantity, billingWarehouseId, transferLotId):
|
| 4501 |
mandeep.dh |
773 |
self._oprot.writeMessageBegin('scan', TMessageType.CALL, self._seqid)
|
|
|
774 |
args = scan_args()
|
| 5361 |
mandeep.dh |
775 |
args.inventoryItem = inventoryItem
|
| 2821 |
chandransh |
776 |
args.type = type
|
| 4501 |
mandeep.dh |
777 |
args.quantity = quantity
|
| 5361 |
mandeep.dh |
778 |
args.billingWarehouseId = billingWarehouseId
|
| 7410 |
amar.kumar |
779 |
args.transferLotId = transferLotId
|
| 2821 |
chandransh |
780 |
args.write(self._oprot)
|
|
|
781 |
self._oprot.writeMessageEnd()
|
|
|
782 |
self._oprot.trans.flush()
|
|
|
783 |
|
| 4501 |
mandeep.dh |
784 |
def recv_scan(self, ):
|
| 2821 |
chandransh |
785 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
786 |
if mtype == TMessageType.EXCEPTION:
|
|
|
787 |
x = TApplicationException()
|
|
|
788 |
x.read(self._iprot)
|
|
|
789 |
self._iprot.readMessageEnd()
|
|
|
790 |
raise x
|
| 4501 |
mandeep.dh |
791 |
result = scan_result()
|
| 2821 |
chandransh |
792 |
result.read(self._iprot)
|
|
|
793 |
self._iprot.readMessageEnd()
|
| 3431 |
rajveer |
794 |
if result.wex is not None:
|
| 2821 |
chandransh |
795 |
raise result.wex
|
|
|
796 |
return
|
|
|
797 |
|
| 10489 |
amar.kumar |
798 |
def genericScan(self, inventoryItem, scan):
|
|
|
799 |
"""
|
|
|
800 |
Scan non-serialized items.
|
|
|
801 |
|
|
|
802 |
Parameters:
|
|
|
803 |
- inventoryItem
|
|
|
804 |
- scan
|
|
|
805 |
"""
|
|
|
806 |
self.send_genericScan(inventoryItem, scan)
|
|
|
807 |
self.recv_genericScan()
|
|
|
808 |
|
|
|
809 |
def send_genericScan(self, inventoryItem, scan):
|
|
|
810 |
self._oprot.writeMessageBegin('genericScan', TMessageType.CALL, self._seqid)
|
|
|
811 |
args = genericScan_args()
|
|
|
812 |
args.inventoryItem = inventoryItem
|
|
|
813 |
args.scan = scan
|
|
|
814 |
args.write(self._oprot)
|
|
|
815 |
self._oprot.writeMessageEnd()
|
|
|
816 |
self._oprot.trans.flush()
|
|
|
817 |
|
|
|
818 |
def recv_genericScan(self, ):
|
|
|
819 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
820 |
if mtype == TMessageType.EXCEPTION:
|
|
|
821 |
x = TApplicationException()
|
|
|
822 |
x.read(self._iprot)
|
|
|
823 |
self._iprot.readMessageEnd()
|
|
|
824 |
raise x
|
|
|
825 |
result = genericScan_result()
|
|
|
826 |
result.read(self._iprot)
|
|
|
827 |
self._iprot.readMessageEnd()
|
|
|
828 |
if result.wex is not None:
|
|
|
829 |
raise result.wex
|
|
|
830 |
return
|
|
|
831 |
|
| 5110 |
mandeep.dh |
832 |
def scanSerializedItemForOrder(self, serialNumber, type, orderId, fulfilmentWarehouseId, quantity, billingWarehouseId):
|
| 2821 |
chandransh |
833 |
"""
|
| 4501 |
mandeep.dh |
834 |
Scan serialized items linked with an order. Returns its price.
|
| 3431 |
rajveer |
835 |
|
| 2821 |
chandransh |
836 |
Parameters:
|
| 4555 |
mandeep.dh |
837 |
- serialNumber
|
| 2821 |
chandransh |
838 |
- type
|
| 4501 |
mandeep.dh |
839 |
- orderId
|
| 5110 |
mandeep.dh |
840 |
- fulfilmentWarehouseId
|
|
|
841 |
- quantity
|
|
|
842 |
- billingWarehouseId
|
| 2821 |
chandransh |
843 |
"""
|
| 5110 |
mandeep.dh |
844 |
self.send_scanSerializedItemForOrder(serialNumber, type, orderId, fulfilmentWarehouseId, quantity, billingWarehouseId)
|
| 4501 |
mandeep.dh |
845 |
return self.recv_scanSerializedItemForOrder()
|
| 2821 |
chandransh |
846 |
|
| 5110 |
mandeep.dh |
847 |
def send_scanSerializedItemForOrder(self, serialNumber, type, orderId, fulfilmentWarehouseId, quantity, billingWarehouseId):
|
| 4501 |
mandeep.dh |
848 |
self._oprot.writeMessageBegin('scanSerializedItemForOrder', TMessageType.CALL, self._seqid)
|
|
|
849 |
args = scanSerializedItemForOrder_args()
|
| 4555 |
mandeep.dh |
850 |
args.serialNumber = serialNumber
|
| 2821 |
chandransh |
851 |
args.type = type
|
| 4501 |
mandeep.dh |
852 |
args.orderId = orderId
|
| 5110 |
mandeep.dh |
853 |
args.fulfilmentWarehouseId = fulfilmentWarehouseId
|
|
|
854 |
args.quantity = quantity
|
|
|
855 |
args.billingWarehouseId = billingWarehouseId
|
| 2821 |
chandransh |
856 |
args.write(self._oprot)
|
|
|
857 |
self._oprot.writeMessageEnd()
|
|
|
858 |
self._oprot.trans.flush()
|
|
|
859 |
|
| 4501 |
mandeep.dh |
860 |
def recv_scanSerializedItemForOrder(self, ):
|
| 2821 |
chandransh |
861 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
862 |
if mtype == TMessageType.EXCEPTION:
|
|
|
863 |
x = TApplicationException()
|
|
|
864 |
x.read(self._iprot)
|
|
|
865 |
self._iprot.readMessageEnd()
|
|
|
866 |
raise x
|
| 4501 |
mandeep.dh |
867 |
result = scanSerializedItemForOrder_result()
|
| 2821 |
chandransh |
868 |
result.read(self._iprot)
|
|
|
869 |
self._iprot.readMessageEnd()
|
| 4501 |
mandeep.dh |
870 |
if result.success is not None:
|
|
|
871 |
return result.success
|
| 3431 |
rajveer |
872 |
if result.wex is not None:
|
| 2821 |
chandransh |
873 |
raise result.wex
|
| 4501 |
mandeep.dh |
874 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "scanSerializedItemForOrder failed: unknown result");
|
|
|
875 |
|
| 5361 |
mandeep.dh |
876 |
def scanForOrder(self, inventoryItem, type, quantity, orderId, fulfilmentWarehouseId, billingWarehouseId):
|
| 4501 |
mandeep.dh |
877 |
"""
|
|
|
878 |
Scan non-serialized items linked with an order.
|
|
|
879 |
|
|
|
880 |
Parameters:
|
| 5361 |
mandeep.dh |
881 |
- inventoryItem
|
| 4501 |
mandeep.dh |
882 |
- type
|
|
|
883 |
- quantity
|
|
|
884 |
- orderId
|
| 5110 |
mandeep.dh |
885 |
- fulfilmentWarehouseId
|
| 5361 |
mandeep.dh |
886 |
- billingWarehouseId
|
| 4501 |
mandeep.dh |
887 |
"""
|
| 5361 |
mandeep.dh |
888 |
self.send_scanForOrder(inventoryItem, type, quantity, orderId, fulfilmentWarehouseId, billingWarehouseId)
|
|
|
889 |
return self.recv_scanForOrder()
|
| 4501 |
mandeep.dh |
890 |
|
| 5361 |
mandeep.dh |
891 |
def send_scanForOrder(self, inventoryItem, type, quantity, orderId, fulfilmentWarehouseId, billingWarehouseId):
|
| 4501 |
mandeep.dh |
892 |
self._oprot.writeMessageBegin('scanForOrder', TMessageType.CALL, self._seqid)
|
|
|
893 |
args = scanForOrder_args()
|
| 5361 |
mandeep.dh |
894 |
args.inventoryItem = inventoryItem
|
| 4501 |
mandeep.dh |
895 |
args.type = type
|
|
|
896 |
args.quantity = quantity
|
|
|
897 |
args.orderId = orderId
|
| 5110 |
mandeep.dh |
898 |
args.fulfilmentWarehouseId = fulfilmentWarehouseId
|
| 5361 |
mandeep.dh |
899 |
args.billingWarehouseId = billingWarehouseId
|
| 4501 |
mandeep.dh |
900 |
args.write(self._oprot)
|
|
|
901 |
self._oprot.writeMessageEnd()
|
|
|
902 |
self._oprot.trans.flush()
|
|
|
903 |
|
|
|
904 |
def recv_scanForOrder(self, ):
|
|
|
905 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
906 |
if mtype == TMessageType.EXCEPTION:
|
|
|
907 |
x = TApplicationException()
|
|
|
908 |
x.read(self._iprot)
|
|
|
909 |
self._iprot.readMessageEnd()
|
|
|
910 |
raise x
|
|
|
911 |
result = scanForOrder_result()
|
|
|
912 |
result.read(self._iprot)
|
|
|
913 |
self._iprot.readMessageEnd()
|
| 5361 |
mandeep.dh |
914 |
if result.success is not None:
|
|
|
915 |
return result.success
|
| 4501 |
mandeep.dh |
916 |
if result.wex is not None:
|
|
|
917 |
raise result.wex
|
| 5361 |
mandeep.dh |
918 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "scanForOrder failed: unknown result");
|
| 2821 |
chandransh |
919 |
|
| 4501 |
mandeep.dh |
920 |
def createItemNumberMapping(self, itemNumber, itemId):
|
|
|
921 |
"""
|
|
|
922 |
Created item number to item id mapping
|
| 2821 |
chandransh |
923 |
|
| 4501 |
mandeep.dh |
924 |
Parameters:
|
|
|
925 |
- itemNumber
|
|
|
926 |
- itemId
|
|
|
927 |
"""
|
|
|
928 |
self.send_createItemNumberMapping(itemNumber, itemId)
|
|
|
929 |
self.recv_createItemNumberMapping()
|
|
|
930 |
|
|
|
931 |
def send_createItemNumberMapping(self, itemNumber, itemId):
|
|
|
932 |
self._oprot.writeMessageBegin('createItemNumberMapping', TMessageType.CALL, self._seqid)
|
|
|
933 |
args = createItemNumberMapping_args()
|
|
|
934 |
args.itemNumber = itemNumber
|
|
|
935 |
args.itemId = itemId
|
|
|
936 |
args.write(self._oprot)
|
|
|
937 |
self._oprot.writeMessageEnd()
|
|
|
938 |
self._oprot.trans.flush()
|
|
|
939 |
|
|
|
940 |
def recv_createItemNumberMapping(self, ):
|
|
|
941 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
942 |
if mtype == TMessageType.EXCEPTION:
|
|
|
943 |
x = TApplicationException()
|
|
|
944 |
x.read(self._iprot)
|
|
|
945 |
self._iprot.readMessageEnd()
|
|
|
946 |
raise x
|
|
|
947 |
result = createItemNumberMapping_result()
|
|
|
948 |
result.read(self._iprot)
|
|
|
949 |
self._iprot.readMessageEnd()
|
|
|
950 |
return
|
|
|
951 |
|
| 4620 |
amit.gupta |
952 |
def getItemNumbers(self, itemId):
|
|
|
953 |
"""
|
|
|
954 |
Get itemNumber mappings for itemId
|
| 4501 |
mandeep.dh |
955 |
|
| 4620 |
amit.gupta |
956 |
Parameters:
|
|
|
957 |
- itemId
|
|
|
958 |
"""
|
|
|
959 |
self.send_getItemNumbers(itemId)
|
|
|
960 |
return self.recv_getItemNumbers()
|
|
|
961 |
|
|
|
962 |
def send_getItemNumbers(self, itemId):
|
|
|
963 |
self._oprot.writeMessageBegin('getItemNumbers', TMessageType.CALL, self._seqid)
|
|
|
964 |
args = getItemNumbers_args()
|
|
|
965 |
args.itemId = itemId
|
|
|
966 |
args.write(self._oprot)
|
|
|
967 |
self._oprot.writeMessageEnd()
|
|
|
968 |
self._oprot.trans.flush()
|
|
|
969 |
|
|
|
970 |
def recv_getItemNumbers(self, ):
|
|
|
971 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
972 |
if mtype == TMessageType.EXCEPTION:
|
|
|
973 |
x = TApplicationException()
|
|
|
974 |
x.read(self._iprot)
|
|
|
975 |
self._iprot.readMessageEnd()
|
|
|
976 |
raise x
|
|
|
977 |
result = getItemNumbers_result()
|
|
|
978 |
result.read(self._iprot)
|
|
|
979 |
self._iprot.readMessageEnd()
|
|
|
980 |
if result.success is not None:
|
|
|
981 |
return result.success
|
|
|
982 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemNumbers failed: unknown result");
|
|
|
983 |
|
| 5110 |
mandeep.dh |
984 |
def getItemIds(self, itemNumber):
|
|
|
985 |
"""
|
|
|
986 |
Gets item ids for a given item number
|
| 4620 |
amit.gupta |
987 |
|
| 5110 |
mandeep.dh |
988 |
Parameters:
|
|
|
989 |
- itemNumber
|
|
|
990 |
"""
|
|
|
991 |
self.send_getItemIds(itemNumber)
|
|
|
992 |
return self.recv_getItemIds()
|
|
|
993 |
|
|
|
994 |
def send_getItemIds(self, itemNumber):
|
|
|
995 |
self._oprot.writeMessageBegin('getItemIds', TMessageType.CALL, self._seqid)
|
|
|
996 |
args = getItemIds_args()
|
|
|
997 |
args.itemNumber = itemNumber
|
|
|
998 |
args.write(self._oprot)
|
|
|
999 |
self._oprot.writeMessageEnd()
|
|
|
1000 |
self._oprot.trans.flush()
|
|
|
1001 |
|
|
|
1002 |
def recv_getItemIds(self, ):
|
|
|
1003 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
1004 |
if mtype == TMessageType.EXCEPTION:
|
|
|
1005 |
x = TApplicationException()
|
|
|
1006 |
x.read(self._iprot)
|
|
|
1007 |
self._iprot.readMessageEnd()
|
|
|
1008 |
raise x
|
|
|
1009 |
result = getItemIds_result()
|
|
|
1010 |
result.read(self._iprot)
|
|
|
1011 |
self._iprot.readMessageEnd()
|
|
|
1012 |
if result.success is not None:
|
|
|
1013 |
return result.success
|
|
|
1014 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemIds failed: unknown result");
|
|
|
1015 |
|
| 5185 |
mandeep.dh |
1016 |
def getInventoryItemsFromLastScanType(self, lastScanType):
|
|
|
1017 |
"""
|
|
|
1018 |
Retrieves all inventory items given a last scan type
|
| 5110 |
mandeep.dh |
1019 |
|
| 5185 |
mandeep.dh |
1020 |
Parameters:
|
|
|
1021 |
- lastScanType
|
|
|
1022 |
"""
|
|
|
1023 |
self.send_getInventoryItemsFromLastScanType(lastScanType)
|
|
|
1024 |
return self.recv_getInventoryItemsFromLastScanType()
|
|
|
1025 |
|
|
|
1026 |
def send_getInventoryItemsFromLastScanType(self, lastScanType):
|
|
|
1027 |
self._oprot.writeMessageBegin('getInventoryItemsFromLastScanType', TMessageType.CALL, self._seqid)
|
|
|
1028 |
args = getInventoryItemsFromLastScanType_args()
|
|
|
1029 |
args.lastScanType = lastScanType
|
|
|
1030 |
args.write(self._oprot)
|
|
|
1031 |
self._oprot.writeMessageEnd()
|
|
|
1032 |
self._oprot.trans.flush()
|
|
|
1033 |
|
|
|
1034 |
def recv_getInventoryItemsFromLastScanType(self, ):
|
|
|
1035 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
1036 |
if mtype == TMessageType.EXCEPTION:
|
|
|
1037 |
x = TApplicationException()
|
|
|
1038 |
x.read(self._iprot)
|
|
|
1039 |
self._iprot.readMessageEnd()
|
|
|
1040 |
raise x
|
|
|
1041 |
result = getInventoryItemsFromLastScanType_result()
|
|
|
1042 |
result.read(self._iprot)
|
|
|
1043 |
self._iprot.readMessageEnd()
|
|
|
1044 |
if result.success is not None:
|
|
|
1045 |
return result.success
|
|
|
1046 |
if result.wex is not None:
|
|
|
1047 |
raise result.wex
|
|
|
1048 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "getInventoryItemsFromLastScanType failed: unknown result");
|
|
|
1049 |
|
|
|
1050 |
def getInventoryItemFromId(self, inventoryItemId):
|
|
|
1051 |
"""
|
|
|
1052 |
Retrieves inventory item given a inventoryItem id
|
|
|
1053 |
|
|
|
1054 |
Parameters:
|
|
|
1055 |
- inventoryItemId
|
|
|
1056 |
"""
|
|
|
1057 |
self.send_getInventoryItemFromId(inventoryItemId)
|
|
|
1058 |
return self.recv_getInventoryItemFromId()
|
|
|
1059 |
|
|
|
1060 |
def send_getInventoryItemFromId(self, inventoryItemId):
|
|
|
1061 |
self._oprot.writeMessageBegin('getInventoryItemFromId', TMessageType.CALL, self._seqid)
|
|
|
1062 |
args = getInventoryItemFromId_args()
|
|
|
1063 |
args.inventoryItemId = inventoryItemId
|
|
|
1064 |
args.write(self._oprot)
|
|
|
1065 |
self._oprot.writeMessageEnd()
|
|
|
1066 |
self._oprot.trans.flush()
|
|
|
1067 |
|
|
|
1068 |
def recv_getInventoryItemFromId(self, ):
|
|
|
1069 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
1070 |
if mtype == TMessageType.EXCEPTION:
|
|
|
1071 |
x = TApplicationException()
|
|
|
1072 |
x.read(self._iprot)
|
|
|
1073 |
self._iprot.readMessageEnd()
|
|
|
1074 |
raise x
|
|
|
1075 |
result = getInventoryItemFromId_result()
|
|
|
1076 |
result.read(self._iprot)
|
|
|
1077 |
self._iprot.readMessageEnd()
|
|
|
1078 |
if result.success is not None:
|
|
|
1079 |
return result.success
|
|
|
1080 |
if result.wex is not None:
|
|
|
1081 |
raise result.wex
|
|
|
1082 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "getInventoryItemFromId failed: unknown result");
|
|
|
1083 |
|
| 5372 |
mandeep.dh |
1084 |
def getPurchaseScans(self, startDate, endDate):
|
|
|
1085 |
"""
|
|
|
1086 |
Returns the purchase scans grouped by items for Purchase register reconciliation
|
| 5185 |
mandeep.dh |
1087 |
|
| 5372 |
mandeep.dh |
1088 |
Parameters:
|
|
|
1089 |
- startDate
|
|
|
1090 |
- endDate
|
|
|
1091 |
"""
|
|
|
1092 |
self.send_getPurchaseScans(startDate, endDate)
|
|
|
1093 |
return self.recv_getPurchaseScans()
|
|
|
1094 |
|
|
|
1095 |
def send_getPurchaseScans(self, startDate, endDate):
|
|
|
1096 |
self._oprot.writeMessageBegin('getPurchaseScans', TMessageType.CALL, self._seqid)
|
|
|
1097 |
args = getPurchaseScans_args()
|
|
|
1098 |
args.startDate = startDate
|
|
|
1099 |
args.endDate = endDate
|
|
|
1100 |
args.write(self._oprot)
|
|
|
1101 |
self._oprot.writeMessageEnd()
|
|
|
1102 |
self._oprot.trans.flush()
|
|
|
1103 |
|
|
|
1104 |
def recv_getPurchaseScans(self, ):
|
|
|
1105 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
1106 |
if mtype == TMessageType.EXCEPTION:
|
|
|
1107 |
x = TApplicationException()
|
|
|
1108 |
x.read(self._iprot)
|
|
|
1109 |
self._iprot.readMessageEnd()
|
|
|
1110 |
raise x
|
|
|
1111 |
result = getPurchaseScans_result()
|
|
|
1112 |
result.read(self._iprot)
|
|
|
1113 |
self._iprot.readMessageEnd()
|
|
|
1114 |
if result.success is not None:
|
|
|
1115 |
return result.success
|
|
|
1116 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "getPurchaseScans failed: unknown result");
|
|
|
1117 |
|
| 7216 |
amar.kumar |
1118 |
def getPurchaseScansByGrnDate(self, startDate, endDate):
|
|
|
1119 |
"""
|
|
|
1120 |
Returns the purchase scans between grn dates grouped by items for Purchase register reconciliation
|
|
|
1121 |
|
|
|
1122 |
Parameters:
|
|
|
1123 |
- startDate
|
|
|
1124 |
- endDate
|
|
|
1125 |
"""
|
|
|
1126 |
self.send_getPurchaseScansByGrnDate(startDate, endDate)
|
|
|
1127 |
return self.recv_getPurchaseScansByGrnDate()
|
|
|
1128 |
|
|
|
1129 |
def send_getPurchaseScansByGrnDate(self, startDate, endDate):
|
|
|
1130 |
self._oprot.writeMessageBegin('getPurchaseScansByGrnDate', TMessageType.CALL, self._seqid)
|
|
|
1131 |
args = getPurchaseScansByGrnDate_args()
|
|
|
1132 |
args.startDate = startDate
|
|
|
1133 |
args.endDate = endDate
|
|
|
1134 |
args.write(self._oprot)
|
|
|
1135 |
self._oprot.writeMessageEnd()
|
|
|
1136 |
self._oprot.trans.flush()
|
|
|
1137 |
|
|
|
1138 |
def recv_getPurchaseScansByGrnDate(self, ):
|
|
|
1139 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
1140 |
if mtype == TMessageType.EXCEPTION:
|
|
|
1141 |
x = TApplicationException()
|
|
|
1142 |
x.read(self._iprot)
|
|
|
1143 |
self._iprot.readMessageEnd()
|
|
|
1144 |
raise x
|
|
|
1145 |
result = getPurchaseScansByGrnDate_result()
|
|
|
1146 |
result.read(self._iprot)
|
|
|
1147 |
self._iprot.readMessageEnd()
|
|
|
1148 |
if result.success is not None:
|
|
|
1149 |
return result.success
|
|
|
1150 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "getPurchaseScansByGrnDate failed: unknown result");
|
|
|
1151 |
|
| 10407 |
amar.kumar |
1152 |
def getEmptyGrnsByDate(self, startDate, endDate):
|
|
|
1153 |
"""
|
|
|
1154 |
Returns the empty grn-ids between grn dates
|
|
|
1155 |
|
|
|
1156 |
Parameters:
|
|
|
1157 |
- startDate
|
|
|
1158 |
- endDate
|
|
|
1159 |
"""
|
|
|
1160 |
self.send_getEmptyGrnsByDate(startDate, endDate)
|
|
|
1161 |
return self.recv_getEmptyGrnsByDate()
|
|
|
1162 |
|
|
|
1163 |
def send_getEmptyGrnsByDate(self, startDate, endDate):
|
|
|
1164 |
self._oprot.writeMessageBegin('getEmptyGrnsByDate', TMessageType.CALL, self._seqid)
|
|
|
1165 |
args = getEmptyGrnsByDate_args()
|
|
|
1166 |
args.startDate = startDate
|
|
|
1167 |
args.endDate = endDate
|
|
|
1168 |
args.write(self._oprot)
|
|
|
1169 |
self._oprot.writeMessageEnd()
|
|
|
1170 |
self._oprot.trans.flush()
|
|
|
1171 |
|
|
|
1172 |
def recv_getEmptyGrnsByDate(self, ):
|
|
|
1173 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
1174 |
if mtype == TMessageType.EXCEPTION:
|
|
|
1175 |
x = TApplicationException()
|
|
|
1176 |
x.read(self._iprot)
|
|
|
1177 |
self._iprot.readMessageEnd()
|
|
|
1178 |
raise x
|
|
|
1179 |
result = getEmptyGrnsByDate_result()
|
|
|
1180 |
result.read(self._iprot)
|
|
|
1181 |
self._iprot.readMessageEnd()
|
|
|
1182 |
if result.success is not None:
|
|
|
1183 |
return result.success
|
|
|
1184 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "getEmptyGrnsByDate failed: unknown result");
|
|
|
1185 |
|
| 5496 |
mandeep.dh |
1186 |
def fetchScansPerInvoiceNumber(self, date):
|
|
|
1187 |
"""
|
|
|
1188 |
Returns the invoices and the count of scans against on a given day.
|
| 5372 |
mandeep.dh |
1189 |
|
| 5496 |
mandeep.dh |
1190 |
Parameters:
|
|
|
1191 |
- date
|
|
|
1192 |
"""
|
|
|
1193 |
self.send_fetchScansPerInvoiceNumber(date)
|
|
|
1194 |
return self.recv_fetchScansPerInvoiceNumber()
|
|
|
1195 |
|
|
|
1196 |
def send_fetchScansPerInvoiceNumber(self, date):
|
|
|
1197 |
self._oprot.writeMessageBegin('fetchScansPerInvoiceNumber', TMessageType.CALL, self._seqid)
|
|
|
1198 |
args = fetchScansPerInvoiceNumber_args()
|
|
|
1199 |
args.date = date
|
|
|
1200 |
args.write(self._oprot)
|
|
|
1201 |
self._oprot.writeMessageEnd()
|
|
|
1202 |
self._oprot.trans.flush()
|
|
|
1203 |
|
|
|
1204 |
def recv_fetchScansPerInvoiceNumber(self, ):
|
|
|
1205 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
1206 |
if mtype == TMessageType.EXCEPTION:
|
|
|
1207 |
x = TApplicationException()
|
|
|
1208 |
x.read(self._iprot)
|
|
|
1209 |
self._iprot.readMessageEnd()
|
|
|
1210 |
raise x
|
|
|
1211 |
result = fetchScansPerInvoiceNumber_result()
|
|
|
1212 |
result.read(self._iprot)
|
|
|
1213 |
self._iprot.readMessageEnd()
|
|
|
1214 |
if result.success is not None:
|
|
|
1215 |
return result.success
|
|
|
1216 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "fetchScansPerInvoiceNumber failed: unknown result");
|
|
|
1217 |
|
| 5620 |
mandeep.dh |
1218 |
def getInventoryItemFromOrder(self, orderId):
|
|
|
1219 |
"""
|
|
|
1220 |
Returns inventory item for a given order
|
| 5496 |
mandeep.dh |
1221 |
|
| 5620 |
mandeep.dh |
1222 |
Parameters:
|
|
|
1223 |
- orderId
|
|
|
1224 |
"""
|
|
|
1225 |
self.send_getInventoryItemFromOrder(orderId)
|
|
|
1226 |
return self.recv_getInventoryItemFromOrder()
|
|
|
1227 |
|
|
|
1228 |
def send_getInventoryItemFromOrder(self, orderId):
|
|
|
1229 |
self._oprot.writeMessageBegin('getInventoryItemFromOrder', TMessageType.CALL, self._seqid)
|
|
|
1230 |
args = getInventoryItemFromOrder_args()
|
|
|
1231 |
args.orderId = orderId
|
|
|
1232 |
args.write(self._oprot)
|
|
|
1233 |
self._oprot.writeMessageEnd()
|
|
|
1234 |
self._oprot.trans.flush()
|
|
|
1235 |
|
|
|
1236 |
def recv_getInventoryItemFromOrder(self, ):
|
|
|
1237 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
1238 |
if mtype == TMessageType.EXCEPTION:
|
|
|
1239 |
x = TApplicationException()
|
|
|
1240 |
x.read(self._iprot)
|
|
|
1241 |
self._iprot.readMessageEnd()
|
|
|
1242 |
raise x
|
|
|
1243 |
result = getInventoryItemFromOrder_result()
|
|
|
1244 |
result.read(self._iprot)
|
|
|
1245 |
self._iprot.readMessageEnd()
|
|
|
1246 |
if result.success is not None:
|
|
|
1247 |
return result.success
|
|
|
1248 |
if result.we is not None:
|
|
|
1249 |
raise result.we
|
|
|
1250 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "getInventoryItemFromOrder failed: unknown result");
|
|
|
1251 |
|
| 5711 |
mandeep.dh |
1252 |
def getInventoryAge(self, ):
|
|
|
1253 |
"""
|
|
|
1254 |
Fetches the stock inventory age week-wise
|
|
|
1255 |
"""
|
|
|
1256 |
self.send_getInventoryAge()
|
|
|
1257 |
return self.recv_getInventoryAge()
|
| 5620 |
mandeep.dh |
1258 |
|
| 5711 |
mandeep.dh |
1259 |
def send_getInventoryAge(self, ):
|
|
|
1260 |
self._oprot.writeMessageBegin('getInventoryAge', TMessageType.CALL, self._seqid)
|
|
|
1261 |
args = getInventoryAge_args()
|
|
|
1262 |
args.write(self._oprot)
|
|
|
1263 |
self._oprot.writeMessageEnd()
|
|
|
1264 |
self._oprot.trans.flush()
|
|
|
1265 |
|
|
|
1266 |
def recv_getInventoryAge(self, ):
|
|
|
1267 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
1268 |
if mtype == TMessageType.EXCEPTION:
|
|
|
1269 |
x = TApplicationException()
|
|
|
1270 |
x.read(self._iprot)
|
|
|
1271 |
self._iprot.readMessageEnd()
|
|
|
1272 |
raise x
|
|
|
1273 |
result = getInventoryAge_result()
|
|
|
1274 |
result.read(self._iprot)
|
|
|
1275 |
self._iprot.readMessageEnd()
|
|
|
1276 |
if result.success is not None:
|
|
|
1277 |
return result.success
|
|
|
1278 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "getInventoryAge failed: unknown result");
|
|
|
1279 |
|
| 6361 |
rajveer |
1280 |
def getInventoryScansForItem(self, itemId, fromDate, toDate):
|
|
|
1281 |
"""
|
|
|
1282 |
Fetches the scanRecords for a given item for a given time interval
|
| 5711 |
mandeep.dh |
1283 |
|
| 6361 |
rajveer |
1284 |
Parameters:
|
|
|
1285 |
- itemId
|
|
|
1286 |
- fromDate
|
|
|
1287 |
- toDate
|
|
|
1288 |
"""
|
|
|
1289 |
self.send_getInventoryScansForItem(itemId, fromDate, toDate)
|
|
|
1290 |
return self.recv_getInventoryScansForItem()
|
|
|
1291 |
|
|
|
1292 |
def send_getInventoryScansForItem(self, itemId, fromDate, toDate):
|
|
|
1293 |
self._oprot.writeMessageBegin('getInventoryScansForItem', TMessageType.CALL, self._seqid)
|
|
|
1294 |
args = getInventoryScansForItem_args()
|
|
|
1295 |
args.itemId = itemId
|
|
|
1296 |
args.fromDate = fromDate
|
|
|
1297 |
args.toDate = toDate
|
|
|
1298 |
args.write(self._oprot)
|
|
|
1299 |
self._oprot.writeMessageEnd()
|
|
|
1300 |
self._oprot.trans.flush()
|
|
|
1301 |
|
|
|
1302 |
def recv_getInventoryScansForItem(self, ):
|
|
|
1303 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
1304 |
if mtype == TMessageType.EXCEPTION:
|
|
|
1305 |
x = TApplicationException()
|
|
|
1306 |
x.read(self._iprot)
|
|
|
1307 |
self._iprot.readMessageEnd()
|
|
|
1308 |
raise x
|
|
|
1309 |
result = getInventoryScansForItem_result()
|
|
|
1310 |
result.read(self._iprot)
|
|
|
1311 |
self._iprot.readMessageEnd()
|
|
|
1312 |
if result.success is not None:
|
|
|
1313 |
return result.success
|
|
|
1314 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "getInventoryScansForItem failed: unknown result");
|
|
|
1315 |
|
|
|
1316 |
def getScanRecordsForSerialNumber(self, serialNumber):
|
|
|
1317 |
"""
|
|
|
1318 |
Fetches the scanRecords for a given serialNumber for a given time interval
|
|
|
1319 |
|
|
|
1320 |
Parameters:
|
|
|
1321 |
- serialNumber
|
|
|
1322 |
"""
|
|
|
1323 |
self.send_getScanRecordsForSerialNumber(serialNumber)
|
|
|
1324 |
return self.recv_getScanRecordsForSerialNumber()
|
|
|
1325 |
|
|
|
1326 |
def send_getScanRecordsForSerialNumber(self, serialNumber):
|
|
|
1327 |
self._oprot.writeMessageBegin('getScanRecordsForSerialNumber', TMessageType.CALL, self._seqid)
|
|
|
1328 |
args = getScanRecordsForSerialNumber_args()
|
|
|
1329 |
args.serialNumber = serialNumber
|
|
|
1330 |
args.write(self._oprot)
|
|
|
1331 |
self._oprot.writeMessageEnd()
|
|
|
1332 |
self._oprot.trans.flush()
|
|
|
1333 |
|
|
|
1334 |
def recv_getScanRecordsForSerialNumber(self, ):
|
|
|
1335 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
1336 |
if mtype == TMessageType.EXCEPTION:
|
|
|
1337 |
x = TApplicationException()
|
|
|
1338 |
x.read(self._iprot)
|
|
|
1339 |
self._iprot.readMessageEnd()
|
|
|
1340 |
raise x
|
|
|
1341 |
result = getScanRecordsForSerialNumber_result()
|
|
|
1342 |
result.read(self._iprot)
|
|
|
1343 |
self._iprot.readMessageEnd()
|
|
|
1344 |
if result.success is not None:
|
|
|
1345 |
return result.success
|
|
|
1346 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "getScanRecordsForSerialNumber failed: unknown result");
|
|
|
1347 |
|
| 7718 |
amar.kumar |
1348 |
def scanForPurchaseReturn(self, saleReturnItems, vendorId, billingWarehouseId):
|
| 6467 |
amar.kumar |
1349 |
"""
|
| 6630 |
amar.kumar |
1350 |
Inserts outgoing scans for Returned Items and updates returnId in InventoryItems
|
| 6361 |
rajveer |
1351 |
|
| 6467 |
amar.kumar |
1352 |
Parameters:
|
|
|
1353 |
- saleReturnItems
|
|
|
1354 |
- vendorId
|
| 7718 |
amar.kumar |
1355 |
- billingWarehouseId
|
| 6467 |
amar.kumar |
1356 |
"""
|
| 7718 |
amar.kumar |
1357 |
self.send_scanForPurchaseReturn(saleReturnItems, vendorId, billingWarehouseId)
|
| 10864 |
manish.sha |
1358 |
return self.recv_scanForPurchaseReturn()
|
| 6467 |
amar.kumar |
1359 |
|
| 7718 |
amar.kumar |
1360 |
def send_scanForPurchaseReturn(self, saleReturnItems, vendorId, billingWarehouseId):
|
| 6467 |
amar.kumar |
1361 |
self._oprot.writeMessageBegin('scanForPurchaseReturn', TMessageType.CALL, self._seqid)
|
|
|
1362 |
args = scanForPurchaseReturn_args()
|
|
|
1363 |
args.saleReturnItems = saleReturnItems
|
|
|
1364 |
args.vendorId = vendorId
|
| 7718 |
amar.kumar |
1365 |
args.billingWarehouseId = billingWarehouseId
|
| 6467 |
amar.kumar |
1366 |
args.write(self._oprot)
|
|
|
1367 |
self._oprot.writeMessageEnd()
|
|
|
1368 |
self._oprot.trans.flush()
|
|
|
1369 |
|
|
|
1370 |
def recv_scanForPurchaseReturn(self, ):
|
|
|
1371 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
1372 |
if mtype == TMessageType.EXCEPTION:
|
|
|
1373 |
x = TApplicationException()
|
|
|
1374 |
x.read(self._iprot)
|
|
|
1375 |
self._iprot.readMessageEnd()
|
|
|
1376 |
raise x
|
|
|
1377 |
result = scanForPurchaseReturn_result()
|
|
|
1378 |
result.read(self._iprot)
|
|
|
1379 |
self._iprot.readMessageEnd()
|
| 10864 |
manish.sha |
1380 |
if result.success is not None:
|
|
|
1381 |
return result.success
|
| 6467 |
amar.kumar |
1382 |
if result.ex is not None:
|
|
|
1383 |
raise result.ex
|
| 10864 |
manish.sha |
1384 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "scanForPurchaseReturn failed: unknown result");
|
| 6467 |
amar.kumar |
1385 |
|
| 7718 |
amar.kumar |
1386 |
def scanForLostItem(self, lostItems, vendorId, billingWarehouseId):
|
| 6630 |
amar.kumar |
1387 |
"""
|
|
|
1388 |
Inserts scans for lost Items and updates lastScanType in InventoryItems
|
| 6467 |
amar.kumar |
1389 |
|
| 6630 |
amar.kumar |
1390 |
Parameters:
|
|
|
1391 |
- lostItems
|
|
|
1392 |
- vendorId
|
| 7718 |
amar.kumar |
1393 |
- billingWarehouseId
|
| 6630 |
amar.kumar |
1394 |
"""
|
| 7718 |
amar.kumar |
1395 |
self.send_scanForLostItem(lostItems, vendorId, billingWarehouseId)
|
| 6630 |
amar.kumar |
1396 |
self.recv_scanForLostItem()
|
|
|
1397 |
|
| 7718 |
amar.kumar |
1398 |
def send_scanForLostItem(self, lostItems, vendorId, billingWarehouseId):
|
| 6630 |
amar.kumar |
1399 |
self._oprot.writeMessageBegin('scanForLostItem', TMessageType.CALL, self._seqid)
|
|
|
1400 |
args = scanForLostItem_args()
|
|
|
1401 |
args.lostItems = lostItems
|
|
|
1402 |
args.vendorId = vendorId
|
| 7718 |
amar.kumar |
1403 |
args.billingWarehouseId = billingWarehouseId
|
| 6630 |
amar.kumar |
1404 |
args.write(self._oprot)
|
|
|
1405 |
self._oprot.writeMessageEnd()
|
|
|
1406 |
self._oprot.trans.flush()
|
|
|
1407 |
|
|
|
1408 |
def recv_scanForLostItem(self, ):
|
|
|
1409 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
1410 |
if mtype == TMessageType.EXCEPTION:
|
|
|
1411 |
x = TApplicationException()
|
|
|
1412 |
x.read(self._iprot)
|
|
|
1413 |
self._iprot.readMessageEnd()
|
|
|
1414 |
raise x
|
|
|
1415 |
result = scanForLostItem_result()
|
|
|
1416 |
result.read(self._iprot)
|
|
|
1417 |
self._iprot.readMessageEnd()
|
|
|
1418 |
if result.ex is not None:
|
|
|
1419 |
raise result.ex
|
|
|
1420 |
return
|
|
|
1421 |
|
| 7715 |
vikram.rag |
1422 |
def getCurrentSerializedInventoryByScans(self, physicalWarehouseId):
|
| 6630 |
amar.kumar |
1423 |
"""
|
|
|
1424 |
Get inventory count for available Serialized items in our warehouses using entries in ScanNew table
|
| 7715 |
vikram.rag |
1425 |
|
|
|
1426 |
Parameters:
|
|
|
1427 |
- physicalWarehouseId
|
| 6630 |
amar.kumar |
1428 |
"""
|
| 7715 |
vikram.rag |
1429 |
self.send_getCurrentSerializedInventoryByScans(physicalWarehouseId)
|
| 6630 |
amar.kumar |
1430 |
return self.recv_getCurrentSerializedInventoryByScans()
|
|
|
1431 |
|
| 7715 |
vikram.rag |
1432 |
def send_getCurrentSerializedInventoryByScans(self, physicalWarehouseId):
|
| 6630 |
amar.kumar |
1433 |
self._oprot.writeMessageBegin('getCurrentSerializedInventoryByScans', TMessageType.CALL, self._seqid)
|
|
|
1434 |
args = getCurrentSerializedInventoryByScans_args()
|
| 7715 |
vikram.rag |
1435 |
args.physicalWarehouseId = physicalWarehouseId
|
| 6630 |
amar.kumar |
1436 |
args.write(self._oprot)
|
|
|
1437 |
self._oprot.writeMessageEnd()
|
|
|
1438 |
self._oprot.trans.flush()
|
|
|
1439 |
|
|
|
1440 |
def recv_getCurrentSerializedInventoryByScans(self, ):
|
|
|
1441 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
1442 |
if mtype == TMessageType.EXCEPTION:
|
|
|
1443 |
x = TApplicationException()
|
|
|
1444 |
x.read(self._iprot)
|
|
|
1445 |
self._iprot.readMessageEnd()
|
|
|
1446 |
raise x
|
|
|
1447 |
result = getCurrentSerializedInventoryByScans_result()
|
|
|
1448 |
result.read(self._iprot)
|
|
|
1449 |
self._iprot.readMessageEnd()
|
|
|
1450 |
if result.success is not None:
|
|
|
1451 |
return result.success
|
|
|
1452 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "getCurrentSerializedInventoryByScans failed: unknown result");
|
|
|
1453 |
|
| 7715 |
vikram.rag |
1454 |
def getCurrentNonSerializedInventoryByScans(self, physicalWarehouseId):
|
| 6630 |
amar.kumar |
1455 |
"""
|
|
|
1456 |
Get inventory count for available Serialized items in our warehouses using entries in ScanNew table
|
| 7715 |
vikram.rag |
1457 |
|
|
|
1458 |
Parameters:
|
|
|
1459 |
- physicalWarehouseId
|
| 6630 |
amar.kumar |
1460 |
"""
|
| 7715 |
vikram.rag |
1461 |
self.send_getCurrentNonSerializedInventoryByScans(physicalWarehouseId)
|
| 6630 |
amar.kumar |
1462 |
return self.recv_getCurrentNonSerializedInventoryByScans()
|
|
|
1463 |
|
| 7715 |
vikram.rag |
1464 |
def send_getCurrentNonSerializedInventoryByScans(self, physicalWarehouseId):
|
| 6630 |
amar.kumar |
1465 |
self._oprot.writeMessageBegin('getCurrentNonSerializedInventoryByScans', TMessageType.CALL, self._seqid)
|
|
|
1466 |
args = getCurrentNonSerializedInventoryByScans_args()
|
| 7715 |
vikram.rag |
1467 |
args.physicalWarehouseId = physicalWarehouseId
|
| 6630 |
amar.kumar |
1468 |
args.write(self._oprot)
|
|
|
1469 |
self._oprot.writeMessageEnd()
|
|
|
1470 |
self._oprot.trans.flush()
|
|
|
1471 |
|
|
|
1472 |
def recv_getCurrentNonSerializedInventoryByScans(self, ):
|
|
|
1473 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
1474 |
if mtype == TMessageType.EXCEPTION:
|
|
|
1475 |
x = TApplicationException()
|
|
|
1476 |
x.read(self._iprot)
|
|
|
1477 |
self._iprot.readMessageEnd()
|
|
|
1478 |
raise x
|
|
|
1479 |
result = getCurrentNonSerializedInventoryByScans_result()
|
|
|
1480 |
result.read(self._iprot)
|
|
|
1481 |
self._iprot.readMessageEnd()
|
|
|
1482 |
if result.success is not None:
|
|
|
1483 |
return result.success
|
|
|
1484 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "getCurrentNonSerializedInventoryByScans failed: unknown result");
|
|
|
1485 |
|
| 6762 |
amar.kumar |
1486 |
def getHistoricSerializedInventoryByScans(self, date):
|
|
|
1487 |
"""
|
|
|
1488 |
Get inventory for Serialized items in our warehouses at a given date using entries in ScanNew table
|
| 6630 |
amar.kumar |
1489 |
|
| 6762 |
amar.kumar |
1490 |
Parameters:
|
|
|
1491 |
- date
|
|
|
1492 |
"""
|
|
|
1493 |
self.send_getHistoricSerializedInventoryByScans(date)
|
|
|
1494 |
return self.recv_getHistoricSerializedInventoryByScans()
|
|
|
1495 |
|
|
|
1496 |
def send_getHistoricSerializedInventoryByScans(self, date):
|
|
|
1497 |
self._oprot.writeMessageBegin('getHistoricSerializedInventoryByScans', TMessageType.CALL, self._seqid)
|
|
|
1498 |
args = getHistoricSerializedInventoryByScans_args()
|
|
|
1499 |
args.date = date
|
|
|
1500 |
args.write(self._oprot)
|
|
|
1501 |
self._oprot.writeMessageEnd()
|
|
|
1502 |
self._oprot.trans.flush()
|
|
|
1503 |
|
|
|
1504 |
def recv_getHistoricSerializedInventoryByScans(self, ):
|
|
|
1505 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
1506 |
if mtype == TMessageType.EXCEPTION:
|
|
|
1507 |
x = TApplicationException()
|
|
|
1508 |
x.read(self._iprot)
|
|
|
1509 |
self._iprot.readMessageEnd()
|
|
|
1510 |
raise x
|
|
|
1511 |
result = getHistoricSerializedInventoryByScans_result()
|
|
|
1512 |
result.read(self._iprot)
|
|
|
1513 |
self._iprot.readMessageEnd()
|
|
|
1514 |
if result.success is not None:
|
|
|
1515 |
return result.success
|
|
|
1516 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "getHistoricSerializedInventoryByScans failed: unknown result");
|
|
|
1517 |
|
|
|
1518 |
def getHistoricNonSerializedInventoryByScans(self, date):
|
|
|
1519 |
"""
|
|
|
1520 |
Get inventory for Non Serialized items in our warehouses at a given date using entries in ScanNew table
|
|
|
1521 |
|
|
|
1522 |
Parameters:
|
|
|
1523 |
- date
|
|
|
1524 |
"""
|
|
|
1525 |
self.send_getHistoricNonSerializedInventoryByScans(date)
|
|
|
1526 |
return self.recv_getHistoricNonSerializedInventoryByScans()
|
|
|
1527 |
|
|
|
1528 |
def send_getHistoricNonSerializedInventoryByScans(self, date):
|
|
|
1529 |
self._oprot.writeMessageBegin('getHistoricNonSerializedInventoryByScans', TMessageType.CALL, self._seqid)
|
|
|
1530 |
args = getHistoricNonSerializedInventoryByScans_args()
|
|
|
1531 |
args.date = date
|
|
|
1532 |
args.write(self._oprot)
|
|
|
1533 |
self._oprot.writeMessageEnd()
|
|
|
1534 |
self._oprot.trans.flush()
|
|
|
1535 |
|
|
|
1536 |
def recv_getHistoricNonSerializedInventoryByScans(self, ):
|
|
|
1537 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
1538 |
if mtype == TMessageType.EXCEPTION:
|
|
|
1539 |
x = TApplicationException()
|
|
|
1540 |
x.read(self._iprot)
|
|
|
1541 |
self._iprot.readMessageEnd()
|
|
|
1542 |
raise x
|
|
|
1543 |
result = getHistoricNonSerializedInventoryByScans_result()
|
|
|
1544 |
result.read(self._iprot)
|
|
|
1545 |
self._iprot.readMessageEnd()
|
|
|
1546 |
if result.success is not None:
|
|
|
1547 |
return result.success
|
|
|
1548 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "getHistoricNonSerializedInventoryByScans failed: unknown result");
|
|
|
1549 |
|
| 10407 |
amar.kumar |
1550 |
def getOurHistoricSerializedInventoryByScans(self, date):
|
|
|
1551 |
"""
|
|
|
1552 |
Get inventory for Serialized items in our warehouses at a given date using entries in ScanNew table
|
|
|
1553 |
|
|
|
1554 |
Parameters:
|
|
|
1555 |
- date
|
|
|
1556 |
"""
|
|
|
1557 |
self.send_getOurHistoricSerializedInventoryByScans(date)
|
|
|
1558 |
return self.recv_getOurHistoricSerializedInventoryByScans()
|
|
|
1559 |
|
|
|
1560 |
def send_getOurHistoricSerializedInventoryByScans(self, date):
|
|
|
1561 |
self._oprot.writeMessageBegin('getOurHistoricSerializedInventoryByScans', TMessageType.CALL, self._seqid)
|
|
|
1562 |
args = getOurHistoricSerializedInventoryByScans_args()
|
|
|
1563 |
args.date = date
|
|
|
1564 |
args.write(self._oprot)
|
|
|
1565 |
self._oprot.writeMessageEnd()
|
|
|
1566 |
self._oprot.trans.flush()
|
|
|
1567 |
|
|
|
1568 |
def recv_getOurHistoricSerializedInventoryByScans(self, ):
|
|
|
1569 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
1570 |
if mtype == TMessageType.EXCEPTION:
|
|
|
1571 |
x = TApplicationException()
|
|
|
1572 |
x.read(self._iprot)
|
|
|
1573 |
self._iprot.readMessageEnd()
|
|
|
1574 |
raise x
|
|
|
1575 |
result = getOurHistoricSerializedInventoryByScans_result()
|
|
|
1576 |
result.read(self._iprot)
|
|
|
1577 |
self._iprot.readMessageEnd()
|
|
|
1578 |
if result.success is not None:
|
|
|
1579 |
return result.success
|
|
|
1580 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "getOurHistoricSerializedInventoryByScans failed: unknown result");
|
|
|
1581 |
|
|
|
1582 |
def getOurHistoricNonSerializedInventoryByScans(self, date):
|
|
|
1583 |
"""
|
|
|
1584 |
Get inventory for Non Serialized items in our warehouses at a given date using entries in ScanNew table
|
|
|
1585 |
|
|
|
1586 |
Parameters:
|
|
|
1587 |
- date
|
|
|
1588 |
"""
|
|
|
1589 |
self.send_getOurHistoricNonSerializedInventoryByScans(date)
|
|
|
1590 |
return self.recv_getOurHistoricNonSerializedInventoryByScans()
|
|
|
1591 |
|
|
|
1592 |
def send_getOurHistoricNonSerializedInventoryByScans(self, date):
|
|
|
1593 |
self._oprot.writeMessageBegin('getOurHistoricNonSerializedInventoryByScans', TMessageType.CALL, self._seqid)
|
|
|
1594 |
args = getOurHistoricNonSerializedInventoryByScans_args()
|
|
|
1595 |
args.date = date
|
|
|
1596 |
args.write(self._oprot)
|
|
|
1597 |
self._oprot.writeMessageEnd()
|
|
|
1598 |
self._oprot.trans.flush()
|
|
|
1599 |
|
|
|
1600 |
def recv_getOurHistoricNonSerializedInventoryByScans(self, ):
|
|
|
1601 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
1602 |
if mtype == TMessageType.EXCEPTION:
|
|
|
1603 |
x = TApplicationException()
|
|
|
1604 |
x.read(self._iprot)
|
|
|
1605 |
self._iprot.readMessageEnd()
|
|
|
1606 |
raise x
|
|
|
1607 |
result = getOurHistoricNonSerializedInventoryByScans_result()
|
|
|
1608 |
result.read(self._iprot)
|
|
|
1609 |
self._iprot.readMessageEnd()
|
|
|
1610 |
if result.success is not None:
|
|
|
1611 |
return result.success
|
|
|
1612 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "getOurHistoricNonSerializedInventoryByScans failed: unknown result");
|
|
|
1613 |
|
| 7672 |
rajveer |
1614 |
def scanForOursExternalSale(self, itemId, serialNumber, itemNumber, invoiceNumber, warehouseId, unitPrice, nlc, orderId):
|
| 6762 |
amar.kumar |
1615 |
"""
|
| 6880 |
amar.kumar |
1616 |
Insert Purchase/Sale Entries for product billed by Hotspot using OURS_EXTERNAL Billing
|
| 6762 |
amar.kumar |
1617 |
|
|
|
1618 |
Parameters:
|
|
|
1619 |
- itemId
|
|
|
1620 |
- serialNumber
|
|
|
1621 |
- itemNumber
|
|
|
1622 |
- invoiceNumber
|
|
|
1623 |
- warehouseId
|
|
|
1624 |
- unitPrice
|
| 7672 |
rajveer |
1625 |
- nlc
|
| 6762 |
amar.kumar |
1626 |
- orderId
|
|
|
1627 |
"""
|
| 7672 |
rajveer |
1628 |
self.send_scanForOursExternalSale(itemId, serialNumber, itemNumber, invoiceNumber, warehouseId, unitPrice, nlc, orderId)
|
| 6762 |
amar.kumar |
1629 |
return self.recv_scanForOursExternalSale()
|
|
|
1630 |
|
| 7672 |
rajveer |
1631 |
def send_scanForOursExternalSale(self, itemId, serialNumber, itemNumber, invoiceNumber, warehouseId, unitPrice, nlc, orderId):
|
| 6762 |
amar.kumar |
1632 |
self._oprot.writeMessageBegin('scanForOursExternalSale', TMessageType.CALL, self._seqid)
|
|
|
1633 |
args = scanForOursExternalSale_args()
|
|
|
1634 |
args.itemId = itemId
|
|
|
1635 |
args.serialNumber = serialNumber
|
|
|
1636 |
args.itemNumber = itemNumber
|
|
|
1637 |
args.invoiceNumber = invoiceNumber
|
|
|
1638 |
args.warehouseId = warehouseId
|
|
|
1639 |
args.unitPrice = unitPrice
|
| 7672 |
rajveer |
1640 |
args.nlc = nlc
|
| 6762 |
amar.kumar |
1641 |
args.orderId = orderId
|
|
|
1642 |
args.write(self._oprot)
|
|
|
1643 |
self._oprot.writeMessageEnd()
|
|
|
1644 |
self._oprot.trans.flush()
|
|
|
1645 |
|
|
|
1646 |
def recv_scanForOursExternalSale(self, ):
|
|
|
1647 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
1648 |
if mtype == TMessageType.EXCEPTION:
|
|
|
1649 |
x = TApplicationException()
|
|
|
1650 |
x.read(self._iprot)
|
|
|
1651 |
self._iprot.readMessageEnd()
|
|
|
1652 |
raise x
|
|
|
1653 |
result = scanForOursExternalSale_result()
|
|
|
1654 |
result.read(self._iprot)
|
|
|
1655 |
self._iprot.readMessageEnd()
|
|
|
1656 |
if result.success is not None:
|
|
|
1657 |
return result.success
|
|
|
1658 |
if result.ex is not None:
|
|
|
1659 |
raise result.ex
|
|
|
1660 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "scanForOursExternalSale failed: unknown result");
|
|
|
1661 |
|
|
|
1662 |
def scanForOursExternalSaleReturn(self, orderId, unitPrice):
|
|
|
1663 |
"""
|
| 6880 |
amar.kumar |
1664 |
Insert Purchase_Ret/Sale_Ret Entries for product billed by Hotspot using OURS_EXTERNAL Billing
|
| 6762 |
amar.kumar |
1665 |
|
|
|
1666 |
Parameters:
|
|
|
1667 |
- orderId
|
|
|
1668 |
- unitPrice
|
|
|
1669 |
"""
|
|
|
1670 |
self.send_scanForOursExternalSaleReturn(orderId, unitPrice)
|
|
|
1671 |
self.recv_scanForOursExternalSaleReturn()
|
|
|
1672 |
|
|
|
1673 |
def send_scanForOursExternalSaleReturn(self, orderId, unitPrice):
|
|
|
1674 |
self._oprot.writeMessageBegin('scanForOursExternalSaleReturn', TMessageType.CALL, self._seqid)
|
|
|
1675 |
args = scanForOursExternalSaleReturn_args()
|
|
|
1676 |
args.orderId = orderId
|
|
|
1677 |
args.unitPrice = unitPrice
|
|
|
1678 |
args.write(self._oprot)
|
|
|
1679 |
self._oprot.writeMessageEnd()
|
|
|
1680 |
self._oprot.trans.flush()
|
|
|
1681 |
|
|
|
1682 |
def recv_scanForOursExternalSaleReturn(self, ):
|
|
|
1683 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
1684 |
if mtype == TMessageType.EXCEPTION:
|
|
|
1685 |
x = TApplicationException()
|
|
|
1686 |
x.read(self._iprot)
|
|
|
1687 |
self._iprot.readMessageEnd()
|
|
|
1688 |
raise x
|
|
|
1689 |
result = scanForOursExternalSaleReturn_result()
|
|
|
1690 |
result.read(self._iprot)
|
|
|
1691 |
self._iprot.readMessageEnd()
|
| 7410 |
amar.kumar |
1692 |
if result.ex is not None:
|
|
|
1693 |
raise result.ex
|
| 6762 |
amar.kumar |
1694 |
return
|
|
|
1695 |
|
| 6880 |
amar.kumar |
1696 |
def getMovementNonSerializedInventoryByScans(self, startDate, endDate):
|
|
|
1697 |
"""
|
| 10407 |
amar.kumar |
1698 |
This returns movement for each non serialized item in the specified window.(Doesn't include Hotspot and Amazon w/h)
|
|
|
1699 |
|
| 6880 |
amar.kumar |
1700 |
Parameters:
|
|
|
1701 |
- startDate
|
|
|
1702 |
- endDate
|
|
|
1703 |
"""
|
|
|
1704 |
self.send_getMovementNonSerializedInventoryByScans(startDate, endDate)
|
|
|
1705 |
return self.recv_getMovementNonSerializedInventoryByScans()
|
| 6762 |
amar.kumar |
1706 |
|
| 6880 |
amar.kumar |
1707 |
def send_getMovementNonSerializedInventoryByScans(self, startDate, endDate):
|
|
|
1708 |
self._oprot.writeMessageBegin('getMovementNonSerializedInventoryByScans', TMessageType.CALL, self._seqid)
|
|
|
1709 |
args = getMovementNonSerializedInventoryByScans_args()
|
|
|
1710 |
args.startDate = startDate
|
|
|
1711 |
args.endDate = endDate
|
|
|
1712 |
args.write(self._oprot)
|
|
|
1713 |
self._oprot.writeMessageEnd()
|
|
|
1714 |
self._oprot.trans.flush()
|
|
|
1715 |
|
|
|
1716 |
def recv_getMovementNonSerializedInventoryByScans(self, ):
|
|
|
1717 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
1718 |
if mtype == TMessageType.EXCEPTION:
|
|
|
1719 |
x = TApplicationException()
|
|
|
1720 |
x.read(self._iprot)
|
|
|
1721 |
self._iprot.readMessageEnd()
|
|
|
1722 |
raise x
|
|
|
1723 |
result = getMovementNonSerializedInventoryByScans_result()
|
|
|
1724 |
result.read(self._iprot)
|
|
|
1725 |
self._iprot.readMessageEnd()
|
|
|
1726 |
if result.success is not None:
|
|
|
1727 |
return result.success
|
|
|
1728 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "getMovementNonSerializedInventoryByScans failed: unknown result");
|
|
|
1729 |
|
|
|
1730 |
def getMovementSerializedInventoryByScans(self, startDate, endDate):
|
|
|
1731 |
"""
|
| 10407 |
amar.kumar |
1732 |
This returns movement for each serialized item in the specified window.(Doesn't include Hotspot and Amazon w/h)
|
|
|
1733 |
|
| 6880 |
amar.kumar |
1734 |
Parameters:
|
|
|
1735 |
- startDate
|
|
|
1736 |
- endDate
|
|
|
1737 |
"""
|
|
|
1738 |
self.send_getMovementSerializedInventoryByScans(startDate, endDate)
|
|
|
1739 |
return self.recv_getMovementSerializedInventoryByScans()
|
|
|
1740 |
|
|
|
1741 |
def send_getMovementSerializedInventoryByScans(self, startDate, endDate):
|
|
|
1742 |
self._oprot.writeMessageBegin('getMovementSerializedInventoryByScans', TMessageType.CALL, self._seqid)
|
|
|
1743 |
args = getMovementSerializedInventoryByScans_args()
|
|
|
1744 |
args.startDate = startDate
|
|
|
1745 |
args.endDate = endDate
|
|
|
1746 |
args.write(self._oprot)
|
|
|
1747 |
self._oprot.writeMessageEnd()
|
|
|
1748 |
self._oprot.trans.flush()
|
|
|
1749 |
|
|
|
1750 |
def recv_getMovementSerializedInventoryByScans(self, ):
|
|
|
1751 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
1752 |
if mtype == TMessageType.EXCEPTION:
|
|
|
1753 |
x = TApplicationException()
|
|
|
1754 |
x.read(self._iprot)
|
|
|
1755 |
self._iprot.readMessageEnd()
|
|
|
1756 |
raise x
|
|
|
1757 |
result = getMovementSerializedInventoryByScans_result()
|
|
|
1758 |
result.read(self._iprot)
|
|
|
1759 |
self._iprot.readMessageEnd()
|
|
|
1760 |
if result.success is not None:
|
|
|
1761 |
return result.success
|
|
|
1762 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "getMovementSerializedInventoryByScans failed: unknown result");
|
|
|
1763 |
|
| 7216 |
amar.kumar |
1764 |
def getCompleteMovementSerializedInventoryByScans(self, startDate, endDate):
|
|
|
1765 |
"""
|
| 10407 |
amar.kumar |
1766 |
This returns movement for each serialized item in the specified window.(Doesn't include Amazon w/h)
|
|
|
1767 |
|
| 7216 |
amar.kumar |
1768 |
Parameters:
|
|
|
1769 |
- startDate
|
|
|
1770 |
- endDate
|
|
|
1771 |
"""
|
|
|
1772 |
self.send_getCompleteMovementSerializedInventoryByScans(startDate, endDate)
|
|
|
1773 |
return self.recv_getCompleteMovementSerializedInventoryByScans()
|
|
|
1774 |
|
|
|
1775 |
def send_getCompleteMovementSerializedInventoryByScans(self, startDate, endDate):
|
|
|
1776 |
self._oprot.writeMessageBegin('getCompleteMovementSerializedInventoryByScans', TMessageType.CALL, self._seqid)
|
|
|
1777 |
args = getCompleteMovementSerializedInventoryByScans_args()
|
|
|
1778 |
args.startDate = startDate
|
|
|
1779 |
args.endDate = endDate
|
|
|
1780 |
args.write(self._oprot)
|
|
|
1781 |
self._oprot.writeMessageEnd()
|
|
|
1782 |
self._oprot.trans.flush()
|
|
|
1783 |
|
|
|
1784 |
def recv_getCompleteMovementSerializedInventoryByScans(self, ):
|
|
|
1785 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
1786 |
if mtype == TMessageType.EXCEPTION:
|
|
|
1787 |
x = TApplicationException()
|
|
|
1788 |
x.read(self._iprot)
|
|
|
1789 |
self._iprot.readMessageEnd()
|
|
|
1790 |
raise x
|
|
|
1791 |
result = getCompleteMovementSerializedInventoryByScans_result()
|
|
|
1792 |
result.read(self._iprot)
|
|
|
1793 |
self._iprot.readMessageEnd()
|
|
|
1794 |
if result.success is not None:
|
|
|
1795 |
return result.success
|
|
|
1796 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "getCompleteMovementSerializedInventoryByScans failed: unknown result");
|
|
|
1797 |
|
|
|
1798 |
def getCompleteMovementNonSerializedInventoryByScans(self, startDate, endDate):
|
|
|
1799 |
"""
|
| 10407 |
amar.kumar |
1800 |
This returns movement for each non serialized item in the specified window.(Doesn't include Amazon w/h)
|
|
|
1801 |
|
| 7216 |
amar.kumar |
1802 |
Parameters:
|
|
|
1803 |
- startDate
|
|
|
1804 |
- endDate
|
|
|
1805 |
"""
|
|
|
1806 |
self.send_getCompleteMovementNonSerializedInventoryByScans(startDate, endDate)
|
|
|
1807 |
return self.recv_getCompleteMovementNonSerializedInventoryByScans()
|
|
|
1808 |
|
|
|
1809 |
def send_getCompleteMovementNonSerializedInventoryByScans(self, startDate, endDate):
|
|
|
1810 |
self._oprot.writeMessageBegin('getCompleteMovementNonSerializedInventoryByScans', TMessageType.CALL, self._seqid)
|
|
|
1811 |
args = getCompleteMovementNonSerializedInventoryByScans_args()
|
|
|
1812 |
args.startDate = startDate
|
|
|
1813 |
args.endDate = endDate
|
|
|
1814 |
args.write(self._oprot)
|
|
|
1815 |
self._oprot.writeMessageEnd()
|
|
|
1816 |
self._oprot.trans.flush()
|
|
|
1817 |
|
|
|
1818 |
def recv_getCompleteMovementNonSerializedInventoryByScans(self, ):
|
|
|
1819 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
1820 |
if mtype == TMessageType.EXCEPTION:
|
|
|
1821 |
x = TApplicationException()
|
|
|
1822 |
x.read(self._iprot)
|
|
|
1823 |
self._iprot.readMessageEnd()
|
|
|
1824 |
raise x
|
|
|
1825 |
result = getCompleteMovementNonSerializedInventoryByScans_result()
|
|
|
1826 |
result.read(self._iprot)
|
|
|
1827 |
self._iprot.readMessageEnd()
|
|
|
1828 |
if result.success is not None:
|
|
|
1829 |
return result.success
|
|
|
1830 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "getCompleteMovementNonSerializedInventoryByScans failed: unknown result");
|
|
|
1831 |
|
| 7190 |
amar.kumar |
1832 |
def scanfreebie(self, orderId, freebieItemId, freebieWarehouseId, scanType):
|
|
|
1833 |
"""
|
|
|
1834 |
Parameters:
|
|
|
1835 |
- orderId
|
|
|
1836 |
- freebieItemId
|
|
|
1837 |
- freebieWarehouseId
|
|
|
1838 |
- scanType
|
|
|
1839 |
"""
|
|
|
1840 |
self.send_scanfreebie(orderId, freebieItemId, freebieWarehouseId, scanType)
|
|
|
1841 |
return self.recv_scanfreebie()
|
| 6880 |
amar.kumar |
1842 |
|
| 7190 |
amar.kumar |
1843 |
def send_scanfreebie(self, orderId, freebieItemId, freebieWarehouseId, scanType):
|
|
|
1844 |
self._oprot.writeMessageBegin('scanfreebie', TMessageType.CALL, self._seqid)
|
|
|
1845 |
args = scanfreebie_args()
|
|
|
1846 |
args.orderId = orderId
|
|
|
1847 |
args.freebieItemId = freebieItemId
|
|
|
1848 |
args.freebieWarehouseId = freebieWarehouseId
|
|
|
1849 |
args.scanType = scanType
|
|
|
1850 |
args.write(self._oprot)
|
|
|
1851 |
self._oprot.writeMessageEnd()
|
|
|
1852 |
self._oprot.trans.flush()
|
|
|
1853 |
|
|
|
1854 |
def recv_scanfreebie(self, ):
|
|
|
1855 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
1856 |
if mtype == TMessageType.EXCEPTION:
|
|
|
1857 |
x = TApplicationException()
|
|
|
1858 |
x.read(self._iprot)
|
|
|
1859 |
self._iprot.readMessageEnd()
|
|
|
1860 |
raise x
|
|
|
1861 |
result = scanfreebie_result()
|
|
|
1862 |
result.read(self._iprot)
|
|
|
1863 |
self._iprot.readMessageEnd()
|
|
|
1864 |
if result.success is not None:
|
|
|
1865 |
return result.success
|
|
|
1866 |
if result.wex is not None:
|
|
|
1867 |
raise result.wex
|
|
|
1868 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "scanfreebie failed: unknown result");
|
|
|
1869 |
|
| 7199 |
amar.kumar |
1870 |
def reshipfreebie(self, oldOrderId, newOrderId, freebieItemId, scanType):
|
|
|
1871 |
"""
|
|
|
1872 |
Parameters:
|
|
|
1873 |
- oldOrderId
|
|
|
1874 |
- newOrderId
|
|
|
1875 |
- freebieItemId
|
|
|
1876 |
- scanType
|
|
|
1877 |
"""
|
|
|
1878 |
self.send_reshipfreebie(oldOrderId, newOrderId, freebieItemId, scanType)
|
|
|
1879 |
self.recv_reshipfreebie()
|
| 7190 |
amar.kumar |
1880 |
|
| 7199 |
amar.kumar |
1881 |
def send_reshipfreebie(self, oldOrderId, newOrderId, freebieItemId, scanType):
|
|
|
1882 |
self._oprot.writeMessageBegin('reshipfreebie', TMessageType.CALL, self._seqid)
|
|
|
1883 |
args = reshipfreebie_args()
|
|
|
1884 |
args.oldOrderId = oldOrderId
|
|
|
1885 |
args.newOrderId = newOrderId
|
|
|
1886 |
args.freebieItemId = freebieItemId
|
|
|
1887 |
args.scanType = scanType
|
|
|
1888 |
args.write(self._oprot)
|
|
|
1889 |
self._oprot.writeMessageEnd()
|
|
|
1890 |
self._oprot.trans.flush()
|
|
|
1891 |
|
|
|
1892 |
def recv_reshipfreebie(self, ):
|
|
|
1893 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
1894 |
if mtype == TMessageType.EXCEPTION:
|
|
|
1895 |
x = TApplicationException()
|
|
|
1896 |
x.read(self._iprot)
|
|
|
1897 |
self._iprot.readMessageEnd()
|
|
|
1898 |
raise x
|
|
|
1899 |
result = reshipfreebie_result()
|
|
|
1900 |
result.read(self._iprot)
|
|
|
1901 |
self._iprot.readMessageEnd()
|
|
|
1902 |
if result.wex is not None:
|
|
|
1903 |
raise result.wex
|
|
|
1904 |
return
|
|
|
1905 |
|
| 7410 |
amar.kumar |
1906 |
def isItemTransferAllowed(self, warehouseId, transferWarehouseId):
|
|
|
1907 |
"""
|
|
|
1908 |
Parameters:
|
|
|
1909 |
- warehouseId
|
|
|
1910 |
- transferWarehouseId
|
|
|
1911 |
"""
|
|
|
1912 |
self.send_isItemTransferAllowed(warehouseId, transferWarehouseId)
|
|
|
1913 |
return self.recv_isItemTransferAllowed()
|
| 7199 |
amar.kumar |
1914 |
|
| 7410 |
amar.kumar |
1915 |
def send_isItemTransferAllowed(self, warehouseId, transferWarehouseId):
|
|
|
1916 |
self._oprot.writeMessageBegin('isItemTransferAllowed', TMessageType.CALL, self._seqid)
|
|
|
1917 |
args = isItemTransferAllowed_args()
|
|
|
1918 |
args.warehouseId = warehouseId
|
|
|
1919 |
args.transferWarehouseId = transferWarehouseId
|
|
|
1920 |
args.write(self._oprot)
|
|
|
1921 |
self._oprot.writeMessageEnd()
|
|
|
1922 |
self._oprot.trans.flush()
|
|
|
1923 |
|
|
|
1924 |
def recv_isItemTransferAllowed(self, ):
|
|
|
1925 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
1926 |
if mtype == TMessageType.EXCEPTION:
|
|
|
1927 |
x = TApplicationException()
|
|
|
1928 |
x.read(self._iprot)
|
|
|
1929 |
self._iprot.readMessageEnd()
|
|
|
1930 |
raise x
|
|
|
1931 |
result = isItemTransferAllowed_result()
|
|
|
1932 |
result.read(self._iprot)
|
|
|
1933 |
self._iprot.readMessageEnd()
|
|
|
1934 |
if result.success is not None:
|
|
|
1935 |
return result.success
|
|
|
1936 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "isItemTransferAllowed failed: unknown result");
|
|
|
1937 |
|
|
|
1938 |
def createTransferLot(self, originWarehouseId, destWarehouseId):
|
|
|
1939 |
"""
|
|
|
1940 |
Parameters:
|
|
|
1941 |
- originWarehouseId
|
|
|
1942 |
- destWarehouseId
|
|
|
1943 |
"""
|
|
|
1944 |
self.send_createTransferLot(originWarehouseId, destWarehouseId)
|
|
|
1945 |
return self.recv_createTransferLot()
|
|
|
1946 |
|
|
|
1947 |
def send_createTransferLot(self, originWarehouseId, destWarehouseId):
|
|
|
1948 |
self._oprot.writeMessageBegin('createTransferLot', TMessageType.CALL, self._seqid)
|
|
|
1949 |
args = createTransferLot_args()
|
|
|
1950 |
args.originWarehouseId = originWarehouseId
|
|
|
1951 |
args.destWarehouseId = destWarehouseId
|
|
|
1952 |
args.write(self._oprot)
|
|
|
1953 |
self._oprot.writeMessageEnd()
|
|
|
1954 |
self._oprot.trans.flush()
|
|
|
1955 |
|
|
|
1956 |
def recv_createTransferLot(self, ):
|
|
|
1957 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
1958 |
if mtype == TMessageType.EXCEPTION:
|
|
|
1959 |
x = TApplicationException()
|
|
|
1960 |
x.read(self._iprot)
|
|
|
1961 |
self._iprot.readMessageEnd()
|
|
|
1962 |
raise x
|
|
|
1963 |
result = createTransferLot_result()
|
|
|
1964 |
result.read(self._iprot)
|
|
|
1965 |
self._iprot.readMessageEnd()
|
|
|
1966 |
if result.success is not None:
|
|
|
1967 |
return result.success
|
|
|
1968 |
if result.wex is not None:
|
|
|
1969 |
raise result.wex
|
|
|
1970 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "createTransferLot failed: unknown result");
|
|
|
1971 |
|
|
|
1972 |
def getTransferLot(self, transferLotId):
|
|
|
1973 |
"""
|
|
|
1974 |
Parameters:
|
|
|
1975 |
- transferLotId
|
|
|
1976 |
"""
|
|
|
1977 |
self.send_getTransferLot(transferLotId)
|
|
|
1978 |
return self.recv_getTransferLot()
|
|
|
1979 |
|
|
|
1980 |
def send_getTransferLot(self, transferLotId):
|
|
|
1981 |
self._oprot.writeMessageBegin('getTransferLot', TMessageType.CALL, self._seqid)
|
|
|
1982 |
args = getTransferLot_args()
|
|
|
1983 |
args.transferLotId = transferLotId
|
|
|
1984 |
args.write(self._oprot)
|
|
|
1985 |
self._oprot.writeMessageEnd()
|
|
|
1986 |
self._oprot.trans.flush()
|
|
|
1987 |
|
|
|
1988 |
def recv_getTransferLot(self, ):
|
|
|
1989 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
1990 |
if mtype == TMessageType.EXCEPTION:
|
|
|
1991 |
x = TApplicationException()
|
|
|
1992 |
x.read(self._iprot)
|
|
|
1993 |
self._iprot.readMessageEnd()
|
|
|
1994 |
raise x
|
|
|
1995 |
result = getTransferLot_result()
|
|
|
1996 |
result.read(self._iprot)
|
|
|
1997 |
self._iprot.readMessageEnd()
|
|
|
1998 |
if result.success is not None:
|
|
|
1999 |
return result.success
|
|
|
2000 |
if result.wex is not None:
|
|
|
2001 |
raise result.wex
|
|
|
2002 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "getTransferLot failed: unknown result");
|
|
|
2003 |
|
|
|
2004 |
def markTransferLotAsReceived(self, id, remoteTransferRefNumber):
|
|
|
2005 |
"""
|
|
|
2006 |
Parameters:
|
|
|
2007 |
- id
|
|
|
2008 |
- remoteTransferRefNumber
|
|
|
2009 |
"""
|
|
|
2010 |
self.send_markTransferLotAsReceived(id, remoteTransferRefNumber)
|
|
|
2011 |
self.recv_markTransferLotAsReceived()
|
|
|
2012 |
|
|
|
2013 |
def send_markTransferLotAsReceived(self, id, remoteTransferRefNumber):
|
|
|
2014 |
self._oprot.writeMessageBegin('markTransferLotAsReceived', TMessageType.CALL, self._seqid)
|
|
|
2015 |
args = markTransferLotAsReceived_args()
|
|
|
2016 |
args.id = id
|
|
|
2017 |
args.remoteTransferRefNumber = remoteTransferRefNumber
|
|
|
2018 |
args.write(self._oprot)
|
|
|
2019 |
self._oprot.writeMessageEnd()
|
|
|
2020 |
self._oprot.trans.flush()
|
|
|
2021 |
|
|
|
2022 |
def recv_markTransferLotAsReceived(self, ):
|
|
|
2023 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
2024 |
if mtype == TMessageType.EXCEPTION:
|
|
|
2025 |
x = TApplicationException()
|
|
|
2026 |
x.read(self._iprot)
|
|
|
2027 |
self._iprot.readMessageEnd()
|
|
|
2028 |
raise x
|
|
|
2029 |
result = markTransferLotAsReceived_result()
|
|
|
2030 |
result.read(self._iprot)
|
|
|
2031 |
self._iprot.readMessageEnd()
|
|
|
2032 |
if result.wex is not None:
|
|
|
2033 |
raise result.wex
|
|
|
2034 |
return
|
|
|
2035 |
|
|
|
2036 |
def getTransferLotsByDate(self, fromDate, toDate):
|
|
|
2037 |
"""
|
|
|
2038 |
Parameters:
|
|
|
2039 |
- fromDate
|
|
|
2040 |
- toDate
|
|
|
2041 |
"""
|
|
|
2042 |
self.send_getTransferLotsByDate(fromDate, toDate)
|
|
|
2043 |
return self.recv_getTransferLotsByDate()
|
|
|
2044 |
|
|
|
2045 |
def send_getTransferLotsByDate(self, fromDate, toDate):
|
|
|
2046 |
self._oprot.writeMessageBegin('getTransferLotsByDate', TMessageType.CALL, self._seqid)
|
|
|
2047 |
args = getTransferLotsByDate_args()
|
|
|
2048 |
args.fromDate = fromDate
|
|
|
2049 |
args.toDate = toDate
|
|
|
2050 |
args.write(self._oprot)
|
|
|
2051 |
self._oprot.writeMessageEnd()
|
|
|
2052 |
self._oprot.trans.flush()
|
|
|
2053 |
|
|
|
2054 |
def recv_getTransferLotsByDate(self, ):
|
|
|
2055 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
2056 |
if mtype == TMessageType.EXCEPTION:
|
|
|
2057 |
x = TApplicationException()
|
|
|
2058 |
x.read(self._iprot)
|
|
|
2059 |
self._iprot.readMessageEnd()
|
|
|
2060 |
raise x
|
|
|
2061 |
result = getTransferLotsByDate_result()
|
|
|
2062 |
result.read(self._iprot)
|
|
|
2063 |
self._iprot.readMessageEnd()
|
|
|
2064 |
if result.success is not None:
|
|
|
2065 |
return result.success
|
|
|
2066 |
if result.wex is not None:
|
|
|
2067 |
raise result.wex
|
|
|
2068 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "getTransferLotsByDate failed: unknown result");
|
|
|
2069 |
|
|
|
2070 |
def getAllowedDestinationWarehousesForTransfer(self, warehouseId):
|
|
|
2071 |
"""
|
|
|
2072 |
Parameters:
|
|
|
2073 |
- warehouseId
|
|
|
2074 |
"""
|
|
|
2075 |
self.send_getAllowedDestinationWarehousesForTransfer(warehouseId)
|
|
|
2076 |
return self.recv_getAllowedDestinationWarehousesForTransfer()
|
|
|
2077 |
|
|
|
2078 |
def send_getAllowedDestinationWarehousesForTransfer(self, warehouseId):
|
|
|
2079 |
self._oprot.writeMessageBegin('getAllowedDestinationWarehousesForTransfer', TMessageType.CALL, self._seqid)
|
|
|
2080 |
args = getAllowedDestinationWarehousesForTransfer_args()
|
|
|
2081 |
args.warehouseId = warehouseId
|
|
|
2082 |
args.write(self._oprot)
|
|
|
2083 |
self._oprot.writeMessageEnd()
|
|
|
2084 |
self._oprot.trans.flush()
|
|
|
2085 |
|
|
|
2086 |
def recv_getAllowedDestinationWarehousesForTransfer(self, ):
|
|
|
2087 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
2088 |
if mtype == TMessageType.EXCEPTION:
|
|
|
2089 |
x = TApplicationException()
|
|
|
2090 |
x.read(self._iprot)
|
|
|
2091 |
self._iprot.readMessageEnd()
|
|
|
2092 |
raise x
|
|
|
2093 |
result = getAllowedDestinationWarehousesForTransfer_result()
|
|
|
2094 |
result.read(self._iprot)
|
|
|
2095 |
self._iprot.readMessageEnd()
|
|
|
2096 |
if result.success is not None:
|
|
|
2097 |
return result.success
|
|
|
2098 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllowedDestinationWarehousesForTransfer failed: unknown result");
|
|
|
2099 |
|
|
|
2100 |
def getItemsInTransferLot(self, transferLotId):
|
|
|
2101 |
"""
|
|
|
2102 |
Parameters:
|
|
|
2103 |
- transferLotId
|
|
|
2104 |
"""
|
|
|
2105 |
self.send_getItemsInTransferLot(transferLotId)
|
|
|
2106 |
return self.recv_getItemsInTransferLot()
|
|
|
2107 |
|
|
|
2108 |
def send_getItemsInTransferLot(self, transferLotId):
|
|
|
2109 |
self._oprot.writeMessageBegin('getItemsInTransferLot', TMessageType.CALL, self._seqid)
|
|
|
2110 |
args = getItemsInTransferLot_args()
|
|
|
2111 |
args.transferLotId = transferLotId
|
|
|
2112 |
args.write(self._oprot)
|
|
|
2113 |
self._oprot.writeMessageEnd()
|
|
|
2114 |
self._oprot.trans.flush()
|
|
|
2115 |
|
|
|
2116 |
def recv_getItemsInTransferLot(self, ):
|
|
|
2117 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
2118 |
if mtype == TMessageType.EXCEPTION:
|
|
|
2119 |
x = TApplicationException()
|
|
|
2120 |
x.read(self._iprot)
|
|
|
2121 |
self._iprot.readMessageEnd()
|
|
|
2122 |
raise x
|
|
|
2123 |
result = getItemsInTransferLot_result()
|
|
|
2124 |
result.read(self._iprot)
|
|
|
2125 |
self._iprot.readMessageEnd()
|
|
|
2126 |
if result.success is not None:
|
|
|
2127 |
return result.success
|
|
|
2128 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemsInTransferLot failed: unknown result");
|
|
|
2129 |
|
|
|
2130 |
def markItemsAsReceivedForTransferLot(self, id):
|
|
|
2131 |
"""
|
|
|
2132 |
Parameters:
|
|
|
2133 |
- id
|
|
|
2134 |
"""
|
|
|
2135 |
self.send_markItemsAsReceivedForTransferLot(id)
|
|
|
2136 |
self.recv_markItemsAsReceivedForTransferLot()
|
|
|
2137 |
|
|
|
2138 |
def send_markItemsAsReceivedForTransferLot(self, id):
|
|
|
2139 |
self._oprot.writeMessageBegin('markItemsAsReceivedForTransferLot', TMessageType.CALL, self._seqid)
|
|
|
2140 |
args = markItemsAsReceivedForTransferLot_args()
|
|
|
2141 |
args.id = id
|
|
|
2142 |
args.write(self._oprot)
|
|
|
2143 |
self._oprot.writeMessageEnd()
|
|
|
2144 |
self._oprot.trans.flush()
|
|
|
2145 |
|
|
|
2146 |
def recv_markItemsAsReceivedForTransferLot(self, ):
|
|
|
2147 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
2148 |
if mtype == TMessageType.EXCEPTION:
|
|
|
2149 |
x = TApplicationException()
|
|
|
2150 |
x.read(self._iprot)
|
|
|
2151 |
self._iprot.readMessageEnd()
|
|
|
2152 |
raise x
|
|
|
2153 |
result = markItemsAsReceivedForTransferLot_result()
|
|
|
2154 |
result.read(self._iprot)
|
|
|
2155 |
self._iprot.readMessageEnd()
|
|
|
2156 |
if result.wex is not None:
|
|
|
2157 |
raise result.wex
|
|
|
2158 |
return
|
|
|
2159 |
|
|
|
2160 |
def updateTransferLotAfterItemReceive(self, id):
|
|
|
2161 |
"""
|
|
|
2162 |
Parameters:
|
|
|
2163 |
- id
|
|
|
2164 |
"""
|
|
|
2165 |
self.send_updateTransferLotAfterItemReceive(id)
|
|
|
2166 |
return self.recv_updateTransferLotAfterItemReceive()
|
|
|
2167 |
|
|
|
2168 |
def send_updateTransferLotAfterItemReceive(self, id):
|
|
|
2169 |
self._oprot.writeMessageBegin('updateTransferLotAfterItemReceive', TMessageType.CALL, self._seqid)
|
|
|
2170 |
args = updateTransferLotAfterItemReceive_args()
|
|
|
2171 |
args.id = id
|
|
|
2172 |
args.write(self._oprot)
|
|
|
2173 |
self._oprot.writeMessageEnd()
|
|
|
2174 |
self._oprot.trans.flush()
|
|
|
2175 |
|
|
|
2176 |
def recv_updateTransferLotAfterItemReceive(self, ):
|
|
|
2177 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
2178 |
if mtype == TMessageType.EXCEPTION:
|
|
|
2179 |
x = TApplicationException()
|
|
|
2180 |
x.read(self._iprot)
|
|
|
2181 |
self._iprot.readMessageEnd()
|
|
|
2182 |
raise x
|
|
|
2183 |
result = updateTransferLotAfterItemReceive_result()
|
|
|
2184 |
result.read(self._iprot)
|
|
|
2185 |
self._iprot.readMessageEnd()
|
|
|
2186 |
if result.success is not None:
|
|
|
2187 |
return result.success
|
|
|
2188 |
if result.wex is not None:
|
|
|
2189 |
raise result.wex
|
|
|
2190 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "updateTransferLotAfterItemReceive failed: unknown result");
|
|
|
2191 |
|
| 7459 |
amar.kumar |
2192 |
def scanForTransferOut(self, inventoryItems, type, transferLotId):
|
| 7410 |
amar.kumar |
2193 |
"""
|
|
|
2194 |
Parameters:
|
|
|
2195 |
- inventoryItems
|
|
|
2196 |
- type
|
|
|
2197 |
- transferLotId
|
|
|
2198 |
"""
|
| 7459 |
amar.kumar |
2199 |
self.send_scanForTransferOut(inventoryItems, type, transferLotId)
|
|
|
2200 |
self.recv_scanForTransferOut()
|
| 7410 |
amar.kumar |
2201 |
|
| 7459 |
amar.kumar |
2202 |
def send_scanForTransferOut(self, inventoryItems, type, transferLotId):
|
|
|
2203 |
self._oprot.writeMessageBegin('scanForTransferOut', TMessageType.CALL, self._seqid)
|
|
|
2204 |
args = scanForTransferOut_args()
|
| 7410 |
amar.kumar |
2205 |
args.inventoryItems = inventoryItems
|
|
|
2206 |
args.type = type
|
|
|
2207 |
args.transferLotId = transferLotId
|
|
|
2208 |
args.write(self._oprot)
|
|
|
2209 |
self._oprot.writeMessageEnd()
|
|
|
2210 |
self._oprot.trans.flush()
|
|
|
2211 |
|
| 7459 |
amar.kumar |
2212 |
def recv_scanForTransferOut(self, ):
|
| 7410 |
amar.kumar |
2213 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
2214 |
if mtype == TMessageType.EXCEPTION:
|
|
|
2215 |
x = TApplicationException()
|
|
|
2216 |
x.read(self._iprot)
|
|
|
2217 |
self._iprot.readMessageEnd()
|
|
|
2218 |
raise x
|
| 7459 |
amar.kumar |
2219 |
result = scanForTransferOut_result()
|
| 7410 |
amar.kumar |
2220 |
result.read(self._iprot)
|
|
|
2221 |
self._iprot.readMessageEnd()
|
|
|
2222 |
if result.wex is not None:
|
|
|
2223 |
raise result.wex
|
|
|
2224 |
return
|
|
|
2225 |
|
| 7459 |
amar.kumar |
2226 |
def scanForTransferIn(self, inventoryItems, type, transferLotId):
|
|
|
2227 |
"""
|
|
|
2228 |
Parameters:
|
|
|
2229 |
- inventoryItems
|
|
|
2230 |
- type
|
|
|
2231 |
- transferLotId
|
|
|
2232 |
"""
|
|
|
2233 |
self.send_scanForTransferIn(inventoryItems, type, transferLotId)
|
|
|
2234 |
self.recv_scanForTransferIn()
|
| 7410 |
amar.kumar |
2235 |
|
| 7459 |
amar.kumar |
2236 |
def send_scanForTransferIn(self, inventoryItems, type, transferLotId):
|
|
|
2237 |
self._oprot.writeMessageBegin('scanForTransferIn', TMessageType.CALL, self._seqid)
|
|
|
2238 |
args = scanForTransferIn_args()
|
|
|
2239 |
args.inventoryItems = inventoryItems
|
|
|
2240 |
args.type = type
|
|
|
2241 |
args.transferLotId = transferLotId
|
|
|
2242 |
args.write(self._oprot)
|
|
|
2243 |
self._oprot.writeMessageEnd()
|
|
|
2244 |
self._oprot.trans.flush()
|
|
|
2245 |
|
|
|
2246 |
def recv_scanForTransferIn(self, ):
|
|
|
2247 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
2248 |
if mtype == TMessageType.EXCEPTION:
|
|
|
2249 |
x = TApplicationException()
|
|
|
2250 |
x.read(self._iprot)
|
|
|
2251 |
self._iprot.readMessageEnd()
|
|
|
2252 |
raise x
|
|
|
2253 |
result = scanForTransferIn_result()
|
|
|
2254 |
result.read(self._iprot)
|
|
|
2255 |
self._iprot.readMessageEnd()
|
|
|
2256 |
if result.wex is not None:
|
|
|
2257 |
raise result.wex
|
|
|
2258 |
return
|
|
|
2259 |
|
|
|
2260 |
def scanForOursThirdPartyReceive(self, inventoryItems, id):
|
|
|
2261 |
"""
|
|
|
2262 |
Parameters:
|
|
|
2263 |
- inventoryItems
|
|
|
2264 |
- id
|
|
|
2265 |
"""
|
|
|
2266 |
self.send_scanForOursThirdPartyReceive(inventoryItems, id)
|
|
|
2267 |
self.recv_scanForOursThirdPartyReceive()
|
|
|
2268 |
|
|
|
2269 |
def send_scanForOursThirdPartyReceive(self, inventoryItems, id):
|
|
|
2270 |
self._oprot.writeMessageBegin('scanForOursThirdPartyReceive', TMessageType.CALL, self._seqid)
|
|
|
2271 |
args = scanForOursThirdPartyReceive_args()
|
|
|
2272 |
args.inventoryItems = inventoryItems
|
|
|
2273 |
args.id = id
|
|
|
2274 |
args.write(self._oprot)
|
|
|
2275 |
self._oprot.writeMessageEnd()
|
|
|
2276 |
self._oprot.trans.flush()
|
|
|
2277 |
|
|
|
2278 |
def recv_scanForOursThirdPartyReceive(self, ):
|
|
|
2279 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
2280 |
if mtype == TMessageType.EXCEPTION:
|
|
|
2281 |
x = TApplicationException()
|
|
|
2282 |
x.read(self._iprot)
|
|
|
2283 |
self._iprot.readMessageEnd()
|
|
|
2284 |
raise x
|
|
|
2285 |
result = scanForOursThirdPartyReceive_result()
|
|
|
2286 |
result.read(self._iprot)
|
|
|
2287 |
self._iprot.readMessageEnd()
|
|
|
2288 |
if result.wex is not None:
|
|
|
2289 |
raise result.wex
|
|
|
2290 |
return
|
|
|
2291 |
|
| 7574 |
amar.kumar |
2292 |
def getCurrentQuantityForNonSerializedInTransitItemInPhysicalWarehouse(self, itemId, physicalWarehouseId):
|
|
|
2293 |
"""
|
|
|
2294 |
Parameters:
|
|
|
2295 |
- itemId
|
|
|
2296 |
- physicalWarehouseId
|
|
|
2297 |
"""
|
|
|
2298 |
self.send_getCurrentQuantityForNonSerializedInTransitItemInPhysicalWarehouse(itemId, physicalWarehouseId)
|
|
|
2299 |
return self.recv_getCurrentQuantityForNonSerializedInTransitItemInPhysicalWarehouse()
|
| 7459 |
amar.kumar |
2300 |
|
| 7574 |
amar.kumar |
2301 |
def send_getCurrentQuantityForNonSerializedInTransitItemInPhysicalWarehouse(self, itemId, physicalWarehouseId):
|
|
|
2302 |
self._oprot.writeMessageBegin('getCurrentQuantityForNonSerializedInTransitItemInPhysicalWarehouse', TMessageType.CALL, self._seqid)
|
|
|
2303 |
args = getCurrentQuantityForNonSerializedInTransitItemInPhysicalWarehouse_args()
|
|
|
2304 |
args.itemId = itemId
|
|
|
2305 |
args.physicalWarehouseId = physicalWarehouseId
|
|
|
2306 |
args.write(self._oprot)
|
|
|
2307 |
self._oprot.writeMessageEnd()
|
|
|
2308 |
self._oprot.trans.flush()
|
|
|
2309 |
|
|
|
2310 |
def recv_getCurrentQuantityForNonSerializedInTransitItemInPhysicalWarehouse(self, ):
|
|
|
2311 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
2312 |
if mtype == TMessageType.EXCEPTION:
|
|
|
2313 |
x = TApplicationException()
|
|
|
2314 |
x.read(self._iprot)
|
|
|
2315 |
self._iprot.readMessageEnd()
|
|
|
2316 |
raise x
|
|
|
2317 |
result = getCurrentQuantityForNonSerializedInTransitItemInPhysicalWarehouse_result()
|
|
|
2318 |
result.read(self._iprot)
|
|
|
2319 |
self._iprot.readMessageEnd()
|
|
|
2320 |
if result.success is not None:
|
|
|
2321 |
return result.success
|
|
|
2322 |
if result.wex is not None:
|
|
|
2323 |
raise result.wex
|
|
|
2324 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "getCurrentQuantityForNonSerializedInTransitItemInPhysicalWarehouse failed: unknown result");
|
|
|
2325 |
|
| 7672 |
rajveer |
2326 |
def getInTransitInventory(self, originWarehouseId):
|
|
|
2327 |
"""
|
|
|
2328 |
Parameters:
|
|
|
2329 |
- originWarehouseId
|
|
|
2330 |
"""
|
|
|
2331 |
self.send_getInTransitInventory(originWarehouseId)
|
|
|
2332 |
return self.recv_getInTransitInventory()
|
| 7574 |
amar.kumar |
2333 |
|
| 7672 |
rajveer |
2334 |
def send_getInTransitInventory(self, originWarehouseId):
|
|
|
2335 |
self._oprot.writeMessageBegin('getInTransitInventory', TMessageType.CALL, self._seqid)
|
|
|
2336 |
args = getInTransitInventory_args()
|
|
|
2337 |
args.originWarehouseId = originWarehouseId
|
|
|
2338 |
args.write(self._oprot)
|
|
|
2339 |
self._oprot.writeMessageEnd()
|
|
|
2340 |
self._oprot.trans.flush()
|
|
|
2341 |
|
|
|
2342 |
def recv_getInTransitInventory(self, ):
|
|
|
2343 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
2344 |
if mtype == TMessageType.EXCEPTION:
|
|
|
2345 |
x = TApplicationException()
|
|
|
2346 |
x.read(self._iprot)
|
|
|
2347 |
self._iprot.readMessageEnd()
|
|
|
2348 |
raise x
|
|
|
2349 |
result = getInTransitInventory_result()
|
|
|
2350 |
result.read(self._iprot)
|
|
|
2351 |
self._iprot.readMessageEnd()
|
|
|
2352 |
if result.success is not None:
|
|
|
2353 |
return result.success
|
|
|
2354 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "getInTransitInventory failed: unknown result");
|
|
|
2355 |
|
| 7968 |
amar.kumar |
2356 |
def isItemAvailableForSale(self, itemId, serialNumber, warehouseId):
|
|
|
2357 |
"""
|
|
|
2358 |
Parameters:
|
|
|
2359 |
- itemId
|
|
|
2360 |
- serialNumber
|
|
|
2361 |
- warehouseId
|
|
|
2362 |
"""
|
|
|
2363 |
self.send_isItemAvailableForSale(itemId, serialNumber, warehouseId)
|
|
|
2364 |
return self.recv_isItemAvailableForSale()
|
| 7672 |
rajveer |
2365 |
|
| 7968 |
amar.kumar |
2366 |
def send_isItemAvailableForSale(self, itemId, serialNumber, warehouseId):
|
|
|
2367 |
self._oprot.writeMessageBegin('isItemAvailableForSale', TMessageType.CALL, self._seqid)
|
|
|
2368 |
args = isItemAvailableForSale_args()
|
|
|
2369 |
args.itemId = itemId
|
|
|
2370 |
args.serialNumber = serialNumber
|
|
|
2371 |
args.warehouseId = warehouseId
|
|
|
2372 |
args.write(self._oprot)
|
|
|
2373 |
self._oprot.writeMessageEnd()
|
|
|
2374 |
self._oprot.trans.flush()
|
|
|
2375 |
|
|
|
2376 |
def recv_isItemAvailableForSale(self, ):
|
|
|
2377 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
2378 |
if mtype == TMessageType.EXCEPTION:
|
|
|
2379 |
x = TApplicationException()
|
|
|
2380 |
x.read(self._iprot)
|
|
|
2381 |
self._iprot.readMessageEnd()
|
|
|
2382 |
raise x
|
|
|
2383 |
result = isItemAvailableForSale_result()
|
|
|
2384 |
result.read(self._iprot)
|
|
|
2385 |
self._iprot.readMessageEnd()
|
|
|
2386 |
if result.success is not None:
|
|
|
2387 |
return result.success
|
|
|
2388 |
if result.wex is not None:
|
|
|
2389 |
raise result.wex
|
|
|
2390 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "isItemAvailableForSale failed: unknown result");
|
|
|
2391 |
|
|
|
2392 |
def getHistoricBadInventoryByScans(self, date):
|
|
|
2393 |
"""
|
|
|
2394 |
Get inventory for Non Serialized items in our warehouses at a given date using entries in ScanNew table
|
|
|
2395 |
|
|
|
2396 |
Parameters:
|
|
|
2397 |
- date
|
|
|
2398 |
"""
|
|
|
2399 |
self.send_getHistoricBadInventoryByScans(date)
|
|
|
2400 |
return self.recv_getHistoricBadInventoryByScans()
|
|
|
2401 |
|
|
|
2402 |
def send_getHistoricBadInventoryByScans(self, date):
|
|
|
2403 |
self._oprot.writeMessageBegin('getHistoricBadInventoryByScans', TMessageType.CALL, self._seqid)
|
|
|
2404 |
args = getHistoricBadInventoryByScans_args()
|
|
|
2405 |
args.date = date
|
|
|
2406 |
args.write(self._oprot)
|
|
|
2407 |
self._oprot.writeMessageEnd()
|
|
|
2408 |
self._oprot.trans.flush()
|
|
|
2409 |
|
|
|
2410 |
def recv_getHistoricBadInventoryByScans(self, ):
|
|
|
2411 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
2412 |
if mtype == TMessageType.EXCEPTION:
|
|
|
2413 |
x = TApplicationException()
|
|
|
2414 |
x.read(self._iprot)
|
|
|
2415 |
self._iprot.readMessageEnd()
|
|
|
2416 |
raise x
|
|
|
2417 |
result = getHistoricBadInventoryByScans_result()
|
|
|
2418 |
result.read(self._iprot)
|
|
|
2419 |
self._iprot.readMessageEnd()
|
|
|
2420 |
if result.success is not None:
|
|
|
2421 |
return result.success
|
|
|
2422 |
if result.wex is not None:
|
|
|
2423 |
raise result.wex
|
|
|
2424 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "getHistoricBadInventoryByScans failed: unknown result");
|
|
|
2425 |
|
| 8717 |
amar.kumar |
2426 |
def scanForBadSale(self, serialNumber, itemNumber, itemId, orderId, fulfilmentWarehouseId, quantity, billingWarehouseId):
|
| 8565 |
amar.kumar |
2427 |
"""
|
|
|
2428 |
Parameters:
|
| 8717 |
amar.kumar |
2429 |
- serialNumber
|
|
|
2430 |
- itemNumber
|
|
|
2431 |
- itemId
|
| 8565 |
amar.kumar |
2432 |
- orderId
|
| 8717 |
amar.kumar |
2433 |
- fulfilmentWarehouseId
|
| 8565 |
amar.kumar |
2434 |
- quantity
|
|
|
2435 |
- billingWarehouseId
|
|
|
2436 |
"""
|
| 8717 |
amar.kumar |
2437 |
self.send_scanForBadSale(serialNumber, itemNumber, itemId, orderId, fulfilmentWarehouseId, quantity, billingWarehouseId)
|
|
|
2438 |
return self.recv_scanForBadSale()
|
| 7968 |
amar.kumar |
2439 |
|
| 8717 |
amar.kumar |
2440 |
def send_scanForBadSale(self, serialNumber, itemNumber, itemId, orderId, fulfilmentWarehouseId, quantity, billingWarehouseId):
|
| 8565 |
amar.kumar |
2441 |
self._oprot.writeMessageBegin('scanForBadSale', TMessageType.CALL, self._seqid)
|
|
|
2442 |
args = scanForBadSale_args()
|
| 8717 |
amar.kumar |
2443 |
args.serialNumber = serialNumber
|
|
|
2444 |
args.itemNumber = itemNumber
|
|
|
2445 |
args.itemId = itemId
|
| 8565 |
amar.kumar |
2446 |
args.orderId = orderId
|
| 8717 |
amar.kumar |
2447 |
args.fulfilmentWarehouseId = fulfilmentWarehouseId
|
| 8565 |
amar.kumar |
2448 |
args.quantity = quantity
|
|
|
2449 |
args.billingWarehouseId = billingWarehouseId
|
|
|
2450 |
args.write(self._oprot)
|
|
|
2451 |
self._oprot.writeMessageEnd()
|
|
|
2452 |
self._oprot.trans.flush()
|
|
|
2453 |
|
|
|
2454 |
def recv_scanForBadSale(self, ):
|
|
|
2455 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
2456 |
if mtype == TMessageType.EXCEPTION:
|
|
|
2457 |
x = TApplicationException()
|
|
|
2458 |
x.read(self._iprot)
|
|
|
2459 |
self._iprot.readMessageEnd()
|
|
|
2460 |
raise x
|
|
|
2461 |
result = scanForBadSale_result()
|
|
|
2462 |
result.read(self._iprot)
|
|
|
2463 |
self._iprot.readMessageEnd()
|
| 8717 |
amar.kumar |
2464 |
if result.success is not None:
|
|
|
2465 |
return result.success
|
|
|
2466 |
if result.wex is not None:
|
|
|
2467 |
raise result.wex
|
|
|
2468 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "scanForBadSale failed: unknown result");
|
| 8565 |
amar.kumar |
2469 |
|
| 10120 |
manish.sha |
2470 |
def getTransferLotItemsForMarkReceive(self, transferLotId, scanType):
|
|
|
2471 |
"""
|
|
|
2472 |
Parameters:
|
|
|
2473 |
- transferLotId
|
|
|
2474 |
- scanType
|
|
|
2475 |
"""
|
|
|
2476 |
self.send_getTransferLotItemsForMarkReceive(transferLotId, scanType)
|
|
|
2477 |
return self.recv_getTransferLotItemsForMarkReceive()
|
| 8565 |
amar.kumar |
2478 |
|
| 10120 |
manish.sha |
2479 |
def send_getTransferLotItemsForMarkReceive(self, transferLotId, scanType):
|
|
|
2480 |
self._oprot.writeMessageBegin('getTransferLotItemsForMarkReceive', TMessageType.CALL, self._seqid)
|
|
|
2481 |
args = getTransferLotItemsForMarkReceive_args()
|
|
|
2482 |
args.transferLotId = transferLotId
|
|
|
2483 |
args.scanType = scanType
|
|
|
2484 |
args.write(self._oprot)
|
|
|
2485 |
self._oprot.writeMessageEnd()
|
|
|
2486 |
self._oprot.trans.flush()
|
|
|
2487 |
|
|
|
2488 |
def recv_getTransferLotItemsForMarkReceive(self, ):
|
|
|
2489 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
2490 |
if mtype == TMessageType.EXCEPTION:
|
|
|
2491 |
x = TApplicationException()
|
|
|
2492 |
x.read(self._iprot)
|
|
|
2493 |
self._iprot.readMessageEnd()
|
|
|
2494 |
raise x
|
|
|
2495 |
result = getTransferLotItemsForMarkReceive_result()
|
|
|
2496 |
result.read(self._iprot)
|
|
|
2497 |
self._iprot.readMessageEnd()
|
|
|
2498 |
if result.success is not None:
|
|
|
2499 |
return result.success
|
|
|
2500 |
if result.wex is not None:
|
|
|
2501 |
raise result.wex
|
|
|
2502 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "getTransferLotItemsForMarkReceive failed: unknown result");
|
|
|
2503 |
|
|
|
2504 |
def markItemsAsReceivedForTransferLotPartial(self, inventoryItems, transferLotId):
|
|
|
2505 |
"""
|
|
|
2506 |
Parameters:
|
|
|
2507 |
- inventoryItems
|
|
|
2508 |
- transferLotId
|
|
|
2509 |
"""
|
|
|
2510 |
self.send_markItemsAsReceivedForTransferLotPartial(inventoryItems, transferLotId)
|
|
|
2511 |
self.recv_markItemsAsReceivedForTransferLotPartial()
|
|
|
2512 |
|
|
|
2513 |
def send_markItemsAsReceivedForTransferLotPartial(self, inventoryItems, transferLotId):
|
|
|
2514 |
self._oprot.writeMessageBegin('markItemsAsReceivedForTransferLotPartial', TMessageType.CALL, self._seqid)
|
|
|
2515 |
args = markItemsAsReceivedForTransferLotPartial_args()
|
|
|
2516 |
args.inventoryItems = inventoryItems
|
|
|
2517 |
args.transferLotId = transferLotId
|
|
|
2518 |
args.write(self._oprot)
|
|
|
2519 |
self._oprot.writeMessageEnd()
|
|
|
2520 |
self._oprot.trans.flush()
|
|
|
2521 |
|
|
|
2522 |
def recv_markItemsAsReceivedForTransferLotPartial(self, ):
|
|
|
2523 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
2524 |
if mtype == TMessageType.EXCEPTION:
|
|
|
2525 |
x = TApplicationException()
|
|
|
2526 |
x.read(self._iprot)
|
|
|
2527 |
self._iprot.readMessageEnd()
|
|
|
2528 |
raise x
|
|
|
2529 |
result = markItemsAsReceivedForTransferLotPartial_result()
|
|
|
2530 |
result.read(self._iprot)
|
|
|
2531 |
self._iprot.readMessageEnd()
|
|
|
2532 |
if result.wex is not None:
|
|
|
2533 |
raise result.wex
|
|
|
2534 |
return
|
|
|
2535 |
|
|
|
2536 |
def markTransferLotAsReceivedPartial(self, id, remoteTransferRefNumber):
|
|
|
2537 |
"""
|
|
|
2538 |
Parameters:
|
|
|
2539 |
- id
|
|
|
2540 |
- remoteTransferRefNumber
|
|
|
2541 |
"""
|
|
|
2542 |
self.send_markTransferLotAsReceivedPartial(id, remoteTransferRefNumber)
|
|
|
2543 |
self.recv_markTransferLotAsReceivedPartial()
|
|
|
2544 |
|
|
|
2545 |
def send_markTransferLotAsReceivedPartial(self, id, remoteTransferRefNumber):
|
|
|
2546 |
self._oprot.writeMessageBegin('markTransferLotAsReceivedPartial', TMessageType.CALL, self._seqid)
|
|
|
2547 |
args = markTransferLotAsReceivedPartial_args()
|
|
|
2548 |
args.id = id
|
|
|
2549 |
args.remoteTransferRefNumber = remoteTransferRefNumber
|
|
|
2550 |
args.write(self._oprot)
|
|
|
2551 |
self._oprot.writeMessageEnd()
|
|
|
2552 |
self._oprot.trans.flush()
|
|
|
2553 |
|
|
|
2554 |
def recv_markTransferLotAsReceivedPartial(self, ):
|
|
|
2555 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
2556 |
if mtype == TMessageType.EXCEPTION:
|
|
|
2557 |
x = TApplicationException()
|
|
|
2558 |
x.read(self._iprot)
|
|
|
2559 |
self._iprot.readMessageEnd()
|
|
|
2560 |
raise x
|
|
|
2561 |
result = markTransferLotAsReceivedPartial_result()
|
|
|
2562 |
result.read(self._iprot)
|
|
|
2563 |
self._iprot.readMessageEnd()
|
|
|
2564 |
if result.wex is not None:
|
|
|
2565 |
raise result.wex
|
|
|
2566 |
return
|
|
|
2567 |
|
| 10690 |
manish.sha |
2568 |
def getInventoryItemScannedInForPO(self, itemId, purchaseIds):
|
|
|
2569 |
"""
|
|
|
2570 |
Parameters:
|
|
|
2571 |
- itemId
|
|
|
2572 |
- purchaseIds
|
|
|
2573 |
"""
|
|
|
2574 |
self.send_getInventoryItemScannedInForPO(itemId, purchaseIds)
|
|
|
2575 |
return self.recv_getInventoryItemScannedInForPO()
|
| 10120 |
manish.sha |
2576 |
|
| 10690 |
manish.sha |
2577 |
def send_getInventoryItemScannedInForPO(self, itemId, purchaseIds):
|
|
|
2578 |
self._oprot.writeMessageBegin('getInventoryItemScannedInForPO', TMessageType.CALL, self._seqid)
|
|
|
2579 |
args = getInventoryItemScannedInForPO_args()
|
|
|
2580 |
args.itemId = itemId
|
|
|
2581 |
args.purchaseIds = purchaseIds
|
|
|
2582 |
args.write(self._oprot)
|
|
|
2583 |
self._oprot.writeMessageEnd()
|
|
|
2584 |
self._oprot.trans.flush()
|
|
|
2585 |
|
|
|
2586 |
def recv_getInventoryItemScannedInForPO(self, ):
|
|
|
2587 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
2588 |
if mtype == TMessageType.EXCEPTION:
|
|
|
2589 |
x = TApplicationException()
|
|
|
2590 |
x.read(self._iprot)
|
|
|
2591 |
self._iprot.readMessageEnd()
|
|
|
2592 |
raise x
|
|
|
2593 |
result = getInventoryItemScannedInForPO_result()
|
|
|
2594 |
result.read(self._iprot)
|
|
|
2595 |
self._iprot.readMessageEnd()
|
|
|
2596 |
if result.success is not None:
|
|
|
2597 |
return result.success
|
|
|
2598 |
if result.wex is not None:
|
|
|
2599 |
raise result.wex
|
|
|
2600 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "getInventoryItemScannedInForPO failed: unknown result");
|
|
|
2601 |
|
|
|
2602 |
def getAmazonTransferredSkuDetails(self, itemIds):
|
|
|
2603 |
"""
|
|
|
2604 |
Parameters:
|
|
|
2605 |
- itemIds
|
|
|
2606 |
"""
|
|
|
2607 |
self.send_getAmazonTransferredSkuDetails(itemIds)
|
|
|
2608 |
return self.recv_getAmazonTransferredSkuDetails()
|
|
|
2609 |
|
|
|
2610 |
def send_getAmazonTransferredSkuDetails(self, itemIds):
|
|
|
2611 |
self._oprot.writeMessageBegin('getAmazonTransferredSkuDetails', TMessageType.CALL, self._seqid)
|
|
|
2612 |
args = getAmazonTransferredSkuDetails_args()
|
|
|
2613 |
args.itemIds = itemIds
|
|
|
2614 |
args.write(self._oprot)
|
|
|
2615 |
self._oprot.writeMessageEnd()
|
|
|
2616 |
self._oprot.trans.flush()
|
|
|
2617 |
|
|
|
2618 |
def recv_getAmazonTransferredSkuDetails(self, ):
|
|
|
2619 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
2620 |
if mtype == TMessageType.EXCEPTION:
|
|
|
2621 |
x = TApplicationException()
|
|
|
2622 |
x.read(self._iprot)
|
|
|
2623 |
self._iprot.readMessageEnd()
|
|
|
2624 |
raise x
|
|
|
2625 |
result = getAmazonTransferredSkuDetails_result()
|
|
|
2626 |
result.read(self._iprot)
|
|
|
2627 |
self._iprot.readMessageEnd()
|
|
|
2628 |
if result.success is not None:
|
|
|
2629 |
return result.success
|
|
|
2630 |
if result.wex is not None:
|
|
|
2631 |
raise result.wex
|
|
|
2632 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "getAmazonTransferredSkuDetails failed: unknown result");
|
|
|
2633 |
|
|
|
2634 |
def getScansforPurchase(self, purchaseId, scanType):
|
|
|
2635 |
"""
|
|
|
2636 |
Parameters:
|
|
|
2637 |
- purchaseId
|
|
|
2638 |
- scanType
|
|
|
2639 |
"""
|
|
|
2640 |
self.send_getScansforPurchase(purchaseId, scanType)
|
|
|
2641 |
return self.recv_getScansforPurchase()
|
|
|
2642 |
|
|
|
2643 |
def send_getScansforPurchase(self, purchaseId, scanType):
|
|
|
2644 |
self._oprot.writeMessageBegin('getScansforPurchase', TMessageType.CALL, self._seqid)
|
|
|
2645 |
args = getScansforPurchase_args()
|
|
|
2646 |
args.purchaseId = purchaseId
|
|
|
2647 |
args.scanType = scanType
|
|
|
2648 |
args.write(self._oprot)
|
|
|
2649 |
self._oprot.writeMessageEnd()
|
|
|
2650 |
self._oprot.trans.flush()
|
|
|
2651 |
|
|
|
2652 |
def recv_getScansforPurchase(self, ):
|
|
|
2653 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
2654 |
if mtype == TMessageType.EXCEPTION:
|
|
|
2655 |
x = TApplicationException()
|
|
|
2656 |
x.read(self._iprot)
|
|
|
2657 |
self._iprot.readMessageEnd()
|
|
|
2658 |
raise x
|
|
|
2659 |
result = getScansforPurchase_result()
|
|
|
2660 |
result.read(self._iprot)
|
|
|
2661 |
self._iprot.readMessageEnd()
|
|
|
2662 |
if result.success is not None:
|
|
|
2663 |
return result.success
|
|
|
2664 |
if result.wex is not None:
|
|
|
2665 |
raise result.wex
|
|
|
2666 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "getScansforPurchase failed: unknown result");
|
|
|
2667 |
|
| 10864 |
manish.sha |
2668 |
def getCurrentBadQuantityForItem(self, itemId, currentWarehouseId, physicalWarehouseId):
|
|
|
2669 |
"""
|
|
|
2670 |
Parameters:
|
|
|
2671 |
- itemId
|
|
|
2672 |
- currentWarehouseId
|
|
|
2673 |
- physicalWarehouseId
|
|
|
2674 |
"""
|
|
|
2675 |
self.send_getCurrentBadQuantityForItem(itemId, currentWarehouseId, physicalWarehouseId)
|
|
|
2676 |
return self.recv_getCurrentBadQuantityForItem()
|
| 10690 |
manish.sha |
2677 |
|
| 10864 |
manish.sha |
2678 |
def send_getCurrentBadQuantityForItem(self, itemId, currentWarehouseId, physicalWarehouseId):
|
|
|
2679 |
self._oprot.writeMessageBegin('getCurrentBadQuantityForItem', TMessageType.CALL, self._seqid)
|
|
|
2680 |
args = getCurrentBadQuantityForItem_args()
|
|
|
2681 |
args.itemId = itemId
|
|
|
2682 |
args.currentWarehouseId = currentWarehouseId
|
|
|
2683 |
args.physicalWarehouseId = physicalWarehouseId
|
|
|
2684 |
args.write(self._oprot)
|
|
|
2685 |
self._oprot.writeMessageEnd()
|
|
|
2686 |
self._oprot.trans.flush()
|
|
|
2687 |
|
|
|
2688 |
def recv_getCurrentBadQuantityForItem(self, ):
|
|
|
2689 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
2690 |
if mtype == TMessageType.EXCEPTION:
|
|
|
2691 |
x = TApplicationException()
|
|
|
2692 |
x.read(self._iprot)
|
|
|
2693 |
self._iprot.readMessageEnd()
|
|
|
2694 |
raise x
|
|
|
2695 |
result = getCurrentBadQuantityForItem_result()
|
|
|
2696 |
result.read(self._iprot)
|
|
|
2697 |
self._iprot.readMessageEnd()
|
|
|
2698 |
if result.success is not None:
|
|
|
2699 |
return result.success
|
|
|
2700 |
if result.wex is not None:
|
|
|
2701 |
raise result.wex
|
|
|
2702 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "getCurrentBadQuantityForItem failed: unknown result");
|
|
|
2703 |
|
|
|
2704 |
def scanForBadPurchaseReturn(self, saleReturnItems, vendorId, billingWarehouseId):
|
|
|
2705 |
"""
|
|
|
2706 |
Parameters:
|
|
|
2707 |
- saleReturnItems
|
|
|
2708 |
- vendorId
|
|
|
2709 |
- billingWarehouseId
|
|
|
2710 |
"""
|
|
|
2711 |
self.send_scanForBadPurchaseReturn(saleReturnItems, vendorId, billingWarehouseId)
|
|
|
2712 |
return self.recv_scanForBadPurchaseReturn()
|
|
|
2713 |
|
|
|
2714 |
def send_scanForBadPurchaseReturn(self, saleReturnItems, vendorId, billingWarehouseId):
|
|
|
2715 |
self._oprot.writeMessageBegin('scanForBadPurchaseReturn', TMessageType.CALL, self._seqid)
|
|
|
2716 |
args = scanForBadPurchaseReturn_args()
|
|
|
2717 |
args.saleReturnItems = saleReturnItems
|
|
|
2718 |
args.vendorId = vendorId
|
|
|
2719 |
args.billingWarehouseId = billingWarehouseId
|
|
|
2720 |
args.write(self._oprot)
|
|
|
2721 |
self._oprot.writeMessageEnd()
|
|
|
2722 |
self._oprot.trans.flush()
|
|
|
2723 |
|
|
|
2724 |
def recv_scanForBadPurchaseReturn(self, ):
|
|
|
2725 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
2726 |
if mtype == TMessageType.EXCEPTION:
|
|
|
2727 |
x = TApplicationException()
|
|
|
2728 |
x.read(self._iprot)
|
|
|
2729 |
self._iprot.readMessageEnd()
|
|
|
2730 |
raise x
|
|
|
2731 |
result = scanForBadPurchaseReturn_result()
|
|
|
2732 |
result.read(self._iprot)
|
|
|
2733 |
self._iprot.readMessageEnd()
|
|
|
2734 |
if result.success is not None:
|
|
|
2735 |
return result.success
|
|
|
2736 |
if result.ex is not None:
|
|
|
2737 |
raise result.ex
|
|
|
2738 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "scanForBadPurchaseReturn failed: unknown result");
|
|
|
2739 |
|
| 13504 |
manish.sha |
2740 |
def getItemsInPurchaseReturn(self, purchaseReturnId, type, returnTime):
|
| 10864 |
manish.sha |
2741 |
"""
|
|
|
2742 |
Parameters:
|
|
|
2743 |
- purchaseReturnId
|
| 11751 |
manish.sha |
2744 |
- type
|
| 13504 |
manish.sha |
2745 |
- returnTime
|
| 10864 |
manish.sha |
2746 |
"""
|
| 13504 |
manish.sha |
2747 |
self.send_getItemsInPurchaseReturn(purchaseReturnId, type, returnTime)
|
| 10864 |
manish.sha |
2748 |
return self.recv_getItemsInPurchaseReturn()
|
|
|
2749 |
|
| 13504 |
manish.sha |
2750 |
def send_getItemsInPurchaseReturn(self, purchaseReturnId, type, returnTime):
|
| 10864 |
manish.sha |
2751 |
self._oprot.writeMessageBegin('getItemsInPurchaseReturn', TMessageType.CALL, self._seqid)
|
|
|
2752 |
args = getItemsInPurchaseReturn_args()
|
|
|
2753 |
args.purchaseReturnId = purchaseReturnId
|
| 11751 |
manish.sha |
2754 |
args.type = type
|
| 13504 |
manish.sha |
2755 |
args.returnTime = returnTime
|
| 10864 |
manish.sha |
2756 |
args.write(self._oprot)
|
|
|
2757 |
self._oprot.writeMessageEnd()
|
|
|
2758 |
self._oprot.trans.flush()
|
|
|
2759 |
|
|
|
2760 |
def recv_getItemsInPurchaseReturn(self, ):
|
|
|
2761 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
2762 |
if mtype == TMessageType.EXCEPTION:
|
|
|
2763 |
x = TApplicationException()
|
|
|
2764 |
x.read(self._iprot)
|
|
|
2765 |
self._iprot.readMessageEnd()
|
|
|
2766 |
raise x
|
|
|
2767 |
result = getItemsInPurchaseReturn_result()
|
|
|
2768 |
result.read(self._iprot)
|
|
|
2769 |
self._iprot.readMessageEnd()
|
|
|
2770 |
if result.success is not None:
|
|
|
2771 |
return result.success
|
|
|
2772 |
if result.ex is not None:
|
|
|
2773 |
raise result.ex
|
|
|
2774 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemsInPurchaseReturn failed: unknown result");
|
|
|
2775 |
|
| 10886 |
manish.sha |
2776 |
def getScansForInventoryItem(self, inventoryItemId, type):
|
|
|
2777 |
"""
|
|
|
2778 |
Parameters:
|
|
|
2779 |
- inventoryItemId
|
|
|
2780 |
- type
|
|
|
2781 |
"""
|
|
|
2782 |
self.send_getScansForInventoryItem(inventoryItemId, type)
|
|
|
2783 |
return self.recv_getScansForInventoryItem()
|
| 10864 |
manish.sha |
2784 |
|
| 10886 |
manish.sha |
2785 |
def send_getScansForInventoryItem(self, inventoryItemId, type):
|
|
|
2786 |
self._oprot.writeMessageBegin('getScansForInventoryItem', TMessageType.CALL, self._seqid)
|
|
|
2787 |
args = getScansForInventoryItem_args()
|
|
|
2788 |
args.inventoryItemId = inventoryItemId
|
|
|
2789 |
args.type = type
|
|
|
2790 |
args.write(self._oprot)
|
|
|
2791 |
self._oprot.writeMessageEnd()
|
|
|
2792 |
self._oprot.trans.flush()
|
|
|
2793 |
|
|
|
2794 |
def recv_getScansForInventoryItem(self, ):
|
|
|
2795 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
2796 |
if mtype == TMessageType.EXCEPTION:
|
|
|
2797 |
x = TApplicationException()
|
|
|
2798 |
x.read(self._iprot)
|
|
|
2799 |
self._iprot.readMessageEnd()
|
|
|
2800 |
raise x
|
|
|
2801 |
result = getScansForInventoryItem_result()
|
|
|
2802 |
result.read(self._iprot)
|
|
|
2803 |
self._iprot.readMessageEnd()
|
|
|
2804 |
if result.success is not None:
|
|
|
2805 |
return result.success
|
|
|
2806 |
if result.ex is not None:
|
|
|
2807 |
raise result.ex
|
|
|
2808 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "getScansForInventoryItem failed: unknown result");
|
|
|
2809 |
|
| 12531 |
manish.sha |
2810 |
def checkGrnImeiStatus(self, imeiNos):
|
|
|
2811 |
"""
|
|
|
2812 |
Parameters:
|
|
|
2813 |
- imeiNos
|
|
|
2814 |
"""
|
|
|
2815 |
self.send_checkGrnImeiStatus(imeiNos)
|
|
|
2816 |
return self.recv_checkGrnImeiStatus()
|
| 10886 |
manish.sha |
2817 |
|
| 12531 |
manish.sha |
2818 |
def send_checkGrnImeiStatus(self, imeiNos):
|
|
|
2819 |
self._oprot.writeMessageBegin('checkGrnImeiStatus', TMessageType.CALL, self._seqid)
|
|
|
2820 |
args = checkGrnImeiStatus_args()
|
|
|
2821 |
args.imeiNos = imeiNos
|
|
|
2822 |
args.write(self._oprot)
|
|
|
2823 |
self._oprot.writeMessageEnd()
|
|
|
2824 |
self._oprot.trans.flush()
|
|
|
2825 |
|
|
|
2826 |
def recv_checkGrnImeiStatus(self, ):
|
|
|
2827 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
2828 |
if mtype == TMessageType.EXCEPTION:
|
|
|
2829 |
x = TApplicationException()
|
|
|
2830 |
x.read(self._iprot)
|
|
|
2831 |
self._iprot.readMessageEnd()
|
|
|
2832 |
raise x
|
|
|
2833 |
result = checkGrnImeiStatus_result()
|
|
|
2834 |
result.read(self._iprot)
|
|
|
2835 |
self._iprot.readMessageEnd()
|
|
|
2836 |
if result.success is not None:
|
|
|
2837 |
return result.success
|
|
|
2838 |
if result.ex is not None:
|
|
|
2839 |
raise result.ex
|
|
|
2840 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "checkGrnImeiStatus failed: unknown result");
|
|
|
2841 |
|
| 12800 |
manish.sha |
2842 |
def getInventoryAgeConsideredItems(self, itemId):
|
|
|
2843 |
"""
|
|
|
2844 |
Parameters:
|
|
|
2845 |
- itemId
|
|
|
2846 |
"""
|
|
|
2847 |
self.send_getInventoryAgeConsideredItems(itemId)
|
|
|
2848 |
return self.recv_getInventoryAgeConsideredItems()
|
| 12531 |
manish.sha |
2849 |
|
| 12800 |
manish.sha |
2850 |
def send_getInventoryAgeConsideredItems(self, itemId):
|
|
|
2851 |
self._oprot.writeMessageBegin('getInventoryAgeConsideredItems', TMessageType.CALL, self._seqid)
|
|
|
2852 |
args = getInventoryAgeConsideredItems_args()
|
|
|
2853 |
args.itemId = itemId
|
|
|
2854 |
args.write(self._oprot)
|
|
|
2855 |
self._oprot.writeMessageEnd()
|
|
|
2856 |
self._oprot.trans.flush()
|
|
|
2857 |
|
|
|
2858 |
def recv_getInventoryAgeConsideredItems(self, ):
|
|
|
2859 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
2860 |
if mtype == TMessageType.EXCEPTION:
|
|
|
2861 |
x = TApplicationException()
|
|
|
2862 |
x.read(self._iprot)
|
|
|
2863 |
self._iprot.readMessageEnd()
|
|
|
2864 |
raise x
|
|
|
2865 |
result = getInventoryAgeConsideredItems_result()
|
|
|
2866 |
result.read(self._iprot)
|
|
|
2867 |
self._iprot.readMessageEnd()
|
|
|
2868 |
if result.success is not None:
|
|
|
2869 |
return result.success
|
|
|
2870 |
if result.ex is not None:
|
|
|
2871 |
raise result.ex
|
|
|
2872 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "getInventoryAgeConsideredItems failed: unknown result");
|
|
|
2873 |
|
| 13529 |
manish.sha |
2874 |
def getCompleteMovementForThirdPartyWarehouse(self, startDate, endDate):
|
|
|
2875 |
"""
|
|
|
2876 |
Parameters:
|
|
|
2877 |
- startDate
|
|
|
2878 |
- endDate
|
|
|
2879 |
"""
|
|
|
2880 |
self.send_getCompleteMovementForThirdPartyWarehouse(startDate, endDate)
|
|
|
2881 |
return self.recv_getCompleteMovementForThirdPartyWarehouse()
|
| 12800 |
manish.sha |
2882 |
|
| 13529 |
manish.sha |
2883 |
def send_getCompleteMovementForThirdPartyWarehouse(self, startDate, endDate):
|
|
|
2884 |
self._oprot.writeMessageBegin('getCompleteMovementForThirdPartyWarehouse', TMessageType.CALL, self._seqid)
|
|
|
2885 |
args = getCompleteMovementForThirdPartyWarehouse_args()
|
|
|
2886 |
args.startDate = startDate
|
|
|
2887 |
args.endDate = endDate
|
|
|
2888 |
args.write(self._oprot)
|
|
|
2889 |
self._oprot.writeMessageEnd()
|
|
|
2890 |
self._oprot.trans.flush()
|
|
|
2891 |
|
|
|
2892 |
def recv_getCompleteMovementForThirdPartyWarehouse(self, ):
|
|
|
2893 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
2894 |
if mtype == TMessageType.EXCEPTION:
|
|
|
2895 |
x = TApplicationException()
|
|
|
2896 |
x.read(self._iprot)
|
|
|
2897 |
self._iprot.readMessageEnd()
|
|
|
2898 |
raise x
|
|
|
2899 |
result = getCompleteMovementForThirdPartyWarehouse_result()
|
|
|
2900 |
result.read(self._iprot)
|
|
|
2901 |
self._iprot.readMessageEnd()
|
|
|
2902 |
if result.success is not None:
|
|
|
2903 |
return result.success
|
|
|
2904 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "getCompleteMovementForThirdPartyWarehouse failed: unknown result");
|
|
|
2905 |
|
| 14491 |
manish.sha |
2906 |
def getAllDoaOutInventoryItems(self, ):
|
|
|
2907 |
self.send_getAllDoaOutInventoryItems()
|
|
|
2908 |
return self.recv_getAllDoaOutInventoryItems()
|
| 13529 |
manish.sha |
2909 |
|
| 14491 |
manish.sha |
2910 |
def send_getAllDoaOutInventoryItems(self, ):
|
|
|
2911 |
self._oprot.writeMessageBegin('getAllDoaOutInventoryItems', TMessageType.CALL, self._seqid)
|
|
|
2912 |
args = getAllDoaOutInventoryItems_args()
|
|
|
2913 |
args.write(self._oprot)
|
|
|
2914 |
self._oprot.writeMessageEnd()
|
|
|
2915 |
self._oprot.trans.flush()
|
|
|
2916 |
|
|
|
2917 |
def recv_getAllDoaOutInventoryItems(self, ):
|
|
|
2918 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
2919 |
if mtype == TMessageType.EXCEPTION:
|
|
|
2920 |
x = TApplicationException()
|
|
|
2921 |
x.read(self._iprot)
|
|
|
2922 |
self._iprot.readMessageEnd()
|
|
|
2923 |
raise x
|
|
|
2924 |
result = getAllDoaOutInventoryItems_result()
|
|
|
2925 |
result.read(self._iprot)
|
|
|
2926 |
self._iprot.readMessageEnd()
|
|
|
2927 |
if result.success is not None:
|
|
|
2928 |
return result.success
|
|
|
2929 |
if result.ex is not None:
|
|
|
2930 |
raise result.ex
|
|
|
2931 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllDoaOutInventoryItems failed: unknown result");
|
|
|
2932 |
|
| 15045 |
manish.sha |
2933 |
def getAllUnCompletedStockShipments(self, source):
|
|
|
2934 |
"""
|
|
|
2935 |
Parameters:
|
|
|
2936 |
- source
|
|
|
2937 |
"""
|
|
|
2938 |
self.send_getAllUnCompletedStockShipments(source)
|
|
|
2939 |
return self.recv_getAllUnCompletedStockShipments()
|
| 14491 |
manish.sha |
2940 |
|
| 15045 |
manish.sha |
2941 |
def send_getAllUnCompletedStockShipments(self, source):
|
|
|
2942 |
self._oprot.writeMessageBegin('getAllUnCompletedStockShipments', TMessageType.CALL, self._seqid)
|
|
|
2943 |
args = getAllUnCompletedStockShipments_args()
|
|
|
2944 |
args.source = source
|
|
|
2945 |
args.write(self._oprot)
|
|
|
2946 |
self._oprot.writeMessageEnd()
|
|
|
2947 |
self._oprot.trans.flush()
|
|
|
2948 |
|
|
|
2949 |
def recv_getAllUnCompletedStockShipments(self, ):
|
|
|
2950 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
2951 |
if mtype == TMessageType.EXCEPTION:
|
|
|
2952 |
x = TApplicationException()
|
|
|
2953 |
x.read(self._iprot)
|
|
|
2954 |
self._iprot.readMessageEnd()
|
|
|
2955 |
raise x
|
|
|
2956 |
result = getAllUnCompletedStockShipments_result()
|
|
|
2957 |
result.read(self._iprot)
|
|
|
2958 |
self._iprot.readMessageEnd()
|
|
|
2959 |
if result.success is not None:
|
|
|
2960 |
return result.success
|
|
|
2961 |
if result.ex is not None:
|
|
|
2962 |
raise result.ex
|
|
|
2963 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllUnCompletedStockShipments failed: unknown result");
|
|
|
2964 |
|
|
|
2965 |
def getRemovalStockShipmentReferenceById(self, id):
|
|
|
2966 |
"""
|
|
|
2967 |
Parameters:
|
|
|
2968 |
- id
|
|
|
2969 |
"""
|
|
|
2970 |
self.send_getRemovalStockShipmentReferenceById(id)
|
|
|
2971 |
return self.recv_getRemovalStockShipmentReferenceById()
|
|
|
2972 |
|
|
|
2973 |
def send_getRemovalStockShipmentReferenceById(self, id):
|
|
|
2974 |
self._oprot.writeMessageBegin('getRemovalStockShipmentReferenceById', TMessageType.CALL, self._seqid)
|
|
|
2975 |
args = getRemovalStockShipmentReferenceById_args()
|
|
|
2976 |
args.id = id
|
|
|
2977 |
args.write(self._oprot)
|
|
|
2978 |
self._oprot.writeMessageEnd()
|
|
|
2979 |
self._oprot.trans.flush()
|
|
|
2980 |
|
|
|
2981 |
def recv_getRemovalStockShipmentReferenceById(self, ):
|
|
|
2982 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
2983 |
if mtype == TMessageType.EXCEPTION:
|
|
|
2984 |
x = TApplicationException()
|
|
|
2985 |
x.read(self._iprot)
|
|
|
2986 |
self._iprot.readMessageEnd()
|
|
|
2987 |
raise x
|
|
|
2988 |
result = getRemovalStockShipmentReferenceById_result()
|
|
|
2989 |
result.read(self._iprot)
|
|
|
2990 |
self._iprot.readMessageEnd()
|
|
|
2991 |
if result.success is not None:
|
|
|
2992 |
return result.success
|
|
|
2993 |
if result.ex is not None:
|
|
|
2994 |
raise result.ex
|
|
|
2995 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "getRemovalStockShipmentReferenceById failed: unknown result");
|
|
|
2996 |
|
|
|
2997 |
def createRemovalStockShipmentReference(self, removalStockShipmentReference):
|
|
|
2998 |
"""
|
|
|
2999 |
Parameters:
|
|
|
3000 |
- removalStockShipmentReference
|
|
|
3001 |
"""
|
|
|
3002 |
self.send_createRemovalStockShipmentReference(removalStockShipmentReference)
|
|
|
3003 |
return self.recv_createRemovalStockShipmentReference()
|
|
|
3004 |
|
|
|
3005 |
def send_createRemovalStockShipmentReference(self, removalStockShipmentReference):
|
|
|
3006 |
self._oprot.writeMessageBegin('createRemovalStockShipmentReference', TMessageType.CALL, self._seqid)
|
|
|
3007 |
args = createRemovalStockShipmentReference_args()
|
|
|
3008 |
args.removalStockShipmentReference = removalStockShipmentReference
|
|
|
3009 |
args.write(self._oprot)
|
|
|
3010 |
self._oprot.writeMessageEnd()
|
|
|
3011 |
self._oprot.trans.flush()
|
|
|
3012 |
|
|
|
3013 |
def recv_createRemovalStockShipmentReference(self, ):
|
|
|
3014 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
3015 |
if mtype == TMessageType.EXCEPTION:
|
|
|
3016 |
x = TApplicationException()
|
|
|
3017 |
x.read(self._iprot)
|
|
|
3018 |
self._iprot.readMessageEnd()
|
|
|
3019 |
raise x
|
|
|
3020 |
result = createRemovalStockShipmentReference_result()
|
|
|
3021 |
result.read(self._iprot)
|
|
|
3022 |
self._iprot.readMessageEnd()
|
|
|
3023 |
if result.success is not None:
|
|
|
3024 |
return result.success
|
|
|
3025 |
if result.ex is not None:
|
|
|
3026 |
raise result.ex
|
|
|
3027 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "createRemovalStockShipmentReference failed: unknown result");
|
|
|
3028 |
|
|
|
3029 |
def updateShipmentReferenceTransferLot(self, transferLotId, shipmentReferenceId):
|
|
|
3030 |
"""
|
|
|
3031 |
Parameters:
|
|
|
3032 |
- transferLotId
|
|
|
3033 |
- shipmentReferenceId
|
|
|
3034 |
"""
|
|
|
3035 |
self.send_updateShipmentReferenceTransferLot(transferLotId, shipmentReferenceId)
|
|
|
3036 |
self.recv_updateShipmentReferenceTransferLot()
|
|
|
3037 |
|
|
|
3038 |
def send_updateShipmentReferenceTransferLot(self, transferLotId, shipmentReferenceId):
|
|
|
3039 |
self._oprot.writeMessageBegin('updateShipmentReferenceTransferLot', TMessageType.CALL, self._seqid)
|
|
|
3040 |
args = updateShipmentReferenceTransferLot_args()
|
|
|
3041 |
args.transferLotId = transferLotId
|
|
|
3042 |
args.shipmentReferenceId = shipmentReferenceId
|
|
|
3043 |
args.write(self._oprot)
|
|
|
3044 |
self._oprot.writeMessageEnd()
|
|
|
3045 |
self._oprot.trans.flush()
|
|
|
3046 |
|
|
|
3047 |
def recv_updateShipmentReferenceTransferLot(self, ):
|
|
|
3048 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
3049 |
if mtype == TMessageType.EXCEPTION:
|
|
|
3050 |
x = TApplicationException()
|
|
|
3051 |
x.read(self._iprot)
|
|
|
3052 |
self._iprot.readMessageEnd()
|
|
|
3053 |
raise x
|
|
|
3054 |
result = updateShipmentReferenceTransferLot_result()
|
|
|
3055 |
result.read(self._iprot)
|
|
|
3056 |
self._iprot.readMessageEnd()
|
|
|
3057 |
if result.ex is not None:
|
|
|
3058 |
raise result.ex
|
|
|
3059 |
return
|
|
|
3060 |
|
| 16264 |
manish.sha |
3061 |
def fetchScansPerTransferInvoiceNumber(self, date):
|
|
|
3062 |
"""
|
|
|
3063 |
Returns the shipment references and the count of scans against on a given day.
|
| 15045 |
manish.sha |
3064 |
|
| 16264 |
manish.sha |
3065 |
Parameters:
|
|
|
3066 |
- date
|
|
|
3067 |
"""
|
|
|
3068 |
self.send_fetchScansPerTransferInvoiceNumber(date)
|
|
|
3069 |
return self.recv_fetchScansPerTransferInvoiceNumber()
|
|
|
3070 |
|
|
|
3071 |
def send_fetchScansPerTransferInvoiceNumber(self, date):
|
|
|
3072 |
self._oprot.writeMessageBegin('fetchScansPerTransferInvoiceNumber', TMessageType.CALL, self._seqid)
|
|
|
3073 |
args = fetchScansPerTransferInvoiceNumber_args()
|
|
|
3074 |
args.date = date
|
|
|
3075 |
args.write(self._oprot)
|
|
|
3076 |
self._oprot.writeMessageEnd()
|
|
|
3077 |
self._oprot.trans.flush()
|
|
|
3078 |
|
|
|
3079 |
def recv_fetchScansPerTransferInvoiceNumber(self, ):
|
|
|
3080 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
3081 |
if mtype == TMessageType.EXCEPTION:
|
|
|
3082 |
x = TApplicationException()
|
|
|
3083 |
x.read(self._iprot)
|
|
|
3084 |
self._iprot.readMessageEnd()
|
|
|
3085 |
raise x
|
|
|
3086 |
result = fetchScansPerTransferInvoiceNumber_result()
|
|
|
3087 |
result.read(self._iprot)
|
|
|
3088 |
self._iprot.readMessageEnd()
|
|
|
3089 |
if result.success is not None:
|
|
|
3090 |
return result.success
|
|
|
3091 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "fetchScansPerTransferInvoiceNumber failed: unknown result");
|
|
|
3092 |
|
| 21619 |
amit.gupta |
3093 |
def getInventoryItems(self, serialNumbers):
|
|
|
3094 |
"""
|
|
|
3095 |
Parameters:
|
|
|
3096 |
- serialNumbers
|
|
|
3097 |
"""
|
|
|
3098 |
self.send_getInventoryItems(serialNumbers)
|
|
|
3099 |
return self.recv_getInventoryItems()
|
| 16264 |
manish.sha |
3100 |
|
| 21619 |
amit.gupta |
3101 |
def send_getInventoryItems(self, serialNumbers):
|
|
|
3102 |
self._oprot.writeMessageBegin('getInventoryItems', TMessageType.CALL, self._seqid)
|
|
|
3103 |
args = getInventoryItems_args()
|
|
|
3104 |
args.serialNumbers = serialNumbers
|
|
|
3105 |
args.write(self._oprot)
|
|
|
3106 |
self._oprot.writeMessageEnd()
|
|
|
3107 |
self._oprot.trans.flush()
|
|
|
3108 |
|
|
|
3109 |
def recv_getInventoryItems(self, ):
|
|
|
3110 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
3111 |
if mtype == TMessageType.EXCEPTION:
|
|
|
3112 |
x = TApplicationException()
|
|
|
3113 |
x.read(self._iprot)
|
|
|
3114 |
self._iprot.readMessageEnd()
|
|
|
3115 |
raise x
|
|
|
3116 |
result = getInventoryItems_result()
|
|
|
3117 |
result.read(self._iprot)
|
|
|
3118 |
self._iprot.readMessageEnd()
|
|
|
3119 |
if result.success is not None:
|
|
|
3120 |
return result.success
|
|
|
3121 |
if result.wex is not None:
|
|
|
3122 |
raise result.wex
|
|
|
3123 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "getInventoryItems failed: unknown result");
|
|
|
3124 |
|
|
|
3125 |
def getInventoryItemsBySerailNumbers(self, serialNumbers):
|
|
|
3126 |
"""
|
|
|
3127 |
Parameters:
|
|
|
3128 |
- serialNumbers
|
|
|
3129 |
"""
|
|
|
3130 |
self.send_getInventoryItemsBySerailNumbers(serialNumbers)
|
|
|
3131 |
return self.recv_getInventoryItemsBySerailNumbers()
|
|
|
3132 |
|
|
|
3133 |
def send_getInventoryItemsBySerailNumbers(self, serialNumbers):
|
|
|
3134 |
self._oprot.writeMessageBegin('getInventoryItemsBySerailNumbers', TMessageType.CALL, self._seqid)
|
|
|
3135 |
args = getInventoryItemsBySerailNumbers_args()
|
|
|
3136 |
args.serialNumbers = serialNumbers
|
|
|
3137 |
args.write(self._oprot)
|
|
|
3138 |
self._oprot.writeMessageEnd()
|
|
|
3139 |
self._oprot.trans.flush()
|
|
|
3140 |
|
|
|
3141 |
def recv_getInventoryItemsBySerailNumbers(self, ):
|
|
|
3142 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
3143 |
if mtype == TMessageType.EXCEPTION:
|
|
|
3144 |
x = TApplicationException()
|
|
|
3145 |
x.read(self._iprot)
|
|
|
3146 |
self._iprot.readMessageEnd()
|
|
|
3147 |
raise x
|
|
|
3148 |
result = getInventoryItemsBySerailNumbers_result()
|
|
|
3149 |
result.read(self._iprot)
|
|
|
3150 |
self._iprot.readMessageEnd()
|
|
|
3151 |
if result.success is not None:
|
|
|
3152 |
return result.success
|
|
|
3153 |
if result.wex is not None:
|
|
|
3154 |
raise result.wex
|
|
|
3155 |
raise TApplicationException(TApplicationException.MISSING_RESULT, "getInventoryItemsBySerailNumbers failed: unknown result");
|
|
|
3156 |
|
|
|
3157 |
def scanPurchaseBulk(self, inventoryItems):
|
|
|
3158 |
"""
|
|
|
3159 |
Parameters:
|
|
|
3160 |
- inventoryItems
|
|
|
3161 |
"""
|
|
|
3162 |
self.send_scanPurchaseBulk(inventoryItems)
|
|
|
3163 |
self.recv_scanPurchaseBulk()
|
|
|
3164 |
|
|
|
3165 |
def send_scanPurchaseBulk(self, inventoryItems):
|
|
|
3166 |
self._oprot.writeMessageBegin('scanPurchaseBulk', TMessageType.CALL, self._seqid)
|
|
|
3167 |
args = scanPurchaseBulk_args()
|
|
|
3168 |
args.inventoryItems = inventoryItems
|
|
|
3169 |
args.write(self._oprot)
|
|
|
3170 |
self._oprot.writeMessageEnd()
|
|
|
3171 |
self._oprot.trans.flush()
|
|
|
3172 |
|
|
|
3173 |
def recv_scanPurchaseBulk(self, ):
|
|
|
3174 |
(fname, mtype, rseqid) = self._iprot.readMessageBegin()
|
|
|
3175 |
if mtype == TMessageType.EXCEPTION:
|
|
|
3176 |
x = TApplicationException()
|
|
|
3177 |
x.read(self._iprot)
|
|
|
3178 |
self._iprot.readMessageEnd()
|
|
|
3179 |
raise x
|
|
|
3180 |
result = scanPurchaseBulk_result()
|
|
|
3181 |
result.read(self._iprot)
|
|
|
3182 |
self._iprot.readMessageEnd()
|
|
|
3183 |
if result.wex is not None:
|
|
|
3184 |
raise result.wex
|
|
|
3185 |
return
|
|
|
3186 |
|
|
|
3187 |
|
| 3376 |
rajveer |
3188 |
class Processor(shop2020.thriftpy.generic.GenericService.Processor, Iface, TProcessor):
|
| 2821 |
chandransh |
3189 |
def __init__(self, handler):
|
| 3376 |
rajveer |
3190 |
shop2020.thriftpy.generic.GenericService.Processor.__init__(self, handler)
|
| 4501 |
mandeep.dh |
3191 |
self._processMap["getInventoryItem"] = Processor.process_getInventoryItem
|
| 5361 |
mandeep.dh |
3192 |
self._processMap["getNonSeralizedInventoryItem"] = Processor.process_getNonSeralizedInventoryItem
|
| 4501 |
mandeep.dh |
3193 |
self._processMap["scan"] = Processor.process_scan
|
| 10489 |
amar.kumar |
3194 |
self._processMap["genericScan"] = Processor.process_genericScan
|
| 4501 |
mandeep.dh |
3195 |
self._processMap["scanSerializedItemForOrder"] = Processor.process_scanSerializedItemForOrder
|
|
|
3196 |
self._processMap["scanForOrder"] = Processor.process_scanForOrder
|
|
|
3197 |
self._processMap["createItemNumberMapping"] = Processor.process_createItemNumberMapping
|
| 4620 |
amit.gupta |
3198 |
self._processMap["getItemNumbers"] = Processor.process_getItemNumbers
|
| 5110 |
mandeep.dh |
3199 |
self._processMap["getItemIds"] = Processor.process_getItemIds
|
| 5185 |
mandeep.dh |
3200 |
self._processMap["getInventoryItemsFromLastScanType"] = Processor.process_getInventoryItemsFromLastScanType
|
|
|
3201 |
self._processMap["getInventoryItemFromId"] = Processor.process_getInventoryItemFromId
|
| 5372 |
mandeep.dh |
3202 |
self._processMap["getPurchaseScans"] = Processor.process_getPurchaseScans
|
| 7216 |
amar.kumar |
3203 |
self._processMap["getPurchaseScansByGrnDate"] = Processor.process_getPurchaseScansByGrnDate
|
| 10407 |
amar.kumar |
3204 |
self._processMap["getEmptyGrnsByDate"] = Processor.process_getEmptyGrnsByDate
|
| 5496 |
mandeep.dh |
3205 |
self._processMap["fetchScansPerInvoiceNumber"] = Processor.process_fetchScansPerInvoiceNumber
|
| 5620 |
mandeep.dh |
3206 |
self._processMap["getInventoryItemFromOrder"] = Processor.process_getInventoryItemFromOrder
|
| 5711 |
mandeep.dh |
3207 |
self._processMap["getInventoryAge"] = Processor.process_getInventoryAge
|
| 6361 |
rajveer |
3208 |
self._processMap["getInventoryScansForItem"] = Processor.process_getInventoryScansForItem
|
|
|
3209 |
self._processMap["getScanRecordsForSerialNumber"] = Processor.process_getScanRecordsForSerialNumber
|
| 6467 |
amar.kumar |
3210 |
self._processMap["scanForPurchaseReturn"] = Processor.process_scanForPurchaseReturn
|
| 6630 |
amar.kumar |
3211 |
self._processMap["scanForLostItem"] = Processor.process_scanForLostItem
|
|
|
3212 |
self._processMap["getCurrentSerializedInventoryByScans"] = Processor.process_getCurrentSerializedInventoryByScans
|
|
|
3213 |
self._processMap["getCurrentNonSerializedInventoryByScans"] = Processor.process_getCurrentNonSerializedInventoryByScans
|
| 6762 |
amar.kumar |
3214 |
self._processMap["getHistoricSerializedInventoryByScans"] = Processor.process_getHistoricSerializedInventoryByScans
|
|
|
3215 |
self._processMap["getHistoricNonSerializedInventoryByScans"] = Processor.process_getHistoricNonSerializedInventoryByScans
|
| 10407 |
amar.kumar |
3216 |
self._processMap["getOurHistoricSerializedInventoryByScans"] = Processor.process_getOurHistoricSerializedInventoryByScans
|
|
|
3217 |
self._processMap["getOurHistoricNonSerializedInventoryByScans"] = Processor.process_getOurHistoricNonSerializedInventoryByScans
|
| 6762 |
amar.kumar |
3218 |
self._processMap["scanForOursExternalSale"] = Processor.process_scanForOursExternalSale
|
|
|
3219 |
self._processMap["scanForOursExternalSaleReturn"] = Processor.process_scanForOursExternalSaleReturn
|
| 6880 |
amar.kumar |
3220 |
self._processMap["getMovementNonSerializedInventoryByScans"] = Processor.process_getMovementNonSerializedInventoryByScans
|
|
|
3221 |
self._processMap["getMovementSerializedInventoryByScans"] = Processor.process_getMovementSerializedInventoryByScans
|
| 7216 |
amar.kumar |
3222 |
self._processMap["getCompleteMovementSerializedInventoryByScans"] = Processor.process_getCompleteMovementSerializedInventoryByScans
|
|
|
3223 |
self._processMap["getCompleteMovementNonSerializedInventoryByScans"] = Processor.process_getCompleteMovementNonSerializedInventoryByScans
|
| 7190 |
amar.kumar |
3224 |
self._processMap["scanfreebie"] = Processor.process_scanfreebie
|
| 7199 |
amar.kumar |
3225 |
self._processMap["reshipfreebie"] = Processor.process_reshipfreebie
|
| 7410 |
amar.kumar |
3226 |
self._processMap["isItemTransferAllowed"] = Processor.process_isItemTransferAllowed
|
|
|
3227 |
self._processMap["createTransferLot"] = Processor.process_createTransferLot
|
|
|
3228 |
self._processMap["getTransferLot"] = Processor.process_getTransferLot
|
|
|
3229 |
self._processMap["markTransferLotAsReceived"] = Processor.process_markTransferLotAsReceived
|
|
|
3230 |
self._processMap["getTransferLotsByDate"] = Processor.process_getTransferLotsByDate
|
|
|
3231 |
self._processMap["getAllowedDestinationWarehousesForTransfer"] = Processor.process_getAllowedDestinationWarehousesForTransfer
|
|
|
3232 |
self._processMap["getItemsInTransferLot"] = Processor.process_getItemsInTransferLot
|
|
|
3233 |
self._processMap["markItemsAsReceivedForTransferLot"] = Processor.process_markItemsAsReceivedForTransferLot
|
|
|
3234 |
self._processMap["updateTransferLotAfterItemReceive"] = Processor.process_updateTransferLotAfterItemReceive
|
| 7459 |
amar.kumar |
3235 |
self._processMap["scanForTransferOut"] = Processor.process_scanForTransferOut
|
|
|
3236 |
self._processMap["scanForTransferIn"] = Processor.process_scanForTransferIn
|
|
|
3237 |
self._processMap["scanForOursThirdPartyReceive"] = Processor.process_scanForOursThirdPartyReceive
|
| 7574 |
amar.kumar |
3238 |
self._processMap["getCurrentQuantityForNonSerializedInTransitItemInPhysicalWarehouse"] = Processor.process_getCurrentQuantityForNonSerializedInTransitItemInPhysicalWarehouse
|
| 7672 |
rajveer |
3239 |
self._processMap["getInTransitInventory"] = Processor.process_getInTransitInventory
|
| 7968 |
amar.kumar |
3240 |
self._processMap["isItemAvailableForSale"] = Processor.process_isItemAvailableForSale
|
|
|
3241 |
self._processMap["getHistoricBadInventoryByScans"] = Processor.process_getHistoricBadInventoryByScans
|
| 8565 |
amar.kumar |
3242 |
self._processMap["scanForBadSale"] = Processor.process_scanForBadSale
|
| 10120 |
manish.sha |
3243 |
self._processMap["getTransferLotItemsForMarkReceive"] = Processor.process_getTransferLotItemsForMarkReceive
|
|
|
3244 |
self._processMap["markItemsAsReceivedForTransferLotPartial"] = Processor.process_markItemsAsReceivedForTransferLotPartial
|
|
|
3245 |
self._processMap["markTransferLotAsReceivedPartial"] = Processor.process_markTransferLotAsReceivedPartial
|
| 10690 |
manish.sha |
3246 |
self._processMap["getInventoryItemScannedInForPO"] = Processor.process_getInventoryItemScannedInForPO
|
|
|
3247 |
self._processMap["getAmazonTransferredSkuDetails"] = Processor.process_getAmazonTransferredSkuDetails
|
|
|
3248 |
self._processMap["getScansforPurchase"] = Processor.process_getScansforPurchase
|
| 10864 |
manish.sha |
3249 |
self._processMap["getCurrentBadQuantityForItem"] = Processor.process_getCurrentBadQuantityForItem
|
|
|
3250 |
self._processMap["scanForBadPurchaseReturn"] = Processor.process_scanForBadPurchaseReturn
|
|
|
3251 |
self._processMap["getItemsInPurchaseReturn"] = Processor.process_getItemsInPurchaseReturn
|
| 10886 |
manish.sha |
3252 |
self._processMap["getScansForInventoryItem"] = Processor.process_getScansForInventoryItem
|
| 12531 |
manish.sha |
3253 |
self._processMap["checkGrnImeiStatus"] = Processor.process_checkGrnImeiStatus
|
| 12800 |
manish.sha |
3254 |
self._processMap["getInventoryAgeConsideredItems"] = Processor.process_getInventoryAgeConsideredItems
|
| 13529 |
manish.sha |
3255 |
self._processMap["getCompleteMovementForThirdPartyWarehouse"] = Processor.process_getCompleteMovementForThirdPartyWarehouse
|
| 14491 |
manish.sha |
3256 |
self._processMap["getAllDoaOutInventoryItems"] = Processor.process_getAllDoaOutInventoryItems
|
| 15045 |
manish.sha |
3257 |
self._processMap["getAllUnCompletedStockShipments"] = Processor.process_getAllUnCompletedStockShipments
|
|
|
3258 |
self._processMap["getRemovalStockShipmentReferenceById"] = Processor.process_getRemovalStockShipmentReferenceById
|
|
|
3259 |
self._processMap["createRemovalStockShipmentReference"] = Processor.process_createRemovalStockShipmentReference
|
|
|
3260 |
self._processMap["updateShipmentReferenceTransferLot"] = Processor.process_updateShipmentReferenceTransferLot
|
| 16264 |
manish.sha |
3261 |
self._processMap["fetchScansPerTransferInvoiceNumber"] = Processor.process_fetchScansPerTransferInvoiceNumber
|
| 21619 |
amit.gupta |
3262 |
self._processMap["getInventoryItems"] = Processor.process_getInventoryItems
|
|
|
3263 |
self._processMap["getInventoryItemsBySerailNumbers"] = Processor.process_getInventoryItemsBySerailNumbers
|
|
|
3264 |
self._processMap["scanPurchaseBulk"] = Processor.process_scanPurchaseBulk
|
| 2821 |
chandransh |
3265 |
|
|
|
3266 |
def process(self, iprot, oprot):
|
|
|
3267 |
(name, type, seqid) = iprot.readMessageBegin()
|
|
|
3268 |
if name not in self._processMap:
|
|
|
3269 |
iprot.skip(TType.STRUCT)
|
|
|
3270 |
iprot.readMessageEnd()
|
|
|
3271 |
x = TApplicationException(TApplicationException.UNKNOWN_METHOD, 'Unknown function %s' % (name))
|
|
|
3272 |
oprot.writeMessageBegin(name, TMessageType.EXCEPTION, seqid)
|
|
|
3273 |
x.write(oprot)
|
|
|
3274 |
oprot.writeMessageEnd()
|
|
|
3275 |
oprot.trans.flush()
|
|
|
3276 |
return
|
|
|
3277 |
else:
|
|
|
3278 |
self._processMap[name](self, seqid, iprot, oprot)
|
|
|
3279 |
return True
|
|
|
3280 |
|
| 4501 |
mandeep.dh |
3281 |
def process_getInventoryItem(self, seqid, iprot, oprot):
|
|
|
3282 |
args = getInventoryItem_args()
|
| 2832 |
chandransh |
3283 |
args.read(iprot)
|
|
|
3284 |
iprot.readMessageEnd()
|
| 4501 |
mandeep.dh |
3285 |
result = getInventoryItem_result()
|
| 4541 |
mandeep.dh |
3286 |
try:
|
|
|
3287 |
result.success = self._handler.getInventoryItem(args.serialNumber)
|
|
|
3288 |
except WarehouseServiceException, wex:
|
|
|
3289 |
result.wex = wex
|
| 4501 |
mandeep.dh |
3290 |
oprot.writeMessageBegin("getInventoryItem", TMessageType.REPLY, seqid)
|
| 2832 |
chandransh |
3291 |
result.write(oprot)
|
|
|
3292 |
oprot.writeMessageEnd()
|
|
|
3293 |
oprot.trans.flush()
|
|
|
3294 |
|
| 5361 |
mandeep.dh |
3295 |
def process_getNonSeralizedInventoryItem(self, seqid, iprot, oprot):
|
|
|
3296 |
args = getNonSeralizedInventoryItem_args()
|
| 2821 |
chandransh |
3297 |
args.read(iprot)
|
|
|
3298 |
iprot.readMessageEnd()
|
| 5361 |
mandeep.dh |
3299 |
result = getNonSeralizedInventoryItem_result()
|
|
|
3300 |
try:
|
| 8565 |
amar.kumar |
3301 |
result.success = self._handler.getNonSeralizedInventoryItem(args.itemNumber, args.itemId, args.fulfilmentWarehouseId, args.billingWarehouseId)
|
| 5361 |
mandeep.dh |
3302 |
except WarehouseServiceException, wex:
|
|
|
3303 |
result.wex = wex
|
|
|
3304 |
oprot.writeMessageBegin("getNonSeralizedInventoryItem", TMessageType.REPLY, seqid)
|
| 2821 |
chandransh |
3305 |
result.write(oprot)
|
|
|
3306 |
oprot.writeMessageEnd()
|
|
|
3307 |
oprot.trans.flush()
|
|
|
3308 |
|
| 4501 |
mandeep.dh |
3309 |
def process_scan(self, seqid, iprot, oprot):
|
|
|
3310 |
args = scan_args()
|
| 3383 |
chandransh |
3311 |
args.read(iprot)
|
|
|
3312 |
iprot.readMessageEnd()
|
| 4501 |
mandeep.dh |
3313 |
result = scan_result()
|
| 3383 |
chandransh |
3314 |
try:
|
| 7410 |
amar.kumar |
3315 |
self._handler.scan(args.inventoryItem, args.type, args.quantity, args.billingWarehouseId, args.transferLotId)
|
| 3383 |
chandransh |
3316 |
except WarehouseServiceException, wex:
|
|
|
3317 |
result.wex = wex
|
| 4501 |
mandeep.dh |
3318 |
oprot.writeMessageBegin("scan", TMessageType.REPLY, seqid)
|
| 3383 |
chandransh |
3319 |
result.write(oprot)
|
|
|
3320 |
oprot.writeMessageEnd()
|
|
|
3321 |
oprot.trans.flush()
|
|
|
3322 |
|
| 10489 |
amar.kumar |
3323 |
def process_genericScan(self, seqid, iprot, oprot):
|
|
|
3324 |
args = genericScan_args()
|
|
|
3325 |
args.read(iprot)
|
|
|
3326 |
iprot.readMessageEnd()
|
|
|
3327 |
result = genericScan_result()
|
|
|
3328 |
try:
|
|
|
3329 |
self._handler.genericScan(args.inventoryItem, args.scan)
|
|
|
3330 |
except WarehouseServiceException, wex:
|
|
|
3331 |
result.wex = wex
|
|
|
3332 |
oprot.writeMessageBegin("genericScan", TMessageType.REPLY, seqid)
|
|
|
3333 |
result.write(oprot)
|
|
|
3334 |
oprot.writeMessageEnd()
|
|
|
3335 |
oprot.trans.flush()
|
|
|
3336 |
|
| 4501 |
mandeep.dh |
3337 |
def process_scanSerializedItemForOrder(self, seqid, iprot, oprot):
|
|
|
3338 |
args = scanSerializedItemForOrder_args()
|
| 2821 |
chandransh |
3339 |
args.read(iprot)
|
|
|
3340 |
iprot.readMessageEnd()
|
| 4501 |
mandeep.dh |
3341 |
result = scanSerializedItemForOrder_result()
|
| 2821 |
chandransh |
3342 |
try:
|
| 5110 |
mandeep.dh |
3343 |
result.success = self._handler.scanSerializedItemForOrder(args.serialNumber, args.type, args.orderId, args.fulfilmentWarehouseId, args.quantity, args.billingWarehouseId)
|
| 2821 |
chandransh |
3344 |
except WarehouseServiceException, wex:
|
|
|
3345 |
result.wex = wex
|
| 4501 |
mandeep.dh |
3346 |
oprot.writeMessageBegin("scanSerializedItemForOrder", TMessageType.REPLY, seqid)
|
| 2821 |
chandransh |
3347 |
result.write(oprot)
|
|
|
3348 |
oprot.writeMessageEnd()
|
|
|
3349 |
oprot.trans.flush()
|
|
|
3350 |
|
| 4501 |
mandeep.dh |
3351 |
def process_scanForOrder(self, seqid, iprot, oprot):
|
|
|
3352 |
args = scanForOrder_args()
|
| 2821 |
chandransh |
3353 |
args.read(iprot)
|
|
|
3354 |
iprot.readMessageEnd()
|
| 4501 |
mandeep.dh |
3355 |
result = scanForOrder_result()
|
| 2821 |
chandransh |
3356 |
try:
|
| 5361 |
mandeep.dh |
3357 |
result.success = self._handler.scanForOrder(args.inventoryItem, args.type, args.quantity, args.orderId, args.fulfilmentWarehouseId, args.billingWarehouseId)
|
| 2821 |
chandransh |
3358 |
except WarehouseServiceException, wex:
|
|
|
3359 |
result.wex = wex
|
| 4501 |
mandeep.dh |
3360 |
oprot.writeMessageBegin("scanForOrder", TMessageType.REPLY, seqid)
|
| 2821 |
chandransh |
3361 |
result.write(oprot)
|
|
|
3362 |
oprot.writeMessageEnd()
|
|
|
3363 |
oprot.trans.flush()
|
|
|
3364 |
|
| 4501 |
mandeep.dh |
3365 |
def process_createItemNumberMapping(self, seqid, iprot, oprot):
|
|
|
3366 |
args = createItemNumberMapping_args()
|
|
|
3367 |
args.read(iprot)
|
|
|
3368 |
iprot.readMessageEnd()
|
|
|
3369 |
result = createItemNumberMapping_result()
|
|
|
3370 |
self._handler.createItemNumberMapping(args.itemNumber, args.itemId)
|
|
|
3371 |
oprot.writeMessageBegin("createItemNumberMapping", TMessageType.REPLY, seqid)
|
|
|
3372 |
result.write(oprot)
|
|
|
3373 |
oprot.writeMessageEnd()
|
|
|
3374 |
oprot.trans.flush()
|
| 2821 |
chandransh |
3375 |
|
| 4620 |
amit.gupta |
3376 |
def process_getItemNumbers(self, seqid, iprot, oprot):
|
|
|
3377 |
args = getItemNumbers_args()
|
|
|
3378 |
args.read(iprot)
|
|
|
3379 |
iprot.readMessageEnd()
|
|
|
3380 |
result = getItemNumbers_result()
|
|
|
3381 |
result.success = self._handler.getItemNumbers(args.itemId)
|
|
|
3382 |
oprot.writeMessageBegin("getItemNumbers", TMessageType.REPLY, seqid)
|
|
|
3383 |
result.write(oprot)
|
|
|
3384 |
oprot.writeMessageEnd()
|
|
|
3385 |
oprot.trans.flush()
|
| 4501 |
mandeep.dh |
3386 |
|
| 5110 |
mandeep.dh |
3387 |
def process_getItemIds(self, seqid, iprot, oprot):
|
|
|
3388 |
args = getItemIds_args()
|
|
|
3389 |
args.read(iprot)
|
|
|
3390 |
iprot.readMessageEnd()
|
|
|
3391 |
result = getItemIds_result()
|
|
|
3392 |
result.success = self._handler.getItemIds(args.itemNumber)
|
|
|
3393 |
oprot.writeMessageBegin("getItemIds", TMessageType.REPLY, seqid)
|
|
|
3394 |
result.write(oprot)
|
|
|
3395 |
oprot.writeMessageEnd()
|
|
|
3396 |
oprot.trans.flush()
|
| 4620 |
amit.gupta |
3397 |
|
| 5185 |
mandeep.dh |
3398 |
def process_getInventoryItemsFromLastScanType(self, seqid, iprot, oprot):
|
|
|
3399 |
args = getInventoryItemsFromLastScanType_args()
|
|
|
3400 |
args.read(iprot)
|
|
|
3401 |
iprot.readMessageEnd()
|
|
|
3402 |
result = getInventoryItemsFromLastScanType_result()
|
|
|
3403 |
try:
|
|
|
3404 |
result.success = self._handler.getInventoryItemsFromLastScanType(args.lastScanType)
|
|
|
3405 |
except WarehouseServiceException, wex:
|
|
|
3406 |
result.wex = wex
|
|
|
3407 |
oprot.writeMessageBegin("getInventoryItemsFromLastScanType", TMessageType.REPLY, seqid)
|
|
|
3408 |
result.write(oprot)
|
|
|
3409 |
oprot.writeMessageEnd()
|
|
|
3410 |
oprot.trans.flush()
|
| 5110 |
mandeep.dh |
3411 |
|
| 5185 |
mandeep.dh |
3412 |
def process_getInventoryItemFromId(self, seqid, iprot, oprot):
|
|
|
3413 |
args = getInventoryItemFromId_args()
|
|
|
3414 |
args.read(iprot)
|
|
|
3415 |
iprot.readMessageEnd()
|
|
|
3416 |
result = getInventoryItemFromId_result()
|
|
|
3417 |
try:
|
|
|
3418 |
result.success = self._handler.getInventoryItemFromId(args.inventoryItemId)
|
|
|
3419 |
except WarehouseServiceException, wex:
|
|
|
3420 |
result.wex = wex
|
|
|
3421 |
oprot.writeMessageBegin("getInventoryItemFromId", TMessageType.REPLY, seqid)
|
|
|
3422 |
result.write(oprot)
|
|
|
3423 |
oprot.writeMessageEnd()
|
|
|
3424 |
oprot.trans.flush()
|
|
|
3425 |
|
| 5372 |
mandeep.dh |
3426 |
def process_getPurchaseScans(self, seqid, iprot, oprot):
|
|
|
3427 |
args = getPurchaseScans_args()
|
|
|
3428 |
args.read(iprot)
|
|
|
3429 |
iprot.readMessageEnd()
|
|
|
3430 |
result = getPurchaseScans_result()
|
|
|
3431 |
result.success = self._handler.getPurchaseScans(args.startDate, args.endDate)
|
|
|
3432 |
oprot.writeMessageBegin("getPurchaseScans", TMessageType.REPLY, seqid)
|
|
|
3433 |
result.write(oprot)
|
|
|
3434 |
oprot.writeMessageEnd()
|
|
|
3435 |
oprot.trans.flush()
|
| 5185 |
mandeep.dh |
3436 |
|
| 7216 |
amar.kumar |
3437 |
def process_getPurchaseScansByGrnDate(self, seqid, iprot, oprot):
|
|
|
3438 |
args = getPurchaseScansByGrnDate_args()
|
|
|
3439 |
args.read(iprot)
|
|
|
3440 |
iprot.readMessageEnd()
|
|
|
3441 |
result = getPurchaseScansByGrnDate_result()
|
|
|
3442 |
result.success = self._handler.getPurchaseScansByGrnDate(args.startDate, args.endDate)
|
|
|
3443 |
oprot.writeMessageBegin("getPurchaseScansByGrnDate", TMessageType.REPLY, seqid)
|
|
|
3444 |
result.write(oprot)
|
|
|
3445 |
oprot.writeMessageEnd()
|
|
|
3446 |
oprot.trans.flush()
|
|
|
3447 |
|
| 10407 |
amar.kumar |
3448 |
def process_getEmptyGrnsByDate(self, seqid, iprot, oprot):
|
|
|
3449 |
args = getEmptyGrnsByDate_args()
|
|
|
3450 |
args.read(iprot)
|
|
|
3451 |
iprot.readMessageEnd()
|
|
|
3452 |
result = getEmptyGrnsByDate_result()
|
|
|
3453 |
result.success = self._handler.getEmptyGrnsByDate(args.startDate, args.endDate)
|
|
|
3454 |
oprot.writeMessageBegin("getEmptyGrnsByDate", TMessageType.REPLY, seqid)
|
|
|
3455 |
result.write(oprot)
|
|
|
3456 |
oprot.writeMessageEnd()
|
|
|
3457 |
oprot.trans.flush()
|
|
|
3458 |
|
| 5496 |
mandeep.dh |
3459 |
def process_fetchScansPerInvoiceNumber(self, seqid, iprot, oprot):
|
|
|
3460 |
args = fetchScansPerInvoiceNumber_args()
|
|
|
3461 |
args.read(iprot)
|
|
|
3462 |
iprot.readMessageEnd()
|
|
|
3463 |
result = fetchScansPerInvoiceNumber_result()
|
|
|
3464 |
result.success = self._handler.fetchScansPerInvoiceNumber(args.date)
|
|
|
3465 |
oprot.writeMessageBegin("fetchScansPerInvoiceNumber", TMessageType.REPLY, seqid)
|
|
|
3466 |
result.write(oprot)
|
|
|
3467 |
oprot.writeMessageEnd()
|
|
|
3468 |
oprot.trans.flush()
|
| 5372 |
mandeep.dh |
3469 |
|
| 5620 |
mandeep.dh |
3470 |
def process_getInventoryItemFromOrder(self, seqid, iprot, oprot):
|
|
|
3471 |
args = getInventoryItemFromOrder_args()
|
|
|
3472 |
args.read(iprot)
|
|
|
3473 |
iprot.readMessageEnd()
|
|
|
3474 |
result = getInventoryItemFromOrder_result()
|
|
|
3475 |
try:
|
|
|
3476 |
result.success = self._handler.getInventoryItemFromOrder(args.orderId)
|
|
|
3477 |
except WarehouseServiceException, we:
|
|
|
3478 |
result.we = we
|
|
|
3479 |
oprot.writeMessageBegin("getInventoryItemFromOrder", TMessageType.REPLY, seqid)
|
|
|
3480 |
result.write(oprot)
|
|
|
3481 |
oprot.writeMessageEnd()
|
|
|
3482 |
oprot.trans.flush()
|
| 5496 |
mandeep.dh |
3483 |
|
| 5711 |
mandeep.dh |
3484 |
def process_getInventoryAge(self, seqid, iprot, oprot):
|
|
|
3485 |
args = getInventoryAge_args()
|
|
|
3486 |
args.read(iprot)
|
|
|
3487 |
iprot.readMessageEnd()
|
|
|
3488 |
result = getInventoryAge_result()
|
|
|
3489 |
result.success = self._handler.getInventoryAge()
|
|
|
3490 |
oprot.writeMessageBegin("getInventoryAge", TMessageType.REPLY, seqid)
|
|
|
3491 |
result.write(oprot)
|
|
|
3492 |
oprot.writeMessageEnd()
|
|
|
3493 |
oprot.trans.flush()
|
| 5620 |
mandeep.dh |
3494 |
|
| 6361 |
rajveer |
3495 |
def process_getInventoryScansForItem(self, seqid, iprot, oprot):
|
|
|
3496 |
args = getInventoryScansForItem_args()
|
|
|
3497 |
args.read(iprot)
|
|
|
3498 |
iprot.readMessageEnd()
|
|
|
3499 |
result = getInventoryScansForItem_result()
|
|
|
3500 |
result.success = self._handler.getInventoryScansForItem(args.itemId, args.fromDate, args.toDate)
|
|
|
3501 |
oprot.writeMessageBegin("getInventoryScansForItem", TMessageType.REPLY, seqid)
|
|
|
3502 |
result.write(oprot)
|
|
|
3503 |
oprot.writeMessageEnd()
|
|
|
3504 |
oprot.trans.flush()
|
| 5711 |
mandeep.dh |
3505 |
|
| 6361 |
rajveer |
3506 |
def process_getScanRecordsForSerialNumber(self, seqid, iprot, oprot):
|
|
|
3507 |
args = getScanRecordsForSerialNumber_args()
|
|
|
3508 |
args.read(iprot)
|
|
|
3509 |
iprot.readMessageEnd()
|
|
|
3510 |
result = getScanRecordsForSerialNumber_result()
|
|
|
3511 |
result.success = self._handler.getScanRecordsForSerialNumber(args.serialNumber)
|
|
|
3512 |
oprot.writeMessageBegin("getScanRecordsForSerialNumber", TMessageType.REPLY, seqid)
|
|
|
3513 |
result.write(oprot)
|
|
|
3514 |
oprot.writeMessageEnd()
|
|
|
3515 |
oprot.trans.flush()
|
|
|
3516 |
|
| 6467 |
amar.kumar |
3517 |
def process_scanForPurchaseReturn(self, seqid, iprot, oprot):
|
|
|
3518 |
args = scanForPurchaseReturn_args()
|
|
|
3519 |
args.read(iprot)
|
|
|
3520 |
iprot.readMessageEnd()
|
|
|
3521 |
result = scanForPurchaseReturn_result()
|
|
|
3522 |
try:
|
| 10864 |
manish.sha |
3523 |
result.success = self._handler.scanForPurchaseReturn(args.saleReturnItems, args.vendorId, args.billingWarehouseId)
|
| 6467 |
amar.kumar |
3524 |
except WarehouseServiceException, ex:
|
|
|
3525 |
result.ex = ex
|
|
|
3526 |
oprot.writeMessageBegin("scanForPurchaseReturn", TMessageType.REPLY, seqid)
|
|
|
3527 |
result.write(oprot)
|
|
|
3528 |
oprot.writeMessageEnd()
|
|
|
3529 |
oprot.trans.flush()
|
| 6361 |
rajveer |
3530 |
|
| 6630 |
amar.kumar |
3531 |
def process_scanForLostItem(self, seqid, iprot, oprot):
|
|
|
3532 |
args = scanForLostItem_args()
|
|
|
3533 |
args.read(iprot)
|
|
|
3534 |
iprot.readMessageEnd()
|
|
|
3535 |
result = scanForLostItem_result()
|
|
|
3536 |
try:
|
| 7718 |
amar.kumar |
3537 |
self._handler.scanForLostItem(args.lostItems, args.vendorId, args.billingWarehouseId)
|
| 6630 |
amar.kumar |
3538 |
except WarehouseServiceException, ex:
|
|
|
3539 |
result.ex = ex
|
|
|
3540 |
oprot.writeMessageBegin("scanForLostItem", TMessageType.REPLY, seqid)
|
|
|
3541 |
result.write(oprot)
|
|
|
3542 |
oprot.writeMessageEnd()
|
|
|
3543 |
oprot.trans.flush()
|
| 6467 |
amar.kumar |
3544 |
|
| 6630 |
amar.kumar |
3545 |
def process_getCurrentSerializedInventoryByScans(self, seqid, iprot, oprot):
|
|
|
3546 |
args = getCurrentSerializedInventoryByScans_args()
|
|
|
3547 |
args.read(iprot)
|
|
|
3548 |
iprot.readMessageEnd()
|
|
|
3549 |
result = getCurrentSerializedInventoryByScans_result()
|
| 7715 |
vikram.rag |
3550 |
result.success = self._handler.getCurrentSerializedInventoryByScans(args.physicalWarehouseId)
|
| 6630 |
amar.kumar |
3551 |
oprot.writeMessageBegin("getCurrentSerializedInventoryByScans", TMessageType.REPLY, seqid)
|
|
|
3552 |
result.write(oprot)
|
|
|
3553 |
oprot.writeMessageEnd()
|
|
|
3554 |
oprot.trans.flush()
|
|
|
3555 |
|
|
|
3556 |
def process_getCurrentNonSerializedInventoryByScans(self, seqid, iprot, oprot):
|
|
|
3557 |
args = getCurrentNonSerializedInventoryByScans_args()
|
|
|
3558 |
args.read(iprot)
|
|
|
3559 |
iprot.readMessageEnd()
|
|
|
3560 |
result = getCurrentNonSerializedInventoryByScans_result()
|
| 7715 |
vikram.rag |
3561 |
result.success = self._handler.getCurrentNonSerializedInventoryByScans(args.physicalWarehouseId)
|
| 6630 |
amar.kumar |
3562 |
oprot.writeMessageBegin("getCurrentNonSerializedInventoryByScans", TMessageType.REPLY, seqid)
|
|
|
3563 |
result.write(oprot)
|
|
|
3564 |
oprot.writeMessageEnd()
|
|
|
3565 |
oprot.trans.flush()
|
|
|
3566 |
|
| 6762 |
amar.kumar |
3567 |
def process_getHistoricSerializedInventoryByScans(self, seqid, iprot, oprot):
|
|
|
3568 |
args = getHistoricSerializedInventoryByScans_args()
|
|
|
3569 |
args.read(iprot)
|
|
|
3570 |
iprot.readMessageEnd()
|
|
|
3571 |
result = getHistoricSerializedInventoryByScans_result()
|
|
|
3572 |
result.success = self._handler.getHistoricSerializedInventoryByScans(args.date)
|
|
|
3573 |
oprot.writeMessageBegin("getHistoricSerializedInventoryByScans", TMessageType.REPLY, seqid)
|
|
|
3574 |
result.write(oprot)
|
|
|
3575 |
oprot.writeMessageEnd()
|
|
|
3576 |
oprot.trans.flush()
|
| 6630 |
amar.kumar |
3577 |
|
| 6762 |
amar.kumar |
3578 |
def process_getHistoricNonSerializedInventoryByScans(self, seqid, iprot, oprot):
|
|
|
3579 |
args = getHistoricNonSerializedInventoryByScans_args()
|
|
|
3580 |
args.read(iprot)
|
|
|
3581 |
iprot.readMessageEnd()
|
|
|
3582 |
result = getHistoricNonSerializedInventoryByScans_result()
|
|
|
3583 |
result.success = self._handler.getHistoricNonSerializedInventoryByScans(args.date)
|
|
|
3584 |
oprot.writeMessageBegin("getHistoricNonSerializedInventoryByScans", TMessageType.REPLY, seqid)
|
|
|
3585 |
result.write(oprot)
|
|
|
3586 |
oprot.writeMessageEnd()
|
|
|
3587 |
oprot.trans.flush()
|
|
|
3588 |
|
| 10407 |
amar.kumar |
3589 |
def process_getOurHistoricSerializedInventoryByScans(self, seqid, iprot, oprot):
|
|
|
3590 |
args = getOurHistoricSerializedInventoryByScans_args()
|
|
|
3591 |
args.read(iprot)
|
|
|
3592 |
iprot.readMessageEnd()
|
|
|
3593 |
result = getOurHistoricSerializedInventoryByScans_result()
|
|
|
3594 |
result.success = self._handler.getOurHistoricSerializedInventoryByScans(args.date)
|
|
|
3595 |
oprot.writeMessageBegin("getOurHistoricSerializedInventoryByScans", TMessageType.REPLY, seqid)
|
|
|
3596 |
result.write(oprot)
|
|
|
3597 |
oprot.writeMessageEnd()
|
|
|
3598 |
oprot.trans.flush()
|
|
|
3599 |
|
|
|
3600 |
def process_getOurHistoricNonSerializedInventoryByScans(self, seqid, iprot, oprot):
|
|
|
3601 |
args = getOurHistoricNonSerializedInventoryByScans_args()
|
|
|
3602 |
args.read(iprot)
|
|
|
3603 |
iprot.readMessageEnd()
|
|
|
3604 |
result = getOurHistoricNonSerializedInventoryByScans_result()
|
|
|
3605 |
result.success = self._handler.getOurHistoricNonSerializedInventoryByScans(args.date)
|
|
|
3606 |
oprot.writeMessageBegin("getOurHistoricNonSerializedInventoryByScans", TMessageType.REPLY, seqid)
|
|
|
3607 |
result.write(oprot)
|
|
|
3608 |
oprot.writeMessageEnd()
|
|
|
3609 |
oprot.trans.flush()
|
|
|
3610 |
|
| 6762 |
amar.kumar |
3611 |
def process_scanForOursExternalSale(self, seqid, iprot, oprot):
|
|
|
3612 |
args = scanForOursExternalSale_args()
|
|
|
3613 |
args.read(iprot)
|
|
|
3614 |
iprot.readMessageEnd()
|
|
|
3615 |
result = scanForOursExternalSale_result()
|
|
|
3616 |
try:
|
| 7672 |
rajveer |
3617 |
result.success = self._handler.scanForOursExternalSale(args.itemId, args.serialNumber, args.itemNumber, args.invoiceNumber, args.warehouseId, args.unitPrice, args.nlc, args.orderId)
|
| 6762 |
amar.kumar |
3618 |
except WarehouseServiceException, ex:
|
|
|
3619 |
result.ex = ex
|
|
|
3620 |
oprot.writeMessageBegin("scanForOursExternalSale", TMessageType.REPLY, seqid)
|
|
|
3621 |
result.write(oprot)
|
|
|
3622 |
oprot.writeMessageEnd()
|
|
|
3623 |
oprot.trans.flush()
|
|
|
3624 |
|
|
|
3625 |
def process_scanForOursExternalSaleReturn(self, seqid, iprot, oprot):
|
|
|
3626 |
args = scanForOursExternalSaleReturn_args()
|
|
|
3627 |
args.read(iprot)
|
|
|
3628 |
iprot.readMessageEnd()
|
|
|
3629 |
result = scanForOursExternalSaleReturn_result()
|
| 7410 |
amar.kumar |
3630 |
try:
|
|
|
3631 |
self._handler.scanForOursExternalSaleReturn(args.orderId, args.unitPrice)
|
|
|
3632 |
except WarehouseServiceException, ex:
|
|
|
3633 |
result.ex = ex
|
| 6762 |
amar.kumar |
3634 |
oprot.writeMessageBegin("scanForOursExternalSaleReturn", TMessageType.REPLY, seqid)
|
|
|
3635 |
result.write(oprot)
|
|
|
3636 |
oprot.writeMessageEnd()
|
|
|
3637 |
oprot.trans.flush()
|
|
|
3638 |
|
| 6880 |
amar.kumar |
3639 |
def process_getMovementNonSerializedInventoryByScans(self, seqid, iprot, oprot):
|
|
|
3640 |
args = getMovementNonSerializedInventoryByScans_args()
|
|
|
3641 |
args.read(iprot)
|
|
|
3642 |
iprot.readMessageEnd()
|
|
|
3643 |
result = getMovementNonSerializedInventoryByScans_result()
|
|
|
3644 |
result.success = self._handler.getMovementNonSerializedInventoryByScans(args.startDate, args.endDate)
|
|
|
3645 |
oprot.writeMessageBegin("getMovementNonSerializedInventoryByScans", TMessageType.REPLY, seqid)
|
|
|
3646 |
result.write(oprot)
|
|
|
3647 |
oprot.writeMessageEnd()
|
|
|
3648 |
oprot.trans.flush()
|
| 6762 |
amar.kumar |
3649 |
|
| 6880 |
amar.kumar |
3650 |
def process_getMovementSerializedInventoryByScans(self, seqid, iprot, oprot):
|
|
|
3651 |
args = getMovementSerializedInventoryByScans_args()
|
|
|
3652 |
args.read(iprot)
|
|
|
3653 |
iprot.readMessageEnd()
|
|
|
3654 |
result = getMovementSerializedInventoryByScans_result()
|
|
|
3655 |
result.success = self._handler.getMovementSerializedInventoryByScans(args.startDate, args.endDate)
|
|
|
3656 |
oprot.writeMessageBegin("getMovementSerializedInventoryByScans", TMessageType.REPLY, seqid)
|
|
|
3657 |
result.write(oprot)
|
|
|
3658 |
oprot.writeMessageEnd()
|
|
|
3659 |
oprot.trans.flush()
|
|
|
3660 |
|
| 7216 |
amar.kumar |
3661 |
def process_getCompleteMovementSerializedInventoryByScans(self, seqid, iprot, oprot):
|
|
|
3662 |
args = getCompleteMovementSerializedInventoryByScans_args()
|
|
|
3663 |
args.read(iprot)
|
|
|
3664 |
iprot.readMessageEnd()
|
|
|
3665 |
result = getCompleteMovementSerializedInventoryByScans_result()
|
|
|
3666 |
result.success = self._handler.getCompleteMovementSerializedInventoryByScans(args.startDate, args.endDate)
|
|
|
3667 |
oprot.writeMessageBegin("getCompleteMovementSerializedInventoryByScans", TMessageType.REPLY, seqid)
|
|
|
3668 |
result.write(oprot)
|
|
|
3669 |
oprot.writeMessageEnd()
|
|
|
3670 |
oprot.trans.flush()
|
|
|
3671 |
|
|
|
3672 |
def process_getCompleteMovementNonSerializedInventoryByScans(self, seqid, iprot, oprot):
|
|
|
3673 |
args = getCompleteMovementNonSerializedInventoryByScans_args()
|
|
|
3674 |
args.read(iprot)
|
|
|
3675 |
iprot.readMessageEnd()
|
|
|
3676 |
result = getCompleteMovementNonSerializedInventoryByScans_result()
|
|
|
3677 |
result.success = self._handler.getCompleteMovementNonSerializedInventoryByScans(args.startDate, args.endDate)
|
|
|
3678 |
oprot.writeMessageBegin("getCompleteMovementNonSerializedInventoryByScans", TMessageType.REPLY, seqid)
|
|
|
3679 |
result.write(oprot)
|
|
|
3680 |
oprot.writeMessageEnd()
|
|
|
3681 |
oprot.trans.flush()
|
|
|
3682 |
|
| 7190 |
amar.kumar |
3683 |
def process_scanfreebie(self, seqid, iprot, oprot):
|
|
|
3684 |
args = scanfreebie_args()
|
|
|
3685 |
args.read(iprot)
|
|
|
3686 |
iprot.readMessageEnd()
|
|
|
3687 |
result = scanfreebie_result()
|
|
|
3688 |
try:
|
|
|
3689 |
result.success = self._handler.scanfreebie(args.orderId, args.freebieItemId, args.freebieWarehouseId, args.scanType)
|
|
|
3690 |
except WarehouseServiceException, wex:
|
|
|
3691 |
result.wex = wex
|
|
|
3692 |
oprot.writeMessageBegin("scanfreebie", TMessageType.REPLY, seqid)
|
|
|
3693 |
result.write(oprot)
|
|
|
3694 |
oprot.writeMessageEnd()
|
|
|
3695 |
oprot.trans.flush()
|
| 6880 |
amar.kumar |
3696 |
|
| 7199 |
amar.kumar |
3697 |
def process_reshipfreebie(self, seqid, iprot, oprot):
|
|
|
3698 |
args = reshipfreebie_args()
|
|
|
3699 |
args.read(iprot)
|
|
|
3700 |
iprot.readMessageEnd()
|
|
|
3701 |
result = reshipfreebie_result()
|
|
|
3702 |
try:
|
|
|
3703 |
self._handler.reshipfreebie(args.oldOrderId, args.newOrderId, args.freebieItemId, args.scanType)
|
|
|
3704 |
except WarehouseServiceException, wex:
|
|
|
3705 |
result.wex = wex
|
|
|
3706 |
oprot.writeMessageBegin("reshipfreebie", TMessageType.REPLY, seqid)
|
|
|
3707 |
result.write(oprot)
|
|
|
3708 |
oprot.writeMessageEnd()
|
|
|
3709 |
oprot.trans.flush()
|
| 7190 |
amar.kumar |
3710 |
|
| 7410 |
amar.kumar |
3711 |
def process_isItemTransferAllowed(self, seqid, iprot, oprot):
|
|
|
3712 |
args = isItemTransferAllowed_args()
|
|
|
3713 |
args.read(iprot)
|
|
|
3714 |
iprot.readMessageEnd()
|
|
|
3715 |
result = isItemTransferAllowed_result()
|
|
|
3716 |
result.success = self._handler.isItemTransferAllowed(args.warehouseId, args.transferWarehouseId)
|
|
|
3717 |
oprot.writeMessageBegin("isItemTransferAllowed", TMessageType.REPLY, seqid)
|
|
|
3718 |
result.write(oprot)
|
|
|
3719 |
oprot.writeMessageEnd()
|
|
|
3720 |
oprot.trans.flush()
|
| 7199 |
amar.kumar |
3721 |
|
| 7410 |
amar.kumar |
3722 |
def process_createTransferLot(self, seqid, iprot, oprot):
|
|
|
3723 |
args = createTransferLot_args()
|
|
|
3724 |
args.read(iprot)
|
|
|
3725 |
iprot.readMessageEnd()
|
|
|
3726 |
result = createTransferLot_result()
|
|
|
3727 |
try:
|
|
|
3728 |
result.success = self._handler.createTransferLot(args.originWarehouseId, args.destWarehouseId)
|
|
|
3729 |
except WarehouseServiceException, wex:
|
|
|
3730 |
result.wex = wex
|
|
|
3731 |
oprot.writeMessageBegin("createTransferLot", TMessageType.REPLY, seqid)
|
|
|
3732 |
result.write(oprot)
|
|
|
3733 |
oprot.writeMessageEnd()
|
|
|
3734 |
oprot.trans.flush()
|
|
|
3735 |
|
|
|
3736 |
def process_getTransferLot(self, seqid, iprot, oprot):
|
|
|
3737 |
args = getTransferLot_args()
|
|
|
3738 |
args.read(iprot)
|
|
|
3739 |
iprot.readMessageEnd()
|
|
|
3740 |
result = getTransferLot_result()
|
|
|
3741 |
try:
|
|
|
3742 |
result.success = self._handler.getTransferLot(args.transferLotId)
|
|
|
3743 |
except WarehouseServiceException, wex:
|
|
|
3744 |
result.wex = wex
|
|
|
3745 |
oprot.writeMessageBegin("getTransferLot", TMessageType.REPLY, seqid)
|
|
|
3746 |
result.write(oprot)
|
|
|
3747 |
oprot.writeMessageEnd()
|
|
|
3748 |
oprot.trans.flush()
|
|
|
3749 |
|
|
|
3750 |
def process_markTransferLotAsReceived(self, seqid, iprot, oprot):
|
|
|
3751 |
args = markTransferLotAsReceived_args()
|
|
|
3752 |
args.read(iprot)
|
|
|
3753 |
iprot.readMessageEnd()
|
|
|
3754 |
result = markTransferLotAsReceived_result()
|
|
|
3755 |
try:
|
|
|
3756 |
self._handler.markTransferLotAsReceived(args.id, args.remoteTransferRefNumber)
|
|
|
3757 |
except WarehouseServiceException, wex:
|
|
|
3758 |
result.wex = wex
|
|
|
3759 |
oprot.writeMessageBegin("markTransferLotAsReceived", TMessageType.REPLY, seqid)
|
|
|
3760 |
result.write(oprot)
|
|
|
3761 |
oprot.writeMessageEnd()
|
|
|
3762 |
oprot.trans.flush()
|
|
|
3763 |
|
|
|
3764 |
def process_getTransferLotsByDate(self, seqid, iprot, oprot):
|
|
|
3765 |
args = getTransferLotsByDate_args()
|
|
|
3766 |
args.read(iprot)
|
|
|
3767 |
iprot.readMessageEnd()
|
|
|
3768 |
result = getTransferLotsByDate_result()
|
|
|
3769 |
try:
|
|
|
3770 |
result.success = self._handler.getTransferLotsByDate(args.fromDate, args.toDate)
|
|
|
3771 |
except WarehouseServiceException, wex:
|
|
|
3772 |
result.wex = wex
|
|
|
3773 |
oprot.writeMessageBegin("getTransferLotsByDate", TMessageType.REPLY, seqid)
|
|
|
3774 |
result.write(oprot)
|
|
|
3775 |
oprot.writeMessageEnd()
|
|
|
3776 |
oprot.trans.flush()
|
|
|
3777 |
|
|
|
3778 |
def process_getAllowedDestinationWarehousesForTransfer(self, seqid, iprot, oprot):
|
|
|
3779 |
args = getAllowedDestinationWarehousesForTransfer_args()
|
|
|
3780 |
args.read(iprot)
|
|
|
3781 |
iprot.readMessageEnd()
|
|
|
3782 |
result = getAllowedDestinationWarehousesForTransfer_result()
|
|
|
3783 |
result.success = self._handler.getAllowedDestinationWarehousesForTransfer(args.warehouseId)
|
|
|
3784 |
oprot.writeMessageBegin("getAllowedDestinationWarehousesForTransfer", TMessageType.REPLY, seqid)
|
|
|
3785 |
result.write(oprot)
|
|
|
3786 |
oprot.writeMessageEnd()
|
|
|
3787 |
oprot.trans.flush()
|
|
|
3788 |
|
|
|
3789 |
def process_getItemsInTransferLot(self, seqid, iprot, oprot):
|
|
|
3790 |
args = getItemsInTransferLot_args()
|
|
|
3791 |
args.read(iprot)
|
|
|
3792 |
iprot.readMessageEnd()
|
|
|
3793 |
result = getItemsInTransferLot_result()
|
|
|
3794 |
result.success = self._handler.getItemsInTransferLot(args.transferLotId)
|
|
|
3795 |
oprot.writeMessageBegin("getItemsInTransferLot", TMessageType.REPLY, seqid)
|
|
|
3796 |
result.write(oprot)
|
|
|
3797 |
oprot.writeMessageEnd()
|
|
|
3798 |
oprot.trans.flush()
|
|
|
3799 |
|
|
|
3800 |
def process_markItemsAsReceivedForTransferLot(self, seqid, iprot, oprot):
|
|
|
3801 |
args = markItemsAsReceivedForTransferLot_args()
|
|
|
3802 |
args.read(iprot)
|
|
|
3803 |
iprot.readMessageEnd()
|
|
|
3804 |
result = markItemsAsReceivedForTransferLot_result()
|
|
|
3805 |
try:
|
|
|
3806 |
self._handler.markItemsAsReceivedForTransferLot(args.id)
|
|
|
3807 |
except WarehouseServiceException, wex:
|
|
|
3808 |
result.wex = wex
|
|
|
3809 |
oprot.writeMessageBegin("markItemsAsReceivedForTransferLot", TMessageType.REPLY, seqid)
|
|
|
3810 |
result.write(oprot)
|
|
|
3811 |
oprot.writeMessageEnd()
|
|
|
3812 |
oprot.trans.flush()
|
|
|
3813 |
|
|
|
3814 |
def process_updateTransferLotAfterItemReceive(self, seqid, iprot, oprot):
|
|
|
3815 |
args = updateTransferLotAfterItemReceive_args()
|
|
|
3816 |
args.read(iprot)
|
|
|
3817 |
iprot.readMessageEnd()
|
|
|
3818 |
result = updateTransferLotAfterItemReceive_result()
|
|
|
3819 |
try:
|
|
|
3820 |
result.success = self._handler.updateTransferLotAfterItemReceive(args.id)
|
|
|
3821 |
except WarehouseServiceException, wex:
|
|
|
3822 |
result.wex = wex
|
|
|
3823 |
oprot.writeMessageBegin("updateTransferLotAfterItemReceive", TMessageType.REPLY, seqid)
|
|
|
3824 |
result.write(oprot)
|
|
|
3825 |
oprot.writeMessageEnd()
|
|
|
3826 |
oprot.trans.flush()
|
|
|
3827 |
|
| 7459 |
amar.kumar |
3828 |
def process_scanForTransferOut(self, seqid, iprot, oprot):
|
|
|
3829 |
args = scanForTransferOut_args()
|
| 7410 |
amar.kumar |
3830 |
args.read(iprot)
|
|
|
3831 |
iprot.readMessageEnd()
|
| 7459 |
amar.kumar |
3832 |
result = scanForTransferOut_result()
|
| 7410 |
amar.kumar |
3833 |
try:
|
| 7459 |
amar.kumar |
3834 |
self._handler.scanForTransferOut(args.inventoryItems, args.type, args.transferLotId)
|
| 7410 |
amar.kumar |
3835 |
except WarehouseServiceException, wex:
|
|
|
3836 |
result.wex = wex
|
| 7459 |
amar.kumar |
3837 |
oprot.writeMessageBegin("scanForTransferOut", TMessageType.REPLY, seqid)
|
| 7410 |
amar.kumar |
3838 |
result.write(oprot)
|
|
|
3839 |
oprot.writeMessageEnd()
|
|
|
3840 |
oprot.trans.flush()
|
|
|
3841 |
|
| 7459 |
amar.kumar |
3842 |
def process_scanForTransferIn(self, seqid, iprot, oprot):
|
|
|
3843 |
args = scanForTransferIn_args()
|
|
|
3844 |
args.read(iprot)
|
|
|
3845 |
iprot.readMessageEnd()
|
|
|
3846 |
result = scanForTransferIn_result()
|
|
|
3847 |
try:
|
|
|
3848 |
self._handler.scanForTransferIn(args.inventoryItems, args.type, args.transferLotId)
|
|
|
3849 |
except WarehouseServiceException, wex:
|
|
|
3850 |
result.wex = wex
|
|
|
3851 |
oprot.writeMessageBegin("scanForTransferIn", TMessageType.REPLY, seqid)
|
|
|
3852 |
result.write(oprot)
|
|
|
3853 |
oprot.writeMessageEnd()
|
|
|
3854 |
oprot.trans.flush()
|
| 7410 |
amar.kumar |
3855 |
|
| 7459 |
amar.kumar |
3856 |
def process_scanForOursThirdPartyReceive(self, seqid, iprot, oprot):
|
|
|
3857 |
args = scanForOursThirdPartyReceive_args()
|
|
|
3858 |
args.read(iprot)
|
|
|
3859 |
iprot.readMessageEnd()
|
|
|
3860 |
result = scanForOursThirdPartyReceive_result()
|
|
|
3861 |
try:
|
|
|
3862 |
self._handler.scanForOursThirdPartyReceive(args.inventoryItems, args.id)
|
|
|
3863 |
except WarehouseServiceException, wex:
|
|
|
3864 |
result.wex = wex
|
|
|
3865 |
oprot.writeMessageBegin("scanForOursThirdPartyReceive", TMessageType.REPLY, seqid)
|
|
|
3866 |
result.write(oprot)
|
|
|
3867 |
oprot.writeMessageEnd()
|
|
|
3868 |
oprot.trans.flush()
|
|
|
3869 |
|
| 7574 |
amar.kumar |
3870 |
def process_getCurrentQuantityForNonSerializedInTransitItemInPhysicalWarehouse(self, seqid, iprot, oprot):
|
|
|
3871 |
args = getCurrentQuantityForNonSerializedInTransitItemInPhysicalWarehouse_args()
|
|
|
3872 |
args.read(iprot)
|
|
|
3873 |
iprot.readMessageEnd()
|
|
|
3874 |
result = getCurrentQuantityForNonSerializedInTransitItemInPhysicalWarehouse_result()
|
|
|
3875 |
try:
|
|
|
3876 |
result.success = self._handler.getCurrentQuantityForNonSerializedInTransitItemInPhysicalWarehouse(args.itemId, args.physicalWarehouseId)
|
|
|
3877 |
except WarehouseServiceException, wex:
|
|
|
3878 |
result.wex = wex
|
|
|
3879 |
oprot.writeMessageBegin("getCurrentQuantityForNonSerializedInTransitItemInPhysicalWarehouse", TMessageType.REPLY, seqid)
|
|
|
3880 |
result.write(oprot)
|
|
|
3881 |
oprot.writeMessageEnd()
|
|
|
3882 |
oprot.trans.flush()
|
| 7459 |
amar.kumar |
3883 |
|
| 7672 |
rajveer |
3884 |
def process_getInTransitInventory(self, seqid, iprot, oprot):
|
|
|
3885 |
args = getInTransitInventory_args()
|
|
|
3886 |
args.read(iprot)
|
|
|
3887 |
iprot.readMessageEnd()
|
|
|
3888 |
result = getInTransitInventory_result()
|
|
|
3889 |
result.success = self._handler.getInTransitInventory(args.originWarehouseId)
|
|
|
3890 |
oprot.writeMessageBegin("getInTransitInventory", TMessageType.REPLY, seqid)
|
|
|
3891 |
result.write(oprot)
|
|
|
3892 |
oprot.writeMessageEnd()
|
|
|
3893 |
oprot.trans.flush()
|
| 7574 |
amar.kumar |
3894 |
|
| 7968 |
amar.kumar |
3895 |
def process_isItemAvailableForSale(self, seqid, iprot, oprot):
|
|
|
3896 |
args = isItemAvailableForSale_args()
|
|
|
3897 |
args.read(iprot)
|
|
|
3898 |
iprot.readMessageEnd()
|
|
|
3899 |
result = isItemAvailableForSale_result()
|
|
|
3900 |
try:
|
|
|
3901 |
result.success = self._handler.isItemAvailableForSale(args.itemId, args.serialNumber, args.warehouseId)
|
|
|
3902 |
except WarehouseServiceException, wex:
|
|
|
3903 |
result.wex = wex
|
|
|
3904 |
oprot.writeMessageBegin("isItemAvailableForSale", TMessageType.REPLY, seqid)
|
|
|
3905 |
result.write(oprot)
|
|
|
3906 |
oprot.writeMessageEnd()
|
|
|
3907 |
oprot.trans.flush()
|
| 7672 |
rajveer |
3908 |
|
| 7968 |
amar.kumar |
3909 |
def process_getHistoricBadInventoryByScans(self, seqid, iprot, oprot):
|
|
|
3910 |
args = getHistoricBadInventoryByScans_args()
|
|
|
3911 |
args.read(iprot)
|
|
|
3912 |
iprot.readMessageEnd()
|
|
|
3913 |
result = getHistoricBadInventoryByScans_result()
|
|
|
3914 |
try:
|
|
|
3915 |
result.success = self._handler.getHistoricBadInventoryByScans(args.date)
|
|
|
3916 |
except WarehouseServiceException, wex:
|
|
|
3917 |
result.wex = wex
|
|
|
3918 |
oprot.writeMessageBegin("getHistoricBadInventoryByScans", TMessageType.REPLY, seqid)
|
|
|
3919 |
result.write(oprot)
|
|
|
3920 |
oprot.writeMessageEnd()
|
|
|
3921 |
oprot.trans.flush()
|
|
|
3922 |
|
| 8565 |
amar.kumar |
3923 |
def process_scanForBadSale(self, seqid, iprot, oprot):
|
|
|
3924 |
args = scanForBadSale_args()
|
|
|
3925 |
args.read(iprot)
|
|
|
3926 |
iprot.readMessageEnd()
|
|
|
3927 |
result = scanForBadSale_result()
|
| 8717 |
amar.kumar |
3928 |
try:
|
|
|
3929 |
result.success = self._handler.scanForBadSale(args.serialNumber, args.itemNumber, args.itemId, args.orderId, args.fulfilmentWarehouseId, args.quantity, args.billingWarehouseId)
|
|
|
3930 |
except WarehouseServiceException, wex:
|
|
|
3931 |
result.wex = wex
|
| 8565 |
amar.kumar |
3932 |
oprot.writeMessageBegin("scanForBadSale", TMessageType.REPLY, seqid)
|
|
|
3933 |
result.write(oprot)
|
|
|
3934 |
oprot.writeMessageEnd()
|
|
|
3935 |
oprot.trans.flush()
|
| 7968 |
amar.kumar |
3936 |
|
| 10120 |
manish.sha |
3937 |
def process_getTransferLotItemsForMarkReceive(self, seqid, iprot, oprot):
|
|
|
3938 |
args = getTransferLotItemsForMarkReceive_args()
|
|
|
3939 |
args.read(iprot)
|
|
|
3940 |
iprot.readMessageEnd()
|
|
|
3941 |
result = getTransferLotItemsForMarkReceive_result()
|
|
|
3942 |
try:
|
|
|
3943 |
result.success = self._handler.getTransferLotItemsForMarkReceive(args.transferLotId, args.scanType)
|
|
|
3944 |
except WarehouseServiceException, wex:
|
|
|
3945 |
result.wex = wex
|
|
|
3946 |
oprot.writeMessageBegin("getTransferLotItemsForMarkReceive", TMessageType.REPLY, seqid)
|
|
|
3947 |
result.write(oprot)
|
|
|
3948 |
oprot.writeMessageEnd()
|
|
|
3949 |
oprot.trans.flush()
|
| 8565 |
amar.kumar |
3950 |
|
| 10120 |
manish.sha |
3951 |
def process_markItemsAsReceivedForTransferLotPartial(self, seqid, iprot, oprot):
|
|
|
3952 |
args = markItemsAsReceivedForTransferLotPartial_args()
|
|
|
3953 |
args.read(iprot)
|
|
|
3954 |
iprot.readMessageEnd()
|
|
|
3955 |
result = markItemsAsReceivedForTransferLotPartial_result()
|
|
|
3956 |
try:
|
|
|
3957 |
self._handler.markItemsAsReceivedForTransferLotPartial(args.inventoryItems, args.transferLotId)
|
|
|
3958 |
except WarehouseServiceException, wex:
|
|
|
3959 |
result.wex = wex
|
|
|
3960 |
oprot.writeMessageBegin("markItemsAsReceivedForTransferLotPartial", TMessageType.REPLY, seqid)
|
|
|
3961 |
result.write(oprot)
|
|
|
3962 |
oprot.writeMessageEnd()
|
|
|
3963 |
oprot.trans.flush()
|
|
|
3964 |
|
|
|
3965 |
def process_markTransferLotAsReceivedPartial(self, seqid, iprot, oprot):
|
|
|
3966 |
args = markTransferLotAsReceivedPartial_args()
|
|
|
3967 |
args.read(iprot)
|
|
|
3968 |
iprot.readMessageEnd()
|
|
|
3969 |
result = markTransferLotAsReceivedPartial_result()
|
|
|
3970 |
try:
|
|
|
3971 |
self._handler.markTransferLotAsReceivedPartial(args.id, args.remoteTransferRefNumber)
|
|
|
3972 |
except WarehouseServiceException, wex:
|
|
|
3973 |
result.wex = wex
|
|
|
3974 |
oprot.writeMessageBegin("markTransferLotAsReceivedPartial", TMessageType.REPLY, seqid)
|
|
|
3975 |
result.write(oprot)
|
|
|
3976 |
oprot.writeMessageEnd()
|
|
|
3977 |
oprot.trans.flush()
|
|
|
3978 |
|
| 10690 |
manish.sha |
3979 |
def process_getInventoryItemScannedInForPO(self, seqid, iprot, oprot):
|
|
|
3980 |
args = getInventoryItemScannedInForPO_args()
|
|
|
3981 |
args.read(iprot)
|
|
|
3982 |
iprot.readMessageEnd()
|
|
|
3983 |
result = getInventoryItemScannedInForPO_result()
|
|
|
3984 |
try:
|
|
|
3985 |
result.success = self._handler.getInventoryItemScannedInForPO(args.itemId, args.purchaseIds)
|
|
|
3986 |
except WarehouseServiceException, wex:
|
|
|
3987 |
result.wex = wex
|
|
|
3988 |
oprot.writeMessageBegin("getInventoryItemScannedInForPO", TMessageType.REPLY, seqid)
|
|
|
3989 |
result.write(oprot)
|
|
|
3990 |
oprot.writeMessageEnd()
|
|
|
3991 |
oprot.trans.flush()
|
| 10120 |
manish.sha |
3992 |
|
| 10690 |
manish.sha |
3993 |
def process_getAmazonTransferredSkuDetails(self, seqid, iprot, oprot):
|
|
|
3994 |
args = getAmazonTransferredSkuDetails_args()
|
|
|
3995 |
args.read(iprot)
|
|
|
3996 |
iprot.readMessageEnd()
|
|
|
3997 |
result = getAmazonTransferredSkuDetails_result()
|
|
|
3998 |
try:
|
|
|
3999 |
result.success = self._handler.getAmazonTransferredSkuDetails(args.itemIds)
|
|
|
4000 |
except WarehouseServiceException, wex:
|
|
|
4001 |
result.wex = wex
|
|
|
4002 |
oprot.writeMessageBegin("getAmazonTransferredSkuDetails", TMessageType.REPLY, seqid)
|
|
|
4003 |
result.write(oprot)
|
|
|
4004 |
oprot.writeMessageEnd()
|
|
|
4005 |
oprot.trans.flush()
|
|
|
4006 |
|
|
|
4007 |
def process_getScansforPurchase(self, seqid, iprot, oprot):
|
|
|
4008 |
args = getScansforPurchase_args()
|
|
|
4009 |
args.read(iprot)
|
|
|
4010 |
iprot.readMessageEnd()
|
|
|
4011 |
result = getScansforPurchase_result()
|
|
|
4012 |
try:
|
|
|
4013 |
result.success = self._handler.getScansforPurchase(args.purchaseId, args.scanType)
|
|
|
4014 |
except WarehouseServiceException, wex:
|
|
|
4015 |
result.wex = wex
|
|
|
4016 |
oprot.writeMessageBegin("getScansforPurchase", TMessageType.REPLY, seqid)
|
|
|
4017 |
result.write(oprot)
|
|
|
4018 |
oprot.writeMessageEnd()
|
|
|
4019 |
oprot.trans.flush()
|
|
|
4020 |
|
| 10864 |
manish.sha |
4021 |
def process_getCurrentBadQuantityForItem(self, seqid, iprot, oprot):
|
|
|
4022 |
args = getCurrentBadQuantityForItem_args()
|
|
|
4023 |
args.read(iprot)
|
|
|
4024 |
iprot.readMessageEnd()
|
|
|
4025 |
result = getCurrentBadQuantityForItem_result()
|
|
|
4026 |
try:
|
|
|
4027 |
result.success = self._handler.getCurrentBadQuantityForItem(args.itemId, args.currentWarehouseId, args.physicalWarehouseId)
|
|
|
4028 |
except WarehouseServiceException, wex:
|
|
|
4029 |
result.wex = wex
|
|
|
4030 |
oprot.writeMessageBegin("getCurrentBadQuantityForItem", TMessageType.REPLY, seqid)
|
|
|
4031 |
result.write(oprot)
|
|
|
4032 |
oprot.writeMessageEnd()
|
|
|
4033 |
oprot.trans.flush()
|
| 10690 |
manish.sha |
4034 |
|
| 10864 |
manish.sha |
4035 |
def process_scanForBadPurchaseReturn(self, seqid, iprot, oprot):
|
|
|
4036 |
args = scanForBadPurchaseReturn_args()
|
|
|
4037 |
args.read(iprot)
|
|
|
4038 |
iprot.readMessageEnd()
|
|
|
4039 |
result = scanForBadPurchaseReturn_result()
|
|
|
4040 |
try:
|
|
|
4041 |
result.success = self._handler.scanForBadPurchaseReturn(args.saleReturnItems, args.vendorId, args.billingWarehouseId)
|
|
|
4042 |
except WarehouseServiceException, ex:
|
|
|
4043 |
result.ex = ex
|
|
|
4044 |
oprot.writeMessageBegin("scanForBadPurchaseReturn", TMessageType.REPLY, seqid)
|
|
|
4045 |
result.write(oprot)
|
|
|
4046 |
oprot.writeMessageEnd()
|
|
|
4047 |
oprot.trans.flush()
|
|
|
4048 |
|
|
|
4049 |
def process_getItemsInPurchaseReturn(self, seqid, iprot, oprot):
|
|
|
4050 |
args = getItemsInPurchaseReturn_args()
|
|
|
4051 |
args.read(iprot)
|
|
|
4052 |
iprot.readMessageEnd()
|
|
|
4053 |
result = getItemsInPurchaseReturn_result()
|
|
|
4054 |
try:
|
| 13504 |
manish.sha |
4055 |
result.success = self._handler.getItemsInPurchaseReturn(args.purchaseReturnId, args.type, args.returnTime)
|
| 10864 |
manish.sha |
4056 |
except WarehouseServiceException, ex:
|
|
|
4057 |
result.ex = ex
|
|
|
4058 |
oprot.writeMessageBegin("getItemsInPurchaseReturn", TMessageType.REPLY, seqid)
|
|
|
4059 |
result.write(oprot)
|
|
|
4060 |
oprot.writeMessageEnd()
|
|
|
4061 |
oprot.trans.flush()
|
|
|
4062 |
|
| 10886 |
manish.sha |
4063 |
def process_getScansForInventoryItem(self, seqid, iprot, oprot):
|
|
|
4064 |
args = getScansForInventoryItem_args()
|
|
|
4065 |
args.read(iprot)
|
|
|
4066 |
iprot.readMessageEnd()
|
|
|
4067 |
result = getScansForInventoryItem_result()
|
|
|
4068 |
try:
|
|
|
4069 |
result.success = self._handler.getScansForInventoryItem(args.inventoryItemId, args.type)
|
|
|
4070 |
except WarehouseServiceException, ex:
|
|
|
4071 |
result.ex = ex
|
|
|
4072 |
oprot.writeMessageBegin("getScansForInventoryItem", TMessageType.REPLY, seqid)
|
|
|
4073 |
result.write(oprot)
|
|
|
4074 |
oprot.writeMessageEnd()
|
|
|
4075 |
oprot.trans.flush()
|
| 10864 |
manish.sha |
4076 |
|
| 12531 |
manish.sha |
4077 |
def process_checkGrnImeiStatus(self, seqid, iprot, oprot):
|
|
|
4078 |
args = checkGrnImeiStatus_args()
|
|
|
4079 |
args.read(iprot)
|
|
|
4080 |
iprot.readMessageEnd()
|
|
|
4081 |
result = checkGrnImeiStatus_result()
|
|
|
4082 |
try:
|
|
|
4083 |
result.success = self._handler.checkGrnImeiStatus(args.imeiNos)
|
|
|
4084 |
except WarehouseServiceException, ex:
|
|
|
4085 |
result.ex = ex
|
|
|
4086 |
oprot.writeMessageBegin("checkGrnImeiStatus", TMessageType.REPLY, seqid)
|
|
|
4087 |
result.write(oprot)
|
|
|
4088 |
oprot.writeMessageEnd()
|
|
|
4089 |
oprot.trans.flush()
|
| 10886 |
manish.sha |
4090 |
|
| 12800 |
manish.sha |
4091 |
def process_getInventoryAgeConsideredItems(self, seqid, iprot, oprot):
|
|
|
4092 |
args = getInventoryAgeConsideredItems_args()
|
|
|
4093 |
args.read(iprot)
|
|
|
4094 |
iprot.readMessageEnd()
|
|
|
4095 |
result = getInventoryAgeConsideredItems_result()
|
|
|
4096 |
try:
|
|
|
4097 |
result.success = self._handler.getInventoryAgeConsideredItems(args.itemId)
|
|
|
4098 |
except WarehouseServiceException, ex:
|
|
|
4099 |
result.ex = ex
|
|
|
4100 |
oprot.writeMessageBegin("getInventoryAgeConsideredItems", TMessageType.REPLY, seqid)
|
|
|
4101 |
result.write(oprot)
|
|
|
4102 |
oprot.writeMessageEnd()
|
|
|
4103 |
oprot.trans.flush()
|
| 12531 |
manish.sha |
4104 |
|
| 13529 |
manish.sha |
4105 |
def process_getCompleteMovementForThirdPartyWarehouse(self, seqid, iprot, oprot):
|
|
|
4106 |
args = getCompleteMovementForThirdPartyWarehouse_args()
|
|
|
4107 |
args.read(iprot)
|
|
|
4108 |
iprot.readMessageEnd()
|
|
|
4109 |
result = getCompleteMovementForThirdPartyWarehouse_result()
|
|
|
4110 |
result.success = self._handler.getCompleteMovementForThirdPartyWarehouse(args.startDate, args.endDate)
|
|
|
4111 |
oprot.writeMessageBegin("getCompleteMovementForThirdPartyWarehouse", TMessageType.REPLY, seqid)
|
|
|
4112 |
result.write(oprot)
|
|
|
4113 |
oprot.writeMessageEnd()
|
|
|
4114 |
oprot.trans.flush()
|
| 12800 |
manish.sha |
4115 |
|
| 14491 |
manish.sha |
4116 |
def process_getAllDoaOutInventoryItems(self, seqid, iprot, oprot):
|
|
|
4117 |
args = getAllDoaOutInventoryItems_args()
|
|
|
4118 |
args.read(iprot)
|
|
|
4119 |
iprot.readMessageEnd()
|
|
|
4120 |
result = getAllDoaOutInventoryItems_result()
|
|
|
4121 |
try:
|
|
|
4122 |
result.success = self._handler.getAllDoaOutInventoryItems()
|
|
|
4123 |
except WarehouseServiceException, ex:
|
|
|
4124 |
result.ex = ex
|
|
|
4125 |
oprot.writeMessageBegin("getAllDoaOutInventoryItems", TMessageType.REPLY, seqid)
|
|
|
4126 |
result.write(oprot)
|
|
|
4127 |
oprot.writeMessageEnd()
|
|
|
4128 |
oprot.trans.flush()
|
| 13529 |
manish.sha |
4129 |
|
| 15045 |
manish.sha |
4130 |
def process_getAllUnCompletedStockShipments(self, seqid, iprot, oprot):
|
|
|
4131 |
args = getAllUnCompletedStockShipments_args()
|
|
|
4132 |
args.read(iprot)
|
|
|
4133 |
iprot.readMessageEnd()
|
|
|
4134 |
result = getAllUnCompletedStockShipments_result()
|
|
|
4135 |
try:
|
|
|
4136 |
result.success = self._handler.getAllUnCompletedStockShipments(args.source)
|
|
|
4137 |
except WarehouseServiceException, ex:
|
|
|
4138 |
result.ex = ex
|
|
|
4139 |
oprot.writeMessageBegin("getAllUnCompletedStockShipments", TMessageType.REPLY, seqid)
|
|
|
4140 |
result.write(oprot)
|
|
|
4141 |
oprot.writeMessageEnd()
|
|
|
4142 |
oprot.trans.flush()
|
| 14491 |
manish.sha |
4143 |
|
| 15045 |
manish.sha |
4144 |
def process_getRemovalStockShipmentReferenceById(self, seqid, iprot, oprot):
|
|
|
4145 |
args = getRemovalStockShipmentReferenceById_args()
|
|
|
4146 |
args.read(iprot)
|
|
|
4147 |
iprot.readMessageEnd()
|
|
|
4148 |
result = getRemovalStockShipmentReferenceById_result()
|
|
|
4149 |
try:
|
|
|
4150 |
result.success = self._handler.getRemovalStockShipmentReferenceById(args.id)
|
|
|
4151 |
except WarehouseServiceException, ex:
|
|
|
4152 |
result.ex = ex
|
|
|
4153 |
oprot.writeMessageBegin("getRemovalStockShipmentReferenceById", TMessageType.REPLY, seqid)
|
|
|
4154 |
result.write(oprot)
|
|
|
4155 |
oprot.writeMessageEnd()
|
|
|
4156 |
oprot.trans.flush()
|
|
|
4157 |
|
|
|
4158 |
def process_createRemovalStockShipmentReference(self, seqid, iprot, oprot):
|
|
|
4159 |
args = createRemovalStockShipmentReference_args()
|
|
|
4160 |
args.read(iprot)
|
|
|
4161 |
iprot.readMessageEnd()
|
|
|
4162 |
result = createRemovalStockShipmentReference_result()
|
|
|
4163 |
try:
|
|
|
4164 |
result.success = self._handler.createRemovalStockShipmentReference(args.removalStockShipmentReference)
|
|
|
4165 |
except WarehouseServiceException, ex:
|
|
|
4166 |
result.ex = ex
|
|
|
4167 |
oprot.writeMessageBegin("createRemovalStockShipmentReference", TMessageType.REPLY, seqid)
|
|
|
4168 |
result.write(oprot)
|
|
|
4169 |
oprot.writeMessageEnd()
|
|
|
4170 |
oprot.trans.flush()
|
|
|
4171 |
|
|
|
4172 |
def process_updateShipmentReferenceTransferLot(self, seqid, iprot, oprot):
|
|
|
4173 |
args = updateShipmentReferenceTransferLot_args()
|
|
|
4174 |
args.read(iprot)
|
|
|
4175 |
iprot.readMessageEnd()
|
|
|
4176 |
result = updateShipmentReferenceTransferLot_result()
|
|
|
4177 |
try:
|
|
|
4178 |
self._handler.updateShipmentReferenceTransferLot(args.transferLotId, args.shipmentReferenceId)
|
|
|
4179 |
except WarehouseServiceException, ex:
|
|
|
4180 |
result.ex = ex
|
|
|
4181 |
oprot.writeMessageBegin("updateShipmentReferenceTransferLot", TMessageType.REPLY, seqid)
|
|
|
4182 |
result.write(oprot)
|
|
|
4183 |
oprot.writeMessageEnd()
|
|
|
4184 |
oprot.trans.flush()
|
|
|
4185 |
|
| 16264 |
manish.sha |
4186 |
def process_fetchScansPerTransferInvoiceNumber(self, seqid, iprot, oprot):
|
|
|
4187 |
args = fetchScansPerTransferInvoiceNumber_args()
|
|
|
4188 |
args.read(iprot)
|
|
|
4189 |
iprot.readMessageEnd()
|
|
|
4190 |
result = fetchScansPerTransferInvoiceNumber_result()
|
|
|
4191 |
result.success = self._handler.fetchScansPerTransferInvoiceNumber(args.date)
|
|
|
4192 |
oprot.writeMessageBegin("fetchScansPerTransferInvoiceNumber", TMessageType.REPLY, seqid)
|
|
|
4193 |
result.write(oprot)
|
|
|
4194 |
oprot.writeMessageEnd()
|
|
|
4195 |
oprot.trans.flush()
|
| 15045 |
manish.sha |
4196 |
|
| 21619 |
amit.gupta |
4197 |
def process_getInventoryItems(self, seqid, iprot, oprot):
|
|
|
4198 |
args = getInventoryItems_args()
|
|
|
4199 |
args.read(iprot)
|
|
|
4200 |
iprot.readMessageEnd()
|
|
|
4201 |
result = getInventoryItems_result()
|
|
|
4202 |
try:
|
|
|
4203 |
result.success = self._handler.getInventoryItems(args.serialNumbers)
|
|
|
4204 |
except WarehouseServiceException, wex:
|
|
|
4205 |
result.wex = wex
|
|
|
4206 |
oprot.writeMessageBegin("getInventoryItems", TMessageType.REPLY, seqid)
|
|
|
4207 |
result.write(oprot)
|
|
|
4208 |
oprot.writeMessageEnd()
|
|
|
4209 |
oprot.trans.flush()
|
| 16264 |
manish.sha |
4210 |
|
| 21619 |
amit.gupta |
4211 |
def process_getInventoryItemsBySerailNumbers(self, seqid, iprot, oprot):
|
|
|
4212 |
args = getInventoryItemsBySerailNumbers_args()
|
|
|
4213 |
args.read(iprot)
|
|
|
4214 |
iprot.readMessageEnd()
|
|
|
4215 |
result = getInventoryItemsBySerailNumbers_result()
|
|
|
4216 |
try:
|
|
|
4217 |
result.success = self._handler.getInventoryItemsBySerailNumbers(args.serialNumbers)
|
|
|
4218 |
except WarehouseServiceException, wex:
|
|
|
4219 |
result.wex = wex
|
|
|
4220 |
oprot.writeMessageBegin("getInventoryItemsBySerailNumbers", TMessageType.REPLY, seqid)
|
|
|
4221 |
result.write(oprot)
|
|
|
4222 |
oprot.writeMessageEnd()
|
|
|
4223 |
oprot.trans.flush()
|
|
|
4224 |
|
|
|
4225 |
def process_scanPurchaseBulk(self, seqid, iprot, oprot):
|
|
|
4226 |
args = scanPurchaseBulk_args()
|
|
|
4227 |
args.read(iprot)
|
|
|
4228 |
iprot.readMessageEnd()
|
|
|
4229 |
result = scanPurchaseBulk_result()
|
|
|
4230 |
try:
|
|
|
4231 |
self._handler.scanPurchaseBulk(args.inventoryItems)
|
|
|
4232 |
except WarehouseServiceException, wex:
|
|
|
4233 |
result.wex = wex
|
|
|
4234 |
oprot.writeMessageBegin("scanPurchaseBulk", TMessageType.REPLY, seqid)
|
|
|
4235 |
result.write(oprot)
|
|
|
4236 |
oprot.writeMessageEnd()
|
|
|
4237 |
oprot.trans.flush()
|
|
|
4238 |
|
|
|
4239 |
|
| 2821 |
chandransh |
4240 |
# HELPER FUNCTIONS AND STRUCTURES
|
|
|
4241 |
|
| 4501 |
mandeep.dh |
4242 |
class getInventoryItem_args:
|
| 2832 |
chandransh |
4243 |
"""
|
|
|
4244 |
Attributes:
|
| 4501 |
mandeep.dh |
4245 |
- serialNumber
|
| 2832 |
chandransh |
4246 |
"""
|
|
|
4247 |
|
|
|
4248 |
thrift_spec = (
|
|
|
4249 |
None, # 0
|
| 4501 |
mandeep.dh |
4250 |
(1, TType.STRING, 'serialNumber', None, None, ), # 1
|
| 2832 |
chandransh |
4251 |
)
|
|
|
4252 |
|
| 4501 |
mandeep.dh |
4253 |
def __init__(self, serialNumber=None,):
|
|
|
4254 |
self.serialNumber = serialNumber
|
| 2832 |
chandransh |
4255 |
|
|
|
4256 |
def read(self, iprot):
|
|
|
4257 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
4258 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
4259 |
return
|
|
|
4260 |
iprot.readStructBegin()
|
|
|
4261 |
while True:
|
|
|
4262 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
4263 |
if ftype == TType.STOP:
|
|
|
4264 |
break
|
|
|
4265 |
if fid == 1:
|
| 4501 |
mandeep.dh |
4266 |
if ftype == TType.STRING:
|
|
|
4267 |
self.serialNumber = iprot.readString();
|
| 2832 |
chandransh |
4268 |
else:
|
|
|
4269 |
iprot.skip(ftype)
|
|
|
4270 |
else:
|
|
|
4271 |
iprot.skip(ftype)
|
|
|
4272 |
iprot.readFieldEnd()
|
|
|
4273 |
iprot.readStructEnd()
|
|
|
4274 |
|
|
|
4275 |
def write(self, oprot):
|
|
|
4276 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
4277 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
4278 |
return
|
| 4501 |
mandeep.dh |
4279 |
oprot.writeStructBegin('getInventoryItem_args')
|
|
|
4280 |
if self.serialNumber is not None:
|
|
|
4281 |
oprot.writeFieldBegin('serialNumber', TType.STRING, 1)
|
|
|
4282 |
oprot.writeString(self.serialNumber)
|
| 2832 |
chandransh |
4283 |
oprot.writeFieldEnd()
|
|
|
4284 |
oprot.writeFieldStop()
|
|
|
4285 |
oprot.writeStructEnd()
|
|
|
4286 |
|
| 3431 |
rajveer |
4287 |
def validate(self):
|
|
|
4288 |
return
|
|
|
4289 |
|
|
|
4290 |
|
| 2832 |
chandransh |
4291 |
def __repr__(self):
|
|
|
4292 |
L = ['%s=%r' % (key, value)
|
|
|
4293 |
for key, value in self.__dict__.iteritems()]
|
|
|
4294 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
4295 |
|
|
|
4296 |
def __eq__(self, other):
|
|
|
4297 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
4298 |
|
|
|
4299 |
def __ne__(self, other):
|
|
|
4300 |
return not (self == other)
|
|
|
4301 |
|
| 4501 |
mandeep.dh |
4302 |
class getInventoryItem_result:
|
| 2832 |
chandransh |
4303 |
"""
|
|
|
4304 |
Attributes:
|
|
|
4305 |
- success
|
| 4541 |
mandeep.dh |
4306 |
- wex
|
| 2832 |
chandransh |
4307 |
"""
|
|
|
4308 |
|
|
|
4309 |
thrift_spec = (
|
| 4501 |
mandeep.dh |
4310 |
(0, TType.STRUCT, 'success', (InventoryItem, InventoryItem.thrift_spec), None, ), # 0
|
| 4541 |
mandeep.dh |
4311 |
(1, TType.STRUCT, 'wex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
| 2832 |
chandransh |
4312 |
)
|
|
|
4313 |
|
| 4541 |
mandeep.dh |
4314 |
def __init__(self, success=None, wex=None,):
|
| 2832 |
chandransh |
4315 |
self.success = success
|
| 4541 |
mandeep.dh |
4316 |
self.wex = wex
|
| 2832 |
chandransh |
4317 |
|
|
|
4318 |
def read(self, iprot):
|
|
|
4319 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
4320 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
4321 |
return
|
|
|
4322 |
iprot.readStructBegin()
|
|
|
4323 |
while True:
|
|
|
4324 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
4325 |
if ftype == TType.STOP:
|
|
|
4326 |
break
|
|
|
4327 |
if fid == 0:
|
|
|
4328 |
if ftype == TType.STRUCT:
|
| 4501 |
mandeep.dh |
4329 |
self.success = InventoryItem()
|
| 2832 |
chandransh |
4330 |
self.success.read(iprot)
|
|
|
4331 |
else:
|
|
|
4332 |
iprot.skip(ftype)
|
| 4541 |
mandeep.dh |
4333 |
elif fid == 1:
|
|
|
4334 |
if ftype == TType.STRUCT:
|
|
|
4335 |
self.wex = WarehouseServiceException()
|
|
|
4336 |
self.wex.read(iprot)
|
|
|
4337 |
else:
|
|
|
4338 |
iprot.skip(ftype)
|
| 2832 |
chandransh |
4339 |
else:
|
|
|
4340 |
iprot.skip(ftype)
|
|
|
4341 |
iprot.readFieldEnd()
|
|
|
4342 |
iprot.readStructEnd()
|
|
|
4343 |
|
|
|
4344 |
def write(self, oprot):
|
|
|
4345 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
4346 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
4347 |
return
|
| 4501 |
mandeep.dh |
4348 |
oprot.writeStructBegin('getInventoryItem_result')
|
| 3431 |
rajveer |
4349 |
if self.success is not None:
|
| 2832 |
chandransh |
4350 |
oprot.writeFieldBegin('success', TType.STRUCT, 0)
|
|
|
4351 |
self.success.write(oprot)
|
|
|
4352 |
oprot.writeFieldEnd()
|
| 4541 |
mandeep.dh |
4353 |
if self.wex is not None:
|
|
|
4354 |
oprot.writeFieldBegin('wex', TType.STRUCT, 1)
|
|
|
4355 |
self.wex.write(oprot)
|
|
|
4356 |
oprot.writeFieldEnd()
|
| 2832 |
chandransh |
4357 |
oprot.writeFieldStop()
|
|
|
4358 |
oprot.writeStructEnd()
|
|
|
4359 |
|
| 3431 |
rajveer |
4360 |
def validate(self):
|
|
|
4361 |
return
|
|
|
4362 |
|
|
|
4363 |
|
| 2832 |
chandransh |
4364 |
def __repr__(self):
|
|
|
4365 |
L = ['%s=%r' % (key, value)
|
|
|
4366 |
for key, value in self.__dict__.iteritems()]
|
|
|
4367 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
4368 |
|
|
|
4369 |
def __eq__(self, other):
|
|
|
4370 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
4371 |
|
|
|
4372 |
def __ne__(self, other):
|
|
|
4373 |
return not (self == other)
|
|
|
4374 |
|
| 5361 |
mandeep.dh |
4375 |
class getNonSeralizedInventoryItem_args:
|
| 2821 |
chandransh |
4376 |
"""
|
|
|
4377 |
Attributes:
|
| 5530 |
mandeep.dh |
4378 |
- itemNumber
|
| 4501 |
mandeep.dh |
4379 |
- itemId
|
| 5530 |
mandeep.dh |
4380 |
- fulfilmentWarehouseId
|
| 8565 |
amar.kumar |
4381 |
- billingWarehouseId
|
| 2821 |
chandransh |
4382 |
"""
|
|
|
4383 |
|
|
|
4384 |
thrift_spec = (
|
|
|
4385 |
None, # 0
|
| 5530 |
mandeep.dh |
4386 |
(1, TType.STRING, 'itemNumber', None, None, ), # 1
|
|
|
4387 |
(2, TType.I64, 'itemId', None, None, ), # 2
|
|
|
4388 |
(3, TType.I64, 'fulfilmentWarehouseId', None, None, ), # 3
|
| 8565 |
amar.kumar |
4389 |
(4, TType.I64, 'billingWarehouseId', None, None, ), # 4
|
| 2821 |
chandransh |
4390 |
)
|
|
|
4391 |
|
| 8565 |
amar.kumar |
4392 |
def __init__(self, itemNumber=None, itemId=None, fulfilmentWarehouseId=None, billingWarehouseId=None,):
|
| 5530 |
mandeep.dh |
4393 |
self.itemNumber = itemNumber
|
| 4501 |
mandeep.dh |
4394 |
self.itemId = itemId
|
| 5530 |
mandeep.dh |
4395 |
self.fulfilmentWarehouseId = fulfilmentWarehouseId
|
| 8565 |
amar.kumar |
4396 |
self.billingWarehouseId = billingWarehouseId
|
| 2821 |
chandransh |
4397 |
|
|
|
4398 |
def read(self, iprot):
|
|
|
4399 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
4400 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
4401 |
return
|
|
|
4402 |
iprot.readStructBegin()
|
|
|
4403 |
while True:
|
|
|
4404 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
4405 |
if ftype == TType.STOP:
|
|
|
4406 |
break
|
|
|
4407 |
if fid == 1:
|
| 5530 |
mandeep.dh |
4408 |
if ftype == TType.STRING:
|
|
|
4409 |
self.itemNumber = iprot.readString();
|
|
|
4410 |
else:
|
|
|
4411 |
iprot.skip(ftype)
|
|
|
4412 |
elif fid == 2:
|
| 2821 |
chandransh |
4413 |
if ftype == TType.I64:
|
| 4501 |
mandeep.dh |
4414 |
self.itemId = iprot.readI64();
|
| 2821 |
chandransh |
4415 |
else:
|
|
|
4416 |
iprot.skip(ftype)
|
| 5530 |
mandeep.dh |
4417 |
elif fid == 3:
|
| 4501 |
mandeep.dh |
4418 |
if ftype == TType.I64:
|
| 5530 |
mandeep.dh |
4419 |
self.fulfilmentWarehouseId = iprot.readI64();
|
| 2821 |
chandransh |
4420 |
else:
|
|
|
4421 |
iprot.skip(ftype)
|
| 8565 |
amar.kumar |
4422 |
elif fid == 4:
|
|
|
4423 |
if ftype == TType.I64:
|
|
|
4424 |
self.billingWarehouseId = iprot.readI64();
|
|
|
4425 |
else:
|
|
|
4426 |
iprot.skip(ftype)
|
| 2821 |
chandransh |
4427 |
else:
|
|
|
4428 |
iprot.skip(ftype)
|
|
|
4429 |
iprot.readFieldEnd()
|
|
|
4430 |
iprot.readStructEnd()
|
|
|
4431 |
|
|
|
4432 |
def write(self, oprot):
|
|
|
4433 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
4434 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
4435 |
return
|
| 5361 |
mandeep.dh |
4436 |
oprot.writeStructBegin('getNonSeralizedInventoryItem_args')
|
| 5530 |
mandeep.dh |
4437 |
if self.itemNumber is not None:
|
|
|
4438 |
oprot.writeFieldBegin('itemNumber', TType.STRING, 1)
|
|
|
4439 |
oprot.writeString(self.itemNumber)
|
|
|
4440 |
oprot.writeFieldEnd()
|
| 4501 |
mandeep.dh |
4441 |
if self.itemId is not None:
|
| 5530 |
mandeep.dh |
4442 |
oprot.writeFieldBegin('itemId', TType.I64, 2)
|
| 4501 |
mandeep.dh |
4443 |
oprot.writeI64(self.itemId)
|
| 2821 |
chandransh |
4444 |
oprot.writeFieldEnd()
|
| 5530 |
mandeep.dh |
4445 |
if self.fulfilmentWarehouseId is not None:
|
|
|
4446 |
oprot.writeFieldBegin('fulfilmentWarehouseId', TType.I64, 3)
|
|
|
4447 |
oprot.writeI64(self.fulfilmentWarehouseId)
|
| 2821 |
chandransh |
4448 |
oprot.writeFieldEnd()
|
| 8565 |
amar.kumar |
4449 |
if self.billingWarehouseId is not None:
|
|
|
4450 |
oprot.writeFieldBegin('billingWarehouseId', TType.I64, 4)
|
|
|
4451 |
oprot.writeI64(self.billingWarehouseId)
|
|
|
4452 |
oprot.writeFieldEnd()
|
| 2821 |
chandransh |
4453 |
oprot.writeFieldStop()
|
|
|
4454 |
oprot.writeStructEnd()
|
|
|
4455 |
|
| 3431 |
rajveer |
4456 |
def validate(self):
|
|
|
4457 |
return
|
|
|
4458 |
|
|
|
4459 |
|
| 2821 |
chandransh |
4460 |
def __repr__(self):
|
|
|
4461 |
L = ['%s=%r' % (key, value)
|
|
|
4462 |
for key, value in self.__dict__.iteritems()]
|
|
|
4463 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
4464 |
|
|
|
4465 |
def __eq__(self, other):
|
|
|
4466 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
4467 |
|
|
|
4468 |
def __ne__(self, other):
|
|
|
4469 |
return not (self == other)
|
|
|
4470 |
|
| 5361 |
mandeep.dh |
4471 |
class getNonSeralizedInventoryItem_result:
|
| 2821 |
chandransh |
4472 |
"""
|
|
|
4473 |
Attributes:
|
|
|
4474 |
- success
|
| 5361 |
mandeep.dh |
4475 |
- wex
|
| 2821 |
chandransh |
4476 |
"""
|
|
|
4477 |
|
|
|
4478 |
thrift_spec = (
|
| 5361 |
mandeep.dh |
4479 |
(0, TType.STRUCT, 'success', (InventoryItem, InventoryItem.thrift_spec), None, ), # 0
|
|
|
4480 |
(1, TType.STRUCT, 'wex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
| 2821 |
chandransh |
4481 |
)
|
|
|
4482 |
|
| 5361 |
mandeep.dh |
4483 |
def __init__(self, success=None, wex=None,):
|
| 2821 |
chandransh |
4484 |
self.success = success
|
| 5361 |
mandeep.dh |
4485 |
self.wex = wex
|
| 2821 |
chandransh |
4486 |
|
|
|
4487 |
def read(self, iprot):
|
|
|
4488 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
4489 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
4490 |
return
|
|
|
4491 |
iprot.readStructBegin()
|
|
|
4492 |
while True:
|
|
|
4493 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
4494 |
if ftype == TType.STOP:
|
|
|
4495 |
break
|
|
|
4496 |
if fid == 0:
|
| 5361 |
mandeep.dh |
4497 |
if ftype == TType.STRUCT:
|
|
|
4498 |
self.success = InventoryItem()
|
|
|
4499 |
self.success.read(iprot)
|
| 2821 |
chandransh |
4500 |
else:
|
|
|
4501 |
iprot.skip(ftype)
|
| 5361 |
mandeep.dh |
4502 |
elif fid == 1:
|
|
|
4503 |
if ftype == TType.STRUCT:
|
|
|
4504 |
self.wex = WarehouseServiceException()
|
|
|
4505 |
self.wex.read(iprot)
|
| 2821 |
chandransh |
4506 |
else:
|
|
|
4507 |
iprot.skip(ftype)
|
|
|
4508 |
else:
|
|
|
4509 |
iprot.skip(ftype)
|
|
|
4510 |
iprot.readFieldEnd()
|
|
|
4511 |
iprot.readStructEnd()
|
|
|
4512 |
|
|
|
4513 |
def write(self, oprot):
|
|
|
4514 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
4515 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
4516 |
return
|
| 5361 |
mandeep.dh |
4517 |
oprot.writeStructBegin('getNonSeralizedInventoryItem_result')
|
| 3431 |
rajveer |
4518 |
if self.success is not None:
|
| 5361 |
mandeep.dh |
4519 |
oprot.writeFieldBegin('success', TType.STRUCT, 0)
|
|
|
4520 |
self.success.write(oprot)
|
| 2821 |
chandransh |
4521 |
oprot.writeFieldEnd()
|
| 5361 |
mandeep.dh |
4522 |
if self.wex is not None:
|
|
|
4523 |
oprot.writeFieldBegin('wex', TType.STRUCT, 1)
|
|
|
4524 |
self.wex.write(oprot)
|
| 3383 |
chandransh |
4525 |
oprot.writeFieldEnd()
|
|
|
4526 |
oprot.writeFieldStop()
|
|
|
4527 |
oprot.writeStructEnd()
|
|
|
4528 |
|
| 3431 |
rajveer |
4529 |
def validate(self):
|
|
|
4530 |
return
|
|
|
4531 |
|
|
|
4532 |
|
| 3383 |
chandransh |
4533 |
def __repr__(self):
|
|
|
4534 |
L = ['%s=%r' % (key, value)
|
|
|
4535 |
for key, value in self.__dict__.iteritems()]
|
|
|
4536 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
4537 |
|
|
|
4538 |
def __eq__(self, other):
|
|
|
4539 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
4540 |
|
|
|
4541 |
def __ne__(self, other):
|
|
|
4542 |
return not (self == other)
|
|
|
4543 |
|
| 4501 |
mandeep.dh |
4544 |
class scan_args:
|
| 2821 |
chandransh |
4545 |
"""
|
|
|
4546 |
Attributes:
|
| 5361 |
mandeep.dh |
4547 |
- inventoryItem
|
| 2821 |
chandransh |
4548 |
- type
|
| 4501 |
mandeep.dh |
4549 |
- quantity
|
| 5361 |
mandeep.dh |
4550 |
- billingWarehouseId
|
| 7410 |
amar.kumar |
4551 |
- transferLotId
|
| 2821 |
chandransh |
4552 |
"""
|
|
|
4553 |
|
|
|
4554 |
thrift_spec = (
|
|
|
4555 |
None, # 0
|
| 5361 |
mandeep.dh |
4556 |
(1, TType.STRUCT, 'inventoryItem', (InventoryItem, InventoryItem.thrift_spec), None, ), # 1
|
| 4501 |
mandeep.dh |
4557 |
(2, TType.I32, 'type', None, None, ), # 2
|
|
|
4558 |
(3, TType.I64, 'quantity', None, None, ), # 3
|
| 5361 |
mandeep.dh |
4559 |
(4, TType.I64, 'billingWarehouseId', None, None, ), # 4
|
| 7410 |
amar.kumar |
4560 |
(5, TType.I64, 'transferLotId', None, None, ), # 5
|
| 2821 |
chandransh |
4561 |
)
|
|
|
4562 |
|
| 7410 |
amar.kumar |
4563 |
def __init__(self, inventoryItem=None, type=None, quantity=None, billingWarehouseId=None, transferLotId=None,):
|
| 5361 |
mandeep.dh |
4564 |
self.inventoryItem = inventoryItem
|
| 2821 |
chandransh |
4565 |
self.type = type
|
| 4501 |
mandeep.dh |
4566 |
self.quantity = quantity
|
| 5361 |
mandeep.dh |
4567 |
self.billingWarehouseId = billingWarehouseId
|
| 7410 |
amar.kumar |
4568 |
self.transferLotId = transferLotId
|
| 2821 |
chandransh |
4569 |
|
|
|
4570 |
def read(self, iprot):
|
|
|
4571 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
4572 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
4573 |
return
|
|
|
4574 |
iprot.readStructBegin()
|
|
|
4575 |
while True:
|
|
|
4576 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
4577 |
if ftype == TType.STOP:
|
|
|
4578 |
break
|
|
|
4579 |
if fid == 1:
|
| 5361 |
mandeep.dh |
4580 |
if ftype == TType.STRUCT:
|
|
|
4581 |
self.inventoryItem = InventoryItem()
|
|
|
4582 |
self.inventoryItem.read(iprot)
|
| 2821 |
chandransh |
4583 |
else:
|
|
|
4584 |
iprot.skip(ftype)
|
|
|
4585 |
elif fid == 2:
|
| 4501 |
mandeep.dh |
4586 |
if ftype == TType.I32:
|
|
|
4587 |
self.type = iprot.readI32();
|
| 2821 |
chandransh |
4588 |
else:
|
|
|
4589 |
iprot.skip(ftype)
|
| 3383 |
chandransh |
4590 |
elif fid == 3:
|
| 4501 |
mandeep.dh |
4591 |
if ftype == TType.I64:
|
|
|
4592 |
self.quantity = iprot.readI64();
|
| 2821 |
chandransh |
4593 |
else:
|
|
|
4594 |
iprot.skip(ftype)
|
| 3383 |
chandransh |
4595 |
elif fid == 4:
|
| 4501 |
mandeep.dh |
4596 |
if ftype == TType.I64:
|
| 5361 |
mandeep.dh |
4597 |
self.billingWarehouseId = iprot.readI64();
|
| 2821 |
chandransh |
4598 |
else:
|
|
|
4599 |
iprot.skip(ftype)
|
| 7410 |
amar.kumar |
4600 |
elif fid == 5:
|
|
|
4601 |
if ftype == TType.I64:
|
|
|
4602 |
self.transferLotId = iprot.readI64();
|
|
|
4603 |
else:
|
|
|
4604 |
iprot.skip(ftype)
|
| 2821 |
chandransh |
4605 |
else:
|
|
|
4606 |
iprot.skip(ftype)
|
|
|
4607 |
iprot.readFieldEnd()
|
|
|
4608 |
iprot.readStructEnd()
|
|
|
4609 |
|
|
|
4610 |
def write(self, oprot):
|
|
|
4611 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
4612 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
4613 |
return
|
| 4501 |
mandeep.dh |
4614 |
oprot.writeStructBegin('scan_args')
|
| 5361 |
mandeep.dh |
4615 |
if self.inventoryItem is not None:
|
|
|
4616 |
oprot.writeFieldBegin('inventoryItem', TType.STRUCT, 1)
|
|
|
4617 |
self.inventoryItem.write(oprot)
|
| 2821 |
chandransh |
4618 |
oprot.writeFieldEnd()
|
| 3431 |
rajveer |
4619 |
if self.type is not None:
|
| 4501 |
mandeep.dh |
4620 |
oprot.writeFieldBegin('type', TType.I32, 2)
|
| 2821 |
chandransh |
4621 |
oprot.writeI32(self.type)
|
|
|
4622 |
oprot.writeFieldEnd()
|
| 4501 |
mandeep.dh |
4623 |
if self.quantity is not None:
|
|
|
4624 |
oprot.writeFieldBegin('quantity', TType.I64, 3)
|
|
|
4625 |
oprot.writeI64(self.quantity)
|
|
|
4626 |
oprot.writeFieldEnd()
|
| 5361 |
mandeep.dh |
4627 |
if self.billingWarehouseId is not None:
|
|
|
4628 |
oprot.writeFieldBegin('billingWarehouseId', TType.I64, 4)
|
|
|
4629 |
oprot.writeI64(self.billingWarehouseId)
|
| 4501 |
mandeep.dh |
4630 |
oprot.writeFieldEnd()
|
| 7410 |
amar.kumar |
4631 |
if self.transferLotId is not None:
|
|
|
4632 |
oprot.writeFieldBegin('transferLotId', TType.I64, 5)
|
|
|
4633 |
oprot.writeI64(self.transferLotId)
|
|
|
4634 |
oprot.writeFieldEnd()
|
| 2821 |
chandransh |
4635 |
oprot.writeFieldStop()
|
|
|
4636 |
oprot.writeStructEnd()
|
|
|
4637 |
|
| 3431 |
rajveer |
4638 |
def validate(self):
|
|
|
4639 |
return
|
|
|
4640 |
|
|
|
4641 |
|
| 2821 |
chandransh |
4642 |
def __repr__(self):
|
|
|
4643 |
L = ['%s=%r' % (key, value)
|
|
|
4644 |
for key, value in self.__dict__.iteritems()]
|
|
|
4645 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
4646 |
|
|
|
4647 |
def __eq__(self, other):
|
|
|
4648 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
4649 |
|
|
|
4650 |
def __ne__(self, other):
|
|
|
4651 |
return not (self == other)
|
|
|
4652 |
|
| 4501 |
mandeep.dh |
4653 |
class scan_result:
|
| 2821 |
chandransh |
4654 |
"""
|
|
|
4655 |
Attributes:
|
|
|
4656 |
- wex
|
|
|
4657 |
"""
|
|
|
4658 |
|
|
|
4659 |
thrift_spec = (
|
|
|
4660 |
None, # 0
|
|
|
4661 |
(1, TType.STRUCT, 'wex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
|
|
4662 |
)
|
|
|
4663 |
|
|
|
4664 |
def __init__(self, wex=None,):
|
|
|
4665 |
self.wex = wex
|
|
|
4666 |
|
|
|
4667 |
def read(self, iprot):
|
|
|
4668 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
4669 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
4670 |
return
|
|
|
4671 |
iprot.readStructBegin()
|
|
|
4672 |
while True:
|
|
|
4673 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
4674 |
if ftype == TType.STOP:
|
|
|
4675 |
break
|
|
|
4676 |
if fid == 1:
|
|
|
4677 |
if ftype == TType.STRUCT:
|
|
|
4678 |
self.wex = WarehouseServiceException()
|
|
|
4679 |
self.wex.read(iprot)
|
|
|
4680 |
else:
|
|
|
4681 |
iprot.skip(ftype)
|
|
|
4682 |
else:
|
|
|
4683 |
iprot.skip(ftype)
|
|
|
4684 |
iprot.readFieldEnd()
|
|
|
4685 |
iprot.readStructEnd()
|
|
|
4686 |
|
|
|
4687 |
def write(self, oprot):
|
|
|
4688 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
4689 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
4690 |
return
|
| 4501 |
mandeep.dh |
4691 |
oprot.writeStructBegin('scan_result')
|
| 3431 |
rajveer |
4692 |
if self.wex is not None:
|
| 2821 |
chandransh |
4693 |
oprot.writeFieldBegin('wex', TType.STRUCT, 1)
|
|
|
4694 |
self.wex.write(oprot)
|
|
|
4695 |
oprot.writeFieldEnd()
|
|
|
4696 |
oprot.writeFieldStop()
|
|
|
4697 |
oprot.writeStructEnd()
|
|
|
4698 |
|
| 3431 |
rajveer |
4699 |
def validate(self):
|
|
|
4700 |
return
|
|
|
4701 |
|
|
|
4702 |
|
| 2821 |
chandransh |
4703 |
def __repr__(self):
|
|
|
4704 |
L = ['%s=%r' % (key, value)
|
|
|
4705 |
for key, value in self.__dict__.iteritems()]
|
|
|
4706 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
4707 |
|
|
|
4708 |
def __eq__(self, other):
|
|
|
4709 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
4710 |
|
|
|
4711 |
def __ne__(self, other):
|
|
|
4712 |
return not (self == other)
|
|
|
4713 |
|
| 10489 |
amar.kumar |
4714 |
class genericScan_args:
|
|
|
4715 |
"""
|
|
|
4716 |
Attributes:
|
|
|
4717 |
- inventoryItem
|
|
|
4718 |
- scan
|
|
|
4719 |
"""
|
|
|
4720 |
|
|
|
4721 |
thrift_spec = (
|
|
|
4722 |
None, # 0
|
|
|
4723 |
(1, TType.STRUCT, 'inventoryItem', (InventoryItem, InventoryItem.thrift_spec), None, ), # 1
|
|
|
4724 |
(2, TType.STRUCT, 'scan', (Scan, Scan.thrift_spec), None, ), # 2
|
|
|
4725 |
)
|
|
|
4726 |
|
|
|
4727 |
def __init__(self, inventoryItem=None, scan=None,):
|
|
|
4728 |
self.inventoryItem = inventoryItem
|
|
|
4729 |
self.scan = scan
|
|
|
4730 |
|
|
|
4731 |
def read(self, iprot):
|
|
|
4732 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
4733 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
4734 |
return
|
|
|
4735 |
iprot.readStructBegin()
|
|
|
4736 |
while True:
|
|
|
4737 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
4738 |
if ftype == TType.STOP:
|
|
|
4739 |
break
|
|
|
4740 |
if fid == 1:
|
|
|
4741 |
if ftype == TType.STRUCT:
|
|
|
4742 |
self.inventoryItem = InventoryItem()
|
|
|
4743 |
self.inventoryItem.read(iprot)
|
|
|
4744 |
else:
|
|
|
4745 |
iprot.skip(ftype)
|
|
|
4746 |
elif fid == 2:
|
|
|
4747 |
if ftype == TType.STRUCT:
|
|
|
4748 |
self.scan = Scan()
|
|
|
4749 |
self.scan.read(iprot)
|
|
|
4750 |
else:
|
|
|
4751 |
iprot.skip(ftype)
|
|
|
4752 |
else:
|
|
|
4753 |
iprot.skip(ftype)
|
|
|
4754 |
iprot.readFieldEnd()
|
|
|
4755 |
iprot.readStructEnd()
|
|
|
4756 |
|
|
|
4757 |
def write(self, oprot):
|
|
|
4758 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
4759 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
4760 |
return
|
|
|
4761 |
oprot.writeStructBegin('genericScan_args')
|
|
|
4762 |
if self.inventoryItem is not None:
|
|
|
4763 |
oprot.writeFieldBegin('inventoryItem', TType.STRUCT, 1)
|
|
|
4764 |
self.inventoryItem.write(oprot)
|
|
|
4765 |
oprot.writeFieldEnd()
|
|
|
4766 |
if self.scan is not None:
|
|
|
4767 |
oprot.writeFieldBegin('scan', TType.STRUCT, 2)
|
|
|
4768 |
self.scan.write(oprot)
|
|
|
4769 |
oprot.writeFieldEnd()
|
|
|
4770 |
oprot.writeFieldStop()
|
|
|
4771 |
oprot.writeStructEnd()
|
|
|
4772 |
|
|
|
4773 |
def validate(self):
|
|
|
4774 |
return
|
|
|
4775 |
|
|
|
4776 |
|
|
|
4777 |
def __repr__(self):
|
|
|
4778 |
L = ['%s=%r' % (key, value)
|
|
|
4779 |
for key, value in self.__dict__.iteritems()]
|
|
|
4780 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
4781 |
|
|
|
4782 |
def __eq__(self, other):
|
|
|
4783 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
4784 |
|
|
|
4785 |
def __ne__(self, other):
|
|
|
4786 |
return not (self == other)
|
|
|
4787 |
|
|
|
4788 |
class genericScan_result:
|
|
|
4789 |
"""
|
|
|
4790 |
Attributes:
|
|
|
4791 |
- wex
|
|
|
4792 |
"""
|
|
|
4793 |
|
|
|
4794 |
thrift_spec = (
|
|
|
4795 |
None, # 0
|
|
|
4796 |
(1, TType.STRUCT, 'wex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
|
|
4797 |
)
|
|
|
4798 |
|
|
|
4799 |
def __init__(self, wex=None,):
|
|
|
4800 |
self.wex = wex
|
|
|
4801 |
|
|
|
4802 |
def read(self, iprot):
|
|
|
4803 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
4804 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
4805 |
return
|
|
|
4806 |
iprot.readStructBegin()
|
|
|
4807 |
while True:
|
|
|
4808 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
4809 |
if ftype == TType.STOP:
|
|
|
4810 |
break
|
|
|
4811 |
if fid == 1:
|
|
|
4812 |
if ftype == TType.STRUCT:
|
|
|
4813 |
self.wex = WarehouseServiceException()
|
|
|
4814 |
self.wex.read(iprot)
|
|
|
4815 |
else:
|
|
|
4816 |
iprot.skip(ftype)
|
|
|
4817 |
else:
|
|
|
4818 |
iprot.skip(ftype)
|
|
|
4819 |
iprot.readFieldEnd()
|
|
|
4820 |
iprot.readStructEnd()
|
|
|
4821 |
|
|
|
4822 |
def write(self, oprot):
|
|
|
4823 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
4824 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
4825 |
return
|
|
|
4826 |
oprot.writeStructBegin('genericScan_result')
|
|
|
4827 |
if self.wex is not None:
|
|
|
4828 |
oprot.writeFieldBegin('wex', TType.STRUCT, 1)
|
|
|
4829 |
self.wex.write(oprot)
|
|
|
4830 |
oprot.writeFieldEnd()
|
|
|
4831 |
oprot.writeFieldStop()
|
|
|
4832 |
oprot.writeStructEnd()
|
|
|
4833 |
|
|
|
4834 |
def validate(self):
|
|
|
4835 |
return
|
|
|
4836 |
|
|
|
4837 |
|
|
|
4838 |
def __repr__(self):
|
|
|
4839 |
L = ['%s=%r' % (key, value)
|
|
|
4840 |
for key, value in self.__dict__.iteritems()]
|
|
|
4841 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
4842 |
|
|
|
4843 |
def __eq__(self, other):
|
|
|
4844 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
4845 |
|
|
|
4846 |
def __ne__(self, other):
|
|
|
4847 |
return not (self == other)
|
|
|
4848 |
|
| 4501 |
mandeep.dh |
4849 |
class scanSerializedItemForOrder_args:
|
| 2821 |
chandransh |
4850 |
"""
|
|
|
4851 |
Attributes:
|
| 4555 |
mandeep.dh |
4852 |
- serialNumber
|
| 2821 |
chandransh |
4853 |
- type
|
| 4501 |
mandeep.dh |
4854 |
- orderId
|
| 5110 |
mandeep.dh |
4855 |
- fulfilmentWarehouseId
|
|
|
4856 |
- quantity
|
|
|
4857 |
- billingWarehouseId
|
| 2821 |
chandransh |
4858 |
"""
|
|
|
4859 |
|
|
|
4860 |
thrift_spec = (
|
|
|
4861 |
None, # 0
|
| 4555 |
mandeep.dh |
4862 |
(1, TType.STRING, 'serialNumber', None, None, ), # 1
|
| 4501 |
mandeep.dh |
4863 |
(2, TType.I32, 'type', None, None, ), # 2
|
|
|
4864 |
(3, TType.I64, 'orderId', None, None, ), # 3
|
| 5110 |
mandeep.dh |
4865 |
(4, TType.I64, 'fulfilmentWarehouseId', None, None, ), # 4
|
|
|
4866 |
(5, TType.DOUBLE, 'quantity', None, None, ), # 5
|
|
|
4867 |
(6, TType.I64, 'billingWarehouseId', None, None, ), # 6
|
| 2821 |
chandransh |
4868 |
)
|
|
|
4869 |
|
| 5110 |
mandeep.dh |
4870 |
def __init__(self, serialNumber=None, type=None, orderId=None, fulfilmentWarehouseId=None, quantity=None, billingWarehouseId=None,):
|
| 4555 |
mandeep.dh |
4871 |
self.serialNumber = serialNumber
|
| 2821 |
chandransh |
4872 |
self.type = type
|
| 4501 |
mandeep.dh |
4873 |
self.orderId = orderId
|
| 5110 |
mandeep.dh |
4874 |
self.fulfilmentWarehouseId = fulfilmentWarehouseId
|
|
|
4875 |
self.quantity = quantity
|
|
|
4876 |
self.billingWarehouseId = billingWarehouseId
|
| 2821 |
chandransh |
4877 |
|
|
|
4878 |
def read(self, iprot):
|
|
|
4879 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
4880 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
4881 |
return
|
|
|
4882 |
iprot.readStructBegin()
|
|
|
4883 |
while True:
|
|
|
4884 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
4885 |
if ftype == TType.STOP:
|
|
|
4886 |
break
|
|
|
4887 |
if fid == 1:
|
| 4555 |
mandeep.dh |
4888 |
if ftype == TType.STRING:
|
|
|
4889 |
self.serialNumber = iprot.readString();
|
| 2821 |
chandransh |
4890 |
else:
|
|
|
4891 |
iprot.skip(ftype)
|
|
|
4892 |
elif fid == 2:
|
| 4501 |
mandeep.dh |
4893 |
if ftype == TType.I32:
|
|
|
4894 |
self.type = iprot.readI32();
|
| 2821 |
chandransh |
4895 |
else:
|
|
|
4896 |
iprot.skip(ftype)
|
|
|
4897 |
elif fid == 3:
|
| 4501 |
mandeep.dh |
4898 |
if ftype == TType.I64:
|
|
|
4899 |
self.orderId = iprot.readI64();
|
|
|
4900 |
else:
|
|
|
4901 |
iprot.skip(ftype)
|
|
|
4902 |
elif fid == 4:
|
|
|
4903 |
if ftype == TType.I64:
|
| 5110 |
mandeep.dh |
4904 |
self.fulfilmentWarehouseId = iprot.readI64();
|
| 4501 |
mandeep.dh |
4905 |
else:
|
|
|
4906 |
iprot.skip(ftype)
|
| 5110 |
mandeep.dh |
4907 |
elif fid == 5:
|
|
|
4908 |
if ftype == TType.DOUBLE:
|
|
|
4909 |
self.quantity = iprot.readDouble();
|
|
|
4910 |
else:
|
|
|
4911 |
iprot.skip(ftype)
|
|
|
4912 |
elif fid == 6:
|
|
|
4913 |
if ftype == TType.I64:
|
|
|
4914 |
self.billingWarehouseId = iprot.readI64();
|
|
|
4915 |
else:
|
|
|
4916 |
iprot.skip(ftype)
|
| 4501 |
mandeep.dh |
4917 |
else:
|
|
|
4918 |
iprot.skip(ftype)
|
|
|
4919 |
iprot.readFieldEnd()
|
|
|
4920 |
iprot.readStructEnd()
|
|
|
4921 |
|
|
|
4922 |
def write(self, oprot):
|
|
|
4923 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
4924 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
4925 |
return
|
|
|
4926 |
oprot.writeStructBegin('scanSerializedItemForOrder_args')
|
| 4555 |
mandeep.dh |
4927 |
if self.serialNumber is not None:
|
|
|
4928 |
oprot.writeFieldBegin('serialNumber', TType.STRING, 1)
|
|
|
4929 |
oprot.writeString(self.serialNumber)
|
| 4501 |
mandeep.dh |
4930 |
oprot.writeFieldEnd()
|
|
|
4931 |
if self.type is not None:
|
|
|
4932 |
oprot.writeFieldBegin('type', TType.I32, 2)
|
|
|
4933 |
oprot.writeI32(self.type)
|
|
|
4934 |
oprot.writeFieldEnd()
|
|
|
4935 |
if self.orderId is not None:
|
|
|
4936 |
oprot.writeFieldBegin('orderId', TType.I64, 3)
|
|
|
4937 |
oprot.writeI64(self.orderId)
|
|
|
4938 |
oprot.writeFieldEnd()
|
| 5110 |
mandeep.dh |
4939 |
if self.fulfilmentWarehouseId is not None:
|
|
|
4940 |
oprot.writeFieldBegin('fulfilmentWarehouseId', TType.I64, 4)
|
|
|
4941 |
oprot.writeI64(self.fulfilmentWarehouseId)
|
| 4501 |
mandeep.dh |
4942 |
oprot.writeFieldEnd()
|
| 5110 |
mandeep.dh |
4943 |
if self.quantity is not None:
|
|
|
4944 |
oprot.writeFieldBegin('quantity', TType.DOUBLE, 5)
|
|
|
4945 |
oprot.writeDouble(self.quantity)
|
|
|
4946 |
oprot.writeFieldEnd()
|
|
|
4947 |
if self.billingWarehouseId is not None:
|
|
|
4948 |
oprot.writeFieldBegin('billingWarehouseId', TType.I64, 6)
|
|
|
4949 |
oprot.writeI64(self.billingWarehouseId)
|
|
|
4950 |
oprot.writeFieldEnd()
|
| 4501 |
mandeep.dh |
4951 |
oprot.writeFieldStop()
|
|
|
4952 |
oprot.writeStructEnd()
|
|
|
4953 |
|
|
|
4954 |
def validate(self):
|
|
|
4955 |
return
|
|
|
4956 |
|
|
|
4957 |
|
|
|
4958 |
def __repr__(self):
|
|
|
4959 |
L = ['%s=%r' % (key, value)
|
|
|
4960 |
for key, value in self.__dict__.iteritems()]
|
|
|
4961 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
4962 |
|
|
|
4963 |
def __eq__(self, other):
|
|
|
4964 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
4965 |
|
|
|
4966 |
def __ne__(self, other):
|
|
|
4967 |
return not (self == other)
|
|
|
4968 |
|
|
|
4969 |
class scanSerializedItemForOrder_result:
|
|
|
4970 |
"""
|
|
|
4971 |
Attributes:
|
|
|
4972 |
- success
|
|
|
4973 |
- wex
|
|
|
4974 |
"""
|
|
|
4975 |
|
|
|
4976 |
thrift_spec = (
|
| 4555 |
mandeep.dh |
4977 |
(0, TType.STRUCT, 'success', (InventoryItem, InventoryItem.thrift_spec), None, ), # 0
|
| 4501 |
mandeep.dh |
4978 |
(1, TType.STRUCT, 'wex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
|
|
4979 |
)
|
|
|
4980 |
|
|
|
4981 |
def __init__(self, success=None, wex=None,):
|
|
|
4982 |
self.success = success
|
|
|
4983 |
self.wex = wex
|
|
|
4984 |
|
|
|
4985 |
def read(self, iprot):
|
|
|
4986 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
4987 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
4988 |
return
|
|
|
4989 |
iprot.readStructBegin()
|
|
|
4990 |
while True:
|
|
|
4991 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
4992 |
if ftype == TType.STOP:
|
|
|
4993 |
break
|
|
|
4994 |
if fid == 0:
|
| 4555 |
mandeep.dh |
4995 |
if ftype == TType.STRUCT:
|
|
|
4996 |
self.success = InventoryItem()
|
|
|
4997 |
self.success.read(iprot)
|
| 4501 |
mandeep.dh |
4998 |
else:
|
|
|
4999 |
iprot.skip(ftype)
|
|
|
5000 |
elif fid == 1:
|
|
|
5001 |
if ftype == TType.STRUCT:
|
|
|
5002 |
self.wex = WarehouseServiceException()
|
|
|
5003 |
self.wex.read(iprot)
|
|
|
5004 |
else:
|
|
|
5005 |
iprot.skip(ftype)
|
|
|
5006 |
else:
|
|
|
5007 |
iprot.skip(ftype)
|
|
|
5008 |
iprot.readFieldEnd()
|
|
|
5009 |
iprot.readStructEnd()
|
|
|
5010 |
|
|
|
5011 |
def write(self, oprot):
|
|
|
5012 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
5013 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
5014 |
return
|
|
|
5015 |
oprot.writeStructBegin('scanSerializedItemForOrder_result')
|
|
|
5016 |
if self.success is not None:
|
| 4555 |
mandeep.dh |
5017 |
oprot.writeFieldBegin('success', TType.STRUCT, 0)
|
|
|
5018 |
self.success.write(oprot)
|
| 4501 |
mandeep.dh |
5019 |
oprot.writeFieldEnd()
|
|
|
5020 |
if self.wex is not None:
|
|
|
5021 |
oprot.writeFieldBegin('wex', TType.STRUCT, 1)
|
|
|
5022 |
self.wex.write(oprot)
|
|
|
5023 |
oprot.writeFieldEnd()
|
|
|
5024 |
oprot.writeFieldStop()
|
|
|
5025 |
oprot.writeStructEnd()
|
|
|
5026 |
|
|
|
5027 |
def validate(self):
|
|
|
5028 |
return
|
|
|
5029 |
|
|
|
5030 |
|
|
|
5031 |
def __repr__(self):
|
|
|
5032 |
L = ['%s=%r' % (key, value)
|
|
|
5033 |
for key, value in self.__dict__.iteritems()]
|
|
|
5034 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
5035 |
|
|
|
5036 |
def __eq__(self, other):
|
|
|
5037 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
5038 |
|
|
|
5039 |
def __ne__(self, other):
|
|
|
5040 |
return not (self == other)
|
|
|
5041 |
|
|
|
5042 |
class scanForOrder_args:
|
|
|
5043 |
"""
|
|
|
5044 |
Attributes:
|
| 5361 |
mandeep.dh |
5045 |
- inventoryItem
|
| 4501 |
mandeep.dh |
5046 |
- type
|
|
|
5047 |
- quantity
|
|
|
5048 |
- orderId
|
| 5110 |
mandeep.dh |
5049 |
- fulfilmentWarehouseId
|
| 5361 |
mandeep.dh |
5050 |
- billingWarehouseId
|
| 4501 |
mandeep.dh |
5051 |
"""
|
|
|
5052 |
|
|
|
5053 |
thrift_spec = (
|
|
|
5054 |
None, # 0
|
| 5361 |
mandeep.dh |
5055 |
(1, TType.STRUCT, 'inventoryItem', (InventoryItem, InventoryItem.thrift_spec), None, ), # 1
|
| 4501 |
mandeep.dh |
5056 |
(2, TType.I32, 'type', None, None, ), # 2
|
|
|
5057 |
(3, TType.I64, 'quantity', None, None, ), # 3
|
|
|
5058 |
(4, TType.I64, 'orderId', None, None, ), # 4
|
| 5110 |
mandeep.dh |
5059 |
(5, TType.I64, 'fulfilmentWarehouseId', None, None, ), # 5
|
| 5361 |
mandeep.dh |
5060 |
(6, TType.I64, 'billingWarehouseId', None, None, ), # 6
|
| 4501 |
mandeep.dh |
5061 |
)
|
|
|
5062 |
|
| 5361 |
mandeep.dh |
5063 |
def __init__(self, inventoryItem=None, type=None, quantity=None, orderId=None, fulfilmentWarehouseId=None, billingWarehouseId=None,):
|
|
|
5064 |
self.inventoryItem = inventoryItem
|
| 4501 |
mandeep.dh |
5065 |
self.type = type
|
|
|
5066 |
self.quantity = quantity
|
|
|
5067 |
self.orderId = orderId
|
| 5110 |
mandeep.dh |
5068 |
self.fulfilmentWarehouseId = fulfilmentWarehouseId
|
| 5361 |
mandeep.dh |
5069 |
self.billingWarehouseId = billingWarehouseId
|
| 4501 |
mandeep.dh |
5070 |
|
|
|
5071 |
def read(self, iprot):
|
|
|
5072 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
5073 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
5074 |
return
|
|
|
5075 |
iprot.readStructBegin()
|
|
|
5076 |
while True:
|
|
|
5077 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
5078 |
if ftype == TType.STOP:
|
|
|
5079 |
break
|
|
|
5080 |
if fid == 1:
|
| 5361 |
mandeep.dh |
5081 |
if ftype == TType.STRUCT:
|
|
|
5082 |
self.inventoryItem = InventoryItem()
|
|
|
5083 |
self.inventoryItem.read(iprot)
|
| 4501 |
mandeep.dh |
5084 |
else:
|
|
|
5085 |
iprot.skip(ftype)
|
|
|
5086 |
elif fid == 2:
|
| 2821 |
chandransh |
5087 |
if ftype == TType.I32:
|
|
|
5088 |
self.type = iprot.readI32();
|
|
|
5089 |
else:
|
|
|
5090 |
iprot.skip(ftype)
|
| 4501 |
mandeep.dh |
5091 |
elif fid == 3:
|
|
|
5092 |
if ftype == TType.I64:
|
|
|
5093 |
self.quantity = iprot.readI64();
|
|
|
5094 |
else:
|
|
|
5095 |
iprot.skip(ftype)
|
|
|
5096 |
elif fid == 4:
|
|
|
5097 |
if ftype == TType.I64:
|
|
|
5098 |
self.orderId = iprot.readI64();
|
|
|
5099 |
else:
|
|
|
5100 |
iprot.skip(ftype)
|
|
|
5101 |
elif fid == 5:
|
|
|
5102 |
if ftype == TType.I64:
|
| 5110 |
mandeep.dh |
5103 |
self.fulfilmentWarehouseId = iprot.readI64();
|
| 4501 |
mandeep.dh |
5104 |
else:
|
|
|
5105 |
iprot.skip(ftype)
|
| 5361 |
mandeep.dh |
5106 |
elif fid == 6:
|
|
|
5107 |
if ftype == TType.I64:
|
|
|
5108 |
self.billingWarehouseId = iprot.readI64();
|
|
|
5109 |
else:
|
|
|
5110 |
iprot.skip(ftype)
|
| 2821 |
chandransh |
5111 |
else:
|
|
|
5112 |
iprot.skip(ftype)
|
|
|
5113 |
iprot.readFieldEnd()
|
|
|
5114 |
iprot.readStructEnd()
|
|
|
5115 |
|
|
|
5116 |
def write(self, oprot):
|
|
|
5117 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
5118 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
5119 |
return
|
| 4501 |
mandeep.dh |
5120 |
oprot.writeStructBegin('scanForOrder_args')
|
| 5361 |
mandeep.dh |
5121 |
if self.inventoryItem is not None:
|
|
|
5122 |
oprot.writeFieldBegin('inventoryItem', TType.STRUCT, 1)
|
|
|
5123 |
self.inventoryItem.write(oprot)
|
| 2821 |
chandransh |
5124 |
oprot.writeFieldEnd()
|
| 3431 |
rajveer |
5125 |
if self.type is not None:
|
| 4501 |
mandeep.dh |
5126 |
oprot.writeFieldBegin('type', TType.I32, 2)
|
| 2821 |
chandransh |
5127 |
oprot.writeI32(self.type)
|
|
|
5128 |
oprot.writeFieldEnd()
|
| 4501 |
mandeep.dh |
5129 |
if self.quantity is not None:
|
|
|
5130 |
oprot.writeFieldBegin('quantity', TType.I64, 3)
|
|
|
5131 |
oprot.writeI64(self.quantity)
|
|
|
5132 |
oprot.writeFieldEnd()
|
|
|
5133 |
if self.orderId is not None:
|
|
|
5134 |
oprot.writeFieldBegin('orderId', TType.I64, 4)
|
|
|
5135 |
oprot.writeI64(self.orderId)
|
|
|
5136 |
oprot.writeFieldEnd()
|
| 5110 |
mandeep.dh |
5137 |
if self.fulfilmentWarehouseId is not None:
|
|
|
5138 |
oprot.writeFieldBegin('fulfilmentWarehouseId', TType.I64, 5)
|
|
|
5139 |
oprot.writeI64(self.fulfilmentWarehouseId)
|
| 4501 |
mandeep.dh |
5140 |
oprot.writeFieldEnd()
|
| 5361 |
mandeep.dh |
5141 |
if self.billingWarehouseId is not None:
|
|
|
5142 |
oprot.writeFieldBegin('billingWarehouseId', TType.I64, 6)
|
|
|
5143 |
oprot.writeI64(self.billingWarehouseId)
|
|
|
5144 |
oprot.writeFieldEnd()
|
| 2821 |
chandransh |
5145 |
oprot.writeFieldStop()
|
|
|
5146 |
oprot.writeStructEnd()
|
|
|
5147 |
|
| 3431 |
rajveer |
5148 |
def validate(self):
|
|
|
5149 |
return
|
|
|
5150 |
|
|
|
5151 |
|
| 2821 |
chandransh |
5152 |
def __repr__(self):
|
|
|
5153 |
L = ['%s=%r' % (key, value)
|
|
|
5154 |
for key, value in self.__dict__.iteritems()]
|
|
|
5155 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
5156 |
|
|
|
5157 |
def __eq__(self, other):
|
|
|
5158 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
5159 |
|
|
|
5160 |
def __ne__(self, other):
|
|
|
5161 |
return not (self == other)
|
|
|
5162 |
|
| 4501 |
mandeep.dh |
5163 |
class scanForOrder_result:
|
| 2821 |
chandransh |
5164 |
"""
|
|
|
5165 |
Attributes:
|
| 5361 |
mandeep.dh |
5166 |
- success
|
| 2821 |
chandransh |
5167 |
- wex
|
|
|
5168 |
"""
|
|
|
5169 |
|
|
|
5170 |
thrift_spec = (
|
| 5361 |
mandeep.dh |
5171 |
(0, TType.STRUCT, 'success', (InventoryItem, InventoryItem.thrift_spec), None, ), # 0
|
| 2821 |
chandransh |
5172 |
(1, TType.STRUCT, 'wex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
|
|
5173 |
)
|
|
|
5174 |
|
| 5361 |
mandeep.dh |
5175 |
def __init__(self, success=None, wex=None,):
|
|
|
5176 |
self.success = success
|
| 2821 |
chandransh |
5177 |
self.wex = wex
|
|
|
5178 |
|
|
|
5179 |
def read(self, iprot):
|
|
|
5180 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
5181 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
5182 |
return
|
|
|
5183 |
iprot.readStructBegin()
|
|
|
5184 |
while True:
|
|
|
5185 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
5186 |
if ftype == TType.STOP:
|
|
|
5187 |
break
|
| 5361 |
mandeep.dh |
5188 |
if fid == 0:
|
| 2821 |
chandransh |
5189 |
if ftype == TType.STRUCT:
|
| 5361 |
mandeep.dh |
5190 |
self.success = InventoryItem()
|
|
|
5191 |
self.success.read(iprot)
|
|
|
5192 |
else:
|
|
|
5193 |
iprot.skip(ftype)
|
|
|
5194 |
elif fid == 1:
|
|
|
5195 |
if ftype == TType.STRUCT:
|
| 2821 |
chandransh |
5196 |
self.wex = WarehouseServiceException()
|
|
|
5197 |
self.wex.read(iprot)
|
|
|
5198 |
else:
|
|
|
5199 |
iprot.skip(ftype)
|
|
|
5200 |
else:
|
|
|
5201 |
iprot.skip(ftype)
|
|
|
5202 |
iprot.readFieldEnd()
|
|
|
5203 |
iprot.readStructEnd()
|
|
|
5204 |
|
|
|
5205 |
def write(self, oprot):
|
|
|
5206 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
5207 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
5208 |
return
|
| 4501 |
mandeep.dh |
5209 |
oprot.writeStructBegin('scanForOrder_result')
|
| 5361 |
mandeep.dh |
5210 |
if self.success is not None:
|
|
|
5211 |
oprot.writeFieldBegin('success', TType.STRUCT, 0)
|
|
|
5212 |
self.success.write(oprot)
|
|
|
5213 |
oprot.writeFieldEnd()
|
| 3431 |
rajveer |
5214 |
if self.wex is not None:
|
| 2821 |
chandransh |
5215 |
oprot.writeFieldBegin('wex', TType.STRUCT, 1)
|
|
|
5216 |
self.wex.write(oprot)
|
|
|
5217 |
oprot.writeFieldEnd()
|
|
|
5218 |
oprot.writeFieldStop()
|
|
|
5219 |
oprot.writeStructEnd()
|
|
|
5220 |
|
| 3431 |
rajveer |
5221 |
def validate(self):
|
|
|
5222 |
return
|
|
|
5223 |
|
|
|
5224 |
|
| 2821 |
chandransh |
5225 |
def __repr__(self):
|
|
|
5226 |
L = ['%s=%r' % (key, value)
|
|
|
5227 |
for key, value in self.__dict__.iteritems()]
|
|
|
5228 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
5229 |
|
|
|
5230 |
def __eq__(self, other):
|
|
|
5231 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
5232 |
|
|
|
5233 |
def __ne__(self, other):
|
|
|
5234 |
return not (self == other)
|
| 4501 |
mandeep.dh |
5235 |
|
|
|
5236 |
class createItemNumberMapping_args:
|
|
|
5237 |
"""
|
|
|
5238 |
Attributes:
|
|
|
5239 |
- itemNumber
|
|
|
5240 |
- itemId
|
|
|
5241 |
"""
|
|
|
5242 |
|
|
|
5243 |
thrift_spec = (
|
|
|
5244 |
None, # 0
|
|
|
5245 |
(1, TType.STRING, 'itemNumber', None, None, ), # 1
|
|
|
5246 |
(2, TType.I64, 'itemId', None, None, ), # 2
|
|
|
5247 |
)
|
|
|
5248 |
|
|
|
5249 |
def __init__(self, itemNumber=None, itemId=None,):
|
|
|
5250 |
self.itemNumber = itemNumber
|
|
|
5251 |
self.itemId = itemId
|
|
|
5252 |
|
|
|
5253 |
def read(self, iprot):
|
|
|
5254 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
5255 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
5256 |
return
|
|
|
5257 |
iprot.readStructBegin()
|
|
|
5258 |
while True:
|
|
|
5259 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
5260 |
if ftype == TType.STOP:
|
|
|
5261 |
break
|
|
|
5262 |
if fid == 1:
|
|
|
5263 |
if ftype == TType.STRING:
|
|
|
5264 |
self.itemNumber = iprot.readString();
|
|
|
5265 |
else:
|
|
|
5266 |
iprot.skip(ftype)
|
|
|
5267 |
elif fid == 2:
|
|
|
5268 |
if ftype == TType.I64:
|
|
|
5269 |
self.itemId = iprot.readI64();
|
|
|
5270 |
else:
|
|
|
5271 |
iprot.skip(ftype)
|
|
|
5272 |
else:
|
|
|
5273 |
iprot.skip(ftype)
|
|
|
5274 |
iprot.readFieldEnd()
|
|
|
5275 |
iprot.readStructEnd()
|
|
|
5276 |
|
|
|
5277 |
def write(self, oprot):
|
|
|
5278 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
5279 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
5280 |
return
|
|
|
5281 |
oprot.writeStructBegin('createItemNumberMapping_args')
|
|
|
5282 |
if self.itemNumber is not None:
|
|
|
5283 |
oprot.writeFieldBegin('itemNumber', TType.STRING, 1)
|
|
|
5284 |
oprot.writeString(self.itemNumber)
|
|
|
5285 |
oprot.writeFieldEnd()
|
|
|
5286 |
if self.itemId is not None:
|
|
|
5287 |
oprot.writeFieldBegin('itemId', TType.I64, 2)
|
|
|
5288 |
oprot.writeI64(self.itemId)
|
|
|
5289 |
oprot.writeFieldEnd()
|
|
|
5290 |
oprot.writeFieldStop()
|
|
|
5291 |
oprot.writeStructEnd()
|
|
|
5292 |
|
|
|
5293 |
def validate(self):
|
|
|
5294 |
return
|
|
|
5295 |
|
|
|
5296 |
|
|
|
5297 |
def __repr__(self):
|
|
|
5298 |
L = ['%s=%r' % (key, value)
|
|
|
5299 |
for key, value in self.__dict__.iteritems()]
|
|
|
5300 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
5301 |
|
|
|
5302 |
def __eq__(self, other):
|
|
|
5303 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
5304 |
|
|
|
5305 |
def __ne__(self, other):
|
|
|
5306 |
return not (self == other)
|
|
|
5307 |
|
|
|
5308 |
class createItemNumberMapping_result:
|
|
|
5309 |
|
|
|
5310 |
thrift_spec = (
|
|
|
5311 |
)
|
|
|
5312 |
|
|
|
5313 |
def read(self, iprot):
|
|
|
5314 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
5315 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
5316 |
return
|
|
|
5317 |
iprot.readStructBegin()
|
|
|
5318 |
while True:
|
|
|
5319 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
5320 |
if ftype == TType.STOP:
|
|
|
5321 |
break
|
|
|
5322 |
else:
|
|
|
5323 |
iprot.skip(ftype)
|
|
|
5324 |
iprot.readFieldEnd()
|
|
|
5325 |
iprot.readStructEnd()
|
|
|
5326 |
|
|
|
5327 |
def write(self, oprot):
|
|
|
5328 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
5329 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
5330 |
return
|
|
|
5331 |
oprot.writeStructBegin('createItemNumberMapping_result')
|
|
|
5332 |
oprot.writeFieldStop()
|
|
|
5333 |
oprot.writeStructEnd()
|
|
|
5334 |
|
|
|
5335 |
def validate(self):
|
|
|
5336 |
return
|
|
|
5337 |
|
|
|
5338 |
|
|
|
5339 |
def __repr__(self):
|
|
|
5340 |
L = ['%s=%r' % (key, value)
|
|
|
5341 |
for key, value in self.__dict__.iteritems()]
|
|
|
5342 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
5343 |
|
|
|
5344 |
def __eq__(self, other):
|
|
|
5345 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
5346 |
|
|
|
5347 |
def __ne__(self, other):
|
|
|
5348 |
return not (self == other)
|
| 4620 |
amit.gupta |
5349 |
|
|
|
5350 |
class getItemNumbers_args:
|
|
|
5351 |
"""
|
|
|
5352 |
Attributes:
|
|
|
5353 |
- itemId
|
|
|
5354 |
"""
|
|
|
5355 |
|
|
|
5356 |
thrift_spec = (
|
|
|
5357 |
None, # 0
|
|
|
5358 |
(1, TType.I64, 'itemId', None, None, ), # 1
|
|
|
5359 |
)
|
|
|
5360 |
|
|
|
5361 |
def __init__(self, itemId=None,):
|
|
|
5362 |
self.itemId = itemId
|
|
|
5363 |
|
|
|
5364 |
def read(self, iprot):
|
|
|
5365 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
5366 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
5367 |
return
|
|
|
5368 |
iprot.readStructBegin()
|
|
|
5369 |
while True:
|
|
|
5370 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
5371 |
if ftype == TType.STOP:
|
|
|
5372 |
break
|
|
|
5373 |
if fid == 1:
|
|
|
5374 |
if ftype == TType.I64:
|
|
|
5375 |
self.itemId = iprot.readI64();
|
|
|
5376 |
else:
|
|
|
5377 |
iprot.skip(ftype)
|
|
|
5378 |
else:
|
|
|
5379 |
iprot.skip(ftype)
|
|
|
5380 |
iprot.readFieldEnd()
|
|
|
5381 |
iprot.readStructEnd()
|
|
|
5382 |
|
|
|
5383 |
def write(self, oprot):
|
|
|
5384 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
5385 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
5386 |
return
|
|
|
5387 |
oprot.writeStructBegin('getItemNumbers_args')
|
|
|
5388 |
if self.itemId is not None:
|
|
|
5389 |
oprot.writeFieldBegin('itemId', TType.I64, 1)
|
|
|
5390 |
oprot.writeI64(self.itemId)
|
|
|
5391 |
oprot.writeFieldEnd()
|
|
|
5392 |
oprot.writeFieldStop()
|
|
|
5393 |
oprot.writeStructEnd()
|
|
|
5394 |
|
|
|
5395 |
def validate(self):
|
|
|
5396 |
return
|
|
|
5397 |
|
|
|
5398 |
|
|
|
5399 |
def __repr__(self):
|
|
|
5400 |
L = ['%s=%r' % (key, value)
|
|
|
5401 |
for key, value in self.__dict__.iteritems()]
|
|
|
5402 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
5403 |
|
|
|
5404 |
def __eq__(self, other):
|
|
|
5405 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
5406 |
|
|
|
5407 |
def __ne__(self, other):
|
|
|
5408 |
return not (self == other)
|
|
|
5409 |
|
|
|
5410 |
class getItemNumbers_result:
|
|
|
5411 |
"""
|
|
|
5412 |
Attributes:
|
|
|
5413 |
- success
|
|
|
5414 |
"""
|
|
|
5415 |
|
|
|
5416 |
thrift_spec = (
|
|
|
5417 |
(0, TType.LIST, 'success', (TType.STRING,None), None, ), # 0
|
|
|
5418 |
)
|
|
|
5419 |
|
|
|
5420 |
def __init__(self, success=None,):
|
|
|
5421 |
self.success = success
|
|
|
5422 |
|
|
|
5423 |
def read(self, iprot):
|
|
|
5424 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
5425 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
5426 |
return
|
|
|
5427 |
iprot.readStructBegin()
|
|
|
5428 |
while True:
|
|
|
5429 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
5430 |
if ftype == TType.STOP:
|
|
|
5431 |
break
|
|
|
5432 |
if fid == 0:
|
|
|
5433 |
if ftype == TType.LIST:
|
|
|
5434 |
self.success = []
|
| 5361 |
mandeep.dh |
5435 |
(_etype3, _size0) = iprot.readListBegin()
|
|
|
5436 |
for _i4 in xrange(_size0):
|
|
|
5437 |
_elem5 = iprot.readString();
|
|
|
5438 |
self.success.append(_elem5)
|
| 4620 |
amit.gupta |
5439 |
iprot.readListEnd()
|
|
|
5440 |
else:
|
|
|
5441 |
iprot.skip(ftype)
|
|
|
5442 |
else:
|
|
|
5443 |
iprot.skip(ftype)
|
|
|
5444 |
iprot.readFieldEnd()
|
|
|
5445 |
iprot.readStructEnd()
|
|
|
5446 |
|
|
|
5447 |
def write(self, oprot):
|
|
|
5448 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
5449 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
5450 |
return
|
|
|
5451 |
oprot.writeStructBegin('getItemNumbers_result')
|
|
|
5452 |
if self.success is not None:
|
|
|
5453 |
oprot.writeFieldBegin('success', TType.LIST, 0)
|
|
|
5454 |
oprot.writeListBegin(TType.STRING, len(self.success))
|
| 5361 |
mandeep.dh |
5455 |
for iter6 in self.success:
|
|
|
5456 |
oprot.writeString(iter6)
|
| 4620 |
amit.gupta |
5457 |
oprot.writeListEnd()
|
|
|
5458 |
oprot.writeFieldEnd()
|
|
|
5459 |
oprot.writeFieldStop()
|
|
|
5460 |
oprot.writeStructEnd()
|
|
|
5461 |
|
|
|
5462 |
def validate(self):
|
|
|
5463 |
return
|
|
|
5464 |
|
|
|
5465 |
|
|
|
5466 |
def __repr__(self):
|
|
|
5467 |
L = ['%s=%r' % (key, value)
|
|
|
5468 |
for key, value in self.__dict__.iteritems()]
|
|
|
5469 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
5470 |
|
|
|
5471 |
def __eq__(self, other):
|
|
|
5472 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
5473 |
|
|
|
5474 |
def __ne__(self, other):
|
|
|
5475 |
return not (self == other)
|
| 5110 |
mandeep.dh |
5476 |
|
|
|
5477 |
class getItemIds_args:
|
|
|
5478 |
"""
|
|
|
5479 |
Attributes:
|
|
|
5480 |
- itemNumber
|
|
|
5481 |
"""
|
|
|
5482 |
|
|
|
5483 |
thrift_spec = (
|
|
|
5484 |
None, # 0
|
|
|
5485 |
(1, TType.STRING, 'itemNumber', None, None, ), # 1
|
|
|
5486 |
)
|
|
|
5487 |
|
|
|
5488 |
def __init__(self, itemNumber=None,):
|
|
|
5489 |
self.itemNumber = itemNumber
|
|
|
5490 |
|
|
|
5491 |
def read(self, iprot):
|
|
|
5492 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
5493 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
5494 |
return
|
|
|
5495 |
iprot.readStructBegin()
|
|
|
5496 |
while True:
|
|
|
5497 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
5498 |
if ftype == TType.STOP:
|
|
|
5499 |
break
|
|
|
5500 |
if fid == 1:
|
|
|
5501 |
if ftype == TType.STRING:
|
|
|
5502 |
self.itemNumber = iprot.readString();
|
|
|
5503 |
else:
|
|
|
5504 |
iprot.skip(ftype)
|
|
|
5505 |
else:
|
|
|
5506 |
iprot.skip(ftype)
|
|
|
5507 |
iprot.readFieldEnd()
|
|
|
5508 |
iprot.readStructEnd()
|
|
|
5509 |
|
|
|
5510 |
def write(self, oprot):
|
|
|
5511 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
5512 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
5513 |
return
|
|
|
5514 |
oprot.writeStructBegin('getItemIds_args')
|
|
|
5515 |
if self.itemNumber is not None:
|
|
|
5516 |
oprot.writeFieldBegin('itemNumber', TType.STRING, 1)
|
|
|
5517 |
oprot.writeString(self.itemNumber)
|
|
|
5518 |
oprot.writeFieldEnd()
|
|
|
5519 |
oprot.writeFieldStop()
|
|
|
5520 |
oprot.writeStructEnd()
|
|
|
5521 |
|
|
|
5522 |
def validate(self):
|
|
|
5523 |
return
|
|
|
5524 |
|
|
|
5525 |
|
|
|
5526 |
def __repr__(self):
|
|
|
5527 |
L = ['%s=%r' % (key, value)
|
|
|
5528 |
for key, value in self.__dict__.iteritems()]
|
|
|
5529 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
5530 |
|
|
|
5531 |
def __eq__(self, other):
|
|
|
5532 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
5533 |
|
|
|
5534 |
def __ne__(self, other):
|
|
|
5535 |
return not (self == other)
|
|
|
5536 |
|
|
|
5537 |
class getItemIds_result:
|
|
|
5538 |
"""
|
|
|
5539 |
Attributes:
|
|
|
5540 |
- success
|
|
|
5541 |
"""
|
|
|
5542 |
|
|
|
5543 |
thrift_spec = (
|
|
|
5544 |
(0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
|
|
|
5545 |
)
|
|
|
5546 |
|
|
|
5547 |
def __init__(self, success=None,):
|
|
|
5548 |
self.success = success
|
|
|
5549 |
|
|
|
5550 |
def read(self, iprot):
|
|
|
5551 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
5552 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
5553 |
return
|
|
|
5554 |
iprot.readStructBegin()
|
|
|
5555 |
while True:
|
|
|
5556 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
5557 |
if ftype == TType.STOP:
|
|
|
5558 |
break
|
|
|
5559 |
if fid == 0:
|
|
|
5560 |
if ftype == TType.LIST:
|
|
|
5561 |
self.success = []
|
| 5361 |
mandeep.dh |
5562 |
(_etype10, _size7) = iprot.readListBegin()
|
|
|
5563 |
for _i11 in xrange(_size7):
|
|
|
5564 |
_elem12 = iprot.readI64();
|
|
|
5565 |
self.success.append(_elem12)
|
| 5110 |
mandeep.dh |
5566 |
iprot.readListEnd()
|
|
|
5567 |
else:
|
|
|
5568 |
iprot.skip(ftype)
|
|
|
5569 |
else:
|
|
|
5570 |
iprot.skip(ftype)
|
|
|
5571 |
iprot.readFieldEnd()
|
|
|
5572 |
iprot.readStructEnd()
|
|
|
5573 |
|
|
|
5574 |
def write(self, oprot):
|
|
|
5575 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
5576 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
5577 |
return
|
|
|
5578 |
oprot.writeStructBegin('getItemIds_result')
|
|
|
5579 |
if self.success is not None:
|
|
|
5580 |
oprot.writeFieldBegin('success', TType.LIST, 0)
|
|
|
5581 |
oprot.writeListBegin(TType.I64, len(self.success))
|
| 5361 |
mandeep.dh |
5582 |
for iter13 in self.success:
|
|
|
5583 |
oprot.writeI64(iter13)
|
| 5110 |
mandeep.dh |
5584 |
oprot.writeListEnd()
|
|
|
5585 |
oprot.writeFieldEnd()
|
|
|
5586 |
oprot.writeFieldStop()
|
|
|
5587 |
oprot.writeStructEnd()
|
|
|
5588 |
|
|
|
5589 |
def validate(self):
|
|
|
5590 |
return
|
|
|
5591 |
|
|
|
5592 |
|
|
|
5593 |
def __repr__(self):
|
|
|
5594 |
L = ['%s=%r' % (key, value)
|
|
|
5595 |
for key, value in self.__dict__.iteritems()]
|
|
|
5596 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
5597 |
|
|
|
5598 |
def __eq__(self, other):
|
|
|
5599 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
5600 |
|
|
|
5601 |
def __ne__(self, other):
|
|
|
5602 |
return not (self == other)
|
| 5185 |
mandeep.dh |
5603 |
|
|
|
5604 |
class getInventoryItemsFromLastScanType_args:
|
|
|
5605 |
"""
|
|
|
5606 |
Attributes:
|
|
|
5607 |
- lastScanType
|
|
|
5608 |
"""
|
|
|
5609 |
|
|
|
5610 |
thrift_spec = (
|
|
|
5611 |
None, # 0
|
|
|
5612 |
(1, TType.I32, 'lastScanType', None, None, ), # 1
|
|
|
5613 |
)
|
|
|
5614 |
|
|
|
5615 |
def __init__(self, lastScanType=None,):
|
|
|
5616 |
self.lastScanType = lastScanType
|
|
|
5617 |
|
|
|
5618 |
def read(self, iprot):
|
|
|
5619 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
5620 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
5621 |
return
|
|
|
5622 |
iprot.readStructBegin()
|
|
|
5623 |
while True:
|
|
|
5624 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
5625 |
if ftype == TType.STOP:
|
|
|
5626 |
break
|
|
|
5627 |
if fid == 1:
|
|
|
5628 |
if ftype == TType.I32:
|
|
|
5629 |
self.lastScanType = iprot.readI32();
|
|
|
5630 |
else:
|
|
|
5631 |
iprot.skip(ftype)
|
|
|
5632 |
else:
|
|
|
5633 |
iprot.skip(ftype)
|
|
|
5634 |
iprot.readFieldEnd()
|
|
|
5635 |
iprot.readStructEnd()
|
|
|
5636 |
|
|
|
5637 |
def write(self, oprot):
|
|
|
5638 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
5639 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
5640 |
return
|
|
|
5641 |
oprot.writeStructBegin('getInventoryItemsFromLastScanType_args')
|
|
|
5642 |
if self.lastScanType is not None:
|
|
|
5643 |
oprot.writeFieldBegin('lastScanType', TType.I32, 1)
|
|
|
5644 |
oprot.writeI32(self.lastScanType)
|
|
|
5645 |
oprot.writeFieldEnd()
|
|
|
5646 |
oprot.writeFieldStop()
|
|
|
5647 |
oprot.writeStructEnd()
|
|
|
5648 |
|
|
|
5649 |
def validate(self):
|
|
|
5650 |
return
|
|
|
5651 |
|
|
|
5652 |
|
|
|
5653 |
def __repr__(self):
|
|
|
5654 |
L = ['%s=%r' % (key, value)
|
|
|
5655 |
for key, value in self.__dict__.iteritems()]
|
|
|
5656 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
5657 |
|
|
|
5658 |
def __eq__(self, other):
|
|
|
5659 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
5660 |
|
|
|
5661 |
def __ne__(self, other):
|
|
|
5662 |
return not (self == other)
|
|
|
5663 |
|
|
|
5664 |
class getInventoryItemsFromLastScanType_result:
|
|
|
5665 |
"""
|
|
|
5666 |
Attributes:
|
|
|
5667 |
- success
|
|
|
5668 |
- wex
|
|
|
5669 |
"""
|
|
|
5670 |
|
|
|
5671 |
thrift_spec = (
|
|
|
5672 |
(0, TType.LIST, 'success', (TType.STRUCT,(InventoryItem, InventoryItem.thrift_spec)), None, ), # 0
|
|
|
5673 |
(1, TType.STRUCT, 'wex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
|
|
5674 |
)
|
|
|
5675 |
|
|
|
5676 |
def __init__(self, success=None, wex=None,):
|
|
|
5677 |
self.success = success
|
|
|
5678 |
self.wex = wex
|
|
|
5679 |
|
|
|
5680 |
def read(self, iprot):
|
|
|
5681 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
5682 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
5683 |
return
|
|
|
5684 |
iprot.readStructBegin()
|
|
|
5685 |
while True:
|
|
|
5686 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
5687 |
if ftype == TType.STOP:
|
|
|
5688 |
break
|
|
|
5689 |
if fid == 0:
|
|
|
5690 |
if ftype == TType.LIST:
|
|
|
5691 |
self.success = []
|
| 5361 |
mandeep.dh |
5692 |
(_etype17, _size14) = iprot.readListBegin()
|
|
|
5693 |
for _i18 in xrange(_size14):
|
|
|
5694 |
_elem19 = InventoryItem()
|
|
|
5695 |
_elem19.read(iprot)
|
|
|
5696 |
self.success.append(_elem19)
|
| 5185 |
mandeep.dh |
5697 |
iprot.readListEnd()
|
|
|
5698 |
else:
|
|
|
5699 |
iprot.skip(ftype)
|
|
|
5700 |
elif fid == 1:
|
|
|
5701 |
if ftype == TType.STRUCT:
|
|
|
5702 |
self.wex = WarehouseServiceException()
|
|
|
5703 |
self.wex.read(iprot)
|
|
|
5704 |
else:
|
|
|
5705 |
iprot.skip(ftype)
|
|
|
5706 |
else:
|
|
|
5707 |
iprot.skip(ftype)
|
|
|
5708 |
iprot.readFieldEnd()
|
|
|
5709 |
iprot.readStructEnd()
|
|
|
5710 |
|
|
|
5711 |
def write(self, oprot):
|
|
|
5712 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
5713 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
5714 |
return
|
|
|
5715 |
oprot.writeStructBegin('getInventoryItemsFromLastScanType_result')
|
|
|
5716 |
if self.success is not None:
|
|
|
5717 |
oprot.writeFieldBegin('success', TType.LIST, 0)
|
|
|
5718 |
oprot.writeListBegin(TType.STRUCT, len(self.success))
|
| 5361 |
mandeep.dh |
5719 |
for iter20 in self.success:
|
|
|
5720 |
iter20.write(oprot)
|
| 5185 |
mandeep.dh |
5721 |
oprot.writeListEnd()
|
|
|
5722 |
oprot.writeFieldEnd()
|
|
|
5723 |
if self.wex is not None:
|
|
|
5724 |
oprot.writeFieldBegin('wex', TType.STRUCT, 1)
|
|
|
5725 |
self.wex.write(oprot)
|
|
|
5726 |
oprot.writeFieldEnd()
|
|
|
5727 |
oprot.writeFieldStop()
|
|
|
5728 |
oprot.writeStructEnd()
|
|
|
5729 |
|
|
|
5730 |
def validate(self):
|
|
|
5731 |
return
|
|
|
5732 |
|
|
|
5733 |
|
|
|
5734 |
def __repr__(self):
|
|
|
5735 |
L = ['%s=%r' % (key, value)
|
|
|
5736 |
for key, value in self.__dict__.iteritems()]
|
|
|
5737 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
5738 |
|
|
|
5739 |
def __eq__(self, other):
|
|
|
5740 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
5741 |
|
|
|
5742 |
def __ne__(self, other):
|
|
|
5743 |
return not (self == other)
|
|
|
5744 |
|
|
|
5745 |
class getInventoryItemFromId_args:
|
|
|
5746 |
"""
|
|
|
5747 |
Attributes:
|
|
|
5748 |
- inventoryItemId
|
|
|
5749 |
"""
|
|
|
5750 |
|
|
|
5751 |
thrift_spec = (
|
|
|
5752 |
None, # 0
|
|
|
5753 |
(1, TType.I64, 'inventoryItemId', None, None, ), # 1
|
|
|
5754 |
)
|
|
|
5755 |
|
|
|
5756 |
def __init__(self, inventoryItemId=None,):
|
|
|
5757 |
self.inventoryItemId = inventoryItemId
|
|
|
5758 |
|
|
|
5759 |
def read(self, iprot):
|
|
|
5760 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
5761 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
5762 |
return
|
|
|
5763 |
iprot.readStructBegin()
|
|
|
5764 |
while True:
|
|
|
5765 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
5766 |
if ftype == TType.STOP:
|
|
|
5767 |
break
|
|
|
5768 |
if fid == 1:
|
|
|
5769 |
if ftype == TType.I64:
|
|
|
5770 |
self.inventoryItemId = iprot.readI64();
|
|
|
5771 |
else:
|
|
|
5772 |
iprot.skip(ftype)
|
|
|
5773 |
else:
|
|
|
5774 |
iprot.skip(ftype)
|
|
|
5775 |
iprot.readFieldEnd()
|
|
|
5776 |
iprot.readStructEnd()
|
|
|
5777 |
|
|
|
5778 |
def write(self, oprot):
|
|
|
5779 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
5780 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
5781 |
return
|
|
|
5782 |
oprot.writeStructBegin('getInventoryItemFromId_args')
|
|
|
5783 |
if self.inventoryItemId is not None:
|
|
|
5784 |
oprot.writeFieldBegin('inventoryItemId', TType.I64, 1)
|
|
|
5785 |
oprot.writeI64(self.inventoryItemId)
|
|
|
5786 |
oprot.writeFieldEnd()
|
|
|
5787 |
oprot.writeFieldStop()
|
|
|
5788 |
oprot.writeStructEnd()
|
|
|
5789 |
|
|
|
5790 |
def validate(self):
|
|
|
5791 |
return
|
|
|
5792 |
|
|
|
5793 |
|
|
|
5794 |
def __repr__(self):
|
|
|
5795 |
L = ['%s=%r' % (key, value)
|
|
|
5796 |
for key, value in self.__dict__.iteritems()]
|
|
|
5797 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
5798 |
|
|
|
5799 |
def __eq__(self, other):
|
|
|
5800 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
5801 |
|
|
|
5802 |
def __ne__(self, other):
|
|
|
5803 |
return not (self == other)
|
|
|
5804 |
|
|
|
5805 |
class getInventoryItemFromId_result:
|
|
|
5806 |
"""
|
|
|
5807 |
Attributes:
|
|
|
5808 |
- success
|
|
|
5809 |
- wex
|
|
|
5810 |
"""
|
|
|
5811 |
|
|
|
5812 |
thrift_spec = (
|
|
|
5813 |
(0, TType.STRUCT, 'success', (InventoryItem, InventoryItem.thrift_spec), None, ), # 0
|
|
|
5814 |
(1, TType.STRUCT, 'wex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
|
|
5815 |
)
|
|
|
5816 |
|
|
|
5817 |
def __init__(self, success=None, wex=None,):
|
|
|
5818 |
self.success = success
|
|
|
5819 |
self.wex = wex
|
|
|
5820 |
|
|
|
5821 |
def read(self, iprot):
|
|
|
5822 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
5823 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
5824 |
return
|
|
|
5825 |
iprot.readStructBegin()
|
|
|
5826 |
while True:
|
|
|
5827 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
5828 |
if ftype == TType.STOP:
|
|
|
5829 |
break
|
|
|
5830 |
if fid == 0:
|
|
|
5831 |
if ftype == TType.STRUCT:
|
|
|
5832 |
self.success = InventoryItem()
|
|
|
5833 |
self.success.read(iprot)
|
|
|
5834 |
else:
|
|
|
5835 |
iprot.skip(ftype)
|
|
|
5836 |
elif fid == 1:
|
|
|
5837 |
if ftype == TType.STRUCT:
|
|
|
5838 |
self.wex = WarehouseServiceException()
|
|
|
5839 |
self.wex.read(iprot)
|
|
|
5840 |
else:
|
|
|
5841 |
iprot.skip(ftype)
|
|
|
5842 |
else:
|
|
|
5843 |
iprot.skip(ftype)
|
|
|
5844 |
iprot.readFieldEnd()
|
|
|
5845 |
iprot.readStructEnd()
|
|
|
5846 |
|
|
|
5847 |
def write(self, oprot):
|
|
|
5848 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
5849 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
5850 |
return
|
|
|
5851 |
oprot.writeStructBegin('getInventoryItemFromId_result')
|
|
|
5852 |
if self.success is not None:
|
|
|
5853 |
oprot.writeFieldBegin('success', TType.STRUCT, 0)
|
|
|
5854 |
self.success.write(oprot)
|
|
|
5855 |
oprot.writeFieldEnd()
|
|
|
5856 |
if self.wex is not None:
|
|
|
5857 |
oprot.writeFieldBegin('wex', TType.STRUCT, 1)
|
|
|
5858 |
self.wex.write(oprot)
|
|
|
5859 |
oprot.writeFieldEnd()
|
|
|
5860 |
oprot.writeFieldStop()
|
|
|
5861 |
oprot.writeStructEnd()
|
|
|
5862 |
|
|
|
5863 |
def validate(self):
|
|
|
5864 |
return
|
|
|
5865 |
|
|
|
5866 |
|
|
|
5867 |
def __repr__(self):
|
|
|
5868 |
L = ['%s=%r' % (key, value)
|
|
|
5869 |
for key, value in self.__dict__.iteritems()]
|
|
|
5870 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
5871 |
|
|
|
5872 |
def __eq__(self, other):
|
|
|
5873 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
5874 |
|
|
|
5875 |
def __ne__(self, other):
|
|
|
5876 |
return not (self == other)
|
| 5372 |
mandeep.dh |
5877 |
|
|
|
5878 |
class getPurchaseScans_args:
|
|
|
5879 |
"""
|
|
|
5880 |
Attributes:
|
|
|
5881 |
- startDate
|
|
|
5882 |
- endDate
|
|
|
5883 |
"""
|
|
|
5884 |
|
|
|
5885 |
thrift_spec = (
|
|
|
5886 |
None, # 0
|
|
|
5887 |
(1, TType.I64, 'startDate', None, None, ), # 1
|
|
|
5888 |
(2, TType.I64, 'endDate', None, None, ), # 2
|
|
|
5889 |
)
|
|
|
5890 |
|
|
|
5891 |
def __init__(self, startDate=None, endDate=None,):
|
|
|
5892 |
self.startDate = startDate
|
|
|
5893 |
self.endDate = endDate
|
|
|
5894 |
|
|
|
5895 |
def read(self, iprot):
|
|
|
5896 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
5897 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
5898 |
return
|
|
|
5899 |
iprot.readStructBegin()
|
|
|
5900 |
while True:
|
|
|
5901 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
5902 |
if ftype == TType.STOP:
|
|
|
5903 |
break
|
|
|
5904 |
if fid == 1:
|
|
|
5905 |
if ftype == TType.I64:
|
|
|
5906 |
self.startDate = iprot.readI64();
|
|
|
5907 |
else:
|
|
|
5908 |
iprot.skip(ftype)
|
|
|
5909 |
elif fid == 2:
|
|
|
5910 |
if ftype == TType.I64:
|
|
|
5911 |
self.endDate = iprot.readI64();
|
|
|
5912 |
else:
|
|
|
5913 |
iprot.skip(ftype)
|
|
|
5914 |
else:
|
|
|
5915 |
iprot.skip(ftype)
|
|
|
5916 |
iprot.readFieldEnd()
|
|
|
5917 |
iprot.readStructEnd()
|
|
|
5918 |
|
|
|
5919 |
def write(self, oprot):
|
|
|
5920 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
5921 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
5922 |
return
|
|
|
5923 |
oprot.writeStructBegin('getPurchaseScans_args')
|
|
|
5924 |
if self.startDate is not None:
|
|
|
5925 |
oprot.writeFieldBegin('startDate', TType.I64, 1)
|
|
|
5926 |
oprot.writeI64(self.startDate)
|
|
|
5927 |
oprot.writeFieldEnd()
|
|
|
5928 |
if self.endDate is not None:
|
|
|
5929 |
oprot.writeFieldBegin('endDate', TType.I64, 2)
|
|
|
5930 |
oprot.writeI64(self.endDate)
|
|
|
5931 |
oprot.writeFieldEnd()
|
|
|
5932 |
oprot.writeFieldStop()
|
|
|
5933 |
oprot.writeStructEnd()
|
|
|
5934 |
|
|
|
5935 |
def validate(self):
|
|
|
5936 |
return
|
|
|
5937 |
|
|
|
5938 |
|
|
|
5939 |
def __repr__(self):
|
|
|
5940 |
L = ['%s=%r' % (key, value)
|
|
|
5941 |
for key, value in self.__dict__.iteritems()]
|
|
|
5942 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
5943 |
|
|
|
5944 |
def __eq__(self, other):
|
|
|
5945 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
5946 |
|
|
|
5947 |
def __ne__(self, other):
|
|
|
5948 |
return not (self == other)
|
|
|
5949 |
|
|
|
5950 |
class getPurchaseScans_result:
|
|
|
5951 |
"""
|
|
|
5952 |
Attributes:
|
|
|
5953 |
- success
|
|
|
5954 |
"""
|
|
|
5955 |
|
|
|
5956 |
thrift_spec = (
|
|
|
5957 |
(0, TType.LIST, 'success', (TType.STRUCT,(DetailedPurchaseScan, DetailedPurchaseScan.thrift_spec)), None, ), # 0
|
|
|
5958 |
)
|
|
|
5959 |
|
|
|
5960 |
def __init__(self, success=None,):
|
|
|
5961 |
self.success = success
|
|
|
5962 |
|
|
|
5963 |
def read(self, iprot):
|
|
|
5964 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
5965 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
5966 |
return
|
|
|
5967 |
iprot.readStructBegin()
|
|
|
5968 |
while True:
|
|
|
5969 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
5970 |
if ftype == TType.STOP:
|
|
|
5971 |
break
|
|
|
5972 |
if fid == 0:
|
|
|
5973 |
if ftype == TType.LIST:
|
|
|
5974 |
self.success = []
|
|
|
5975 |
(_etype24, _size21) = iprot.readListBegin()
|
|
|
5976 |
for _i25 in xrange(_size21):
|
|
|
5977 |
_elem26 = DetailedPurchaseScan()
|
|
|
5978 |
_elem26.read(iprot)
|
|
|
5979 |
self.success.append(_elem26)
|
|
|
5980 |
iprot.readListEnd()
|
|
|
5981 |
else:
|
|
|
5982 |
iprot.skip(ftype)
|
|
|
5983 |
else:
|
|
|
5984 |
iprot.skip(ftype)
|
|
|
5985 |
iprot.readFieldEnd()
|
|
|
5986 |
iprot.readStructEnd()
|
|
|
5987 |
|
|
|
5988 |
def write(self, oprot):
|
|
|
5989 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
5990 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
5991 |
return
|
|
|
5992 |
oprot.writeStructBegin('getPurchaseScans_result')
|
|
|
5993 |
if self.success is not None:
|
|
|
5994 |
oprot.writeFieldBegin('success', TType.LIST, 0)
|
|
|
5995 |
oprot.writeListBegin(TType.STRUCT, len(self.success))
|
|
|
5996 |
for iter27 in self.success:
|
|
|
5997 |
iter27.write(oprot)
|
|
|
5998 |
oprot.writeListEnd()
|
|
|
5999 |
oprot.writeFieldEnd()
|
|
|
6000 |
oprot.writeFieldStop()
|
|
|
6001 |
oprot.writeStructEnd()
|
|
|
6002 |
|
|
|
6003 |
def validate(self):
|
|
|
6004 |
return
|
|
|
6005 |
|
|
|
6006 |
|
|
|
6007 |
def __repr__(self):
|
|
|
6008 |
L = ['%s=%r' % (key, value)
|
|
|
6009 |
for key, value in self.__dict__.iteritems()]
|
|
|
6010 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
6011 |
|
|
|
6012 |
def __eq__(self, other):
|
|
|
6013 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
6014 |
|
|
|
6015 |
def __ne__(self, other):
|
|
|
6016 |
return not (self == other)
|
| 5496 |
mandeep.dh |
6017 |
|
| 7216 |
amar.kumar |
6018 |
class getPurchaseScansByGrnDate_args:
|
|
|
6019 |
"""
|
|
|
6020 |
Attributes:
|
|
|
6021 |
- startDate
|
|
|
6022 |
- endDate
|
|
|
6023 |
"""
|
|
|
6024 |
|
|
|
6025 |
thrift_spec = (
|
|
|
6026 |
None, # 0
|
|
|
6027 |
(1, TType.I64, 'startDate', None, None, ), # 1
|
|
|
6028 |
(2, TType.I64, 'endDate', None, None, ), # 2
|
|
|
6029 |
)
|
|
|
6030 |
|
|
|
6031 |
def __init__(self, startDate=None, endDate=None,):
|
|
|
6032 |
self.startDate = startDate
|
|
|
6033 |
self.endDate = endDate
|
|
|
6034 |
|
|
|
6035 |
def read(self, iprot):
|
|
|
6036 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
6037 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
6038 |
return
|
|
|
6039 |
iprot.readStructBegin()
|
|
|
6040 |
while True:
|
|
|
6041 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
6042 |
if ftype == TType.STOP:
|
|
|
6043 |
break
|
|
|
6044 |
if fid == 1:
|
|
|
6045 |
if ftype == TType.I64:
|
|
|
6046 |
self.startDate = iprot.readI64();
|
|
|
6047 |
else:
|
|
|
6048 |
iprot.skip(ftype)
|
|
|
6049 |
elif fid == 2:
|
|
|
6050 |
if ftype == TType.I64:
|
|
|
6051 |
self.endDate = iprot.readI64();
|
|
|
6052 |
else:
|
|
|
6053 |
iprot.skip(ftype)
|
|
|
6054 |
else:
|
|
|
6055 |
iprot.skip(ftype)
|
|
|
6056 |
iprot.readFieldEnd()
|
|
|
6057 |
iprot.readStructEnd()
|
|
|
6058 |
|
|
|
6059 |
def write(self, oprot):
|
|
|
6060 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
6061 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
6062 |
return
|
|
|
6063 |
oprot.writeStructBegin('getPurchaseScansByGrnDate_args')
|
|
|
6064 |
if self.startDate is not None:
|
|
|
6065 |
oprot.writeFieldBegin('startDate', TType.I64, 1)
|
|
|
6066 |
oprot.writeI64(self.startDate)
|
|
|
6067 |
oprot.writeFieldEnd()
|
|
|
6068 |
if self.endDate is not None:
|
|
|
6069 |
oprot.writeFieldBegin('endDate', TType.I64, 2)
|
|
|
6070 |
oprot.writeI64(self.endDate)
|
|
|
6071 |
oprot.writeFieldEnd()
|
|
|
6072 |
oprot.writeFieldStop()
|
|
|
6073 |
oprot.writeStructEnd()
|
|
|
6074 |
|
|
|
6075 |
def validate(self):
|
|
|
6076 |
return
|
|
|
6077 |
|
|
|
6078 |
|
|
|
6079 |
def __repr__(self):
|
|
|
6080 |
L = ['%s=%r' % (key, value)
|
|
|
6081 |
for key, value in self.__dict__.iteritems()]
|
|
|
6082 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
6083 |
|
|
|
6084 |
def __eq__(self, other):
|
|
|
6085 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
6086 |
|
|
|
6087 |
def __ne__(self, other):
|
|
|
6088 |
return not (self == other)
|
|
|
6089 |
|
|
|
6090 |
class getPurchaseScansByGrnDate_result:
|
|
|
6091 |
"""
|
|
|
6092 |
Attributes:
|
|
|
6093 |
- success
|
|
|
6094 |
"""
|
|
|
6095 |
|
|
|
6096 |
thrift_spec = (
|
|
|
6097 |
(0, TType.LIST, 'success', (TType.STRUCT,(DetailedPurchaseScan, DetailedPurchaseScan.thrift_spec)), None, ), # 0
|
|
|
6098 |
)
|
|
|
6099 |
|
|
|
6100 |
def __init__(self, success=None,):
|
|
|
6101 |
self.success = success
|
|
|
6102 |
|
|
|
6103 |
def read(self, iprot):
|
|
|
6104 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
6105 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
6106 |
return
|
|
|
6107 |
iprot.readStructBegin()
|
|
|
6108 |
while True:
|
|
|
6109 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
6110 |
if ftype == TType.STOP:
|
|
|
6111 |
break
|
|
|
6112 |
if fid == 0:
|
|
|
6113 |
if ftype == TType.LIST:
|
|
|
6114 |
self.success = []
|
|
|
6115 |
(_etype31, _size28) = iprot.readListBegin()
|
|
|
6116 |
for _i32 in xrange(_size28):
|
|
|
6117 |
_elem33 = DetailedPurchaseScan()
|
|
|
6118 |
_elem33.read(iprot)
|
|
|
6119 |
self.success.append(_elem33)
|
|
|
6120 |
iprot.readListEnd()
|
|
|
6121 |
else:
|
|
|
6122 |
iprot.skip(ftype)
|
|
|
6123 |
else:
|
|
|
6124 |
iprot.skip(ftype)
|
|
|
6125 |
iprot.readFieldEnd()
|
|
|
6126 |
iprot.readStructEnd()
|
|
|
6127 |
|
|
|
6128 |
def write(self, oprot):
|
|
|
6129 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
6130 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
6131 |
return
|
|
|
6132 |
oprot.writeStructBegin('getPurchaseScansByGrnDate_result')
|
|
|
6133 |
if self.success is not None:
|
|
|
6134 |
oprot.writeFieldBegin('success', TType.LIST, 0)
|
|
|
6135 |
oprot.writeListBegin(TType.STRUCT, len(self.success))
|
|
|
6136 |
for iter34 in self.success:
|
|
|
6137 |
iter34.write(oprot)
|
|
|
6138 |
oprot.writeListEnd()
|
|
|
6139 |
oprot.writeFieldEnd()
|
|
|
6140 |
oprot.writeFieldStop()
|
|
|
6141 |
oprot.writeStructEnd()
|
|
|
6142 |
|
|
|
6143 |
def validate(self):
|
|
|
6144 |
return
|
|
|
6145 |
|
|
|
6146 |
|
|
|
6147 |
def __repr__(self):
|
|
|
6148 |
L = ['%s=%r' % (key, value)
|
|
|
6149 |
for key, value in self.__dict__.iteritems()]
|
|
|
6150 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
6151 |
|
|
|
6152 |
def __eq__(self, other):
|
|
|
6153 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
6154 |
|
|
|
6155 |
def __ne__(self, other):
|
|
|
6156 |
return not (self == other)
|
|
|
6157 |
|
| 10407 |
amar.kumar |
6158 |
class getEmptyGrnsByDate_args:
|
|
|
6159 |
"""
|
|
|
6160 |
Attributes:
|
|
|
6161 |
- startDate
|
|
|
6162 |
- endDate
|
|
|
6163 |
"""
|
|
|
6164 |
|
|
|
6165 |
thrift_spec = (
|
|
|
6166 |
None, # 0
|
|
|
6167 |
(1, TType.I64, 'startDate', None, None, ), # 1
|
|
|
6168 |
(2, TType.I64, 'endDate', None, None, ), # 2
|
|
|
6169 |
)
|
|
|
6170 |
|
|
|
6171 |
def __init__(self, startDate=None, endDate=None,):
|
|
|
6172 |
self.startDate = startDate
|
|
|
6173 |
self.endDate = endDate
|
|
|
6174 |
|
|
|
6175 |
def read(self, iprot):
|
|
|
6176 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
6177 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
6178 |
return
|
|
|
6179 |
iprot.readStructBegin()
|
|
|
6180 |
while True:
|
|
|
6181 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
6182 |
if ftype == TType.STOP:
|
|
|
6183 |
break
|
|
|
6184 |
if fid == 1:
|
|
|
6185 |
if ftype == TType.I64:
|
|
|
6186 |
self.startDate = iprot.readI64();
|
|
|
6187 |
else:
|
|
|
6188 |
iprot.skip(ftype)
|
|
|
6189 |
elif fid == 2:
|
|
|
6190 |
if ftype == TType.I64:
|
|
|
6191 |
self.endDate = iprot.readI64();
|
|
|
6192 |
else:
|
|
|
6193 |
iprot.skip(ftype)
|
|
|
6194 |
else:
|
|
|
6195 |
iprot.skip(ftype)
|
|
|
6196 |
iprot.readFieldEnd()
|
|
|
6197 |
iprot.readStructEnd()
|
|
|
6198 |
|
|
|
6199 |
def write(self, oprot):
|
|
|
6200 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
6201 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
6202 |
return
|
|
|
6203 |
oprot.writeStructBegin('getEmptyGrnsByDate_args')
|
|
|
6204 |
if self.startDate is not None:
|
|
|
6205 |
oprot.writeFieldBegin('startDate', TType.I64, 1)
|
|
|
6206 |
oprot.writeI64(self.startDate)
|
|
|
6207 |
oprot.writeFieldEnd()
|
|
|
6208 |
if self.endDate is not None:
|
|
|
6209 |
oprot.writeFieldBegin('endDate', TType.I64, 2)
|
|
|
6210 |
oprot.writeI64(self.endDate)
|
|
|
6211 |
oprot.writeFieldEnd()
|
|
|
6212 |
oprot.writeFieldStop()
|
|
|
6213 |
oprot.writeStructEnd()
|
|
|
6214 |
|
|
|
6215 |
def validate(self):
|
|
|
6216 |
return
|
|
|
6217 |
|
|
|
6218 |
|
|
|
6219 |
def __repr__(self):
|
|
|
6220 |
L = ['%s=%r' % (key, value)
|
|
|
6221 |
for key, value in self.__dict__.iteritems()]
|
|
|
6222 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
6223 |
|
|
|
6224 |
def __eq__(self, other):
|
|
|
6225 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
6226 |
|
|
|
6227 |
def __ne__(self, other):
|
|
|
6228 |
return not (self == other)
|
|
|
6229 |
|
|
|
6230 |
class getEmptyGrnsByDate_result:
|
|
|
6231 |
"""
|
|
|
6232 |
Attributes:
|
|
|
6233 |
- success
|
|
|
6234 |
"""
|
|
|
6235 |
|
|
|
6236 |
thrift_spec = (
|
|
|
6237 |
(0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
|
|
|
6238 |
)
|
|
|
6239 |
|
|
|
6240 |
def __init__(self, success=None,):
|
|
|
6241 |
self.success = success
|
|
|
6242 |
|
|
|
6243 |
def read(self, iprot):
|
|
|
6244 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
6245 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
6246 |
return
|
|
|
6247 |
iprot.readStructBegin()
|
|
|
6248 |
while True:
|
|
|
6249 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
6250 |
if ftype == TType.STOP:
|
|
|
6251 |
break
|
|
|
6252 |
if fid == 0:
|
|
|
6253 |
if ftype == TType.LIST:
|
|
|
6254 |
self.success = []
|
|
|
6255 |
(_etype38, _size35) = iprot.readListBegin()
|
|
|
6256 |
for _i39 in xrange(_size35):
|
|
|
6257 |
_elem40 = iprot.readI64();
|
|
|
6258 |
self.success.append(_elem40)
|
|
|
6259 |
iprot.readListEnd()
|
|
|
6260 |
else:
|
|
|
6261 |
iprot.skip(ftype)
|
|
|
6262 |
else:
|
|
|
6263 |
iprot.skip(ftype)
|
|
|
6264 |
iprot.readFieldEnd()
|
|
|
6265 |
iprot.readStructEnd()
|
|
|
6266 |
|
|
|
6267 |
def write(self, oprot):
|
|
|
6268 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
6269 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
6270 |
return
|
|
|
6271 |
oprot.writeStructBegin('getEmptyGrnsByDate_result')
|
|
|
6272 |
if self.success is not None:
|
|
|
6273 |
oprot.writeFieldBegin('success', TType.LIST, 0)
|
|
|
6274 |
oprot.writeListBegin(TType.I64, len(self.success))
|
|
|
6275 |
for iter41 in self.success:
|
|
|
6276 |
oprot.writeI64(iter41)
|
|
|
6277 |
oprot.writeListEnd()
|
|
|
6278 |
oprot.writeFieldEnd()
|
|
|
6279 |
oprot.writeFieldStop()
|
|
|
6280 |
oprot.writeStructEnd()
|
|
|
6281 |
|
|
|
6282 |
def validate(self):
|
|
|
6283 |
return
|
|
|
6284 |
|
|
|
6285 |
|
|
|
6286 |
def __repr__(self):
|
|
|
6287 |
L = ['%s=%r' % (key, value)
|
|
|
6288 |
for key, value in self.__dict__.iteritems()]
|
|
|
6289 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
6290 |
|
|
|
6291 |
def __eq__(self, other):
|
|
|
6292 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
6293 |
|
|
|
6294 |
def __ne__(self, other):
|
|
|
6295 |
return not (self == other)
|
|
|
6296 |
|
| 5496 |
mandeep.dh |
6297 |
class fetchScansPerInvoiceNumber_args:
|
|
|
6298 |
"""
|
|
|
6299 |
Attributes:
|
|
|
6300 |
- date
|
|
|
6301 |
"""
|
|
|
6302 |
|
|
|
6303 |
thrift_spec = (
|
|
|
6304 |
None, # 0
|
|
|
6305 |
(1, TType.I64, 'date', None, None, ), # 1
|
|
|
6306 |
)
|
|
|
6307 |
|
|
|
6308 |
def __init__(self, date=None,):
|
|
|
6309 |
self.date = date
|
|
|
6310 |
|
|
|
6311 |
def read(self, iprot):
|
|
|
6312 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
6313 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
6314 |
return
|
|
|
6315 |
iprot.readStructBegin()
|
|
|
6316 |
while True:
|
|
|
6317 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
6318 |
if ftype == TType.STOP:
|
|
|
6319 |
break
|
|
|
6320 |
if fid == 1:
|
|
|
6321 |
if ftype == TType.I64:
|
|
|
6322 |
self.date = iprot.readI64();
|
|
|
6323 |
else:
|
|
|
6324 |
iprot.skip(ftype)
|
|
|
6325 |
else:
|
|
|
6326 |
iprot.skip(ftype)
|
|
|
6327 |
iprot.readFieldEnd()
|
|
|
6328 |
iprot.readStructEnd()
|
|
|
6329 |
|
|
|
6330 |
def write(self, oprot):
|
|
|
6331 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
6332 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
6333 |
return
|
|
|
6334 |
oprot.writeStructBegin('fetchScansPerInvoiceNumber_args')
|
|
|
6335 |
if self.date is not None:
|
|
|
6336 |
oprot.writeFieldBegin('date', TType.I64, 1)
|
|
|
6337 |
oprot.writeI64(self.date)
|
|
|
6338 |
oprot.writeFieldEnd()
|
|
|
6339 |
oprot.writeFieldStop()
|
|
|
6340 |
oprot.writeStructEnd()
|
|
|
6341 |
|
|
|
6342 |
def validate(self):
|
|
|
6343 |
return
|
|
|
6344 |
|
|
|
6345 |
|
|
|
6346 |
def __repr__(self):
|
|
|
6347 |
L = ['%s=%r' % (key, value)
|
|
|
6348 |
for key, value in self.__dict__.iteritems()]
|
|
|
6349 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
6350 |
|
|
|
6351 |
def __eq__(self, other):
|
|
|
6352 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
6353 |
|
|
|
6354 |
def __ne__(self, other):
|
|
|
6355 |
return not (self == other)
|
|
|
6356 |
|
|
|
6357 |
class fetchScansPerInvoiceNumber_result:
|
|
|
6358 |
"""
|
|
|
6359 |
Attributes:
|
|
|
6360 |
- success
|
|
|
6361 |
"""
|
|
|
6362 |
|
|
|
6363 |
thrift_spec = (
|
|
|
6364 |
(0, TType.LIST, 'success', (TType.STRUCT,(InvoiceScan, InvoiceScan.thrift_spec)), None, ), # 0
|
|
|
6365 |
)
|
|
|
6366 |
|
|
|
6367 |
def __init__(self, success=None,):
|
|
|
6368 |
self.success = success
|
|
|
6369 |
|
|
|
6370 |
def read(self, iprot):
|
|
|
6371 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
6372 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
6373 |
return
|
|
|
6374 |
iprot.readStructBegin()
|
|
|
6375 |
while True:
|
|
|
6376 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
6377 |
if ftype == TType.STOP:
|
|
|
6378 |
break
|
|
|
6379 |
if fid == 0:
|
|
|
6380 |
if ftype == TType.LIST:
|
|
|
6381 |
self.success = []
|
| 10407 |
amar.kumar |
6382 |
(_etype45, _size42) = iprot.readListBegin()
|
|
|
6383 |
for _i46 in xrange(_size42):
|
|
|
6384 |
_elem47 = InvoiceScan()
|
|
|
6385 |
_elem47.read(iprot)
|
|
|
6386 |
self.success.append(_elem47)
|
| 5496 |
mandeep.dh |
6387 |
iprot.readListEnd()
|
|
|
6388 |
else:
|
|
|
6389 |
iprot.skip(ftype)
|
|
|
6390 |
else:
|
|
|
6391 |
iprot.skip(ftype)
|
|
|
6392 |
iprot.readFieldEnd()
|
|
|
6393 |
iprot.readStructEnd()
|
|
|
6394 |
|
|
|
6395 |
def write(self, oprot):
|
|
|
6396 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
6397 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
6398 |
return
|
|
|
6399 |
oprot.writeStructBegin('fetchScansPerInvoiceNumber_result')
|
|
|
6400 |
if self.success is not None:
|
|
|
6401 |
oprot.writeFieldBegin('success', TType.LIST, 0)
|
|
|
6402 |
oprot.writeListBegin(TType.STRUCT, len(self.success))
|
| 10407 |
amar.kumar |
6403 |
for iter48 in self.success:
|
|
|
6404 |
iter48.write(oprot)
|
| 5496 |
mandeep.dh |
6405 |
oprot.writeListEnd()
|
|
|
6406 |
oprot.writeFieldEnd()
|
|
|
6407 |
oprot.writeFieldStop()
|
|
|
6408 |
oprot.writeStructEnd()
|
|
|
6409 |
|
|
|
6410 |
def validate(self):
|
|
|
6411 |
return
|
|
|
6412 |
|
|
|
6413 |
|
|
|
6414 |
def __repr__(self):
|
|
|
6415 |
L = ['%s=%r' % (key, value)
|
|
|
6416 |
for key, value in self.__dict__.iteritems()]
|
|
|
6417 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
6418 |
|
|
|
6419 |
def __eq__(self, other):
|
|
|
6420 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
6421 |
|
|
|
6422 |
def __ne__(self, other):
|
|
|
6423 |
return not (self == other)
|
| 5620 |
mandeep.dh |
6424 |
|
|
|
6425 |
class getInventoryItemFromOrder_args:
|
|
|
6426 |
"""
|
|
|
6427 |
Attributes:
|
|
|
6428 |
- orderId
|
|
|
6429 |
"""
|
|
|
6430 |
|
|
|
6431 |
thrift_spec = (
|
|
|
6432 |
None, # 0
|
|
|
6433 |
(1, TType.I64, 'orderId', None, None, ), # 1
|
|
|
6434 |
)
|
|
|
6435 |
|
|
|
6436 |
def __init__(self, orderId=None,):
|
|
|
6437 |
self.orderId = orderId
|
|
|
6438 |
|
|
|
6439 |
def read(self, iprot):
|
|
|
6440 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
6441 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
6442 |
return
|
|
|
6443 |
iprot.readStructBegin()
|
|
|
6444 |
while True:
|
|
|
6445 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
6446 |
if ftype == TType.STOP:
|
|
|
6447 |
break
|
|
|
6448 |
if fid == 1:
|
|
|
6449 |
if ftype == TType.I64:
|
|
|
6450 |
self.orderId = iprot.readI64();
|
|
|
6451 |
else:
|
|
|
6452 |
iprot.skip(ftype)
|
|
|
6453 |
else:
|
|
|
6454 |
iprot.skip(ftype)
|
|
|
6455 |
iprot.readFieldEnd()
|
|
|
6456 |
iprot.readStructEnd()
|
|
|
6457 |
|
|
|
6458 |
def write(self, oprot):
|
|
|
6459 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
6460 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
6461 |
return
|
|
|
6462 |
oprot.writeStructBegin('getInventoryItemFromOrder_args')
|
|
|
6463 |
if self.orderId is not None:
|
|
|
6464 |
oprot.writeFieldBegin('orderId', TType.I64, 1)
|
|
|
6465 |
oprot.writeI64(self.orderId)
|
|
|
6466 |
oprot.writeFieldEnd()
|
|
|
6467 |
oprot.writeFieldStop()
|
|
|
6468 |
oprot.writeStructEnd()
|
|
|
6469 |
|
|
|
6470 |
def validate(self):
|
|
|
6471 |
return
|
|
|
6472 |
|
|
|
6473 |
|
|
|
6474 |
def __repr__(self):
|
|
|
6475 |
L = ['%s=%r' % (key, value)
|
|
|
6476 |
for key, value in self.__dict__.iteritems()]
|
|
|
6477 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
6478 |
|
|
|
6479 |
def __eq__(self, other):
|
|
|
6480 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
6481 |
|
|
|
6482 |
def __ne__(self, other):
|
|
|
6483 |
return not (self == other)
|
|
|
6484 |
|
|
|
6485 |
class getInventoryItemFromOrder_result:
|
|
|
6486 |
"""
|
|
|
6487 |
Attributes:
|
|
|
6488 |
- success
|
|
|
6489 |
- we
|
|
|
6490 |
"""
|
|
|
6491 |
|
|
|
6492 |
thrift_spec = (
|
|
|
6493 |
(0, TType.STRUCT, 'success', (InventoryItem, InventoryItem.thrift_spec), None, ), # 0
|
|
|
6494 |
(1, TType.STRUCT, 'we', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
|
|
6495 |
)
|
|
|
6496 |
|
|
|
6497 |
def __init__(self, success=None, we=None,):
|
|
|
6498 |
self.success = success
|
|
|
6499 |
self.we = we
|
|
|
6500 |
|
|
|
6501 |
def read(self, iprot):
|
|
|
6502 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
6503 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
6504 |
return
|
|
|
6505 |
iprot.readStructBegin()
|
|
|
6506 |
while True:
|
|
|
6507 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
6508 |
if ftype == TType.STOP:
|
|
|
6509 |
break
|
|
|
6510 |
if fid == 0:
|
|
|
6511 |
if ftype == TType.STRUCT:
|
|
|
6512 |
self.success = InventoryItem()
|
|
|
6513 |
self.success.read(iprot)
|
|
|
6514 |
else:
|
|
|
6515 |
iprot.skip(ftype)
|
|
|
6516 |
elif fid == 1:
|
|
|
6517 |
if ftype == TType.STRUCT:
|
|
|
6518 |
self.we = WarehouseServiceException()
|
|
|
6519 |
self.we.read(iprot)
|
|
|
6520 |
else:
|
|
|
6521 |
iprot.skip(ftype)
|
|
|
6522 |
else:
|
|
|
6523 |
iprot.skip(ftype)
|
|
|
6524 |
iprot.readFieldEnd()
|
|
|
6525 |
iprot.readStructEnd()
|
|
|
6526 |
|
|
|
6527 |
def write(self, oprot):
|
|
|
6528 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
6529 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
6530 |
return
|
|
|
6531 |
oprot.writeStructBegin('getInventoryItemFromOrder_result')
|
|
|
6532 |
if self.success is not None:
|
|
|
6533 |
oprot.writeFieldBegin('success', TType.STRUCT, 0)
|
|
|
6534 |
self.success.write(oprot)
|
|
|
6535 |
oprot.writeFieldEnd()
|
|
|
6536 |
if self.we is not None:
|
|
|
6537 |
oprot.writeFieldBegin('we', TType.STRUCT, 1)
|
|
|
6538 |
self.we.write(oprot)
|
|
|
6539 |
oprot.writeFieldEnd()
|
|
|
6540 |
oprot.writeFieldStop()
|
|
|
6541 |
oprot.writeStructEnd()
|
|
|
6542 |
|
|
|
6543 |
def validate(self):
|
|
|
6544 |
return
|
|
|
6545 |
|
|
|
6546 |
|
|
|
6547 |
def __repr__(self):
|
|
|
6548 |
L = ['%s=%r' % (key, value)
|
|
|
6549 |
for key, value in self.__dict__.iteritems()]
|
|
|
6550 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
6551 |
|
|
|
6552 |
def __eq__(self, other):
|
|
|
6553 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
6554 |
|
|
|
6555 |
def __ne__(self, other):
|
|
|
6556 |
return not (self == other)
|
| 5711 |
mandeep.dh |
6557 |
|
|
|
6558 |
class getInventoryAge_args:
|
|
|
6559 |
|
|
|
6560 |
thrift_spec = (
|
|
|
6561 |
)
|
|
|
6562 |
|
|
|
6563 |
def read(self, iprot):
|
|
|
6564 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
6565 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
6566 |
return
|
|
|
6567 |
iprot.readStructBegin()
|
|
|
6568 |
while True:
|
|
|
6569 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
6570 |
if ftype == TType.STOP:
|
|
|
6571 |
break
|
|
|
6572 |
else:
|
|
|
6573 |
iprot.skip(ftype)
|
|
|
6574 |
iprot.readFieldEnd()
|
|
|
6575 |
iprot.readStructEnd()
|
|
|
6576 |
|
|
|
6577 |
def write(self, oprot):
|
|
|
6578 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
6579 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
6580 |
return
|
|
|
6581 |
oprot.writeStructBegin('getInventoryAge_args')
|
|
|
6582 |
oprot.writeFieldStop()
|
|
|
6583 |
oprot.writeStructEnd()
|
|
|
6584 |
|
|
|
6585 |
def validate(self):
|
|
|
6586 |
return
|
|
|
6587 |
|
|
|
6588 |
|
|
|
6589 |
def __repr__(self):
|
|
|
6590 |
L = ['%s=%r' % (key, value)
|
|
|
6591 |
for key, value in self.__dict__.iteritems()]
|
|
|
6592 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
6593 |
|
|
|
6594 |
def __eq__(self, other):
|
|
|
6595 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
6596 |
|
|
|
6597 |
def __ne__(self, other):
|
|
|
6598 |
return not (self == other)
|
|
|
6599 |
|
|
|
6600 |
class getInventoryAge_result:
|
|
|
6601 |
"""
|
|
|
6602 |
Attributes:
|
|
|
6603 |
- success
|
|
|
6604 |
"""
|
|
|
6605 |
|
|
|
6606 |
thrift_spec = (
|
|
|
6607 |
(0, TType.LIST, 'success', (TType.STRUCT,(InventoryAge, InventoryAge.thrift_spec)), None, ), # 0
|
|
|
6608 |
)
|
|
|
6609 |
|
|
|
6610 |
def __init__(self, success=None,):
|
|
|
6611 |
self.success = success
|
|
|
6612 |
|
|
|
6613 |
def read(self, iprot):
|
|
|
6614 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
6615 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
6616 |
return
|
|
|
6617 |
iprot.readStructBegin()
|
|
|
6618 |
while True:
|
|
|
6619 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
6620 |
if ftype == TType.STOP:
|
|
|
6621 |
break
|
|
|
6622 |
if fid == 0:
|
|
|
6623 |
if ftype == TType.LIST:
|
|
|
6624 |
self.success = []
|
| 10407 |
amar.kumar |
6625 |
(_etype52, _size49) = iprot.readListBegin()
|
|
|
6626 |
for _i53 in xrange(_size49):
|
|
|
6627 |
_elem54 = InventoryAge()
|
|
|
6628 |
_elem54.read(iprot)
|
|
|
6629 |
self.success.append(_elem54)
|
| 5711 |
mandeep.dh |
6630 |
iprot.readListEnd()
|
|
|
6631 |
else:
|
|
|
6632 |
iprot.skip(ftype)
|
|
|
6633 |
else:
|
|
|
6634 |
iprot.skip(ftype)
|
|
|
6635 |
iprot.readFieldEnd()
|
|
|
6636 |
iprot.readStructEnd()
|
|
|
6637 |
|
|
|
6638 |
def write(self, oprot):
|
|
|
6639 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
6640 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
6641 |
return
|
|
|
6642 |
oprot.writeStructBegin('getInventoryAge_result')
|
|
|
6643 |
if self.success is not None:
|
|
|
6644 |
oprot.writeFieldBegin('success', TType.LIST, 0)
|
|
|
6645 |
oprot.writeListBegin(TType.STRUCT, len(self.success))
|
| 10407 |
amar.kumar |
6646 |
for iter55 in self.success:
|
|
|
6647 |
iter55.write(oprot)
|
| 5711 |
mandeep.dh |
6648 |
oprot.writeListEnd()
|
|
|
6649 |
oprot.writeFieldEnd()
|
|
|
6650 |
oprot.writeFieldStop()
|
|
|
6651 |
oprot.writeStructEnd()
|
|
|
6652 |
|
|
|
6653 |
def validate(self):
|
|
|
6654 |
return
|
|
|
6655 |
|
|
|
6656 |
|
|
|
6657 |
def __repr__(self):
|
|
|
6658 |
L = ['%s=%r' % (key, value)
|
|
|
6659 |
for key, value in self.__dict__.iteritems()]
|
|
|
6660 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
6661 |
|
|
|
6662 |
def __eq__(self, other):
|
|
|
6663 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
6664 |
|
|
|
6665 |
def __ne__(self, other):
|
|
|
6666 |
return not (self == other)
|
| 6361 |
rajveer |
6667 |
|
|
|
6668 |
class getInventoryScansForItem_args:
|
|
|
6669 |
"""
|
|
|
6670 |
Attributes:
|
|
|
6671 |
- itemId
|
|
|
6672 |
- fromDate
|
|
|
6673 |
- toDate
|
|
|
6674 |
"""
|
|
|
6675 |
|
|
|
6676 |
thrift_spec = (
|
|
|
6677 |
None, # 0
|
|
|
6678 |
(1, TType.I64, 'itemId', None, None, ), # 1
|
|
|
6679 |
(2, TType.I64, 'fromDate', None, None, ), # 2
|
|
|
6680 |
(3, TType.I64, 'toDate', None, None, ), # 3
|
|
|
6681 |
)
|
|
|
6682 |
|
|
|
6683 |
def __init__(self, itemId=None, fromDate=None, toDate=None,):
|
|
|
6684 |
self.itemId = itemId
|
|
|
6685 |
self.fromDate = fromDate
|
|
|
6686 |
self.toDate = toDate
|
|
|
6687 |
|
|
|
6688 |
def read(self, iprot):
|
|
|
6689 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
6690 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
6691 |
return
|
|
|
6692 |
iprot.readStructBegin()
|
|
|
6693 |
while True:
|
|
|
6694 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
6695 |
if ftype == TType.STOP:
|
|
|
6696 |
break
|
|
|
6697 |
if fid == 1:
|
|
|
6698 |
if ftype == TType.I64:
|
|
|
6699 |
self.itemId = iprot.readI64();
|
|
|
6700 |
else:
|
|
|
6701 |
iprot.skip(ftype)
|
|
|
6702 |
elif fid == 2:
|
|
|
6703 |
if ftype == TType.I64:
|
|
|
6704 |
self.fromDate = iprot.readI64();
|
|
|
6705 |
else:
|
|
|
6706 |
iprot.skip(ftype)
|
|
|
6707 |
elif fid == 3:
|
|
|
6708 |
if ftype == TType.I64:
|
|
|
6709 |
self.toDate = iprot.readI64();
|
|
|
6710 |
else:
|
|
|
6711 |
iprot.skip(ftype)
|
|
|
6712 |
else:
|
|
|
6713 |
iprot.skip(ftype)
|
|
|
6714 |
iprot.readFieldEnd()
|
|
|
6715 |
iprot.readStructEnd()
|
|
|
6716 |
|
|
|
6717 |
def write(self, oprot):
|
|
|
6718 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
6719 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
6720 |
return
|
|
|
6721 |
oprot.writeStructBegin('getInventoryScansForItem_args')
|
|
|
6722 |
if self.itemId is not None:
|
|
|
6723 |
oprot.writeFieldBegin('itemId', TType.I64, 1)
|
|
|
6724 |
oprot.writeI64(self.itemId)
|
|
|
6725 |
oprot.writeFieldEnd()
|
|
|
6726 |
if self.fromDate is not None:
|
|
|
6727 |
oprot.writeFieldBegin('fromDate', TType.I64, 2)
|
|
|
6728 |
oprot.writeI64(self.fromDate)
|
|
|
6729 |
oprot.writeFieldEnd()
|
|
|
6730 |
if self.toDate is not None:
|
|
|
6731 |
oprot.writeFieldBegin('toDate', TType.I64, 3)
|
|
|
6732 |
oprot.writeI64(self.toDate)
|
|
|
6733 |
oprot.writeFieldEnd()
|
|
|
6734 |
oprot.writeFieldStop()
|
|
|
6735 |
oprot.writeStructEnd()
|
|
|
6736 |
|
|
|
6737 |
def validate(self):
|
|
|
6738 |
return
|
|
|
6739 |
|
|
|
6740 |
|
|
|
6741 |
def __repr__(self):
|
|
|
6742 |
L = ['%s=%r' % (key, value)
|
|
|
6743 |
for key, value in self.__dict__.iteritems()]
|
|
|
6744 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
6745 |
|
|
|
6746 |
def __eq__(self, other):
|
|
|
6747 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
6748 |
|
|
|
6749 |
def __ne__(self, other):
|
|
|
6750 |
return not (self == other)
|
|
|
6751 |
|
|
|
6752 |
class getInventoryScansForItem_result:
|
|
|
6753 |
"""
|
|
|
6754 |
Attributes:
|
|
|
6755 |
- success
|
|
|
6756 |
"""
|
|
|
6757 |
|
|
|
6758 |
thrift_spec = (
|
|
|
6759 |
(0, TType.LIST, 'success', (TType.STRUCT,(Scan, Scan.thrift_spec)), None, ), # 0
|
|
|
6760 |
)
|
|
|
6761 |
|
|
|
6762 |
def __init__(self, success=None,):
|
|
|
6763 |
self.success = success
|
|
|
6764 |
|
|
|
6765 |
def read(self, iprot):
|
|
|
6766 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
6767 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
6768 |
return
|
|
|
6769 |
iprot.readStructBegin()
|
|
|
6770 |
while True:
|
|
|
6771 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
6772 |
if ftype == TType.STOP:
|
|
|
6773 |
break
|
|
|
6774 |
if fid == 0:
|
|
|
6775 |
if ftype == TType.LIST:
|
|
|
6776 |
self.success = []
|
| 10407 |
amar.kumar |
6777 |
(_etype59, _size56) = iprot.readListBegin()
|
|
|
6778 |
for _i60 in xrange(_size56):
|
|
|
6779 |
_elem61 = Scan()
|
|
|
6780 |
_elem61.read(iprot)
|
|
|
6781 |
self.success.append(_elem61)
|
| 6361 |
rajveer |
6782 |
iprot.readListEnd()
|
|
|
6783 |
else:
|
|
|
6784 |
iprot.skip(ftype)
|
|
|
6785 |
else:
|
|
|
6786 |
iprot.skip(ftype)
|
|
|
6787 |
iprot.readFieldEnd()
|
|
|
6788 |
iprot.readStructEnd()
|
|
|
6789 |
|
|
|
6790 |
def write(self, oprot):
|
|
|
6791 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
6792 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
6793 |
return
|
|
|
6794 |
oprot.writeStructBegin('getInventoryScansForItem_result')
|
|
|
6795 |
if self.success is not None:
|
|
|
6796 |
oprot.writeFieldBegin('success', TType.LIST, 0)
|
|
|
6797 |
oprot.writeListBegin(TType.STRUCT, len(self.success))
|
| 10407 |
amar.kumar |
6798 |
for iter62 in self.success:
|
|
|
6799 |
iter62.write(oprot)
|
| 6361 |
rajveer |
6800 |
oprot.writeListEnd()
|
|
|
6801 |
oprot.writeFieldEnd()
|
|
|
6802 |
oprot.writeFieldStop()
|
|
|
6803 |
oprot.writeStructEnd()
|
|
|
6804 |
|
|
|
6805 |
def validate(self):
|
|
|
6806 |
return
|
|
|
6807 |
|
|
|
6808 |
|
|
|
6809 |
def __repr__(self):
|
|
|
6810 |
L = ['%s=%r' % (key, value)
|
|
|
6811 |
for key, value in self.__dict__.iteritems()]
|
|
|
6812 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
6813 |
|
|
|
6814 |
def __eq__(self, other):
|
|
|
6815 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
6816 |
|
|
|
6817 |
def __ne__(self, other):
|
|
|
6818 |
return not (self == other)
|
|
|
6819 |
|
|
|
6820 |
class getScanRecordsForSerialNumber_args:
|
|
|
6821 |
"""
|
|
|
6822 |
Attributes:
|
|
|
6823 |
- serialNumber
|
|
|
6824 |
"""
|
|
|
6825 |
|
|
|
6826 |
thrift_spec = (
|
|
|
6827 |
None, # 0
|
| 7410 |
amar.kumar |
6828 |
(1, TType.STRING, 'serialNumber', None, None, ), # 1
|
| 6361 |
rajveer |
6829 |
)
|
|
|
6830 |
|
|
|
6831 |
def __init__(self, serialNumber=None,):
|
|
|
6832 |
self.serialNumber = serialNumber
|
|
|
6833 |
|
|
|
6834 |
def read(self, iprot):
|
|
|
6835 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
6836 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
6837 |
return
|
|
|
6838 |
iprot.readStructBegin()
|
|
|
6839 |
while True:
|
|
|
6840 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
6841 |
if ftype == TType.STOP:
|
|
|
6842 |
break
|
|
|
6843 |
if fid == 1:
|
| 7410 |
amar.kumar |
6844 |
if ftype == TType.STRING:
|
|
|
6845 |
self.serialNumber = iprot.readString();
|
| 6361 |
rajveer |
6846 |
else:
|
|
|
6847 |
iprot.skip(ftype)
|
|
|
6848 |
else:
|
|
|
6849 |
iprot.skip(ftype)
|
|
|
6850 |
iprot.readFieldEnd()
|
|
|
6851 |
iprot.readStructEnd()
|
|
|
6852 |
|
|
|
6853 |
def write(self, oprot):
|
|
|
6854 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
6855 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
6856 |
return
|
|
|
6857 |
oprot.writeStructBegin('getScanRecordsForSerialNumber_args')
|
|
|
6858 |
if self.serialNumber is not None:
|
| 7410 |
amar.kumar |
6859 |
oprot.writeFieldBegin('serialNumber', TType.STRING, 1)
|
|
|
6860 |
oprot.writeString(self.serialNumber)
|
| 6361 |
rajveer |
6861 |
oprot.writeFieldEnd()
|
|
|
6862 |
oprot.writeFieldStop()
|
|
|
6863 |
oprot.writeStructEnd()
|
|
|
6864 |
|
|
|
6865 |
def validate(self):
|
|
|
6866 |
return
|
|
|
6867 |
|
|
|
6868 |
|
|
|
6869 |
def __repr__(self):
|
|
|
6870 |
L = ['%s=%r' % (key, value)
|
|
|
6871 |
for key, value in self.__dict__.iteritems()]
|
|
|
6872 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
6873 |
|
|
|
6874 |
def __eq__(self, other):
|
|
|
6875 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
6876 |
|
|
|
6877 |
def __ne__(self, other):
|
|
|
6878 |
return not (self == other)
|
|
|
6879 |
|
|
|
6880 |
class getScanRecordsForSerialNumber_result:
|
|
|
6881 |
"""
|
|
|
6882 |
Attributes:
|
|
|
6883 |
- success
|
|
|
6884 |
"""
|
|
|
6885 |
|
|
|
6886 |
thrift_spec = (
|
|
|
6887 |
(0, TType.LIST, 'success', (TType.STRUCT,(Scan, Scan.thrift_spec)), None, ), # 0
|
|
|
6888 |
)
|
|
|
6889 |
|
|
|
6890 |
def __init__(self, success=None,):
|
|
|
6891 |
self.success = success
|
|
|
6892 |
|
|
|
6893 |
def read(self, iprot):
|
|
|
6894 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
6895 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
6896 |
return
|
|
|
6897 |
iprot.readStructBegin()
|
|
|
6898 |
while True:
|
|
|
6899 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
6900 |
if ftype == TType.STOP:
|
|
|
6901 |
break
|
|
|
6902 |
if fid == 0:
|
|
|
6903 |
if ftype == TType.LIST:
|
|
|
6904 |
self.success = []
|
| 10407 |
amar.kumar |
6905 |
(_etype66, _size63) = iprot.readListBegin()
|
|
|
6906 |
for _i67 in xrange(_size63):
|
|
|
6907 |
_elem68 = Scan()
|
|
|
6908 |
_elem68.read(iprot)
|
|
|
6909 |
self.success.append(_elem68)
|
| 6361 |
rajveer |
6910 |
iprot.readListEnd()
|
|
|
6911 |
else:
|
|
|
6912 |
iprot.skip(ftype)
|
|
|
6913 |
else:
|
|
|
6914 |
iprot.skip(ftype)
|
|
|
6915 |
iprot.readFieldEnd()
|
|
|
6916 |
iprot.readStructEnd()
|
|
|
6917 |
|
|
|
6918 |
def write(self, oprot):
|
|
|
6919 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
6920 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
6921 |
return
|
|
|
6922 |
oprot.writeStructBegin('getScanRecordsForSerialNumber_result')
|
|
|
6923 |
if self.success is not None:
|
|
|
6924 |
oprot.writeFieldBegin('success', TType.LIST, 0)
|
|
|
6925 |
oprot.writeListBegin(TType.STRUCT, len(self.success))
|
| 10407 |
amar.kumar |
6926 |
for iter69 in self.success:
|
|
|
6927 |
iter69.write(oprot)
|
| 6361 |
rajveer |
6928 |
oprot.writeListEnd()
|
|
|
6929 |
oprot.writeFieldEnd()
|
|
|
6930 |
oprot.writeFieldStop()
|
|
|
6931 |
oprot.writeStructEnd()
|
|
|
6932 |
|
|
|
6933 |
def validate(self):
|
|
|
6934 |
return
|
|
|
6935 |
|
|
|
6936 |
|
|
|
6937 |
def __repr__(self):
|
|
|
6938 |
L = ['%s=%r' % (key, value)
|
|
|
6939 |
for key, value in self.__dict__.iteritems()]
|
|
|
6940 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
6941 |
|
|
|
6942 |
def __eq__(self, other):
|
|
|
6943 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
6944 |
|
|
|
6945 |
def __ne__(self, other):
|
|
|
6946 |
return not (self == other)
|
| 6467 |
amar.kumar |
6947 |
|
|
|
6948 |
class scanForPurchaseReturn_args:
|
|
|
6949 |
"""
|
|
|
6950 |
Attributes:
|
|
|
6951 |
- saleReturnItems
|
|
|
6952 |
- vendorId
|
| 7718 |
amar.kumar |
6953 |
- billingWarehouseId
|
| 6467 |
amar.kumar |
6954 |
"""
|
|
|
6955 |
|
|
|
6956 |
thrift_spec = (
|
|
|
6957 |
None, # 0
|
|
|
6958 |
(1, TType.LIST, 'saleReturnItems', (TType.STRUCT,(InventoryItem, InventoryItem.thrift_spec)), None, ), # 1
|
|
|
6959 |
(2, TType.I64, 'vendorId', None, None, ), # 2
|
| 7718 |
amar.kumar |
6960 |
(3, TType.I64, 'billingWarehouseId', None, None, ), # 3
|
| 6467 |
amar.kumar |
6961 |
)
|
|
|
6962 |
|
| 7718 |
amar.kumar |
6963 |
def __init__(self, saleReturnItems=None, vendorId=None, billingWarehouseId=None,):
|
| 6467 |
amar.kumar |
6964 |
self.saleReturnItems = saleReturnItems
|
|
|
6965 |
self.vendorId = vendorId
|
| 7718 |
amar.kumar |
6966 |
self.billingWarehouseId = billingWarehouseId
|
| 6467 |
amar.kumar |
6967 |
|
|
|
6968 |
def read(self, iprot):
|
|
|
6969 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
6970 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
6971 |
return
|
|
|
6972 |
iprot.readStructBegin()
|
|
|
6973 |
while True:
|
|
|
6974 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
6975 |
if ftype == TType.STOP:
|
|
|
6976 |
break
|
|
|
6977 |
if fid == 1:
|
|
|
6978 |
if ftype == TType.LIST:
|
|
|
6979 |
self.saleReturnItems = []
|
| 10407 |
amar.kumar |
6980 |
(_etype73, _size70) = iprot.readListBegin()
|
|
|
6981 |
for _i74 in xrange(_size70):
|
|
|
6982 |
_elem75 = InventoryItem()
|
|
|
6983 |
_elem75.read(iprot)
|
|
|
6984 |
self.saleReturnItems.append(_elem75)
|
| 6467 |
amar.kumar |
6985 |
iprot.readListEnd()
|
|
|
6986 |
else:
|
|
|
6987 |
iprot.skip(ftype)
|
|
|
6988 |
elif fid == 2:
|
|
|
6989 |
if ftype == TType.I64:
|
|
|
6990 |
self.vendorId = iprot.readI64();
|
|
|
6991 |
else:
|
|
|
6992 |
iprot.skip(ftype)
|
| 7718 |
amar.kumar |
6993 |
elif fid == 3:
|
|
|
6994 |
if ftype == TType.I64:
|
|
|
6995 |
self.billingWarehouseId = iprot.readI64();
|
|
|
6996 |
else:
|
|
|
6997 |
iprot.skip(ftype)
|
| 6467 |
amar.kumar |
6998 |
else:
|
|
|
6999 |
iprot.skip(ftype)
|
|
|
7000 |
iprot.readFieldEnd()
|
|
|
7001 |
iprot.readStructEnd()
|
|
|
7002 |
|
|
|
7003 |
def write(self, oprot):
|
|
|
7004 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
7005 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
7006 |
return
|
|
|
7007 |
oprot.writeStructBegin('scanForPurchaseReturn_args')
|
|
|
7008 |
if self.saleReturnItems is not None:
|
|
|
7009 |
oprot.writeFieldBegin('saleReturnItems', TType.LIST, 1)
|
|
|
7010 |
oprot.writeListBegin(TType.STRUCT, len(self.saleReturnItems))
|
| 10407 |
amar.kumar |
7011 |
for iter76 in self.saleReturnItems:
|
|
|
7012 |
iter76.write(oprot)
|
| 6467 |
amar.kumar |
7013 |
oprot.writeListEnd()
|
|
|
7014 |
oprot.writeFieldEnd()
|
|
|
7015 |
if self.vendorId is not None:
|
|
|
7016 |
oprot.writeFieldBegin('vendorId', TType.I64, 2)
|
|
|
7017 |
oprot.writeI64(self.vendorId)
|
|
|
7018 |
oprot.writeFieldEnd()
|
| 7718 |
amar.kumar |
7019 |
if self.billingWarehouseId is not None:
|
|
|
7020 |
oprot.writeFieldBegin('billingWarehouseId', TType.I64, 3)
|
|
|
7021 |
oprot.writeI64(self.billingWarehouseId)
|
|
|
7022 |
oprot.writeFieldEnd()
|
| 6467 |
amar.kumar |
7023 |
oprot.writeFieldStop()
|
|
|
7024 |
oprot.writeStructEnd()
|
|
|
7025 |
|
|
|
7026 |
def validate(self):
|
|
|
7027 |
return
|
|
|
7028 |
|
|
|
7029 |
|
|
|
7030 |
def __repr__(self):
|
|
|
7031 |
L = ['%s=%r' % (key, value)
|
|
|
7032 |
for key, value in self.__dict__.iteritems()]
|
|
|
7033 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
7034 |
|
|
|
7035 |
def __eq__(self, other):
|
|
|
7036 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
7037 |
|
|
|
7038 |
def __ne__(self, other):
|
|
|
7039 |
return not (self == other)
|
|
|
7040 |
|
|
|
7041 |
class scanForPurchaseReturn_result:
|
|
|
7042 |
"""
|
|
|
7043 |
Attributes:
|
| 10864 |
manish.sha |
7044 |
- success
|
| 6467 |
amar.kumar |
7045 |
- ex
|
|
|
7046 |
"""
|
|
|
7047 |
|
|
|
7048 |
thrift_spec = (
|
| 10864 |
manish.sha |
7049 |
(0, TType.I64, 'success', None, None, ), # 0
|
| 6467 |
amar.kumar |
7050 |
(1, TType.STRUCT, 'ex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
|
|
7051 |
)
|
|
|
7052 |
|
| 10864 |
manish.sha |
7053 |
def __init__(self, success=None, ex=None,):
|
|
|
7054 |
self.success = success
|
| 6467 |
amar.kumar |
7055 |
self.ex = ex
|
|
|
7056 |
|
|
|
7057 |
def read(self, iprot):
|
|
|
7058 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
7059 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
7060 |
return
|
|
|
7061 |
iprot.readStructBegin()
|
|
|
7062 |
while True:
|
|
|
7063 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
7064 |
if ftype == TType.STOP:
|
|
|
7065 |
break
|
| 10864 |
manish.sha |
7066 |
if fid == 0:
|
|
|
7067 |
if ftype == TType.I64:
|
|
|
7068 |
self.success = iprot.readI64();
|
|
|
7069 |
else:
|
|
|
7070 |
iprot.skip(ftype)
|
|
|
7071 |
elif fid == 1:
|
| 6467 |
amar.kumar |
7072 |
if ftype == TType.STRUCT:
|
|
|
7073 |
self.ex = WarehouseServiceException()
|
|
|
7074 |
self.ex.read(iprot)
|
|
|
7075 |
else:
|
|
|
7076 |
iprot.skip(ftype)
|
|
|
7077 |
else:
|
|
|
7078 |
iprot.skip(ftype)
|
|
|
7079 |
iprot.readFieldEnd()
|
|
|
7080 |
iprot.readStructEnd()
|
|
|
7081 |
|
|
|
7082 |
def write(self, oprot):
|
|
|
7083 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
7084 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
7085 |
return
|
|
|
7086 |
oprot.writeStructBegin('scanForPurchaseReturn_result')
|
| 10864 |
manish.sha |
7087 |
if self.success is not None:
|
|
|
7088 |
oprot.writeFieldBegin('success', TType.I64, 0)
|
|
|
7089 |
oprot.writeI64(self.success)
|
|
|
7090 |
oprot.writeFieldEnd()
|
| 6467 |
amar.kumar |
7091 |
if self.ex is not None:
|
|
|
7092 |
oprot.writeFieldBegin('ex', TType.STRUCT, 1)
|
|
|
7093 |
self.ex.write(oprot)
|
|
|
7094 |
oprot.writeFieldEnd()
|
|
|
7095 |
oprot.writeFieldStop()
|
|
|
7096 |
oprot.writeStructEnd()
|
|
|
7097 |
|
|
|
7098 |
def validate(self):
|
|
|
7099 |
return
|
|
|
7100 |
|
|
|
7101 |
|
|
|
7102 |
def __repr__(self):
|
|
|
7103 |
L = ['%s=%r' % (key, value)
|
|
|
7104 |
for key, value in self.__dict__.iteritems()]
|
|
|
7105 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
7106 |
|
|
|
7107 |
def __eq__(self, other):
|
|
|
7108 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
7109 |
|
|
|
7110 |
def __ne__(self, other):
|
|
|
7111 |
return not (self == other)
|
| 6630 |
amar.kumar |
7112 |
|
|
|
7113 |
class scanForLostItem_args:
|
|
|
7114 |
"""
|
|
|
7115 |
Attributes:
|
|
|
7116 |
- lostItems
|
|
|
7117 |
- vendorId
|
| 7718 |
amar.kumar |
7118 |
- billingWarehouseId
|
| 6630 |
amar.kumar |
7119 |
"""
|
|
|
7120 |
|
|
|
7121 |
thrift_spec = (
|
|
|
7122 |
None, # 0
|
|
|
7123 |
(1, TType.LIST, 'lostItems', (TType.STRUCT,(InventoryItem, InventoryItem.thrift_spec)), None, ), # 1
|
|
|
7124 |
(2, TType.I64, 'vendorId', None, None, ), # 2
|
| 7718 |
amar.kumar |
7125 |
(3, TType.I64, 'billingWarehouseId', None, None, ), # 3
|
| 6630 |
amar.kumar |
7126 |
)
|
|
|
7127 |
|
| 7718 |
amar.kumar |
7128 |
def __init__(self, lostItems=None, vendorId=None, billingWarehouseId=None,):
|
| 6630 |
amar.kumar |
7129 |
self.lostItems = lostItems
|
|
|
7130 |
self.vendorId = vendorId
|
| 7718 |
amar.kumar |
7131 |
self.billingWarehouseId = billingWarehouseId
|
| 6630 |
amar.kumar |
7132 |
|
|
|
7133 |
def read(self, iprot):
|
|
|
7134 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
7135 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
7136 |
return
|
|
|
7137 |
iprot.readStructBegin()
|
|
|
7138 |
while True:
|
|
|
7139 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
7140 |
if ftype == TType.STOP:
|
|
|
7141 |
break
|
|
|
7142 |
if fid == 1:
|
|
|
7143 |
if ftype == TType.LIST:
|
|
|
7144 |
self.lostItems = []
|
| 10407 |
amar.kumar |
7145 |
(_etype80, _size77) = iprot.readListBegin()
|
|
|
7146 |
for _i81 in xrange(_size77):
|
|
|
7147 |
_elem82 = InventoryItem()
|
|
|
7148 |
_elem82.read(iprot)
|
|
|
7149 |
self.lostItems.append(_elem82)
|
| 6630 |
amar.kumar |
7150 |
iprot.readListEnd()
|
|
|
7151 |
else:
|
|
|
7152 |
iprot.skip(ftype)
|
|
|
7153 |
elif fid == 2:
|
|
|
7154 |
if ftype == TType.I64:
|
|
|
7155 |
self.vendorId = iprot.readI64();
|
|
|
7156 |
else:
|
|
|
7157 |
iprot.skip(ftype)
|
| 7718 |
amar.kumar |
7158 |
elif fid == 3:
|
|
|
7159 |
if ftype == TType.I64:
|
|
|
7160 |
self.billingWarehouseId = iprot.readI64();
|
|
|
7161 |
else:
|
|
|
7162 |
iprot.skip(ftype)
|
| 6630 |
amar.kumar |
7163 |
else:
|
|
|
7164 |
iprot.skip(ftype)
|
|
|
7165 |
iprot.readFieldEnd()
|
|
|
7166 |
iprot.readStructEnd()
|
|
|
7167 |
|
|
|
7168 |
def write(self, oprot):
|
|
|
7169 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
7170 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
7171 |
return
|
|
|
7172 |
oprot.writeStructBegin('scanForLostItem_args')
|
|
|
7173 |
if self.lostItems is not None:
|
|
|
7174 |
oprot.writeFieldBegin('lostItems', TType.LIST, 1)
|
|
|
7175 |
oprot.writeListBegin(TType.STRUCT, len(self.lostItems))
|
| 10407 |
amar.kumar |
7176 |
for iter83 in self.lostItems:
|
|
|
7177 |
iter83.write(oprot)
|
| 6630 |
amar.kumar |
7178 |
oprot.writeListEnd()
|
|
|
7179 |
oprot.writeFieldEnd()
|
|
|
7180 |
if self.vendorId is not None:
|
|
|
7181 |
oprot.writeFieldBegin('vendorId', TType.I64, 2)
|
|
|
7182 |
oprot.writeI64(self.vendorId)
|
|
|
7183 |
oprot.writeFieldEnd()
|
| 7718 |
amar.kumar |
7184 |
if self.billingWarehouseId is not None:
|
|
|
7185 |
oprot.writeFieldBegin('billingWarehouseId', TType.I64, 3)
|
|
|
7186 |
oprot.writeI64(self.billingWarehouseId)
|
|
|
7187 |
oprot.writeFieldEnd()
|
| 6630 |
amar.kumar |
7188 |
oprot.writeFieldStop()
|
|
|
7189 |
oprot.writeStructEnd()
|
|
|
7190 |
|
|
|
7191 |
def validate(self):
|
|
|
7192 |
return
|
|
|
7193 |
|
|
|
7194 |
|
|
|
7195 |
def __repr__(self):
|
|
|
7196 |
L = ['%s=%r' % (key, value)
|
|
|
7197 |
for key, value in self.__dict__.iteritems()]
|
|
|
7198 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
7199 |
|
|
|
7200 |
def __eq__(self, other):
|
|
|
7201 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
7202 |
|
|
|
7203 |
def __ne__(self, other):
|
|
|
7204 |
return not (self == other)
|
|
|
7205 |
|
|
|
7206 |
class scanForLostItem_result:
|
|
|
7207 |
"""
|
|
|
7208 |
Attributes:
|
|
|
7209 |
- ex
|
|
|
7210 |
"""
|
|
|
7211 |
|
|
|
7212 |
thrift_spec = (
|
|
|
7213 |
None, # 0
|
|
|
7214 |
(1, TType.STRUCT, 'ex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
|
|
7215 |
)
|
|
|
7216 |
|
|
|
7217 |
def __init__(self, ex=None,):
|
|
|
7218 |
self.ex = ex
|
|
|
7219 |
|
|
|
7220 |
def read(self, iprot):
|
|
|
7221 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
7222 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
7223 |
return
|
|
|
7224 |
iprot.readStructBegin()
|
|
|
7225 |
while True:
|
|
|
7226 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
7227 |
if ftype == TType.STOP:
|
|
|
7228 |
break
|
|
|
7229 |
if fid == 1:
|
|
|
7230 |
if ftype == TType.STRUCT:
|
|
|
7231 |
self.ex = WarehouseServiceException()
|
|
|
7232 |
self.ex.read(iprot)
|
|
|
7233 |
else:
|
|
|
7234 |
iprot.skip(ftype)
|
|
|
7235 |
else:
|
|
|
7236 |
iprot.skip(ftype)
|
|
|
7237 |
iprot.readFieldEnd()
|
|
|
7238 |
iprot.readStructEnd()
|
|
|
7239 |
|
|
|
7240 |
def write(self, oprot):
|
|
|
7241 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
7242 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
7243 |
return
|
|
|
7244 |
oprot.writeStructBegin('scanForLostItem_result')
|
|
|
7245 |
if self.ex is not None:
|
|
|
7246 |
oprot.writeFieldBegin('ex', TType.STRUCT, 1)
|
|
|
7247 |
self.ex.write(oprot)
|
|
|
7248 |
oprot.writeFieldEnd()
|
|
|
7249 |
oprot.writeFieldStop()
|
|
|
7250 |
oprot.writeStructEnd()
|
|
|
7251 |
|
|
|
7252 |
def validate(self):
|
|
|
7253 |
return
|
|
|
7254 |
|
|
|
7255 |
|
|
|
7256 |
def __repr__(self):
|
|
|
7257 |
L = ['%s=%r' % (key, value)
|
|
|
7258 |
for key, value in self.__dict__.iteritems()]
|
|
|
7259 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
7260 |
|
|
|
7261 |
def __eq__(self, other):
|
|
|
7262 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
7263 |
|
|
|
7264 |
def __ne__(self, other):
|
|
|
7265 |
return not (self == other)
|
|
|
7266 |
|
|
|
7267 |
class getCurrentSerializedInventoryByScans_args:
|
| 7715 |
vikram.rag |
7268 |
"""
|
|
|
7269 |
Attributes:
|
|
|
7270 |
- physicalWarehouseId
|
|
|
7271 |
"""
|
| 6630 |
amar.kumar |
7272 |
|
|
|
7273 |
thrift_spec = (
|
| 7715 |
vikram.rag |
7274 |
None, # 0
|
|
|
7275 |
(1, TType.I64, 'physicalWarehouseId', None, None, ), # 1
|
| 6630 |
amar.kumar |
7276 |
)
|
|
|
7277 |
|
| 7715 |
vikram.rag |
7278 |
def __init__(self, physicalWarehouseId=None,):
|
|
|
7279 |
self.physicalWarehouseId = physicalWarehouseId
|
|
|
7280 |
|
| 6630 |
amar.kumar |
7281 |
def read(self, iprot):
|
|
|
7282 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
7283 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
7284 |
return
|
|
|
7285 |
iprot.readStructBegin()
|
|
|
7286 |
while True:
|
|
|
7287 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
7288 |
if ftype == TType.STOP:
|
|
|
7289 |
break
|
| 7715 |
vikram.rag |
7290 |
if fid == 1:
|
|
|
7291 |
if ftype == TType.I64:
|
|
|
7292 |
self.physicalWarehouseId = iprot.readI64();
|
|
|
7293 |
else:
|
|
|
7294 |
iprot.skip(ftype)
|
| 6630 |
amar.kumar |
7295 |
else:
|
|
|
7296 |
iprot.skip(ftype)
|
|
|
7297 |
iprot.readFieldEnd()
|
|
|
7298 |
iprot.readStructEnd()
|
|
|
7299 |
|
|
|
7300 |
def write(self, oprot):
|
|
|
7301 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
7302 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
7303 |
return
|
|
|
7304 |
oprot.writeStructBegin('getCurrentSerializedInventoryByScans_args')
|
| 7715 |
vikram.rag |
7305 |
if self.physicalWarehouseId is not None:
|
|
|
7306 |
oprot.writeFieldBegin('physicalWarehouseId', TType.I64, 1)
|
|
|
7307 |
oprot.writeI64(self.physicalWarehouseId)
|
|
|
7308 |
oprot.writeFieldEnd()
|
| 6630 |
amar.kumar |
7309 |
oprot.writeFieldStop()
|
|
|
7310 |
oprot.writeStructEnd()
|
|
|
7311 |
|
|
|
7312 |
def validate(self):
|
|
|
7313 |
return
|
|
|
7314 |
|
|
|
7315 |
|
|
|
7316 |
def __repr__(self):
|
|
|
7317 |
L = ['%s=%r' % (key, value)
|
|
|
7318 |
for key, value in self.__dict__.iteritems()]
|
|
|
7319 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
7320 |
|
|
|
7321 |
def __eq__(self, other):
|
|
|
7322 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
7323 |
|
|
|
7324 |
def __ne__(self, other):
|
|
|
7325 |
return not (self == other)
|
|
|
7326 |
|
|
|
7327 |
class getCurrentSerializedInventoryByScans_result:
|
|
|
7328 |
"""
|
|
|
7329 |
Attributes:
|
|
|
7330 |
- success
|
|
|
7331 |
"""
|
|
|
7332 |
|
|
|
7333 |
thrift_spec = (
|
|
|
7334 |
(0, TType.LIST, 'success', (TType.STRUCT,(InventoryAvailability, InventoryAvailability.thrift_spec)), None, ), # 0
|
|
|
7335 |
)
|
|
|
7336 |
|
|
|
7337 |
def __init__(self, success=None,):
|
|
|
7338 |
self.success = success
|
|
|
7339 |
|
|
|
7340 |
def read(self, iprot):
|
|
|
7341 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
7342 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
7343 |
return
|
|
|
7344 |
iprot.readStructBegin()
|
|
|
7345 |
while True:
|
|
|
7346 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
7347 |
if ftype == TType.STOP:
|
|
|
7348 |
break
|
|
|
7349 |
if fid == 0:
|
|
|
7350 |
if ftype == TType.LIST:
|
|
|
7351 |
self.success = []
|
| 10407 |
amar.kumar |
7352 |
(_etype87, _size84) = iprot.readListBegin()
|
|
|
7353 |
for _i88 in xrange(_size84):
|
|
|
7354 |
_elem89 = InventoryAvailability()
|
|
|
7355 |
_elem89.read(iprot)
|
|
|
7356 |
self.success.append(_elem89)
|
| 6630 |
amar.kumar |
7357 |
iprot.readListEnd()
|
|
|
7358 |
else:
|
|
|
7359 |
iprot.skip(ftype)
|
|
|
7360 |
else:
|
|
|
7361 |
iprot.skip(ftype)
|
|
|
7362 |
iprot.readFieldEnd()
|
|
|
7363 |
iprot.readStructEnd()
|
|
|
7364 |
|
|
|
7365 |
def write(self, oprot):
|
|
|
7366 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
7367 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
7368 |
return
|
|
|
7369 |
oprot.writeStructBegin('getCurrentSerializedInventoryByScans_result')
|
|
|
7370 |
if self.success is not None:
|
|
|
7371 |
oprot.writeFieldBegin('success', TType.LIST, 0)
|
|
|
7372 |
oprot.writeListBegin(TType.STRUCT, len(self.success))
|
| 10407 |
amar.kumar |
7373 |
for iter90 in self.success:
|
|
|
7374 |
iter90.write(oprot)
|
| 6630 |
amar.kumar |
7375 |
oprot.writeListEnd()
|
|
|
7376 |
oprot.writeFieldEnd()
|
|
|
7377 |
oprot.writeFieldStop()
|
|
|
7378 |
oprot.writeStructEnd()
|
|
|
7379 |
|
|
|
7380 |
def validate(self):
|
|
|
7381 |
return
|
|
|
7382 |
|
|
|
7383 |
|
|
|
7384 |
def __repr__(self):
|
|
|
7385 |
L = ['%s=%r' % (key, value)
|
|
|
7386 |
for key, value in self.__dict__.iteritems()]
|
|
|
7387 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
7388 |
|
|
|
7389 |
def __eq__(self, other):
|
|
|
7390 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
7391 |
|
|
|
7392 |
def __ne__(self, other):
|
|
|
7393 |
return not (self == other)
|
|
|
7394 |
|
|
|
7395 |
class getCurrentNonSerializedInventoryByScans_args:
|
| 7715 |
vikram.rag |
7396 |
"""
|
|
|
7397 |
Attributes:
|
|
|
7398 |
- physicalWarehouseId
|
|
|
7399 |
"""
|
| 6630 |
amar.kumar |
7400 |
|
|
|
7401 |
thrift_spec = (
|
| 7715 |
vikram.rag |
7402 |
None, # 0
|
|
|
7403 |
(1, TType.I64, 'physicalWarehouseId', None, None, ), # 1
|
| 6630 |
amar.kumar |
7404 |
)
|
|
|
7405 |
|
| 7715 |
vikram.rag |
7406 |
def __init__(self, physicalWarehouseId=None,):
|
|
|
7407 |
self.physicalWarehouseId = physicalWarehouseId
|
|
|
7408 |
|
| 6630 |
amar.kumar |
7409 |
def read(self, iprot):
|
|
|
7410 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
7411 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
7412 |
return
|
|
|
7413 |
iprot.readStructBegin()
|
|
|
7414 |
while True:
|
|
|
7415 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
7416 |
if ftype == TType.STOP:
|
|
|
7417 |
break
|
| 7715 |
vikram.rag |
7418 |
if fid == 1:
|
|
|
7419 |
if ftype == TType.I64:
|
|
|
7420 |
self.physicalWarehouseId = iprot.readI64();
|
|
|
7421 |
else:
|
|
|
7422 |
iprot.skip(ftype)
|
| 6630 |
amar.kumar |
7423 |
else:
|
|
|
7424 |
iprot.skip(ftype)
|
|
|
7425 |
iprot.readFieldEnd()
|
|
|
7426 |
iprot.readStructEnd()
|
|
|
7427 |
|
|
|
7428 |
def write(self, oprot):
|
|
|
7429 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
7430 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
7431 |
return
|
|
|
7432 |
oprot.writeStructBegin('getCurrentNonSerializedInventoryByScans_args')
|
| 7715 |
vikram.rag |
7433 |
if self.physicalWarehouseId is not None:
|
|
|
7434 |
oprot.writeFieldBegin('physicalWarehouseId', TType.I64, 1)
|
|
|
7435 |
oprot.writeI64(self.physicalWarehouseId)
|
|
|
7436 |
oprot.writeFieldEnd()
|
| 6630 |
amar.kumar |
7437 |
oprot.writeFieldStop()
|
|
|
7438 |
oprot.writeStructEnd()
|
|
|
7439 |
|
|
|
7440 |
def validate(self):
|
|
|
7441 |
return
|
|
|
7442 |
|
|
|
7443 |
|
|
|
7444 |
def __repr__(self):
|
|
|
7445 |
L = ['%s=%r' % (key, value)
|
|
|
7446 |
for key, value in self.__dict__.iteritems()]
|
|
|
7447 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
7448 |
|
|
|
7449 |
def __eq__(self, other):
|
|
|
7450 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
7451 |
|
|
|
7452 |
def __ne__(self, other):
|
|
|
7453 |
return not (self == other)
|
|
|
7454 |
|
|
|
7455 |
class getCurrentNonSerializedInventoryByScans_result:
|
|
|
7456 |
"""
|
|
|
7457 |
Attributes:
|
|
|
7458 |
- success
|
|
|
7459 |
"""
|
|
|
7460 |
|
|
|
7461 |
thrift_spec = (
|
|
|
7462 |
(0, TType.LIST, 'success', (TType.STRUCT,(InventoryAvailability, InventoryAvailability.thrift_spec)), None, ), # 0
|
|
|
7463 |
)
|
|
|
7464 |
|
|
|
7465 |
def __init__(self, success=None,):
|
|
|
7466 |
self.success = success
|
|
|
7467 |
|
|
|
7468 |
def read(self, iprot):
|
|
|
7469 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
7470 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
7471 |
return
|
|
|
7472 |
iprot.readStructBegin()
|
|
|
7473 |
while True:
|
|
|
7474 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
7475 |
if ftype == TType.STOP:
|
|
|
7476 |
break
|
|
|
7477 |
if fid == 0:
|
|
|
7478 |
if ftype == TType.LIST:
|
|
|
7479 |
self.success = []
|
| 10407 |
amar.kumar |
7480 |
(_etype94, _size91) = iprot.readListBegin()
|
|
|
7481 |
for _i95 in xrange(_size91):
|
|
|
7482 |
_elem96 = InventoryAvailability()
|
|
|
7483 |
_elem96.read(iprot)
|
|
|
7484 |
self.success.append(_elem96)
|
| 6630 |
amar.kumar |
7485 |
iprot.readListEnd()
|
|
|
7486 |
else:
|
|
|
7487 |
iprot.skip(ftype)
|
|
|
7488 |
else:
|
|
|
7489 |
iprot.skip(ftype)
|
|
|
7490 |
iprot.readFieldEnd()
|
|
|
7491 |
iprot.readStructEnd()
|
|
|
7492 |
|
|
|
7493 |
def write(self, oprot):
|
|
|
7494 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
7495 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
7496 |
return
|
|
|
7497 |
oprot.writeStructBegin('getCurrentNonSerializedInventoryByScans_result')
|
|
|
7498 |
if self.success is not None:
|
|
|
7499 |
oprot.writeFieldBegin('success', TType.LIST, 0)
|
|
|
7500 |
oprot.writeListBegin(TType.STRUCT, len(self.success))
|
| 10407 |
amar.kumar |
7501 |
for iter97 in self.success:
|
|
|
7502 |
iter97.write(oprot)
|
| 6630 |
amar.kumar |
7503 |
oprot.writeListEnd()
|
|
|
7504 |
oprot.writeFieldEnd()
|
|
|
7505 |
oprot.writeFieldStop()
|
|
|
7506 |
oprot.writeStructEnd()
|
|
|
7507 |
|
|
|
7508 |
def validate(self):
|
|
|
7509 |
return
|
|
|
7510 |
|
|
|
7511 |
|
|
|
7512 |
def __repr__(self):
|
|
|
7513 |
L = ['%s=%r' % (key, value)
|
|
|
7514 |
for key, value in self.__dict__.iteritems()]
|
|
|
7515 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
7516 |
|
|
|
7517 |
def __eq__(self, other):
|
|
|
7518 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
7519 |
|
|
|
7520 |
def __ne__(self, other):
|
|
|
7521 |
return not (self == other)
|
| 6762 |
amar.kumar |
7522 |
|
|
|
7523 |
class getHistoricSerializedInventoryByScans_args:
|
|
|
7524 |
"""
|
|
|
7525 |
Attributes:
|
|
|
7526 |
- date
|
|
|
7527 |
"""
|
|
|
7528 |
|
|
|
7529 |
thrift_spec = (
|
|
|
7530 |
None, # 0
|
|
|
7531 |
(1, TType.I64, 'date', None, None, ), # 1
|
|
|
7532 |
)
|
|
|
7533 |
|
|
|
7534 |
def __init__(self, date=None,):
|
|
|
7535 |
self.date = date
|
|
|
7536 |
|
|
|
7537 |
def read(self, iprot):
|
|
|
7538 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
7539 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
7540 |
return
|
|
|
7541 |
iprot.readStructBegin()
|
|
|
7542 |
while True:
|
|
|
7543 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
7544 |
if ftype == TType.STOP:
|
|
|
7545 |
break
|
|
|
7546 |
if fid == 1:
|
|
|
7547 |
if ftype == TType.I64:
|
|
|
7548 |
self.date = iprot.readI64();
|
|
|
7549 |
else:
|
|
|
7550 |
iprot.skip(ftype)
|
|
|
7551 |
else:
|
|
|
7552 |
iprot.skip(ftype)
|
|
|
7553 |
iprot.readFieldEnd()
|
|
|
7554 |
iprot.readStructEnd()
|
|
|
7555 |
|
|
|
7556 |
def write(self, oprot):
|
|
|
7557 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
7558 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
7559 |
return
|
|
|
7560 |
oprot.writeStructBegin('getHistoricSerializedInventoryByScans_args')
|
|
|
7561 |
if self.date is not None:
|
|
|
7562 |
oprot.writeFieldBegin('date', TType.I64, 1)
|
|
|
7563 |
oprot.writeI64(self.date)
|
|
|
7564 |
oprot.writeFieldEnd()
|
|
|
7565 |
oprot.writeFieldStop()
|
|
|
7566 |
oprot.writeStructEnd()
|
|
|
7567 |
|
|
|
7568 |
def validate(self):
|
|
|
7569 |
return
|
|
|
7570 |
|
|
|
7571 |
|
|
|
7572 |
def __repr__(self):
|
|
|
7573 |
L = ['%s=%r' % (key, value)
|
|
|
7574 |
for key, value in self.__dict__.iteritems()]
|
|
|
7575 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
7576 |
|
|
|
7577 |
def __eq__(self, other):
|
|
|
7578 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
7579 |
|
|
|
7580 |
def __ne__(self, other):
|
|
|
7581 |
return not (self == other)
|
|
|
7582 |
|
|
|
7583 |
class getHistoricSerializedInventoryByScans_result:
|
|
|
7584 |
"""
|
|
|
7585 |
Attributes:
|
|
|
7586 |
- success
|
|
|
7587 |
"""
|
|
|
7588 |
|
|
|
7589 |
thrift_spec = (
|
|
|
7590 |
(0, TType.LIST, 'success', (TType.STRUCT,(InventoryAvailability, InventoryAvailability.thrift_spec)), None, ), # 0
|
|
|
7591 |
)
|
|
|
7592 |
|
|
|
7593 |
def __init__(self, success=None,):
|
|
|
7594 |
self.success = success
|
|
|
7595 |
|
|
|
7596 |
def read(self, iprot):
|
|
|
7597 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
7598 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
7599 |
return
|
|
|
7600 |
iprot.readStructBegin()
|
|
|
7601 |
while True:
|
|
|
7602 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
7603 |
if ftype == TType.STOP:
|
|
|
7604 |
break
|
|
|
7605 |
if fid == 0:
|
|
|
7606 |
if ftype == TType.LIST:
|
|
|
7607 |
self.success = []
|
| 10407 |
amar.kumar |
7608 |
(_etype101, _size98) = iprot.readListBegin()
|
|
|
7609 |
for _i102 in xrange(_size98):
|
|
|
7610 |
_elem103 = InventoryAvailability()
|
|
|
7611 |
_elem103.read(iprot)
|
|
|
7612 |
self.success.append(_elem103)
|
| 6762 |
amar.kumar |
7613 |
iprot.readListEnd()
|
|
|
7614 |
else:
|
|
|
7615 |
iprot.skip(ftype)
|
|
|
7616 |
else:
|
|
|
7617 |
iprot.skip(ftype)
|
|
|
7618 |
iprot.readFieldEnd()
|
|
|
7619 |
iprot.readStructEnd()
|
|
|
7620 |
|
|
|
7621 |
def write(self, oprot):
|
|
|
7622 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
7623 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
7624 |
return
|
|
|
7625 |
oprot.writeStructBegin('getHistoricSerializedInventoryByScans_result')
|
|
|
7626 |
if self.success is not None:
|
|
|
7627 |
oprot.writeFieldBegin('success', TType.LIST, 0)
|
|
|
7628 |
oprot.writeListBegin(TType.STRUCT, len(self.success))
|
| 10407 |
amar.kumar |
7629 |
for iter104 in self.success:
|
|
|
7630 |
iter104.write(oprot)
|
| 6762 |
amar.kumar |
7631 |
oprot.writeListEnd()
|
|
|
7632 |
oprot.writeFieldEnd()
|
|
|
7633 |
oprot.writeFieldStop()
|
|
|
7634 |
oprot.writeStructEnd()
|
|
|
7635 |
|
|
|
7636 |
def validate(self):
|
|
|
7637 |
return
|
|
|
7638 |
|
|
|
7639 |
|
|
|
7640 |
def __repr__(self):
|
|
|
7641 |
L = ['%s=%r' % (key, value)
|
|
|
7642 |
for key, value in self.__dict__.iteritems()]
|
|
|
7643 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
7644 |
|
|
|
7645 |
def __eq__(self, other):
|
|
|
7646 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
7647 |
|
|
|
7648 |
def __ne__(self, other):
|
|
|
7649 |
return not (self == other)
|
|
|
7650 |
|
|
|
7651 |
class getHistoricNonSerializedInventoryByScans_args:
|
|
|
7652 |
"""
|
|
|
7653 |
Attributes:
|
|
|
7654 |
- date
|
|
|
7655 |
"""
|
|
|
7656 |
|
|
|
7657 |
thrift_spec = (
|
|
|
7658 |
None, # 0
|
|
|
7659 |
(1, TType.I64, 'date', None, None, ), # 1
|
|
|
7660 |
)
|
|
|
7661 |
|
|
|
7662 |
def __init__(self, date=None,):
|
|
|
7663 |
self.date = date
|
|
|
7664 |
|
|
|
7665 |
def read(self, iprot):
|
|
|
7666 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
7667 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
7668 |
return
|
|
|
7669 |
iprot.readStructBegin()
|
|
|
7670 |
while True:
|
|
|
7671 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
7672 |
if ftype == TType.STOP:
|
|
|
7673 |
break
|
|
|
7674 |
if fid == 1:
|
|
|
7675 |
if ftype == TType.I64:
|
|
|
7676 |
self.date = iprot.readI64();
|
|
|
7677 |
else:
|
|
|
7678 |
iprot.skip(ftype)
|
|
|
7679 |
else:
|
|
|
7680 |
iprot.skip(ftype)
|
|
|
7681 |
iprot.readFieldEnd()
|
|
|
7682 |
iprot.readStructEnd()
|
|
|
7683 |
|
|
|
7684 |
def write(self, oprot):
|
|
|
7685 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
7686 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
7687 |
return
|
|
|
7688 |
oprot.writeStructBegin('getHistoricNonSerializedInventoryByScans_args')
|
|
|
7689 |
if self.date is not None:
|
|
|
7690 |
oprot.writeFieldBegin('date', TType.I64, 1)
|
|
|
7691 |
oprot.writeI64(self.date)
|
|
|
7692 |
oprot.writeFieldEnd()
|
|
|
7693 |
oprot.writeFieldStop()
|
|
|
7694 |
oprot.writeStructEnd()
|
|
|
7695 |
|
|
|
7696 |
def validate(self):
|
|
|
7697 |
return
|
|
|
7698 |
|
|
|
7699 |
|
|
|
7700 |
def __repr__(self):
|
|
|
7701 |
L = ['%s=%r' % (key, value)
|
|
|
7702 |
for key, value in self.__dict__.iteritems()]
|
|
|
7703 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
7704 |
|
|
|
7705 |
def __eq__(self, other):
|
|
|
7706 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
7707 |
|
|
|
7708 |
def __ne__(self, other):
|
|
|
7709 |
return not (self == other)
|
|
|
7710 |
|
|
|
7711 |
class getHistoricNonSerializedInventoryByScans_result:
|
|
|
7712 |
"""
|
|
|
7713 |
Attributes:
|
|
|
7714 |
- success
|
|
|
7715 |
"""
|
|
|
7716 |
|
|
|
7717 |
thrift_spec = (
|
|
|
7718 |
(0, TType.LIST, 'success', (TType.STRUCT,(InventoryAvailability, InventoryAvailability.thrift_spec)), None, ), # 0
|
|
|
7719 |
)
|
|
|
7720 |
|
|
|
7721 |
def __init__(self, success=None,):
|
|
|
7722 |
self.success = success
|
|
|
7723 |
|
|
|
7724 |
def read(self, iprot):
|
|
|
7725 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
7726 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
7727 |
return
|
|
|
7728 |
iprot.readStructBegin()
|
|
|
7729 |
while True:
|
|
|
7730 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
7731 |
if ftype == TType.STOP:
|
|
|
7732 |
break
|
|
|
7733 |
if fid == 0:
|
|
|
7734 |
if ftype == TType.LIST:
|
|
|
7735 |
self.success = []
|
| 10407 |
amar.kumar |
7736 |
(_etype108, _size105) = iprot.readListBegin()
|
|
|
7737 |
for _i109 in xrange(_size105):
|
|
|
7738 |
_elem110 = InventoryAvailability()
|
|
|
7739 |
_elem110.read(iprot)
|
|
|
7740 |
self.success.append(_elem110)
|
| 6762 |
amar.kumar |
7741 |
iprot.readListEnd()
|
|
|
7742 |
else:
|
|
|
7743 |
iprot.skip(ftype)
|
|
|
7744 |
else:
|
|
|
7745 |
iprot.skip(ftype)
|
|
|
7746 |
iprot.readFieldEnd()
|
|
|
7747 |
iprot.readStructEnd()
|
|
|
7748 |
|
|
|
7749 |
def write(self, oprot):
|
|
|
7750 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
7751 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
7752 |
return
|
|
|
7753 |
oprot.writeStructBegin('getHistoricNonSerializedInventoryByScans_result')
|
|
|
7754 |
if self.success is not None:
|
|
|
7755 |
oprot.writeFieldBegin('success', TType.LIST, 0)
|
|
|
7756 |
oprot.writeListBegin(TType.STRUCT, len(self.success))
|
| 10407 |
amar.kumar |
7757 |
for iter111 in self.success:
|
|
|
7758 |
iter111.write(oprot)
|
| 6762 |
amar.kumar |
7759 |
oprot.writeListEnd()
|
|
|
7760 |
oprot.writeFieldEnd()
|
|
|
7761 |
oprot.writeFieldStop()
|
|
|
7762 |
oprot.writeStructEnd()
|
|
|
7763 |
|
|
|
7764 |
def validate(self):
|
|
|
7765 |
return
|
|
|
7766 |
|
|
|
7767 |
|
|
|
7768 |
def __repr__(self):
|
|
|
7769 |
L = ['%s=%r' % (key, value)
|
|
|
7770 |
for key, value in self.__dict__.iteritems()]
|
|
|
7771 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
7772 |
|
|
|
7773 |
def __eq__(self, other):
|
|
|
7774 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
7775 |
|
|
|
7776 |
def __ne__(self, other):
|
|
|
7777 |
return not (self == other)
|
|
|
7778 |
|
| 10407 |
amar.kumar |
7779 |
class getOurHistoricSerializedInventoryByScans_args:
|
|
|
7780 |
"""
|
|
|
7781 |
Attributes:
|
|
|
7782 |
- date
|
|
|
7783 |
"""
|
|
|
7784 |
|
|
|
7785 |
thrift_spec = (
|
|
|
7786 |
None, # 0
|
|
|
7787 |
(1, TType.I64, 'date', None, None, ), # 1
|
|
|
7788 |
)
|
|
|
7789 |
|
|
|
7790 |
def __init__(self, date=None,):
|
|
|
7791 |
self.date = date
|
|
|
7792 |
|
|
|
7793 |
def read(self, iprot):
|
|
|
7794 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
7795 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
7796 |
return
|
|
|
7797 |
iprot.readStructBegin()
|
|
|
7798 |
while True:
|
|
|
7799 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
7800 |
if ftype == TType.STOP:
|
|
|
7801 |
break
|
|
|
7802 |
if fid == 1:
|
|
|
7803 |
if ftype == TType.I64:
|
|
|
7804 |
self.date = iprot.readI64();
|
|
|
7805 |
else:
|
|
|
7806 |
iprot.skip(ftype)
|
|
|
7807 |
else:
|
|
|
7808 |
iprot.skip(ftype)
|
|
|
7809 |
iprot.readFieldEnd()
|
|
|
7810 |
iprot.readStructEnd()
|
|
|
7811 |
|
|
|
7812 |
def write(self, oprot):
|
|
|
7813 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
7814 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
7815 |
return
|
|
|
7816 |
oprot.writeStructBegin('getOurHistoricSerializedInventoryByScans_args')
|
|
|
7817 |
if self.date is not None:
|
|
|
7818 |
oprot.writeFieldBegin('date', TType.I64, 1)
|
|
|
7819 |
oprot.writeI64(self.date)
|
|
|
7820 |
oprot.writeFieldEnd()
|
|
|
7821 |
oprot.writeFieldStop()
|
|
|
7822 |
oprot.writeStructEnd()
|
|
|
7823 |
|
|
|
7824 |
def validate(self):
|
|
|
7825 |
return
|
|
|
7826 |
|
|
|
7827 |
|
|
|
7828 |
def __repr__(self):
|
|
|
7829 |
L = ['%s=%r' % (key, value)
|
|
|
7830 |
for key, value in self.__dict__.iteritems()]
|
|
|
7831 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
7832 |
|
|
|
7833 |
def __eq__(self, other):
|
|
|
7834 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
7835 |
|
|
|
7836 |
def __ne__(self, other):
|
|
|
7837 |
return not (self == other)
|
|
|
7838 |
|
|
|
7839 |
class getOurHistoricSerializedInventoryByScans_result:
|
|
|
7840 |
"""
|
|
|
7841 |
Attributes:
|
|
|
7842 |
- success
|
|
|
7843 |
"""
|
|
|
7844 |
|
|
|
7845 |
thrift_spec = (
|
|
|
7846 |
(0, TType.LIST, 'success', (TType.STRUCT,(InventoryAvailability, InventoryAvailability.thrift_spec)), None, ), # 0
|
|
|
7847 |
)
|
|
|
7848 |
|
|
|
7849 |
def __init__(self, success=None,):
|
|
|
7850 |
self.success = success
|
|
|
7851 |
|
|
|
7852 |
def read(self, iprot):
|
|
|
7853 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
7854 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
7855 |
return
|
|
|
7856 |
iprot.readStructBegin()
|
|
|
7857 |
while True:
|
|
|
7858 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
7859 |
if ftype == TType.STOP:
|
|
|
7860 |
break
|
|
|
7861 |
if fid == 0:
|
|
|
7862 |
if ftype == TType.LIST:
|
|
|
7863 |
self.success = []
|
|
|
7864 |
(_etype115, _size112) = iprot.readListBegin()
|
|
|
7865 |
for _i116 in xrange(_size112):
|
|
|
7866 |
_elem117 = InventoryAvailability()
|
|
|
7867 |
_elem117.read(iprot)
|
|
|
7868 |
self.success.append(_elem117)
|
|
|
7869 |
iprot.readListEnd()
|
|
|
7870 |
else:
|
|
|
7871 |
iprot.skip(ftype)
|
|
|
7872 |
else:
|
|
|
7873 |
iprot.skip(ftype)
|
|
|
7874 |
iprot.readFieldEnd()
|
|
|
7875 |
iprot.readStructEnd()
|
|
|
7876 |
|
|
|
7877 |
def write(self, oprot):
|
|
|
7878 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
7879 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
7880 |
return
|
|
|
7881 |
oprot.writeStructBegin('getOurHistoricSerializedInventoryByScans_result')
|
|
|
7882 |
if self.success is not None:
|
|
|
7883 |
oprot.writeFieldBegin('success', TType.LIST, 0)
|
|
|
7884 |
oprot.writeListBegin(TType.STRUCT, len(self.success))
|
|
|
7885 |
for iter118 in self.success:
|
|
|
7886 |
iter118.write(oprot)
|
|
|
7887 |
oprot.writeListEnd()
|
|
|
7888 |
oprot.writeFieldEnd()
|
|
|
7889 |
oprot.writeFieldStop()
|
|
|
7890 |
oprot.writeStructEnd()
|
|
|
7891 |
|
|
|
7892 |
def validate(self):
|
|
|
7893 |
return
|
|
|
7894 |
|
|
|
7895 |
|
|
|
7896 |
def __repr__(self):
|
|
|
7897 |
L = ['%s=%r' % (key, value)
|
|
|
7898 |
for key, value in self.__dict__.iteritems()]
|
|
|
7899 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
7900 |
|
|
|
7901 |
def __eq__(self, other):
|
|
|
7902 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
7903 |
|
|
|
7904 |
def __ne__(self, other):
|
|
|
7905 |
return not (self == other)
|
|
|
7906 |
|
|
|
7907 |
class getOurHistoricNonSerializedInventoryByScans_args:
|
|
|
7908 |
"""
|
|
|
7909 |
Attributes:
|
|
|
7910 |
- date
|
|
|
7911 |
"""
|
|
|
7912 |
|
|
|
7913 |
thrift_spec = (
|
|
|
7914 |
None, # 0
|
|
|
7915 |
(1, TType.I64, 'date', None, None, ), # 1
|
|
|
7916 |
)
|
|
|
7917 |
|
|
|
7918 |
def __init__(self, date=None,):
|
|
|
7919 |
self.date = date
|
|
|
7920 |
|
|
|
7921 |
def read(self, iprot):
|
|
|
7922 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
7923 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
7924 |
return
|
|
|
7925 |
iprot.readStructBegin()
|
|
|
7926 |
while True:
|
|
|
7927 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
7928 |
if ftype == TType.STOP:
|
|
|
7929 |
break
|
|
|
7930 |
if fid == 1:
|
|
|
7931 |
if ftype == TType.I64:
|
|
|
7932 |
self.date = iprot.readI64();
|
|
|
7933 |
else:
|
|
|
7934 |
iprot.skip(ftype)
|
|
|
7935 |
else:
|
|
|
7936 |
iprot.skip(ftype)
|
|
|
7937 |
iprot.readFieldEnd()
|
|
|
7938 |
iprot.readStructEnd()
|
|
|
7939 |
|
|
|
7940 |
def write(self, oprot):
|
|
|
7941 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
7942 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
7943 |
return
|
|
|
7944 |
oprot.writeStructBegin('getOurHistoricNonSerializedInventoryByScans_args')
|
|
|
7945 |
if self.date is not None:
|
|
|
7946 |
oprot.writeFieldBegin('date', TType.I64, 1)
|
|
|
7947 |
oprot.writeI64(self.date)
|
|
|
7948 |
oprot.writeFieldEnd()
|
|
|
7949 |
oprot.writeFieldStop()
|
|
|
7950 |
oprot.writeStructEnd()
|
|
|
7951 |
|
|
|
7952 |
def validate(self):
|
|
|
7953 |
return
|
|
|
7954 |
|
|
|
7955 |
|
|
|
7956 |
def __repr__(self):
|
|
|
7957 |
L = ['%s=%r' % (key, value)
|
|
|
7958 |
for key, value in self.__dict__.iteritems()]
|
|
|
7959 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
7960 |
|
|
|
7961 |
def __eq__(self, other):
|
|
|
7962 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
7963 |
|
|
|
7964 |
def __ne__(self, other):
|
|
|
7965 |
return not (self == other)
|
|
|
7966 |
|
|
|
7967 |
class getOurHistoricNonSerializedInventoryByScans_result:
|
|
|
7968 |
"""
|
|
|
7969 |
Attributes:
|
|
|
7970 |
- success
|
|
|
7971 |
"""
|
|
|
7972 |
|
|
|
7973 |
thrift_spec = (
|
|
|
7974 |
(0, TType.LIST, 'success', (TType.STRUCT,(InventoryAvailability, InventoryAvailability.thrift_spec)), None, ), # 0
|
|
|
7975 |
)
|
|
|
7976 |
|
|
|
7977 |
def __init__(self, success=None,):
|
|
|
7978 |
self.success = success
|
|
|
7979 |
|
|
|
7980 |
def read(self, iprot):
|
|
|
7981 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
7982 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
7983 |
return
|
|
|
7984 |
iprot.readStructBegin()
|
|
|
7985 |
while True:
|
|
|
7986 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
7987 |
if ftype == TType.STOP:
|
|
|
7988 |
break
|
|
|
7989 |
if fid == 0:
|
|
|
7990 |
if ftype == TType.LIST:
|
|
|
7991 |
self.success = []
|
|
|
7992 |
(_etype122, _size119) = iprot.readListBegin()
|
|
|
7993 |
for _i123 in xrange(_size119):
|
|
|
7994 |
_elem124 = InventoryAvailability()
|
|
|
7995 |
_elem124.read(iprot)
|
|
|
7996 |
self.success.append(_elem124)
|
|
|
7997 |
iprot.readListEnd()
|
|
|
7998 |
else:
|
|
|
7999 |
iprot.skip(ftype)
|
|
|
8000 |
else:
|
|
|
8001 |
iprot.skip(ftype)
|
|
|
8002 |
iprot.readFieldEnd()
|
|
|
8003 |
iprot.readStructEnd()
|
|
|
8004 |
|
|
|
8005 |
def write(self, oprot):
|
|
|
8006 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
8007 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
8008 |
return
|
|
|
8009 |
oprot.writeStructBegin('getOurHistoricNonSerializedInventoryByScans_result')
|
|
|
8010 |
if self.success is not None:
|
|
|
8011 |
oprot.writeFieldBegin('success', TType.LIST, 0)
|
|
|
8012 |
oprot.writeListBegin(TType.STRUCT, len(self.success))
|
|
|
8013 |
for iter125 in self.success:
|
|
|
8014 |
iter125.write(oprot)
|
|
|
8015 |
oprot.writeListEnd()
|
|
|
8016 |
oprot.writeFieldEnd()
|
|
|
8017 |
oprot.writeFieldStop()
|
|
|
8018 |
oprot.writeStructEnd()
|
|
|
8019 |
|
|
|
8020 |
def validate(self):
|
|
|
8021 |
return
|
|
|
8022 |
|
|
|
8023 |
|
|
|
8024 |
def __repr__(self):
|
|
|
8025 |
L = ['%s=%r' % (key, value)
|
|
|
8026 |
for key, value in self.__dict__.iteritems()]
|
|
|
8027 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
8028 |
|
|
|
8029 |
def __eq__(self, other):
|
|
|
8030 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
8031 |
|
|
|
8032 |
def __ne__(self, other):
|
|
|
8033 |
return not (self == other)
|
|
|
8034 |
|
| 6762 |
amar.kumar |
8035 |
class scanForOursExternalSale_args:
|
|
|
8036 |
"""
|
|
|
8037 |
Attributes:
|
|
|
8038 |
- itemId
|
|
|
8039 |
- serialNumber
|
|
|
8040 |
- itemNumber
|
|
|
8041 |
- invoiceNumber
|
|
|
8042 |
- warehouseId
|
|
|
8043 |
- unitPrice
|
| 7672 |
rajveer |
8044 |
- nlc
|
| 6762 |
amar.kumar |
8045 |
- orderId
|
|
|
8046 |
"""
|
|
|
8047 |
|
|
|
8048 |
thrift_spec = (
|
|
|
8049 |
None, # 0
|
|
|
8050 |
(1, TType.I64, 'itemId', None, None, ), # 1
|
|
|
8051 |
(2, TType.STRING, 'serialNumber', None, None, ), # 2
|
|
|
8052 |
(3, TType.STRING, 'itemNumber', None, None, ), # 3
|
|
|
8053 |
(4, TType.STRING, 'invoiceNumber', None, None, ), # 4
|
|
|
8054 |
(5, TType.I64, 'warehouseId', None, None, ), # 5
|
|
|
8055 |
(6, TType.DOUBLE, 'unitPrice', None, None, ), # 6
|
| 7672 |
rajveer |
8056 |
(7, TType.DOUBLE, 'nlc', None, None, ), # 7
|
|
|
8057 |
(8, TType.I64, 'orderId', None, None, ), # 8
|
| 6762 |
amar.kumar |
8058 |
)
|
|
|
8059 |
|
| 7672 |
rajveer |
8060 |
def __init__(self, itemId=None, serialNumber=None, itemNumber=None, invoiceNumber=None, warehouseId=None, unitPrice=None, nlc=None, orderId=None,):
|
| 6762 |
amar.kumar |
8061 |
self.itemId = itemId
|
|
|
8062 |
self.serialNumber = serialNumber
|
|
|
8063 |
self.itemNumber = itemNumber
|
|
|
8064 |
self.invoiceNumber = invoiceNumber
|
|
|
8065 |
self.warehouseId = warehouseId
|
|
|
8066 |
self.unitPrice = unitPrice
|
| 7672 |
rajveer |
8067 |
self.nlc = nlc
|
| 6762 |
amar.kumar |
8068 |
self.orderId = orderId
|
|
|
8069 |
|
|
|
8070 |
def read(self, iprot):
|
|
|
8071 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
8072 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
8073 |
return
|
|
|
8074 |
iprot.readStructBegin()
|
|
|
8075 |
while True:
|
|
|
8076 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
8077 |
if ftype == TType.STOP:
|
|
|
8078 |
break
|
|
|
8079 |
if fid == 1:
|
|
|
8080 |
if ftype == TType.I64:
|
|
|
8081 |
self.itemId = iprot.readI64();
|
|
|
8082 |
else:
|
|
|
8083 |
iprot.skip(ftype)
|
|
|
8084 |
elif fid == 2:
|
|
|
8085 |
if ftype == TType.STRING:
|
|
|
8086 |
self.serialNumber = iprot.readString();
|
|
|
8087 |
else:
|
|
|
8088 |
iprot.skip(ftype)
|
|
|
8089 |
elif fid == 3:
|
|
|
8090 |
if ftype == TType.STRING:
|
|
|
8091 |
self.itemNumber = iprot.readString();
|
|
|
8092 |
else:
|
|
|
8093 |
iprot.skip(ftype)
|
|
|
8094 |
elif fid == 4:
|
|
|
8095 |
if ftype == TType.STRING:
|
|
|
8096 |
self.invoiceNumber = iprot.readString();
|
|
|
8097 |
else:
|
|
|
8098 |
iprot.skip(ftype)
|
|
|
8099 |
elif fid == 5:
|
|
|
8100 |
if ftype == TType.I64:
|
|
|
8101 |
self.warehouseId = iprot.readI64();
|
|
|
8102 |
else:
|
|
|
8103 |
iprot.skip(ftype)
|
|
|
8104 |
elif fid == 6:
|
|
|
8105 |
if ftype == TType.DOUBLE:
|
|
|
8106 |
self.unitPrice = iprot.readDouble();
|
|
|
8107 |
else:
|
|
|
8108 |
iprot.skip(ftype)
|
|
|
8109 |
elif fid == 7:
|
| 7672 |
rajveer |
8110 |
if ftype == TType.DOUBLE:
|
|
|
8111 |
self.nlc = iprot.readDouble();
|
|
|
8112 |
else:
|
|
|
8113 |
iprot.skip(ftype)
|
|
|
8114 |
elif fid == 8:
|
| 6762 |
amar.kumar |
8115 |
if ftype == TType.I64:
|
|
|
8116 |
self.orderId = iprot.readI64();
|
|
|
8117 |
else:
|
|
|
8118 |
iprot.skip(ftype)
|
|
|
8119 |
else:
|
|
|
8120 |
iprot.skip(ftype)
|
|
|
8121 |
iprot.readFieldEnd()
|
|
|
8122 |
iprot.readStructEnd()
|
|
|
8123 |
|
|
|
8124 |
def write(self, oprot):
|
|
|
8125 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
8126 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
8127 |
return
|
|
|
8128 |
oprot.writeStructBegin('scanForOursExternalSale_args')
|
|
|
8129 |
if self.itemId is not None:
|
|
|
8130 |
oprot.writeFieldBegin('itemId', TType.I64, 1)
|
|
|
8131 |
oprot.writeI64(self.itemId)
|
|
|
8132 |
oprot.writeFieldEnd()
|
|
|
8133 |
if self.serialNumber is not None:
|
|
|
8134 |
oprot.writeFieldBegin('serialNumber', TType.STRING, 2)
|
|
|
8135 |
oprot.writeString(self.serialNumber)
|
|
|
8136 |
oprot.writeFieldEnd()
|
|
|
8137 |
if self.itemNumber is not None:
|
|
|
8138 |
oprot.writeFieldBegin('itemNumber', TType.STRING, 3)
|
|
|
8139 |
oprot.writeString(self.itemNumber)
|
|
|
8140 |
oprot.writeFieldEnd()
|
|
|
8141 |
if self.invoiceNumber is not None:
|
|
|
8142 |
oprot.writeFieldBegin('invoiceNumber', TType.STRING, 4)
|
|
|
8143 |
oprot.writeString(self.invoiceNumber)
|
|
|
8144 |
oprot.writeFieldEnd()
|
|
|
8145 |
if self.warehouseId is not None:
|
|
|
8146 |
oprot.writeFieldBegin('warehouseId', TType.I64, 5)
|
|
|
8147 |
oprot.writeI64(self.warehouseId)
|
|
|
8148 |
oprot.writeFieldEnd()
|
|
|
8149 |
if self.unitPrice is not None:
|
|
|
8150 |
oprot.writeFieldBegin('unitPrice', TType.DOUBLE, 6)
|
|
|
8151 |
oprot.writeDouble(self.unitPrice)
|
|
|
8152 |
oprot.writeFieldEnd()
|
| 7672 |
rajveer |
8153 |
if self.nlc is not None:
|
|
|
8154 |
oprot.writeFieldBegin('nlc', TType.DOUBLE, 7)
|
|
|
8155 |
oprot.writeDouble(self.nlc)
|
|
|
8156 |
oprot.writeFieldEnd()
|
| 6762 |
amar.kumar |
8157 |
if self.orderId is not None:
|
| 7672 |
rajveer |
8158 |
oprot.writeFieldBegin('orderId', TType.I64, 8)
|
| 6762 |
amar.kumar |
8159 |
oprot.writeI64(self.orderId)
|
|
|
8160 |
oprot.writeFieldEnd()
|
|
|
8161 |
oprot.writeFieldStop()
|
|
|
8162 |
oprot.writeStructEnd()
|
|
|
8163 |
|
|
|
8164 |
def validate(self):
|
|
|
8165 |
return
|
|
|
8166 |
|
|
|
8167 |
|
|
|
8168 |
def __repr__(self):
|
|
|
8169 |
L = ['%s=%r' % (key, value)
|
|
|
8170 |
for key, value in self.__dict__.iteritems()]
|
|
|
8171 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
8172 |
|
|
|
8173 |
def __eq__(self, other):
|
|
|
8174 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
8175 |
|
|
|
8176 |
def __ne__(self, other):
|
|
|
8177 |
return not (self == other)
|
|
|
8178 |
|
|
|
8179 |
class scanForOursExternalSale_result:
|
|
|
8180 |
"""
|
|
|
8181 |
Attributes:
|
|
|
8182 |
- success
|
|
|
8183 |
- ex
|
|
|
8184 |
"""
|
|
|
8185 |
|
|
|
8186 |
thrift_spec = (
|
|
|
8187 |
(0, TType.STRUCT, 'success', (InventoryItem, InventoryItem.thrift_spec), None, ), # 0
|
|
|
8188 |
(1, TType.STRUCT, 'ex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
|
|
8189 |
)
|
|
|
8190 |
|
|
|
8191 |
def __init__(self, success=None, ex=None,):
|
|
|
8192 |
self.success = success
|
|
|
8193 |
self.ex = ex
|
|
|
8194 |
|
|
|
8195 |
def read(self, iprot):
|
|
|
8196 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
8197 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
8198 |
return
|
|
|
8199 |
iprot.readStructBegin()
|
|
|
8200 |
while True:
|
|
|
8201 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
8202 |
if ftype == TType.STOP:
|
|
|
8203 |
break
|
|
|
8204 |
if fid == 0:
|
|
|
8205 |
if ftype == TType.STRUCT:
|
|
|
8206 |
self.success = InventoryItem()
|
|
|
8207 |
self.success.read(iprot)
|
|
|
8208 |
else:
|
|
|
8209 |
iprot.skip(ftype)
|
|
|
8210 |
elif fid == 1:
|
|
|
8211 |
if ftype == TType.STRUCT:
|
|
|
8212 |
self.ex = WarehouseServiceException()
|
|
|
8213 |
self.ex.read(iprot)
|
|
|
8214 |
else:
|
|
|
8215 |
iprot.skip(ftype)
|
|
|
8216 |
else:
|
|
|
8217 |
iprot.skip(ftype)
|
|
|
8218 |
iprot.readFieldEnd()
|
|
|
8219 |
iprot.readStructEnd()
|
|
|
8220 |
|
|
|
8221 |
def write(self, oprot):
|
|
|
8222 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
8223 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
8224 |
return
|
|
|
8225 |
oprot.writeStructBegin('scanForOursExternalSale_result')
|
|
|
8226 |
if self.success is not None:
|
|
|
8227 |
oprot.writeFieldBegin('success', TType.STRUCT, 0)
|
|
|
8228 |
self.success.write(oprot)
|
|
|
8229 |
oprot.writeFieldEnd()
|
|
|
8230 |
if self.ex is not None:
|
|
|
8231 |
oprot.writeFieldBegin('ex', TType.STRUCT, 1)
|
|
|
8232 |
self.ex.write(oprot)
|
|
|
8233 |
oprot.writeFieldEnd()
|
|
|
8234 |
oprot.writeFieldStop()
|
|
|
8235 |
oprot.writeStructEnd()
|
|
|
8236 |
|
|
|
8237 |
def validate(self):
|
|
|
8238 |
return
|
|
|
8239 |
|
|
|
8240 |
|
|
|
8241 |
def __repr__(self):
|
|
|
8242 |
L = ['%s=%r' % (key, value)
|
|
|
8243 |
for key, value in self.__dict__.iteritems()]
|
|
|
8244 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
8245 |
|
|
|
8246 |
def __eq__(self, other):
|
|
|
8247 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
8248 |
|
|
|
8249 |
def __ne__(self, other):
|
|
|
8250 |
return not (self == other)
|
|
|
8251 |
|
|
|
8252 |
class scanForOursExternalSaleReturn_args:
|
|
|
8253 |
"""
|
|
|
8254 |
Attributes:
|
|
|
8255 |
- orderId
|
|
|
8256 |
- unitPrice
|
|
|
8257 |
"""
|
|
|
8258 |
|
|
|
8259 |
thrift_spec = (
|
|
|
8260 |
None, # 0
|
|
|
8261 |
(1, TType.I64, 'orderId', None, None, ), # 1
|
|
|
8262 |
(2, TType.DOUBLE, 'unitPrice', None, None, ), # 2
|
|
|
8263 |
)
|
|
|
8264 |
|
|
|
8265 |
def __init__(self, orderId=None, unitPrice=None,):
|
|
|
8266 |
self.orderId = orderId
|
|
|
8267 |
self.unitPrice = unitPrice
|
|
|
8268 |
|
|
|
8269 |
def read(self, iprot):
|
|
|
8270 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
8271 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
8272 |
return
|
|
|
8273 |
iprot.readStructBegin()
|
|
|
8274 |
while True:
|
|
|
8275 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
8276 |
if ftype == TType.STOP:
|
|
|
8277 |
break
|
|
|
8278 |
if fid == 1:
|
|
|
8279 |
if ftype == TType.I64:
|
|
|
8280 |
self.orderId = iprot.readI64();
|
|
|
8281 |
else:
|
|
|
8282 |
iprot.skip(ftype)
|
|
|
8283 |
elif fid == 2:
|
|
|
8284 |
if ftype == TType.DOUBLE:
|
|
|
8285 |
self.unitPrice = iprot.readDouble();
|
|
|
8286 |
else:
|
|
|
8287 |
iprot.skip(ftype)
|
|
|
8288 |
else:
|
|
|
8289 |
iprot.skip(ftype)
|
|
|
8290 |
iprot.readFieldEnd()
|
|
|
8291 |
iprot.readStructEnd()
|
|
|
8292 |
|
|
|
8293 |
def write(self, oprot):
|
|
|
8294 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
8295 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
8296 |
return
|
|
|
8297 |
oprot.writeStructBegin('scanForOursExternalSaleReturn_args')
|
|
|
8298 |
if self.orderId is not None:
|
|
|
8299 |
oprot.writeFieldBegin('orderId', TType.I64, 1)
|
|
|
8300 |
oprot.writeI64(self.orderId)
|
|
|
8301 |
oprot.writeFieldEnd()
|
|
|
8302 |
if self.unitPrice is not None:
|
|
|
8303 |
oprot.writeFieldBegin('unitPrice', TType.DOUBLE, 2)
|
|
|
8304 |
oprot.writeDouble(self.unitPrice)
|
|
|
8305 |
oprot.writeFieldEnd()
|
|
|
8306 |
oprot.writeFieldStop()
|
|
|
8307 |
oprot.writeStructEnd()
|
|
|
8308 |
|
|
|
8309 |
def validate(self):
|
|
|
8310 |
return
|
|
|
8311 |
|
|
|
8312 |
|
|
|
8313 |
def __repr__(self):
|
|
|
8314 |
L = ['%s=%r' % (key, value)
|
|
|
8315 |
for key, value in self.__dict__.iteritems()]
|
|
|
8316 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
8317 |
|
|
|
8318 |
def __eq__(self, other):
|
|
|
8319 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
8320 |
|
|
|
8321 |
def __ne__(self, other):
|
|
|
8322 |
return not (self == other)
|
|
|
8323 |
|
|
|
8324 |
class scanForOursExternalSaleReturn_result:
|
| 7410 |
amar.kumar |
8325 |
"""
|
|
|
8326 |
Attributes:
|
|
|
8327 |
- ex
|
|
|
8328 |
"""
|
| 6762 |
amar.kumar |
8329 |
|
|
|
8330 |
thrift_spec = (
|
| 7410 |
amar.kumar |
8331 |
None, # 0
|
|
|
8332 |
(1, TType.STRUCT, 'ex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
| 6762 |
amar.kumar |
8333 |
)
|
|
|
8334 |
|
| 7410 |
amar.kumar |
8335 |
def __init__(self, ex=None,):
|
|
|
8336 |
self.ex = ex
|
|
|
8337 |
|
| 6762 |
amar.kumar |
8338 |
def read(self, iprot):
|
|
|
8339 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
8340 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
8341 |
return
|
|
|
8342 |
iprot.readStructBegin()
|
|
|
8343 |
while True:
|
|
|
8344 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
8345 |
if ftype == TType.STOP:
|
|
|
8346 |
break
|
| 7410 |
amar.kumar |
8347 |
if fid == 1:
|
|
|
8348 |
if ftype == TType.STRUCT:
|
|
|
8349 |
self.ex = WarehouseServiceException()
|
|
|
8350 |
self.ex.read(iprot)
|
|
|
8351 |
else:
|
|
|
8352 |
iprot.skip(ftype)
|
| 6762 |
amar.kumar |
8353 |
else:
|
|
|
8354 |
iprot.skip(ftype)
|
|
|
8355 |
iprot.readFieldEnd()
|
|
|
8356 |
iprot.readStructEnd()
|
|
|
8357 |
|
|
|
8358 |
def write(self, oprot):
|
|
|
8359 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
8360 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
8361 |
return
|
|
|
8362 |
oprot.writeStructBegin('scanForOursExternalSaleReturn_result')
|
| 7410 |
amar.kumar |
8363 |
if self.ex is not None:
|
|
|
8364 |
oprot.writeFieldBegin('ex', TType.STRUCT, 1)
|
|
|
8365 |
self.ex.write(oprot)
|
|
|
8366 |
oprot.writeFieldEnd()
|
| 6762 |
amar.kumar |
8367 |
oprot.writeFieldStop()
|
|
|
8368 |
oprot.writeStructEnd()
|
|
|
8369 |
|
|
|
8370 |
def validate(self):
|
|
|
8371 |
return
|
|
|
8372 |
|
|
|
8373 |
|
|
|
8374 |
def __repr__(self):
|
|
|
8375 |
L = ['%s=%r' % (key, value)
|
|
|
8376 |
for key, value in self.__dict__.iteritems()]
|
|
|
8377 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
8378 |
|
|
|
8379 |
def __eq__(self, other):
|
|
|
8380 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
8381 |
|
|
|
8382 |
def __ne__(self, other):
|
|
|
8383 |
return not (self == other)
|
| 6880 |
amar.kumar |
8384 |
|
|
|
8385 |
class getMovementNonSerializedInventoryByScans_args:
|
|
|
8386 |
"""
|
|
|
8387 |
Attributes:
|
|
|
8388 |
- startDate
|
|
|
8389 |
- endDate
|
|
|
8390 |
"""
|
|
|
8391 |
|
|
|
8392 |
thrift_spec = (
|
|
|
8393 |
None, # 0
|
|
|
8394 |
(1, TType.I64, 'startDate', None, None, ), # 1
|
|
|
8395 |
(2, TType.I64, 'endDate', None, None, ), # 2
|
|
|
8396 |
)
|
|
|
8397 |
|
|
|
8398 |
def __init__(self, startDate=None, endDate=None,):
|
|
|
8399 |
self.startDate = startDate
|
|
|
8400 |
self.endDate = endDate
|
|
|
8401 |
|
|
|
8402 |
def read(self, iprot):
|
|
|
8403 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
8404 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
8405 |
return
|
|
|
8406 |
iprot.readStructBegin()
|
|
|
8407 |
while True:
|
|
|
8408 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
8409 |
if ftype == TType.STOP:
|
|
|
8410 |
break
|
|
|
8411 |
if fid == 1:
|
|
|
8412 |
if ftype == TType.I64:
|
|
|
8413 |
self.startDate = iprot.readI64();
|
|
|
8414 |
else:
|
|
|
8415 |
iprot.skip(ftype)
|
|
|
8416 |
elif fid == 2:
|
|
|
8417 |
if ftype == TType.I64:
|
|
|
8418 |
self.endDate = iprot.readI64();
|
|
|
8419 |
else:
|
|
|
8420 |
iprot.skip(ftype)
|
|
|
8421 |
else:
|
|
|
8422 |
iprot.skip(ftype)
|
|
|
8423 |
iprot.readFieldEnd()
|
|
|
8424 |
iprot.readStructEnd()
|
|
|
8425 |
|
|
|
8426 |
def write(self, oprot):
|
|
|
8427 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
8428 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
8429 |
return
|
|
|
8430 |
oprot.writeStructBegin('getMovementNonSerializedInventoryByScans_args')
|
|
|
8431 |
if self.startDate is not None:
|
|
|
8432 |
oprot.writeFieldBegin('startDate', TType.I64, 1)
|
|
|
8433 |
oprot.writeI64(self.startDate)
|
|
|
8434 |
oprot.writeFieldEnd()
|
|
|
8435 |
if self.endDate is not None:
|
|
|
8436 |
oprot.writeFieldBegin('endDate', TType.I64, 2)
|
|
|
8437 |
oprot.writeI64(self.endDate)
|
|
|
8438 |
oprot.writeFieldEnd()
|
|
|
8439 |
oprot.writeFieldStop()
|
|
|
8440 |
oprot.writeStructEnd()
|
|
|
8441 |
|
|
|
8442 |
def validate(self):
|
|
|
8443 |
return
|
|
|
8444 |
|
|
|
8445 |
|
|
|
8446 |
def __repr__(self):
|
|
|
8447 |
L = ['%s=%r' % (key, value)
|
|
|
8448 |
for key, value in self.__dict__.iteritems()]
|
|
|
8449 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
8450 |
|
|
|
8451 |
def __eq__(self, other):
|
|
|
8452 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
8453 |
|
|
|
8454 |
def __ne__(self, other):
|
|
|
8455 |
return not (self == other)
|
|
|
8456 |
|
|
|
8457 |
class getMovementNonSerializedInventoryByScans_result:
|
|
|
8458 |
"""
|
|
|
8459 |
Attributes:
|
|
|
8460 |
- success
|
|
|
8461 |
"""
|
|
|
8462 |
|
|
|
8463 |
thrift_spec = (
|
|
|
8464 |
(0, TType.LIST, 'success', (TType.STRUCT,(InventoryMovement, InventoryMovement.thrift_spec)), None, ), # 0
|
|
|
8465 |
)
|
|
|
8466 |
|
|
|
8467 |
def __init__(self, success=None,):
|
|
|
8468 |
self.success = success
|
|
|
8469 |
|
|
|
8470 |
def read(self, iprot):
|
|
|
8471 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
8472 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
8473 |
return
|
|
|
8474 |
iprot.readStructBegin()
|
|
|
8475 |
while True:
|
|
|
8476 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
8477 |
if ftype == TType.STOP:
|
|
|
8478 |
break
|
|
|
8479 |
if fid == 0:
|
|
|
8480 |
if ftype == TType.LIST:
|
|
|
8481 |
self.success = []
|
| 10407 |
amar.kumar |
8482 |
(_etype129, _size126) = iprot.readListBegin()
|
|
|
8483 |
for _i130 in xrange(_size126):
|
|
|
8484 |
_elem131 = InventoryMovement()
|
|
|
8485 |
_elem131.read(iprot)
|
|
|
8486 |
self.success.append(_elem131)
|
| 6880 |
amar.kumar |
8487 |
iprot.readListEnd()
|
|
|
8488 |
else:
|
|
|
8489 |
iprot.skip(ftype)
|
|
|
8490 |
else:
|
|
|
8491 |
iprot.skip(ftype)
|
|
|
8492 |
iprot.readFieldEnd()
|
|
|
8493 |
iprot.readStructEnd()
|
|
|
8494 |
|
|
|
8495 |
def write(self, oprot):
|
|
|
8496 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
8497 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
8498 |
return
|
|
|
8499 |
oprot.writeStructBegin('getMovementNonSerializedInventoryByScans_result')
|
|
|
8500 |
if self.success is not None:
|
|
|
8501 |
oprot.writeFieldBegin('success', TType.LIST, 0)
|
|
|
8502 |
oprot.writeListBegin(TType.STRUCT, len(self.success))
|
| 10407 |
amar.kumar |
8503 |
for iter132 in self.success:
|
|
|
8504 |
iter132.write(oprot)
|
| 6880 |
amar.kumar |
8505 |
oprot.writeListEnd()
|
|
|
8506 |
oprot.writeFieldEnd()
|
|
|
8507 |
oprot.writeFieldStop()
|
|
|
8508 |
oprot.writeStructEnd()
|
|
|
8509 |
|
|
|
8510 |
def validate(self):
|
|
|
8511 |
return
|
|
|
8512 |
|
|
|
8513 |
|
|
|
8514 |
def __repr__(self):
|
|
|
8515 |
L = ['%s=%r' % (key, value)
|
|
|
8516 |
for key, value in self.__dict__.iteritems()]
|
|
|
8517 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
8518 |
|
|
|
8519 |
def __eq__(self, other):
|
|
|
8520 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
8521 |
|
|
|
8522 |
def __ne__(self, other):
|
|
|
8523 |
return not (self == other)
|
|
|
8524 |
|
|
|
8525 |
class getMovementSerializedInventoryByScans_args:
|
|
|
8526 |
"""
|
|
|
8527 |
Attributes:
|
|
|
8528 |
- startDate
|
|
|
8529 |
- endDate
|
|
|
8530 |
"""
|
|
|
8531 |
|
|
|
8532 |
thrift_spec = (
|
|
|
8533 |
None, # 0
|
|
|
8534 |
(1, TType.I64, 'startDate', None, None, ), # 1
|
|
|
8535 |
(2, TType.I64, 'endDate', None, None, ), # 2
|
|
|
8536 |
)
|
|
|
8537 |
|
|
|
8538 |
def __init__(self, startDate=None, endDate=None,):
|
|
|
8539 |
self.startDate = startDate
|
|
|
8540 |
self.endDate = endDate
|
|
|
8541 |
|
|
|
8542 |
def read(self, iprot):
|
|
|
8543 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
8544 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
8545 |
return
|
|
|
8546 |
iprot.readStructBegin()
|
|
|
8547 |
while True:
|
|
|
8548 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
8549 |
if ftype == TType.STOP:
|
|
|
8550 |
break
|
|
|
8551 |
if fid == 1:
|
|
|
8552 |
if ftype == TType.I64:
|
|
|
8553 |
self.startDate = iprot.readI64();
|
|
|
8554 |
else:
|
|
|
8555 |
iprot.skip(ftype)
|
|
|
8556 |
elif fid == 2:
|
|
|
8557 |
if ftype == TType.I64:
|
|
|
8558 |
self.endDate = iprot.readI64();
|
|
|
8559 |
else:
|
|
|
8560 |
iprot.skip(ftype)
|
|
|
8561 |
else:
|
|
|
8562 |
iprot.skip(ftype)
|
|
|
8563 |
iprot.readFieldEnd()
|
|
|
8564 |
iprot.readStructEnd()
|
|
|
8565 |
|
|
|
8566 |
def write(self, oprot):
|
|
|
8567 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
8568 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
8569 |
return
|
|
|
8570 |
oprot.writeStructBegin('getMovementSerializedInventoryByScans_args')
|
|
|
8571 |
if self.startDate is not None:
|
|
|
8572 |
oprot.writeFieldBegin('startDate', TType.I64, 1)
|
|
|
8573 |
oprot.writeI64(self.startDate)
|
|
|
8574 |
oprot.writeFieldEnd()
|
|
|
8575 |
if self.endDate is not None:
|
|
|
8576 |
oprot.writeFieldBegin('endDate', TType.I64, 2)
|
|
|
8577 |
oprot.writeI64(self.endDate)
|
|
|
8578 |
oprot.writeFieldEnd()
|
|
|
8579 |
oprot.writeFieldStop()
|
|
|
8580 |
oprot.writeStructEnd()
|
|
|
8581 |
|
|
|
8582 |
def validate(self):
|
|
|
8583 |
return
|
|
|
8584 |
|
|
|
8585 |
|
|
|
8586 |
def __repr__(self):
|
|
|
8587 |
L = ['%s=%r' % (key, value)
|
|
|
8588 |
for key, value in self.__dict__.iteritems()]
|
|
|
8589 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
8590 |
|
|
|
8591 |
def __eq__(self, other):
|
|
|
8592 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
8593 |
|
|
|
8594 |
def __ne__(self, other):
|
|
|
8595 |
return not (self == other)
|
|
|
8596 |
|
|
|
8597 |
class getMovementSerializedInventoryByScans_result:
|
|
|
8598 |
"""
|
|
|
8599 |
Attributes:
|
|
|
8600 |
- success
|
|
|
8601 |
"""
|
|
|
8602 |
|
|
|
8603 |
thrift_spec = (
|
|
|
8604 |
(0, TType.LIST, 'success', (TType.STRUCT,(InventoryMovement, InventoryMovement.thrift_spec)), None, ), # 0
|
|
|
8605 |
)
|
|
|
8606 |
|
|
|
8607 |
def __init__(self, success=None,):
|
|
|
8608 |
self.success = success
|
|
|
8609 |
|
|
|
8610 |
def read(self, iprot):
|
|
|
8611 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
8612 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
8613 |
return
|
|
|
8614 |
iprot.readStructBegin()
|
|
|
8615 |
while True:
|
|
|
8616 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
8617 |
if ftype == TType.STOP:
|
|
|
8618 |
break
|
|
|
8619 |
if fid == 0:
|
|
|
8620 |
if ftype == TType.LIST:
|
|
|
8621 |
self.success = []
|
| 10407 |
amar.kumar |
8622 |
(_etype136, _size133) = iprot.readListBegin()
|
|
|
8623 |
for _i137 in xrange(_size133):
|
|
|
8624 |
_elem138 = InventoryMovement()
|
|
|
8625 |
_elem138.read(iprot)
|
|
|
8626 |
self.success.append(_elem138)
|
| 6880 |
amar.kumar |
8627 |
iprot.readListEnd()
|
|
|
8628 |
else:
|
|
|
8629 |
iprot.skip(ftype)
|
|
|
8630 |
else:
|
|
|
8631 |
iprot.skip(ftype)
|
|
|
8632 |
iprot.readFieldEnd()
|
|
|
8633 |
iprot.readStructEnd()
|
|
|
8634 |
|
|
|
8635 |
def write(self, oprot):
|
|
|
8636 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
8637 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
8638 |
return
|
|
|
8639 |
oprot.writeStructBegin('getMovementSerializedInventoryByScans_result')
|
|
|
8640 |
if self.success is not None:
|
|
|
8641 |
oprot.writeFieldBegin('success', TType.LIST, 0)
|
|
|
8642 |
oprot.writeListBegin(TType.STRUCT, len(self.success))
|
| 10407 |
amar.kumar |
8643 |
for iter139 in self.success:
|
|
|
8644 |
iter139.write(oprot)
|
| 6880 |
amar.kumar |
8645 |
oprot.writeListEnd()
|
|
|
8646 |
oprot.writeFieldEnd()
|
|
|
8647 |
oprot.writeFieldStop()
|
|
|
8648 |
oprot.writeStructEnd()
|
|
|
8649 |
|
|
|
8650 |
def validate(self):
|
|
|
8651 |
return
|
|
|
8652 |
|
|
|
8653 |
|
|
|
8654 |
def __repr__(self):
|
|
|
8655 |
L = ['%s=%r' % (key, value)
|
|
|
8656 |
for key, value in self.__dict__.iteritems()]
|
|
|
8657 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
8658 |
|
|
|
8659 |
def __eq__(self, other):
|
|
|
8660 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
8661 |
|
|
|
8662 |
def __ne__(self, other):
|
|
|
8663 |
return not (self == other)
|
| 7190 |
amar.kumar |
8664 |
|
| 7216 |
amar.kumar |
8665 |
class getCompleteMovementSerializedInventoryByScans_args:
|
|
|
8666 |
"""
|
|
|
8667 |
Attributes:
|
|
|
8668 |
- startDate
|
|
|
8669 |
- endDate
|
|
|
8670 |
"""
|
|
|
8671 |
|
|
|
8672 |
thrift_spec = (
|
|
|
8673 |
None, # 0
|
|
|
8674 |
(1, TType.I64, 'startDate', None, None, ), # 1
|
|
|
8675 |
(2, TType.I64, 'endDate', None, None, ), # 2
|
|
|
8676 |
)
|
|
|
8677 |
|
|
|
8678 |
def __init__(self, startDate=None, endDate=None,):
|
|
|
8679 |
self.startDate = startDate
|
|
|
8680 |
self.endDate = endDate
|
|
|
8681 |
|
|
|
8682 |
def read(self, iprot):
|
|
|
8683 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
8684 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
8685 |
return
|
|
|
8686 |
iprot.readStructBegin()
|
|
|
8687 |
while True:
|
|
|
8688 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
8689 |
if ftype == TType.STOP:
|
|
|
8690 |
break
|
|
|
8691 |
if fid == 1:
|
|
|
8692 |
if ftype == TType.I64:
|
|
|
8693 |
self.startDate = iprot.readI64();
|
|
|
8694 |
else:
|
|
|
8695 |
iprot.skip(ftype)
|
|
|
8696 |
elif fid == 2:
|
|
|
8697 |
if ftype == TType.I64:
|
|
|
8698 |
self.endDate = iprot.readI64();
|
|
|
8699 |
else:
|
|
|
8700 |
iprot.skip(ftype)
|
|
|
8701 |
else:
|
|
|
8702 |
iprot.skip(ftype)
|
|
|
8703 |
iprot.readFieldEnd()
|
|
|
8704 |
iprot.readStructEnd()
|
|
|
8705 |
|
|
|
8706 |
def write(self, oprot):
|
|
|
8707 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
8708 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
8709 |
return
|
|
|
8710 |
oprot.writeStructBegin('getCompleteMovementSerializedInventoryByScans_args')
|
|
|
8711 |
if self.startDate is not None:
|
|
|
8712 |
oprot.writeFieldBegin('startDate', TType.I64, 1)
|
|
|
8713 |
oprot.writeI64(self.startDate)
|
|
|
8714 |
oprot.writeFieldEnd()
|
|
|
8715 |
if self.endDate is not None:
|
|
|
8716 |
oprot.writeFieldBegin('endDate', TType.I64, 2)
|
|
|
8717 |
oprot.writeI64(self.endDate)
|
|
|
8718 |
oprot.writeFieldEnd()
|
|
|
8719 |
oprot.writeFieldStop()
|
|
|
8720 |
oprot.writeStructEnd()
|
|
|
8721 |
|
|
|
8722 |
def validate(self):
|
|
|
8723 |
return
|
|
|
8724 |
|
|
|
8725 |
|
|
|
8726 |
def __repr__(self):
|
|
|
8727 |
L = ['%s=%r' % (key, value)
|
|
|
8728 |
for key, value in self.__dict__.iteritems()]
|
|
|
8729 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
8730 |
|
|
|
8731 |
def __eq__(self, other):
|
|
|
8732 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
8733 |
|
|
|
8734 |
def __ne__(self, other):
|
|
|
8735 |
return not (self == other)
|
|
|
8736 |
|
|
|
8737 |
class getCompleteMovementSerializedInventoryByScans_result:
|
|
|
8738 |
"""
|
|
|
8739 |
Attributes:
|
|
|
8740 |
- success
|
|
|
8741 |
"""
|
|
|
8742 |
|
|
|
8743 |
thrift_spec = (
|
|
|
8744 |
(0, TType.LIST, 'success', (TType.STRUCT,(InventoryMovement, InventoryMovement.thrift_spec)), None, ), # 0
|
|
|
8745 |
)
|
|
|
8746 |
|
|
|
8747 |
def __init__(self, success=None,):
|
|
|
8748 |
self.success = success
|
|
|
8749 |
|
|
|
8750 |
def read(self, iprot):
|
|
|
8751 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
8752 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
8753 |
return
|
|
|
8754 |
iprot.readStructBegin()
|
|
|
8755 |
while True:
|
|
|
8756 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
8757 |
if ftype == TType.STOP:
|
|
|
8758 |
break
|
|
|
8759 |
if fid == 0:
|
|
|
8760 |
if ftype == TType.LIST:
|
|
|
8761 |
self.success = []
|
| 10407 |
amar.kumar |
8762 |
(_etype143, _size140) = iprot.readListBegin()
|
|
|
8763 |
for _i144 in xrange(_size140):
|
|
|
8764 |
_elem145 = InventoryMovement()
|
|
|
8765 |
_elem145.read(iprot)
|
|
|
8766 |
self.success.append(_elem145)
|
| 7216 |
amar.kumar |
8767 |
iprot.readListEnd()
|
|
|
8768 |
else:
|
|
|
8769 |
iprot.skip(ftype)
|
|
|
8770 |
else:
|
|
|
8771 |
iprot.skip(ftype)
|
|
|
8772 |
iprot.readFieldEnd()
|
|
|
8773 |
iprot.readStructEnd()
|
|
|
8774 |
|
|
|
8775 |
def write(self, oprot):
|
|
|
8776 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
8777 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
8778 |
return
|
|
|
8779 |
oprot.writeStructBegin('getCompleteMovementSerializedInventoryByScans_result')
|
|
|
8780 |
if self.success is not None:
|
|
|
8781 |
oprot.writeFieldBegin('success', TType.LIST, 0)
|
|
|
8782 |
oprot.writeListBegin(TType.STRUCT, len(self.success))
|
| 10407 |
amar.kumar |
8783 |
for iter146 in self.success:
|
|
|
8784 |
iter146.write(oprot)
|
| 7216 |
amar.kumar |
8785 |
oprot.writeListEnd()
|
|
|
8786 |
oprot.writeFieldEnd()
|
|
|
8787 |
oprot.writeFieldStop()
|
|
|
8788 |
oprot.writeStructEnd()
|
|
|
8789 |
|
|
|
8790 |
def validate(self):
|
|
|
8791 |
return
|
|
|
8792 |
|
|
|
8793 |
|
|
|
8794 |
def __repr__(self):
|
|
|
8795 |
L = ['%s=%r' % (key, value)
|
|
|
8796 |
for key, value in self.__dict__.iteritems()]
|
|
|
8797 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
8798 |
|
|
|
8799 |
def __eq__(self, other):
|
|
|
8800 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
8801 |
|
|
|
8802 |
def __ne__(self, other):
|
|
|
8803 |
return not (self == other)
|
|
|
8804 |
|
|
|
8805 |
class getCompleteMovementNonSerializedInventoryByScans_args:
|
|
|
8806 |
"""
|
|
|
8807 |
Attributes:
|
|
|
8808 |
- startDate
|
|
|
8809 |
- endDate
|
|
|
8810 |
"""
|
|
|
8811 |
|
|
|
8812 |
thrift_spec = (
|
|
|
8813 |
None, # 0
|
|
|
8814 |
(1, TType.I64, 'startDate', None, None, ), # 1
|
|
|
8815 |
(2, TType.I64, 'endDate', None, None, ), # 2
|
|
|
8816 |
)
|
|
|
8817 |
|
|
|
8818 |
def __init__(self, startDate=None, endDate=None,):
|
|
|
8819 |
self.startDate = startDate
|
|
|
8820 |
self.endDate = endDate
|
|
|
8821 |
|
|
|
8822 |
def read(self, iprot):
|
|
|
8823 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
8824 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
8825 |
return
|
|
|
8826 |
iprot.readStructBegin()
|
|
|
8827 |
while True:
|
|
|
8828 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
8829 |
if ftype == TType.STOP:
|
|
|
8830 |
break
|
|
|
8831 |
if fid == 1:
|
|
|
8832 |
if ftype == TType.I64:
|
|
|
8833 |
self.startDate = iprot.readI64();
|
|
|
8834 |
else:
|
|
|
8835 |
iprot.skip(ftype)
|
|
|
8836 |
elif fid == 2:
|
|
|
8837 |
if ftype == TType.I64:
|
|
|
8838 |
self.endDate = iprot.readI64();
|
|
|
8839 |
else:
|
|
|
8840 |
iprot.skip(ftype)
|
|
|
8841 |
else:
|
|
|
8842 |
iprot.skip(ftype)
|
|
|
8843 |
iprot.readFieldEnd()
|
|
|
8844 |
iprot.readStructEnd()
|
|
|
8845 |
|
|
|
8846 |
def write(self, oprot):
|
|
|
8847 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
8848 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
8849 |
return
|
|
|
8850 |
oprot.writeStructBegin('getCompleteMovementNonSerializedInventoryByScans_args')
|
|
|
8851 |
if self.startDate is not None:
|
|
|
8852 |
oprot.writeFieldBegin('startDate', TType.I64, 1)
|
|
|
8853 |
oprot.writeI64(self.startDate)
|
|
|
8854 |
oprot.writeFieldEnd()
|
|
|
8855 |
if self.endDate is not None:
|
|
|
8856 |
oprot.writeFieldBegin('endDate', TType.I64, 2)
|
|
|
8857 |
oprot.writeI64(self.endDate)
|
|
|
8858 |
oprot.writeFieldEnd()
|
|
|
8859 |
oprot.writeFieldStop()
|
|
|
8860 |
oprot.writeStructEnd()
|
|
|
8861 |
|
|
|
8862 |
def validate(self):
|
|
|
8863 |
return
|
|
|
8864 |
|
|
|
8865 |
|
|
|
8866 |
def __repr__(self):
|
|
|
8867 |
L = ['%s=%r' % (key, value)
|
|
|
8868 |
for key, value in self.__dict__.iteritems()]
|
|
|
8869 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
8870 |
|
|
|
8871 |
def __eq__(self, other):
|
|
|
8872 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
8873 |
|
|
|
8874 |
def __ne__(self, other):
|
|
|
8875 |
return not (self == other)
|
|
|
8876 |
|
|
|
8877 |
class getCompleteMovementNonSerializedInventoryByScans_result:
|
|
|
8878 |
"""
|
|
|
8879 |
Attributes:
|
|
|
8880 |
- success
|
|
|
8881 |
"""
|
|
|
8882 |
|
|
|
8883 |
thrift_spec = (
|
|
|
8884 |
(0, TType.LIST, 'success', (TType.STRUCT,(InventoryMovement, InventoryMovement.thrift_spec)), None, ), # 0
|
|
|
8885 |
)
|
|
|
8886 |
|
|
|
8887 |
def __init__(self, success=None,):
|
|
|
8888 |
self.success = success
|
|
|
8889 |
|
|
|
8890 |
def read(self, iprot):
|
|
|
8891 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
8892 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
8893 |
return
|
|
|
8894 |
iprot.readStructBegin()
|
|
|
8895 |
while True:
|
|
|
8896 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
8897 |
if ftype == TType.STOP:
|
|
|
8898 |
break
|
|
|
8899 |
if fid == 0:
|
|
|
8900 |
if ftype == TType.LIST:
|
|
|
8901 |
self.success = []
|
| 10407 |
amar.kumar |
8902 |
(_etype150, _size147) = iprot.readListBegin()
|
|
|
8903 |
for _i151 in xrange(_size147):
|
|
|
8904 |
_elem152 = InventoryMovement()
|
|
|
8905 |
_elem152.read(iprot)
|
|
|
8906 |
self.success.append(_elem152)
|
| 7216 |
amar.kumar |
8907 |
iprot.readListEnd()
|
|
|
8908 |
else:
|
|
|
8909 |
iprot.skip(ftype)
|
|
|
8910 |
else:
|
|
|
8911 |
iprot.skip(ftype)
|
|
|
8912 |
iprot.readFieldEnd()
|
|
|
8913 |
iprot.readStructEnd()
|
|
|
8914 |
|
|
|
8915 |
def write(self, oprot):
|
|
|
8916 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
8917 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
8918 |
return
|
|
|
8919 |
oprot.writeStructBegin('getCompleteMovementNonSerializedInventoryByScans_result')
|
|
|
8920 |
if self.success is not None:
|
|
|
8921 |
oprot.writeFieldBegin('success', TType.LIST, 0)
|
|
|
8922 |
oprot.writeListBegin(TType.STRUCT, len(self.success))
|
| 10407 |
amar.kumar |
8923 |
for iter153 in self.success:
|
|
|
8924 |
iter153.write(oprot)
|
| 7216 |
amar.kumar |
8925 |
oprot.writeListEnd()
|
|
|
8926 |
oprot.writeFieldEnd()
|
|
|
8927 |
oprot.writeFieldStop()
|
|
|
8928 |
oprot.writeStructEnd()
|
|
|
8929 |
|
|
|
8930 |
def validate(self):
|
|
|
8931 |
return
|
|
|
8932 |
|
|
|
8933 |
|
|
|
8934 |
def __repr__(self):
|
|
|
8935 |
L = ['%s=%r' % (key, value)
|
|
|
8936 |
for key, value in self.__dict__.iteritems()]
|
|
|
8937 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
8938 |
|
|
|
8939 |
def __eq__(self, other):
|
|
|
8940 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
8941 |
|
|
|
8942 |
def __ne__(self, other):
|
|
|
8943 |
return not (self == other)
|
|
|
8944 |
|
| 7190 |
amar.kumar |
8945 |
class scanfreebie_args:
|
|
|
8946 |
"""
|
|
|
8947 |
Attributes:
|
|
|
8948 |
- orderId
|
|
|
8949 |
- freebieItemId
|
|
|
8950 |
- freebieWarehouseId
|
|
|
8951 |
- scanType
|
|
|
8952 |
"""
|
|
|
8953 |
|
|
|
8954 |
thrift_spec = (
|
|
|
8955 |
None, # 0
|
|
|
8956 |
(1, TType.I64, 'orderId', None, None, ), # 1
|
|
|
8957 |
(2, TType.I64, 'freebieItemId', None, None, ), # 2
|
|
|
8958 |
(3, TType.I64, 'freebieWarehouseId', None, None, ), # 3
|
|
|
8959 |
(4, TType.I32, 'scanType', None, None, ), # 4
|
|
|
8960 |
)
|
|
|
8961 |
|
|
|
8962 |
def __init__(self, orderId=None, freebieItemId=None, freebieWarehouseId=None, scanType=None,):
|
|
|
8963 |
self.orderId = orderId
|
|
|
8964 |
self.freebieItemId = freebieItemId
|
|
|
8965 |
self.freebieWarehouseId = freebieWarehouseId
|
|
|
8966 |
self.scanType = scanType
|
|
|
8967 |
|
|
|
8968 |
def read(self, iprot):
|
|
|
8969 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
8970 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
8971 |
return
|
|
|
8972 |
iprot.readStructBegin()
|
|
|
8973 |
while True:
|
|
|
8974 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
8975 |
if ftype == TType.STOP:
|
|
|
8976 |
break
|
|
|
8977 |
if fid == 1:
|
|
|
8978 |
if ftype == TType.I64:
|
|
|
8979 |
self.orderId = iprot.readI64();
|
|
|
8980 |
else:
|
|
|
8981 |
iprot.skip(ftype)
|
|
|
8982 |
elif fid == 2:
|
|
|
8983 |
if ftype == TType.I64:
|
|
|
8984 |
self.freebieItemId = iprot.readI64();
|
|
|
8985 |
else:
|
|
|
8986 |
iprot.skip(ftype)
|
|
|
8987 |
elif fid == 3:
|
|
|
8988 |
if ftype == TType.I64:
|
|
|
8989 |
self.freebieWarehouseId = iprot.readI64();
|
|
|
8990 |
else:
|
|
|
8991 |
iprot.skip(ftype)
|
|
|
8992 |
elif fid == 4:
|
|
|
8993 |
if ftype == TType.I32:
|
|
|
8994 |
self.scanType = iprot.readI32();
|
|
|
8995 |
else:
|
|
|
8996 |
iprot.skip(ftype)
|
|
|
8997 |
else:
|
|
|
8998 |
iprot.skip(ftype)
|
|
|
8999 |
iprot.readFieldEnd()
|
|
|
9000 |
iprot.readStructEnd()
|
|
|
9001 |
|
|
|
9002 |
def write(self, oprot):
|
|
|
9003 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
9004 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
9005 |
return
|
|
|
9006 |
oprot.writeStructBegin('scanfreebie_args')
|
|
|
9007 |
if self.orderId is not None:
|
|
|
9008 |
oprot.writeFieldBegin('orderId', TType.I64, 1)
|
|
|
9009 |
oprot.writeI64(self.orderId)
|
|
|
9010 |
oprot.writeFieldEnd()
|
|
|
9011 |
if self.freebieItemId is not None:
|
|
|
9012 |
oprot.writeFieldBegin('freebieItemId', TType.I64, 2)
|
|
|
9013 |
oprot.writeI64(self.freebieItemId)
|
|
|
9014 |
oprot.writeFieldEnd()
|
|
|
9015 |
if self.freebieWarehouseId is not None:
|
|
|
9016 |
oprot.writeFieldBegin('freebieWarehouseId', TType.I64, 3)
|
|
|
9017 |
oprot.writeI64(self.freebieWarehouseId)
|
|
|
9018 |
oprot.writeFieldEnd()
|
|
|
9019 |
if self.scanType is not None:
|
|
|
9020 |
oprot.writeFieldBegin('scanType', TType.I32, 4)
|
|
|
9021 |
oprot.writeI32(self.scanType)
|
|
|
9022 |
oprot.writeFieldEnd()
|
|
|
9023 |
oprot.writeFieldStop()
|
|
|
9024 |
oprot.writeStructEnd()
|
|
|
9025 |
|
|
|
9026 |
def validate(self):
|
|
|
9027 |
return
|
|
|
9028 |
|
|
|
9029 |
|
|
|
9030 |
def __repr__(self):
|
|
|
9031 |
L = ['%s=%r' % (key, value)
|
|
|
9032 |
for key, value in self.__dict__.iteritems()]
|
|
|
9033 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
9034 |
|
|
|
9035 |
def __eq__(self, other):
|
|
|
9036 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
9037 |
|
|
|
9038 |
def __ne__(self, other):
|
|
|
9039 |
return not (self == other)
|
|
|
9040 |
|
|
|
9041 |
class scanfreebie_result:
|
|
|
9042 |
"""
|
|
|
9043 |
Attributes:
|
|
|
9044 |
- success
|
|
|
9045 |
- wex
|
|
|
9046 |
"""
|
|
|
9047 |
|
|
|
9048 |
thrift_spec = (
|
|
|
9049 |
(0, TType.STRUCT, 'success', (InventoryItem, InventoryItem.thrift_spec), None, ), # 0
|
|
|
9050 |
(1, TType.STRUCT, 'wex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
|
|
9051 |
)
|
|
|
9052 |
|
|
|
9053 |
def __init__(self, success=None, wex=None,):
|
|
|
9054 |
self.success = success
|
|
|
9055 |
self.wex = wex
|
|
|
9056 |
|
|
|
9057 |
def read(self, iprot):
|
|
|
9058 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
9059 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
9060 |
return
|
|
|
9061 |
iprot.readStructBegin()
|
|
|
9062 |
while True:
|
|
|
9063 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
9064 |
if ftype == TType.STOP:
|
|
|
9065 |
break
|
|
|
9066 |
if fid == 0:
|
|
|
9067 |
if ftype == TType.STRUCT:
|
|
|
9068 |
self.success = InventoryItem()
|
|
|
9069 |
self.success.read(iprot)
|
|
|
9070 |
else:
|
|
|
9071 |
iprot.skip(ftype)
|
|
|
9072 |
elif fid == 1:
|
|
|
9073 |
if ftype == TType.STRUCT:
|
|
|
9074 |
self.wex = WarehouseServiceException()
|
|
|
9075 |
self.wex.read(iprot)
|
|
|
9076 |
else:
|
|
|
9077 |
iprot.skip(ftype)
|
|
|
9078 |
else:
|
|
|
9079 |
iprot.skip(ftype)
|
|
|
9080 |
iprot.readFieldEnd()
|
|
|
9081 |
iprot.readStructEnd()
|
|
|
9082 |
|
|
|
9083 |
def write(self, oprot):
|
|
|
9084 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
9085 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
9086 |
return
|
|
|
9087 |
oprot.writeStructBegin('scanfreebie_result')
|
|
|
9088 |
if self.success is not None:
|
|
|
9089 |
oprot.writeFieldBegin('success', TType.STRUCT, 0)
|
|
|
9090 |
self.success.write(oprot)
|
|
|
9091 |
oprot.writeFieldEnd()
|
|
|
9092 |
if self.wex is not None:
|
|
|
9093 |
oprot.writeFieldBegin('wex', TType.STRUCT, 1)
|
|
|
9094 |
self.wex.write(oprot)
|
|
|
9095 |
oprot.writeFieldEnd()
|
|
|
9096 |
oprot.writeFieldStop()
|
|
|
9097 |
oprot.writeStructEnd()
|
|
|
9098 |
|
|
|
9099 |
def validate(self):
|
|
|
9100 |
return
|
|
|
9101 |
|
|
|
9102 |
|
|
|
9103 |
def __repr__(self):
|
|
|
9104 |
L = ['%s=%r' % (key, value)
|
|
|
9105 |
for key, value in self.__dict__.iteritems()]
|
|
|
9106 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
9107 |
|
|
|
9108 |
def __eq__(self, other):
|
|
|
9109 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
9110 |
|
|
|
9111 |
def __ne__(self, other):
|
|
|
9112 |
return not (self == other)
|
| 7199 |
amar.kumar |
9113 |
|
|
|
9114 |
class reshipfreebie_args:
|
|
|
9115 |
"""
|
|
|
9116 |
Attributes:
|
|
|
9117 |
- oldOrderId
|
|
|
9118 |
- newOrderId
|
|
|
9119 |
- freebieItemId
|
|
|
9120 |
- scanType
|
|
|
9121 |
"""
|
|
|
9122 |
|
|
|
9123 |
thrift_spec = (
|
|
|
9124 |
None, # 0
|
|
|
9125 |
(1, TType.I64, 'oldOrderId', None, None, ), # 1
|
|
|
9126 |
(2, TType.I64, 'newOrderId', None, None, ), # 2
|
|
|
9127 |
(3, TType.I64, 'freebieItemId', None, None, ), # 3
|
|
|
9128 |
(4, TType.I32, 'scanType', None, None, ), # 4
|
|
|
9129 |
)
|
|
|
9130 |
|
|
|
9131 |
def __init__(self, oldOrderId=None, newOrderId=None, freebieItemId=None, scanType=None,):
|
|
|
9132 |
self.oldOrderId = oldOrderId
|
|
|
9133 |
self.newOrderId = newOrderId
|
|
|
9134 |
self.freebieItemId = freebieItemId
|
|
|
9135 |
self.scanType = scanType
|
|
|
9136 |
|
|
|
9137 |
def read(self, iprot):
|
|
|
9138 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
9139 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
9140 |
return
|
|
|
9141 |
iprot.readStructBegin()
|
|
|
9142 |
while True:
|
|
|
9143 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
9144 |
if ftype == TType.STOP:
|
|
|
9145 |
break
|
|
|
9146 |
if fid == 1:
|
|
|
9147 |
if ftype == TType.I64:
|
|
|
9148 |
self.oldOrderId = iprot.readI64();
|
|
|
9149 |
else:
|
|
|
9150 |
iprot.skip(ftype)
|
|
|
9151 |
elif fid == 2:
|
|
|
9152 |
if ftype == TType.I64:
|
|
|
9153 |
self.newOrderId = iprot.readI64();
|
|
|
9154 |
else:
|
|
|
9155 |
iprot.skip(ftype)
|
|
|
9156 |
elif fid == 3:
|
|
|
9157 |
if ftype == TType.I64:
|
|
|
9158 |
self.freebieItemId = iprot.readI64();
|
|
|
9159 |
else:
|
|
|
9160 |
iprot.skip(ftype)
|
|
|
9161 |
elif fid == 4:
|
|
|
9162 |
if ftype == TType.I32:
|
|
|
9163 |
self.scanType = iprot.readI32();
|
|
|
9164 |
else:
|
|
|
9165 |
iprot.skip(ftype)
|
|
|
9166 |
else:
|
|
|
9167 |
iprot.skip(ftype)
|
|
|
9168 |
iprot.readFieldEnd()
|
|
|
9169 |
iprot.readStructEnd()
|
|
|
9170 |
|
|
|
9171 |
def write(self, oprot):
|
|
|
9172 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
9173 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
9174 |
return
|
|
|
9175 |
oprot.writeStructBegin('reshipfreebie_args')
|
|
|
9176 |
if self.oldOrderId is not None:
|
|
|
9177 |
oprot.writeFieldBegin('oldOrderId', TType.I64, 1)
|
|
|
9178 |
oprot.writeI64(self.oldOrderId)
|
|
|
9179 |
oprot.writeFieldEnd()
|
|
|
9180 |
if self.newOrderId is not None:
|
|
|
9181 |
oprot.writeFieldBegin('newOrderId', TType.I64, 2)
|
|
|
9182 |
oprot.writeI64(self.newOrderId)
|
|
|
9183 |
oprot.writeFieldEnd()
|
|
|
9184 |
if self.freebieItemId is not None:
|
|
|
9185 |
oprot.writeFieldBegin('freebieItemId', TType.I64, 3)
|
|
|
9186 |
oprot.writeI64(self.freebieItemId)
|
|
|
9187 |
oprot.writeFieldEnd()
|
|
|
9188 |
if self.scanType is not None:
|
|
|
9189 |
oprot.writeFieldBegin('scanType', TType.I32, 4)
|
|
|
9190 |
oprot.writeI32(self.scanType)
|
|
|
9191 |
oprot.writeFieldEnd()
|
|
|
9192 |
oprot.writeFieldStop()
|
|
|
9193 |
oprot.writeStructEnd()
|
|
|
9194 |
|
|
|
9195 |
def validate(self):
|
|
|
9196 |
return
|
|
|
9197 |
|
|
|
9198 |
|
|
|
9199 |
def __repr__(self):
|
|
|
9200 |
L = ['%s=%r' % (key, value)
|
|
|
9201 |
for key, value in self.__dict__.iteritems()]
|
|
|
9202 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
9203 |
|
|
|
9204 |
def __eq__(self, other):
|
|
|
9205 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
9206 |
|
|
|
9207 |
def __ne__(self, other):
|
|
|
9208 |
return not (self == other)
|
|
|
9209 |
|
|
|
9210 |
class reshipfreebie_result:
|
|
|
9211 |
"""
|
|
|
9212 |
Attributes:
|
|
|
9213 |
- wex
|
|
|
9214 |
"""
|
|
|
9215 |
|
|
|
9216 |
thrift_spec = (
|
|
|
9217 |
None, # 0
|
|
|
9218 |
(1, TType.STRUCT, 'wex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
|
|
9219 |
)
|
|
|
9220 |
|
|
|
9221 |
def __init__(self, wex=None,):
|
|
|
9222 |
self.wex = wex
|
|
|
9223 |
|
|
|
9224 |
def read(self, iprot):
|
|
|
9225 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
9226 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
9227 |
return
|
|
|
9228 |
iprot.readStructBegin()
|
|
|
9229 |
while True:
|
|
|
9230 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
9231 |
if ftype == TType.STOP:
|
|
|
9232 |
break
|
|
|
9233 |
if fid == 1:
|
|
|
9234 |
if ftype == TType.STRUCT:
|
|
|
9235 |
self.wex = WarehouseServiceException()
|
|
|
9236 |
self.wex.read(iprot)
|
|
|
9237 |
else:
|
|
|
9238 |
iprot.skip(ftype)
|
|
|
9239 |
else:
|
|
|
9240 |
iprot.skip(ftype)
|
|
|
9241 |
iprot.readFieldEnd()
|
|
|
9242 |
iprot.readStructEnd()
|
|
|
9243 |
|
|
|
9244 |
def write(self, oprot):
|
|
|
9245 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
9246 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
9247 |
return
|
|
|
9248 |
oprot.writeStructBegin('reshipfreebie_result')
|
|
|
9249 |
if self.wex is not None:
|
|
|
9250 |
oprot.writeFieldBegin('wex', TType.STRUCT, 1)
|
|
|
9251 |
self.wex.write(oprot)
|
|
|
9252 |
oprot.writeFieldEnd()
|
|
|
9253 |
oprot.writeFieldStop()
|
|
|
9254 |
oprot.writeStructEnd()
|
|
|
9255 |
|
|
|
9256 |
def validate(self):
|
|
|
9257 |
return
|
|
|
9258 |
|
|
|
9259 |
|
|
|
9260 |
def __repr__(self):
|
|
|
9261 |
L = ['%s=%r' % (key, value)
|
|
|
9262 |
for key, value in self.__dict__.iteritems()]
|
|
|
9263 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
9264 |
|
|
|
9265 |
def __eq__(self, other):
|
|
|
9266 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
9267 |
|
|
|
9268 |
def __ne__(self, other):
|
|
|
9269 |
return not (self == other)
|
| 7410 |
amar.kumar |
9270 |
|
|
|
9271 |
class isItemTransferAllowed_args:
|
|
|
9272 |
"""
|
|
|
9273 |
Attributes:
|
|
|
9274 |
- warehouseId
|
|
|
9275 |
- transferWarehouseId
|
|
|
9276 |
"""
|
|
|
9277 |
|
|
|
9278 |
thrift_spec = (
|
|
|
9279 |
None, # 0
|
|
|
9280 |
(1, TType.I64, 'warehouseId', None, None, ), # 1
|
|
|
9281 |
(2, TType.I64, 'transferWarehouseId', None, None, ), # 2
|
|
|
9282 |
)
|
|
|
9283 |
|
|
|
9284 |
def __init__(self, warehouseId=None, transferWarehouseId=None,):
|
|
|
9285 |
self.warehouseId = warehouseId
|
|
|
9286 |
self.transferWarehouseId = transferWarehouseId
|
|
|
9287 |
|
|
|
9288 |
def read(self, iprot):
|
|
|
9289 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
9290 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
9291 |
return
|
|
|
9292 |
iprot.readStructBegin()
|
|
|
9293 |
while True:
|
|
|
9294 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
9295 |
if ftype == TType.STOP:
|
|
|
9296 |
break
|
|
|
9297 |
if fid == 1:
|
|
|
9298 |
if ftype == TType.I64:
|
|
|
9299 |
self.warehouseId = iprot.readI64();
|
|
|
9300 |
else:
|
|
|
9301 |
iprot.skip(ftype)
|
|
|
9302 |
elif fid == 2:
|
|
|
9303 |
if ftype == TType.I64:
|
|
|
9304 |
self.transferWarehouseId = iprot.readI64();
|
|
|
9305 |
else:
|
|
|
9306 |
iprot.skip(ftype)
|
|
|
9307 |
else:
|
|
|
9308 |
iprot.skip(ftype)
|
|
|
9309 |
iprot.readFieldEnd()
|
|
|
9310 |
iprot.readStructEnd()
|
|
|
9311 |
|
|
|
9312 |
def write(self, oprot):
|
|
|
9313 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
9314 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
9315 |
return
|
|
|
9316 |
oprot.writeStructBegin('isItemTransferAllowed_args')
|
|
|
9317 |
if self.warehouseId is not None:
|
|
|
9318 |
oprot.writeFieldBegin('warehouseId', TType.I64, 1)
|
|
|
9319 |
oprot.writeI64(self.warehouseId)
|
|
|
9320 |
oprot.writeFieldEnd()
|
|
|
9321 |
if self.transferWarehouseId is not None:
|
|
|
9322 |
oprot.writeFieldBegin('transferWarehouseId', TType.I64, 2)
|
|
|
9323 |
oprot.writeI64(self.transferWarehouseId)
|
|
|
9324 |
oprot.writeFieldEnd()
|
|
|
9325 |
oprot.writeFieldStop()
|
|
|
9326 |
oprot.writeStructEnd()
|
|
|
9327 |
|
|
|
9328 |
def validate(self):
|
|
|
9329 |
return
|
|
|
9330 |
|
|
|
9331 |
|
|
|
9332 |
def __repr__(self):
|
|
|
9333 |
L = ['%s=%r' % (key, value)
|
|
|
9334 |
for key, value in self.__dict__.iteritems()]
|
|
|
9335 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
9336 |
|
|
|
9337 |
def __eq__(self, other):
|
|
|
9338 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
9339 |
|
|
|
9340 |
def __ne__(self, other):
|
|
|
9341 |
return not (self == other)
|
|
|
9342 |
|
|
|
9343 |
class isItemTransferAllowed_result:
|
|
|
9344 |
"""
|
|
|
9345 |
Attributes:
|
|
|
9346 |
- success
|
|
|
9347 |
"""
|
|
|
9348 |
|
|
|
9349 |
thrift_spec = (
|
|
|
9350 |
(0, TType.BOOL, 'success', None, None, ), # 0
|
|
|
9351 |
)
|
|
|
9352 |
|
|
|
9353 |
def __init__(self, success=None,):
|
|
|
9354 |
self.success = success
|
|
|
9355 |
|
|
|
9356 |
def read(self, iprot):
|
|
|
9357 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
9358 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
9359 |
return
|
|
|
9360 |
iprot.readStructBegin()
|
|
|
9361 |
while True:
|
|
|
9362 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
9363 |
if ftype == TType.STOP:
|
|
|
9364 |
break
|
|
|
9365 |
if fid == 0:
|
|
|
9366 |
if ftype == TType.BOOL:
|
|
|
9367 |
self.success = iprot.readBool();
|
|
|
9368 |
else:
|
|
|
9369 |
iprot.skip(ftype)
|
|
|
9370 |
else:
|
|
|
9371 |
iprot.skip(ftype)
|
|
|
9372 |
iprot.readFieldEnd()
|
|
|
9373 |
iprot.readStructEnd()
|
|
|
9374 |
|
|
|
9375 |
def write(self, oprot):
|
|
|
9376 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
9377 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
9378 |
return
|
|
|
9379 |
oprot.writeStructBegin('isItemTransferAllowed_result')
|
|
|
9380 |
if self.success is not None:
|
|
|
9381 |
oprot.writeFieldBegin('success', TType.BOOL, 0)
|
|
|
9382 |
oprot.writeBool(self.success)
|
|
|
9383 |
oprot.writeFieldEnd()
|
|
|
9384 |
oprot.writeFieldStop()
|
|
|
9385 |
oprot.writeStructEnd()
|
|
|
9386 |
|
|
|
9387 |
def validate(self):
|
|
|
9388 |
return
|
|
|
9389 |
|
|
|
9390 |
|
|
|
9391 |
def __repr__(self):
|
|
|
9392 |
L = ['%s=%r' % (key, value)
|
|
|
9393 |
for key, value in self.__dict__.iteritems()]
|
|
|
9394 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
9395 |
|
|
|
9396 |
def __eq__(self, other):
|
|
|
9397 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
9398 |
|
|
|
9399 |
def __ne__(self, other):
|
|
|
9400 |
return not (self == other)
|
|
|
9401 |
|
|
|
9402 |
class createTransferLot_args:
|
|
|
9403 |
"""
|
|
|
9404 |
Attributes:
|
|
|
9405 |
- originWarehouseId
|
|
|
9406 |
- destWarehouseId
|
|
|
9407 |
"""
|
|
|
9408 |
|
|
|
9409 |
thrift_spec = (
|
|
|
9410 |
None, # 0
|
|
|
9411 |
(1, TType.I64, 'originWarehouseId', None, None, ), # 1
|
|
|
9412 |
(2, TType.I64, 'destWarehouseId', None, None, ), # 2
|
|
|
9413 |
)
|
|
|
9414 |
|
|
|
9415 |
def __init__(self, originWarehouseId=None, destWarehouseId=None,):
|
|
|
9416 |
self.originWarehouseId = originWarehouseId
|
|
|
9417 |
self.destWarehouseId = destWarehouseId
|
|
|
9418 |
|
|
|
9419 |
def read(self, iprot):
|
|
|
9420 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
9421 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
9422 |
return
|
|
|
9423 |
iprot.readStructBegin()
|
|
|
9424 |
while True:
|
|
|
9425 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
9426 |
if ftype == TType.STOP:
|
|
|
9427 |
break
|
|
|
9428 |
if fid == 1:
|
|
|
9429 |
if ftype == TType.I64:
|
|
|
9430 |
self.originWarehouseId = iprot.readI64();
|
|
|
9431 |
else:
|
|
|
9432 |
iprot.skip(ftype)
|
|
|
9433 |
elif fid == 2:
|
|
|
9434 |
if ftype == TType.I64:
|
|
|
9435 |
self.destWarehouseId = iprot.readI64();
|
|
|
9436 |
else:
|
|
|
9437 |
iprot.skip(ftype)
|
|
|
9438 |
else:
|
|
|
9439 |
iprot.skip(ftype)
|
|
|
9440 |
iprot.readFieldEnd()
|
|
|
9441 |
iprot.readStructEnd()
|
|
|
9442 |
|
|
|
9443 |
def write(self, oprot):
|
|
|
9444 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
9445 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
9446 |
return
|
|
|
9447 |
oprot.writeStructBegin('createTransferLot_args')
|
|
|
9448 |
if self.originWarehouseId is not None:
|
|
|
9449 |
oprot.writeFieldBegin('originWarehouseId', TType.I64, 1)
|
|
|
9450 |
oprot.writeI64(self.originWarehouseId)
|
|
|
9451 |
oprot.writeFieldEnd()
|
|
|
9452 |
if self.destWarehouseId is not None:
|
|
|
9453 |
oprot.writeFieldBegin('destWarehouseId', TType.I64, 2)
|
|
|
9454 |
oprot.writeI64(self.destWarehouseId)
|
|
|
9455 |
oprot.writeFieldEnd()
|
|
|
9456 |
oprot.writeFieldStop()
|
|
|
9457 |
oprot.writeStructEnd()
|
|
|
9458 |
|
|
|
9459 |
def validate(self):
|
|
|
9460 |
return
|
|
|
9461 |
|
|
|
9462 |
|
|
|
9463 |
def __repr__(self):
|
|
|
9464 |
L = ['%s=%r' % (key, value)
|
|
|
9465 |
for key, value in self.__dict__.iteritems()]
|
|
|
9466 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
9467 |
|
|
|
9468 |
def __eq__(self, other):
|
|
|
9469 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
9470 |
|
|
|
9471 |
def __ne__(self, other):
|
|
|
9472 |
return not (self == other)
|
|
|
9473 |
|
|
|
9474 |
class createTransferLot_result:
|
|
|
9475 |
"""
|
|
|
9476 |
Attributes:
|
|
|
9477 |
- success
|
|
|
9478 |
- wex
|
|
|
9479 |
"""
|
|
|
9480 |
|
|
|
9481 |
thrift_spec = (
|
|
|
9482 |
(0, TType.I64, 'success', None, None, ), # 0
|
|
|
9483 |
(1, TType.STRUCT, 'wex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
|
|
9484 |
)
|
|
|
9485 |
|
|
|
9486 |
def __init__(self, success=None, wex=None,):
|
|
|
9487 |
self.success = success
|
|
|
9488 |
self.wex = wex
|
|
|
9489 |
|
|
|
9490 |
def read(self, iprot):
|
|
|
9491 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
9492 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
9493 |
return
|
|
|
9494 |
iprot.readStructBegin()
|
|
|
9495 |
while True:
|
|
|
9496 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
9497 |
if ftype == TType.STOP:
|
|
|
9498 |
break
|
|
|
9499 |
if fid == 0:
|
|
|
9500 |
if ftype == TType.I64:
|
|
|
9501 |
self.success = iprot.readI64();
|
|
|
9502 |
else:
|
|
|
9503 |
iprot.skip(ftype)
|
|
|
9504 |
elif fid == 1:
|
|
|
9505 |
if ftype == TType.STRUCT:
|
|
|
9506 |
self.wex = WarehouseServiceException()
|
|
|
9507 |
self.wex.read(iprot)
|
|
|
9508 |
else:
|
|
|
9509 |
iprot.skip(ftype)
|
|
|
9510 |
else:
|
|
|
9511 |
iprot.skip(ftype)
|
|
|
9512 |
iprot.readFieldEnd()
|
|
|
9513 |
iprot.readStructEnd()
|
|
|
9514 |
|
|
|
9515 |
def write(self, oprot):
|
|
|
9516 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
9517 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
9518 |
return
|
|
|
9519 |
oprot.writeStructBegin('createTransferLot_result')
|
|
|
9520 |
if self.success is not None:
|
|
|
9521 |
oprot.writeFieldBegin('success', TType.I64, 0)
|
|
|
9522 |
oprot.writeI64(self.success)
|
|
|
9523 |
oprot.writeFieldEnd()
|
|
|
9524 |
if self.wex is not None:
|
|
|
9525 |
oprot.writeFieldBegin('wex', TType.STRUCT, 1)
|
|
|
9526 |
self.wex.write(oprot)
|
|
|
9527 |
oprot.writeFieldEnd()
|
|
|
9528 |
oprot.writeFieldStop()
|
|
|
9529 |
oprot.writeStructEnd()
|
|
|
9530 |
|
|
|
9531 |
def validate(self):
|
|
|
9532 |
return
|
|
|
9533 |
|
|
|
9534 |
|
|
|
9535 |
def __repr__(self):
|
|
|
9536 |
L = ['%s=%r' % (key, value)
|
|
|
9537 |
for key, value in self.__dict__.iteritems()]
|
|
|
9538 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
9539 |
|
|
|
9540 |
def __eq__(self, other):
|
|
|
9541 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
9542 |
|
|
|
9543 |
def __ne__(self, other):
|
|
|
9544 |
return not (self == other)
|
|
|
9545 |
|
|
|
9546 |
class getTransferLot_args:
|
|
|
9547 |
"""
|
|
|
9548 |
Attributes:
|
|
|
9549 |
- transferLotId
|
|
|
9550 |
"""
|
|
|
9551 |
|
|
|
9552 |
thrift_spec = (
|
|
|
9553 |
None, # 0
|
|
|
9554 |
(1, TType.I64, 'transferLotId', None, None, ), # 1
|
|
|
9555 |
)
|
|
|
9556 |
|
|
|
9557 |
def __init__(self, transferLotId=None,):
|
|
|
9558 |
self.transferLotId = transferLotId
|
|
|
9559 |
|
|
|
9560 |
def read(self, iprot):
|
|
|
9561 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
9562 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
9563 |
return
|
|
|
9564 |
iprot.readStructBegin()
|
|
|
9565 |
while True:
|
|
|
9566 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
9567 |
if ftype == TType.STOP:
|
|
|
9568 |
break
|
|
|
9569 |
if fid == 1:
|
|
|
9570 |
if ftype == TType.I64:
|
|
|
9571 |
self.transferLotId = iprot.readI64();
|
|
|
9572 |
else:
|
|
|
9573 |
iprot.skip(ftype)
|
|
|
9574 |
else:
|
|
|
9575 |
iprot.skip(ftype)
|
|
|
9576 |
iprot.readFieldEnd()
|
|
|
9577 |
iprot.readStructEnd()
|
|
|
9578 |
|
|
|
9579 |
def write(self, oprot):
|
|
|
9580 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
9581 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
9582 |
return
|
|
|
9583 |
oprot.writeStructBegin('getTransferLot_args')
|
|
|
9584 |
if self.transferLotId is not None:
|
|
|
9585 |
oprot.writeFieldBegin('transferLotId', TType.I64, 1)
|
|
|
9586 |
oprot.writeI64(self.transferLotId)
|
|
|
9587 |
oprot.writeFieldEnd()
|
|
|
9588 |
oprot.writeFieldStop()
|
|
|
9589 |
oprot.writeStructEnd()
|
|
|
9590 |
|
|
|
9591 |
def validate(self):
|
|
|
9592 |
return
|
|
|
9593 |
|
|
|
9594 |
|
|
|
9595 |
def __repr__(self):
|
|
|
9596 |
L = ['%s=%r' % (key, value)
|
|
|
9597 |
for key, value in self.__dict__.iteritems()]
|
|
|
9598 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
9599 |
|
|
|
9600 |
def __eq__(self, other):
|
|
|
9601 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
9602 |
|
|
|
9603 |
def __ne__(self, other):
|
|
|
9604 |
return not (self == other)
|
|
|
9605 |
|
|
|
9606 |
class getTransferLot_result:
|
|
|
9607 |
"""
|
|
|
9608 |
Attributes:
|
|
|
9609 |
- success
|
|
|
9610 |
- wex
|
|
|
9611 |
"""
|
|
|
9612 |
|
|
|
9613 |
thrift_spec = (
|
|
|
9614 |
(0, TType.STRUCT, 'success', (TransferLot, TransferLot.thrift_spec), None, ), # 0
|
|
|
9615 |
(1, TType.STRUCT, 'wex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
|
|
9616 |
)
|
|
|
9617 |
|
|
|
9618 |
def __init__(self, success=None, wex=None,):
|
|
|
9619 |
self.success = success
|
|
|
9620 |
self.wex = wex
|
|
|
9621 |
|
|
|
9622 |
def read(self, iprot):
|
|
|
9623 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
9624 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
9625 |
return
|
|
|
9626 |
iprot.readStructBegin()
|
|
|
9627 |
while True:
|
|
|
9628 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
9629 |
if ftype == TType.STOP:
|
|
|
9630 |
break
|
|
|
9631 |
if fid == 0:
|
|
|
9632 |
if ftype == TType.STRUCT:
|
|
|
9633 |
self.success = TransferLot()
|
|
|
9634 |
self.success.read(iprot)
|
|
|
9635 |
else:
|
|
|
9636 |
iprot.skip(ftype)
|
|
|
9637 |
elif fid == 1:
|
|
|
9638 |
if ftype == TType.STRUCT:
|
|
|
9639 |
self.wex = WarehouseServiceException()
|
|
|
9640 |
self.wex.read(iprot)
|
|
|
9641 |
else:
|
|
|
9642 |
iprot.skip(ftype)
|
|
|
9643 |
else:
|
|
|
9644 |
iprot.skip(ftype)
|
|
|
9645 |
iprot.readFieldEnd()
|
|
|
9646 |
iprot.readStructEnd()
|
|
|
9647 |
|
|
|
9648 |
def write(self, oprot):
|
|
|
9649 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
9650 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
9651 |
return
|
|
|
9652 |
oprot.writeStructBegin('getTransferLot_result')
|
|
|
9653 |
if self.success is not None:
|
|
|
9654 |
oprot.writeFieldBegin('success', TType.STRUCT, 0)
|
|
|
9655 |
self.success.write(oprot)
|
|
|
9656 |
oprot.writeFieldEnd()
|
|
|
9657 |
if self.wex is not None:
|
|
|
9658 |
oprot.writeFieldBegin('wex', TType.STRUCT, 1)
|
|
|
9659 |
self.wex.write(oprot)
|
|
|
9660 |
oprot.writeFieldEnd()
|
|
|
9661 |
oprot.writeFieldStop()
|
|
|
9662 |
oprot.writeStructEnd()
|
|
|
9663 |
|
|
|
9664 |
def validate(self):
|
|
|
9665 |
return
|
|
|
9666 |
|
|
|
9667 |
|
|
|
9668 |
def __repr__(self):
|
|
|
9669 |
L = ['%s=%r' % (key, value)
|
|
|
9670 |
for key, value in self.__dict__.iteritems()]
|
|
|
9671 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
9672 |
|
|
|
9673 |
def __eq__(self, other):
|
|
|
9674 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
9675 |
|
|
|
9676 |
def __ne__(self, other):
|
|
|
9677 |
return not (self == other)
|
|
|
9678 |
|
|
|
9679 |
class markTransferLotAsReceived_args:
|
|
|
9680 |
"""
|
|
|
9681 |
Attributes:
|
|
|
9682 |
- id
|
|
|
9683 |
- remoteTransferRefNumber
|
|
|
9684 |
"""
|
|
|
9685 |
|
|
|
9686 |
thrift_spec = (
|
|
|
9687 |
None, # 0
|
|
|
9688 |
(1, TType.I64, 'id', None, None, ), # 1
|
|
|
9689 |
(2, TType.STRING, 'remoteTransferRefNumber', None, None, ), # 2
|
|
|
9690 |
)
|
|
|
9691 |
|
|
|
9692 |
def __init__(self, id=None, remoteTransferRefNumber=None,):
|
|
|
9693 |
self.id = id
|
|
|
9694 |
self.remoteTransferRefNumber = remoteTransferRefNumber
|
|
|
9695 |
|
|
|
9696 |
def read(self, iprot):
|
|
|
9697 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
9698 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
9699 |
return
|
|
|
9700 |
iprot.readStructBegin()
|
|
|
9701 |
while True:
|
|
|
9702 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
9703 |
if ftype == TType.STOP:
|
|
|
9704 |
break
|
|
|
9705 |
if fid == 1:
|
|
|
9706 |
if ftype == TType.I64:
|
|
|
9707 |
self.id = iprot.readI64();
|
|
|
9708 |
else:
|
|
|
9709 |
iprot.skip(ftype)
|
|
|
9710 |
elif fid == 2:
|
|
|
9711 |
if ftype == TType.STRING:
|
|
|
9712 |
self.remoteTransferRefNumber = iprot.readString();
|
|
|
9713 |
else:
|
|
|
9714 |
iprot.skip(ftype)
|
|
|
9715 |
else:
|
|
|
9716 |
iprot.skip(ftype)
|
|
|
9717 |
iprot.readFieldEnd()
|
|
|
9718 |
iprot.readStructEnd()
|
|
|
9719 |
|
|
|
9720 |
def write(self, oprot):
|
|
|
9721 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
9722 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
9723 |
return
|
|
|
9724 |
oprot.writeStructBegin('markTransferLotAsReceived_args')
|
|
|
9725 |
if self.id is not None:
|
|
|
9726 |
oprot.writeFieldBegin('id', TType.I64, 1)
|
|
|
9727 |
oprot.writeI64(self.id)
|
|
|
9728 |
oprot.writeFieldEnd()
|
|
|
9729 |
if self.remoteTransferRefNumber is not None:
|
|
|
9730 |
oprot.writeFieldBegin('remoteTransferRefNumber', TType.STRING, 2)
|
|
|
9731 |
oprot.writeString(self.remoteTransferRefNumber)
|
|
|
9732 |
oprot.writeFieldEnd()
|
|
|
9733 |
oprot.writeFieldStop()
|
|
|
9734 |
oprot.writeStructEnd()
|
|
|
9735 |
|
|
|
9736 |
def validate(self):
|
|
|
9737 |
return
|
|
|
9738 |
|
|
|
9739 |
|
|
|
9740 |
def __repr__(self):
|
|
|
9741 |
L = ['%s=%r' % (key, value)
|
|
|
9742 |
for key, value in self.__dict__.iteritems()]
|
|
|
9743 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
9744 |
|
|
|
9745 |
def __eq__(self, other):
|
|
|
9746 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
9747 |
|
|
|
9748 |
def __ne__(self, other):
|
|
|
9749 |
return not (self == other)
|
|
|
9750 |
|
|
|
9751 |
class markTransferLotAsReceived_result:
|
|
|
9752 |
"""
|
|
|
9753 |
Attributes:
|
|
|
9754 |
- wex
|
|
|
9755 |
"""
|
|
|
9756 |
|
|
|
9757 |
thrift_spec = (
|
|
|
9758 |
None, # 0
|
|
|
9759 |
(1, TType.STRUCT, 'wex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
|
|
9760 |
)
|
|
|
9761 |
|
|
|
9762 |
def __init__(self, wex=None,):
|
|
|
9763 |
self.wex = wex
|
|
|
9764 |
|
|
|
9765 |
def read(self, iprot):
|
|
|
9766 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
9767 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
9768 |
return
|
|
|
9769 |
iprot.readStructBegin()
|
|
|
9770 |
while True:
|
|
|
9771 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
9772 |
if ftype == TType.STOP:
|
|
|
9773 |
break
|
|
|
9774 |
if fid == 1:
|
|
|
9775 |
if ftype == TType.STRUCT:
|
|
|
9776 |
self.wex = WarehouseServiceException()
|
|
|
9777 |
self.wex.read(iprot)
|
|
|
9778 |
else:
|
|
|
9779 |
iprot.skip(ftype)
|
|
|
9780 |
else:
|
|
|
9781 |
iprot.skip(ftype)
|
|
|
9782 |
iprot.readFieldEnd()
|
|
|
9783 |
iprot.readStructEnd()
|
|
|
9784 |
|
|
|
9785 |
def write(self, oprot):
|
|
|
9786 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
9787 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
9788 |
return
|
|
|
9789 |
oprot.writeStructBegin('markTransferLotAsReceived_result')
|
|
|
9790 |
if self.wex is not None:
|
|
|
9791 |
oprot.writeFieldBegin('wex', TType.STRUCT, 1)
|
|
|
9792 |
self.wex.write(oprot)
|
|
|
9793 |
oprot.writeFieldEnd()
|
|
|
9794 |
oprot.writeFieldStop()
|
|
|
9795 |
oprot.writeStructEnd()
|
|
|
9796 |
|
|
|
9797 |
def validate(self):
|
|
|
9798 |
return
|
|
|
9799 |
|
|
|
9800 |
|
|
|
9801 |
def __repr__(self):
|
|
|
9802 |
L = ['%s=%r' % (key, value)
|
|
|
9803 |
for key, value in self.__dict__.iteritems()]
|
|
|
9804 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
9805 |
|
|
|
9806 |
def __eq__(self, other):
|
|
|
9807 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
9808 |
|
|
|
9809 |
def __ne__(self, other):
|
|
|
9810 |
return not (self == other)
|
|
|
9811 |
|
|
|
9812 |
class getTransferLotsByDate_args:
|
|
|
9813 |
"""
|
|
|
9814 |
Attributes:
|
|
|
9815 |
- fromDate
|
|
|
9816 |
- toDate
|
|
|
9817 |
"""
|
|
|
9818 |
|
|
|
9819 |
thrift_spec = (
|
|
|
9820 |
None, # 0
|
|
|
9821 |
(1, TType.I64, 'fromDate', None, None, ), # 1
|
|
|
9822 |
(2, TType.I64, 'toDate', None, None, ), # 2
|
|
|
9823 |
)
|
|
|
9824 |
|
|
|
9825 |
def __init__(self, fromDate=None, toDate=None,):
|
|
|
9826 |
self.fromDate = fromDate
|
|
|
9827 |
self.toDate = toDate
|
|
|
9828 |
|
|
|
9829 |
def read(self, iprot):
|
|
|
9830 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
9831 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
9832 |
return
|
|
|
9833 |
iprot.readStructBegin()
|
|
|
9834 |
while True:
|
|
|
9835 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
9836 |
if ftype == TType.STOP:
|
|
|
9837 |
break
|
|
|
9838 |
if fid == 1:
|
|
|
9839 |
if ftype == TType.I64:
|
|
|
9840 |
self.fromDate = iprot.readI64();
|
|
|
9841 |
else:
|
|
|
9842 |
iprot.skip(ftype)
|
|
|
9843 |
elif fid == 2:
|
|
|
9844 |
if ftype == TType.I64:
|
|
|
9845 |
self.toDate = iprot.readI64();
|
|
|
9846 |
else:
|
|
|
9847 |
iprot.skip(ftype)
|
|
|
9848 |
else:
|
|
|
9849 |
iprot.skip(ftype)
|
|
|
9850 |
iprot.readFieldEnd()
|
|
|
9851 |
iprot.readStructEnd()
|
|
|
9852 |
|
|
|
9853 |
def write(self, oprot):
|
|
|
9854 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
9855 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
9856 |
return
|
|
|
9857 |
oprot.writeStructBegin('getTransferLotsByDate_args')
|
|
|
9858 |
if self.fromDate is not None:
|
|
|
9859 |
oprot.writeFieldBegin('fromDate', TType.I64, 1)
|
|
|
9860 |
oprot.writeI64(self.fromDate)
|
|
|
9861 |
oprot.writeFieldEnd()
|
|
|
9862 |
if self.toDate is not None:
|
|
|
9863 |
oprot.writeFieldBegin('toDate', TType.I64, 2)
|
|
|
9864 |
oprot.writeI64(self.toDate)
|
|
|
9865 |
oprot.writeFieldEnd()
|
|
|
9866 |
oprot.writeFieldStop()
|
|
|
9867 |
oprot.writeStructEnd()
|
|
|
9868 |
|
|
|
9869 |
def validate(self):
|
|
|
9870 |
return
|
|
|
9871 |
|
|
|
9872 |
|
|
|
9873 |
def __repr__(self):
|
|
|
9874 |
L = ['%s=%r' % (key, value)
|
|
|
9875 |
for key, value in self.__dict__.iteritems()]
|
|
|
9876 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
9877 |
|
|
|
9878 |
def __eq__(self, other):
|
|
|
9879 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
9880 |
|
|
|
9881 |
def __ne__(self, other):
|
|
|
9882 |
return not (self == other)
|
|
|
9883 |
|
|
|
9884 |
class getTransferLotsByDate_result:
|
|
|
9885 |
"""
|
|
|
9886 |
Attributes:
|
|
|
9887 |
- success
|
|
|
9888 |
- wex
|
|
|
9889 |
"""
|
|
|
9890 |
|
|
|
9891 |
thrift_spec = (
|
|
|
9892 |
(0, TType.LIST, 'success', (TType.STRUCT,(TransferLot, TransferLot.thrift_spec)), None, ), # 0
|
|
|
9893 |
(1, TType.STRUCT, 'wex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
|
|
9894 |
)
|
|
|
9895 |
|
|
|
9896 |
def __init__(self, success=None, wex=None,):
|
|
|
9897 |
self.success = success
|
|
|
9898 |
self.wex = wex
|
|
|
9899 |
|
|
|
9900 |
def read(self, iprot):
|
|
|
9901 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
9902 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
9903 |
return
|
|
|
9904 |
iprot.readStructBegin()
|
|
|
9905 |
while True:
|
|
|
9906 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
9907 |
if ftype == TType.STOP:
|
|
|
9908 |
break
|
|
|
9909 |
if fid == 0:
|
|
|
9910 |
if ftype == TType.LIST:
|
|
|
9911 |
self.success = []
|
| 10407 |
amar.kumar |
9912 |
(_etype157, _size154) = iprot.readListBegin()
|
|
|
9913 |
for _i158 in xrange(_size154):
|
|
|
9914 |
_elem159 = TransferLot()
|
|
|
9915 |
_elem159.read(iprot)
|
|
|
9916 |
self.success.append(_elem159)
|
| 7410 |
amar.kumar |
9917 |
iprot.readListEnd()
|
|
|
9918 |
else:
|
|
|
9919 |
iprot.skip(ftype)
|
|
|
9920 |
elif fid == 1:
|
|
|
9921 |
if ftype == TType.STRUCT:
|
|
|
9922 |
self.wex = WarehouseServiceException()
|
|
|
9923 |
self.wex.read(iprot)
|
|
|
9924 |
else:
|
|
|
9925 |
iprot.skip(ftype)
|
|
|
9926 |
else:
|
|
|
9927 |
iprot.skip(ftype)
|
|
|
9928 |
iprot.readFieldEnd()
|
|
|
9929 |
iprot.readStructEnd()
|
|
|
9930 |
|
|
|
9931 |
def write(self, oprot):
|
|
|
9932 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
9933 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
9934 |
return
|
|
|
9935 |
oprot.writeStructBegin('getTransferLotsByDate_result')
|
|
|
9936 |
if self.success is not None:
|
|
|
9937 |
oprot.writeFieldBegin('success', TType.LIST, 0)
|
|
|
9938 |
oprot.writeListBegin(TType.STRUCT, len(self.success))
|
| 10407 |
amar.kumar |
9939 |
for iter160 in self.success:
|
|
|
9940 |
iter160.write(oprot)
|
| 7410 |
amar.kumar |
9941 |
oprot.writeListEnd()
|
|
|
9942 |
oprot.writeFieldEnd()
|
|
|
9943 |
if self.wex is not None:
|
|
|
9944 |
oprot.writeFieldBegin('wex', TType.STRUCT, 1)
|
|
|
9945 |
self.wex.write(oprot)
|
|
|
9946 |
oprot.writeFieldEnd()
|
|
|
9947 |
oprot.writeFieldStop()
|
|
|
9948 |
oprot.writeStructEnd()
|
|
|
9949 |
|
|
|
9950 |
def validate(self):
|
|
|
9951 |
return
|
|
|
9952 |
|
|
|
9953 |
|
|
|
9954 |
def __repr__(self):
|
|
|
9955 |
L = ['%s=%r' % (key, value)
|
|
|
9956 |
for key, value in self.__dict__.iteritems()]
|
|
|
9957 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
9958 |
|
|
|
9959 |
def __eq__(self, other):
|
|
|
9960 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
9961 |
|
|
|
9962 |
def __ne__(self, other):
|
|
|
9963 |
return not (self == other)
|
|
|
9964 |
|
|
|
9965 |
class getAllowedDestinationWarehousesForTransfer_args:
|
|
|
9966 |
"""
|
|
|
9967 |
Attributes:
|
|
|
9968 |
- warehouseId
|
|
|
9969 |
"""
|
|
|
9970 |
|
|
|
9971 |
thrift_spec = (
|
|
|
9972 |
None, # 0
|
|
|
9973 |
(1, TType.I64, 'warehouseId', None, None, ), # 1
|
|
|
9974 |
)
|
|
|
9975 |
|
|
|
9976 |
def __init__(self, warehouseId=None,):
|
|
|
9977 |
self.warehouseId = warehouseId
|
|
|
9978 |
|
|
|
9979 |
def read(self, iprot):
|
|
|
9980 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
9981 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
9982 |
return
|
|
|
9983 |
iprot.readStructBegin()
|
|
|
9984 |
while True:
|
|
|
9985 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
9986 |
if ftype == TType.STOP:
|
|
|
9987 |
break
|
|
|
9988 |
if fid == 1:
|
|
|
9989 |
if ftype == TType.I64:
|
|
|
9990 |
self.warehouseId = iprot.readI64();
|
|
|
9991 |
else:
|
|
|
9992 |
iprot.skip(ftype)
|
|
|
9993 |
else:
|
|
|
9994 |
iprot.skip(ftype)
|
|
|
9995 |
iprot.readFieldEnd()
|
|
|
9996 |
iprot.readStructEnd()
|
|
|
9997 |
|
|
|
9998 |
def write(self, oprot):
|
|
|
9999 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
10000 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
10001 |
return
|
|
|
10002 |
oprot.writeStructBegin('getAllowedDestinationWarehousesForTransfer_args')
|
|
|
10003 |
if self.warehouseId is not None:
|
|
|
10004 |
oprot.writeFieldBegin('warehouseId', TType.I64, 1)
|
|
|
10005 |
oprot.writeI64(self.warehouseId)
|
|
|
10006 |
oprot.writeFieldEnd()
|
|
|
10007 |
oprot.writeFieldStop()
|
|
|
10008 |
oprot.writeStructEnd()
|
|
|
10009 |
|
|
|
10010 |
def validate(self):
|
|
|
10011 |
return
|
|
|
10012 |
|
|
|
10013 |
|
|
|
10014 |
def __repr__(self):
|
|
|
10015 |
L = ['%s=%r' % (key, value)
|
|
|
10016 |
for key, value in self.__dict__.iteritems()]
|
|
|
10017 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
10018 |
|
|
|
10019 |
def __eq__(self, other):
|
|
|
10020 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
10021 |
|
|
|
10022 |
def __ne__(self, other):
|
|
|
10023 |
return not (self == other)
|
|
|
10024 |
|
|
|
10025 |
class getAllowedDestinationWarehousesForTransfer_result:
|
|
|
10026 |
"""
|
|
|
10027 |
Attributes:
|
|
|
10028 |
- success
|
|
|
10029 |
"""
|
|
|
10030 |
|
|
|
10031 |
thrift_spec = (
|
|
|
10032 |
(0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
|
|
|
10033 |
)
|
|
|
10034 |
|
|
|
10035 |
def __init__(self, success=None,):
|
|
|
10036 |
self.success = success
|
|
|
10037 |
|
|
|
10038 |
def read(self, iprot):
|
|
|
10039 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
10040 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
10041 |
return
|
|
|
10042 |
iprot.readStructBegin()
|
|
|
10043 |
while True:
|
|
|
10044 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
10045 |
if ftype == TType.STOP:
|
|
|
10046 |
break
|
|
|
10047 |
if fid == 0:
|
|
|
10048 |
if ftype == TType.LIST:
|
|
|
10049 |
self.success = []
|
| 10407 |
amar.kumar |
10050 |
(_etype164, _size161) = iprot.readListBegin()
|
|
|
10051 |
for _i165 in xrange(_size161):
|
|
|
10052 |
_elem166 = iprot.readI64();
|
|
|
10053 |
self.success.append(_elem166)
|
| 7410 |
amar.kumar |
10054 |
iprot.readListEnd()
|
|
|
10055 |
else:
|
|
|
10056 |
iprot.skip(ftype)
|
|
|
10057 |
else:
|
|
|
10058 |
iprot.skip(ftype)
|
|
|
10059 |
iprot.readFieldEnd()
|
|
|
10060 |
iprot.readStructEnd()
|
|
|
10061 |
|
|
|
10062 |
def write(self, oprot):
|
|
|
10063 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
10064 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
10065 |
return
|
|
|
10066 |
oprot.writeStructBegin('getAllowedDestinationWarehousesForTransfer_result')
|
|
|
10067 |
if self.success is not None:
|
|
|
10068 |
oprot.writeFieldBegin('success', TType.LIST, 0)
|
|
|
10069 |
oprot.writeListBegin(TType.I64, len(self.success))
|
| 10407 |
amar.kumar |
10070 |
for iter167 in self.success:
|
|
|
10071 |
oprot.writeI64(iter167)
|
| 7410 |
amar.kumar |
10072 |
oprot.writeListEnd()
|
|
|
10073 |
oprot.writeFieldEnd()
|
|
|
10074 |
oprot.writeFieldStop()
|
|
|
10075 |
oprot.writeStructEnd()
|
|
|
10076 |
|
|
|
10077 |
def validate(self):
|
|
|
10078 |
return
|
|
|
10079 |
|
|
|
10080 |
|
|
|
10081 |
def __repr__(self):
|
|
|
10082 |
L = ['%s=%r' % (key, value)
|
|
|
10083 |
for key, value in self.__dict__.iteritems()]
|
|
|
10084 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
10085 |
|
|
|
10086 |
def __eq__(self, other):
|
|
|
10087 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
10088 |
|
|
|
10089 |
def __ne__(self, other):
|
|
|
10090 |
return not (self == other)
|
|
|
10091 |
|
|
|
10092 |
class getItemsInTransferLot_args:
|
|
|
10093 |
"""
|
|
|
10094 |
Attributes:
|
|
|
10095 |
- transferLotId
|
|
|
10096 |
"""
|
|
|
10097 |
|
|
|
10098 |
thrift_spec = (
|
|
|
10099 |
None, # 0
|
|
|
10100 |
(1, TType.I64, 'transferLotId', None, None, ), # 1
|
|
|
10101 |
)
|
|
|
10102 |
|
|
|
10103 |
def __init__(self, transferLotId=None,):
|
|
|
10104 |
self.transferLotId = transferLotId
|
|
|
10105 |
|
|
|
10106 |
def read(self, iprot):
|
|
|
10107 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
10108 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
10109 |
return
|
|
|
10110 |
iprot.readStructBegin()
|
|
|
10111 |
while True:
|
|
|
10112 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
10113 |
if ftype == TType.STOP:
|
|
|
10114 |
break
|
|
|
10115 |
if fid == 1:
|
|
|
10116 |
if ftype == TType.I64:
|
|
|
10117 |
self.transferLotId = iprot.readI64();
|
|
|
10118 |
else:
|
|
|
10119 |
iprot.skip(ftype)
|
|
|
10120 |
else:
|
|
|
10121 |
iprot.skip(ftype)
|
|
|
10122 |
iprot.readFieldEnd()
|
|
|
10123 |
iprot.readStructEnd()
|
|
|
10124 |
|
|
|
10125 |
def write(self, oprot):
|
|
|
10126 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
10127 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
10128 |
return
|
|
|
10129 |
oprot.writeStructBegin('getItemsInTransferLot_args')
|
|
|
10130 |
if self.transferLotId is not None:
|
|
|
10131 |
oprot.writeFieldBegin('transferLotId', TType.I64, 1)
|
|
|
10132 |
oprot.writeI64(self.transferLotId)
|
|
|
10133 |
oprot.writeFieldEnd()
|
|
|
10134 |
oprot.writeFieldStop()
|
|
|
10135 |
oprot.writeStructEnd()
|
|
|
10136 |
|
|
|
10137 |
def validate(self):
|
|
|
10138 |
return
|
|
|
10139 |
|
|
|
10140 |
|
|
|
10141 |
def __repr__(self):
|
|
|
10142 |
L = ['%s=%r' % (key, value)
|
|
|
10143 |
for key, value in self.__dict__.iteritems()]
|
|
|
10144 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
10145 |
|
|
|
10146 |
def __eq__(self, other):
|
|
|
10147 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
10148 |
|
|
|
10149 |
def __ne__(self, other):
|
|
|
10150 |
return not (self == other)
|
|
|
10151 |
|
|
|
10152 |
class getItemsInTransferLot_result:
|
|
|
10153 |
"""
|
|
|
10154 |
Attributes:
|
|
|
10155 |
- success
|
|
|
10156 |
"""
|
|
|
10157 |
|
|
|
10158 |
thrift_spec = (
|
|
|
10159 |
(0, TType.MAP, 'success', (TType.I64,None,TType.I64,None), None, ), # 0
|
|
|
10160 |
)
|
|
|
10161 |
|
|
|
10162 |
def __init__(self, success=None,):
|
|
|
10163 |
self.success = success
|
|
|
10164 |
|
|
|
10165 |
def read(self, iprot):
|
|
|
10166 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
10167 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
10168 |
return
|
|
|
10169 |
iprot.readStructBegin()
|
|
|
10170 |
while True:
|
|
|
10171 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
10172 |
if ftype == TType.STOP:
|
|
|
10173 |
break
|
|
|
10174 |
if fid == 0:
|
|
|
10175 |
if ftype == TType.MAP:
|
|
|
10176 |
self.success = {}
|
| 10407 |
amar.kumar |
10177 |
(_ktype169, _vtype170, _size168 ) = iprot.readMapBegin()
|
|
|
10178 |
for _i172 in xrange(_size168):
|
|
|
10179 |
_key173 = iprot.readI64();
|
|
|
10180 |
_val174 = iprot.readI64();
|
|
|
10181 |
self.success[_key173] = _val174
|
| 7410 |
amar.kumar |
10182 |
iprot.readMapEnd()
|
|
|
10183 |
else:
|
|
|
10184 |
iprot.skip(ftype)
|
|
|
10185 |
else:
|
|
|
10186 |
iprot.skip(ftype)
|
|
|
10187 |
iprot.readFieldEnd()
|
|
|
10188 |
iprot.readStructEnd()
|
|
|
10189 |
|
|
|
10190 |
def write(self, oprot):
|
|
|
10191 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
10192 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
10193 |
return
|
|
|
10194 |
oprot.writeStructBegin('getItemsInTransferLot_result')
|
|
|
10195 |
if self.success is not None:
|
|
|
10196 |
oprot.writeFieldBegin('success', TType.MAP, 0)
|
|
|
10197 |
oprot.writeMapBegin(TType.I64, TType.I64, len(self.success))
|
| 10407 |
amar.kumar |
10198 |
for kiter175,viter176 in self.success.items():
|
|
|
10199 |
oprot.writeI64(kiter175)
|
|
|
10200 |
oprot.writeI64(viter176)
|
| 7410 |
amar.kumar |
10201 |
oprot.writeMapEnd()
|
|
|
10202 |
oprot.writeFieldEnd()
|
|
|
10203 |
oprot.writeFieldStop()
|
|
|
10204 |
oprot.writeStructEnd()
|
|
|
10205 |
|
|
|
10206 |
def validate(self):
|
|
|
10207 |
return
|
|
|
10208 |
|
|
|
10209 |
|
|
|
10210 |
def __repr__(self):
|
|
|
10211 |
L = ['%s=%r' % (key, value)
|
|
|
10212 |
for key, value in self.__dict__.iteritems()]
|
|
|
10213 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
10214 |
|
|
|
10215 |
def __eq__(self, other):
|
|
|
10216 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
10217 |
|
|
|
10218 |
def __ne__(self, other):
|
|
|
10219 |
return not (self == other)
|
|
|
10220 |
|
|
|
10221 |
class markItemsAsReceivedForTransferLot_args:
|
|
|
10222 |
"""
|
|
|
10223 |
Attributes:
|
|
|
10224 |
- id
|
|
|
10225 |
"""
|
|
|
10226 |
|
|
|
10227 |
thrift_spec = (
|
|
|
10228 |
None, # 0
|
|
|
10229 |
(1, TType.I64, 'id', None, None, ), # 1
|
|
|
10230 |
)
|
|
|
10231 |
|
|
|
10232 |
def __init__(self, id=None,):
|
|
|
10233 |
self.id = id
|
|
|
10234 |
|
|
|
10235 |
def read(self, iprot):
|
|
|
10236 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
10237 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
10238 |
return
|
|
|
10239 |
iprot.readStructBegin()
|
|
|
10240 |
while True:
|
|
|
10241 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
10242 |
if ftype == TType.STOP:
|
|
|
10243 |
break
|
|
|
10244 |
if fid == 1:
|
|
|
10245 |
if ftype == TType.I64:
|
|
|
10246 |
self.id = iprot.readI64();
|
|
|
10247 |
else:
|
|
|
10248 |
iprot.skip(ftype)
|
|
|
10249 |
else:
|
|
|
10250 |
iprot.skip(ftype)
|
|
|
10251 |
iprot.readFieldEnd()
|
|
|
10252 |
iprot.readStructEnd()
|
|
|
10253 |
|
|
|
10254 |
def write(self, oprot):
|
|
|
10255 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
10256 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
10257 |
return
|
|
|
10258 |
oprot.writeStructBegin('markItemsAsReceivedForTransferLot_args')
|
|
|
10259 |
if self.id is not None:
|
|
|
10260 |
oprot.writeFieldBegin('id', TType.I64, 1)
|
|
|
10261 |
oprot.writeI64(self.id)
|
|
|
10262 |
oprot.writeFieldEnd()
|
|
|
10263 |
oprot.writeFieldStop()
|
|
|
10264 |
oprot.writeStructEnd()
|
|
|
10265 |
|
|
|
10266 |
def validate(self):
|
|
|
10267 |
return
|
|
|
10268 |
|
|
|
10269 |
|
|
|
10270 |
def __repr__(self):
|
|
|
10271 |
L = ['%s=%r' % (key, value)
|
|
|
10272 |
for key, value in self.__dict__.iteritems()]
|
|
|
10273 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
10274 |
|
|
|
10275 |
def __eq__(self, other):
|
|
|
10276 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
10277 |
|
|
|
10278 |
def __ne__(self, other):
|
|
|
10279 |
return not (self == other)
|
|
|
10280 |
|
|
|
10281 |
class markItemsAsReceivedForTransferLot_result:
|
|
|
10282 |
"""
|
|
|
10283 |
Attributes:
|
|
|
10284 |
- wex
|
|
|
10285 |
"""
|
|
|
10286 |
|
|
|
10287 |
thrift_spec = (
|
|
|
10288 |
None, # 0
|
|
|
10289 |
(1, TType.STRUCT, 'wex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
|
|
10290 |
)
|
|
|
10291 |
|
|
|
10292 |
def __init__(self, wex=None,):
|
|
|
10293 |
self.wex = wex
|
|
|
10294 |
|
|
|
10295 |
def read(self, iprot):
|
|
|
10296 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
10297 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
10298 |
return
|
|
|
10299 |
iprot.readStructBegin()
|
|
|
10300 |
while True:
|
|
|
10301 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
10302 |
if ftype == TType.STOP:
|
|
|
10303 |
break
|
|
|
10304 |
if fid == 1:
|
|
|
10305 |
if ftype == TType.STRUCT:
|
|
|
10306 |
self.wex = WarehouseServiceException()
|
|
|
10307 |
self.wex.read(iprot)
|
|
|
10308 |
else:
|
|
|
10309 |
iprot.skip(ftype)
|
|
|
10310 |
else:
|
|
|
10311 |
iprot.skip(ftype)
|
|
|
10312 |
iprot.readFieldEnd()
|
|
|
10313 |
iprot.readStructEnd()
|
|
|
10314 |
|
|
|
10315 |
def write(self, oprot):
|
|
|
10316 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
10317 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
10318 |
return
|
|
|
10319 |
oprot.writeStructBegin('markItemsAsReceivedForTransferLot_result')
|
|
|
10320 |
if self.wex is not None:
|
|
|
10321 |
oprot.writeFieldBegin('wex', TType.STRUCT, 1)
|
|
|
10322 |
self.wex.write(oprot)
|
|
|
10323 |
oprot.writeFieldEnd()
|
|
|
10324 |
oprot.writeFieldStop()
|
|
|
10325 |
oprot.writeStructEnd()
|
|
|
10326 |
|
|
|
10327 |
def validate(self):
|
|
|
10328 |
return
|
|
|
10329 |
|
|
|
10330 |
|
|
|
10331 |
def __repr__(self):
|
|
|
10332 |
L = ['%s=%r' % (key, value)
|
|
|
10333 |
for key, value in self.__dict__.iteritems()]
|
|
|
10334 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
10335 |
|
|
|
10336 |
def __eq__(self, other):
|
|
|
10337 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
10338 |
|
|
|
10339 |
def __ne__(self, other):
|
|
|
10340 |
return not (self == other)
|
|
|
10341 |
|
|
|
10342 |
class updateTransferLotAfterItemReceive_args:
|
|
|
10343 |
"""
|
|
|
10344 |
Attributes:
|
|
|
10345 |
- id
|
|
|
10346 |
"""
|
|
|
10347 |
|
|
|
10348 |
thrift_spec = (
|
|
|
10349 |
None, # 0
|
|
|
10350 |
(1, TType.I64, 'id', None, None, ), # 1
|
|
|
10351 |
)
|
|
|
10352 |
|
|
|
10353 |
def __init__(self, id=None,):
|
|
|
10354 |
self.id = id
|
|
|
10355 |
|
|
|
10356 |
def read(self, iprot):
|
|
|
10357 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
10358 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
10359 |
return
|
|
|
10360 |
iprot.readStructBegin()
|
|
|
10361 |
while True:
|
|
|
10362 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
10363 |
if ftype == TType.STOP:
|
|
|
10364 |
break
|
|
|
10365 |
if fid == 1:
|
|
|
10366 |
if ftype == TType.I64:
|
|
|
10367 |
self.id = iprot.readI64();
|
|
|
10368 |
else:
|
|
|
10369 |
iprot.skip(ftype)
|
|
|
10370 |
else:
|
|
|
10371 |
iprot.skip(ftype)
|
|
|
10372 |
iprot.readFieldEnd()
|
|
|
10373 |
iprot.readStructEnd()
|
|
|
10374 |
|
|
|
10375 |
def write(self, oprot):
|
|
|
10376 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
10377 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
10378 |
return
|
|
|
10379 |
oprot.writeStructBegin('updateTransferLotAfterItemReceive_args')
|
|
|
10380 |
if self.id is not None:
|
|
|
10381 |
oprot.writeFieldBegin('id', TType.I64, 1)
|
|
|
10382 |
oprot.writeI64(self.id)
|
|
|
10383 |
oprot.writeFieldEnd()
|
|
|
10384 |
oprot.writeFieldStop()
|
|
|
10385 |
oprot.writeStructEnd()
|
|
|
10386 |
|
|
|
10387 |
def validate(self):
|
|
|
10388 |
return
|
|
|
10389 |
|
|
|
10390 |
|
|
|
10391 |
def __repr__(self):
|
|
|
10392 |
L = ['%s=%r' % (key, value)
|
|
|
10393 |
for key, value in self.__dict__.iteritems()]
|
|
|
10394 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
10395 |
|
|
|
10396 |
def __eq__(self, other):
|
|
|
10397 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
10398 |
|
|
|
10399 |
def __ne__(self, other):
|
|
|
10400 |
return not (self == other)
|
|
|
10401 |
|
|
|
10402 |
class updateTransferLotAfterItemReceive_result:
|
|
|
10403 |
"""
|
|
|
10404 |
Attributes:
|
|
|
10405 |
- success
|
|
|
10406 |
- wex
|
|
|
10407 |
"""
|
|
|
10408 |
|
|
|
10409 |
thrift_spec = (
|
|
|
10410 |
(0, TType.I32, 'success', None, None, ), # 0
|
|
|
10411 |
(1, TType.STRUCT, 'wex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
|
|
10412 |
)
|
|
|
10413 |
|
|
|
10414 |
def __init__(self, success=None, wex=None,):
|
|
|
10415 |
self.success = success
|
|
|
10416 |
self.wex = wex
|
|
|
10417 |
|
|
|
10418 |
def read(self, iprot):
|
|
|
10419 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
10420 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
10421 |
return
|
|
|
10422 |
iprot.readStructBegin()
|
|
|
10423 |
while True:
|
|
|
10424 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
10425 |
if ftype == TType.STOP:
|
|
|
10426 |
break
|
|
|
10427 |
if fid == 0:
|
|
|
10428 |
if ftype == TType.I32:
|
|
|
10429 |
self.success = iprot.readI32();
|
|
|
10430 |
else:
|
|
|
10431 |
iprot.skip(ftype)
|
|
|
10432 |
elif fid == 1:
|
|
|
10433 |
if ftype == TType.STRUCT:
|
|
|
10434 |
self.wex = WarehouseServiceException()
|
|
|
10435 |
self.wex.read(iprot)
|
|
|
10436 |
else:
|
|
|
10437 |
iprot.skip(ftype)
|
|
|
10438 |
else:
|
|
|
10439 |
iprot.skip(ftype)
|
|
|
10440 |
iprot.readFieldEnd()
|
|
|
10441 |
iprot.readStructEnd()
|
|
|
10442 |
|
|
|
10443 |
def write(self, oprot):
|
|
|
10444 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
10445 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
10446 |
return
|
|
|
10447 |
oprot.writeStructBegin('updateTransferLotAfterItemReceive_result')
|
|
|
10448 |
if self.success is not None:
|
|
|
10449 |
oprot.writeFieldBegin('success', TType.I32, 0)
|
|
|
10450 |
oprot.writeI32(self.success)
|
|
|
10451 |
oprot.writeFieldEnd()
|
|
|
10452 |
if self.wex is not None:
|
|
|
10453 |
oprot.writeFieldBegin('wex', TType.STRUCT, 1)
|
|
|
10454 |
self.wex.write(oprot)
|
|
|
10455 |
oprot.writeFieldEnd()
|
|
|
10456 |
oprot.writeFieldStop()
|
|
|
10457 |
oprot.writeStructEnd()
|
|
|
10458 |
|
|
|
10459 |
def validate(self):
|
|
|
10460 |
return
|
|
|
10461 |
|
|
|
10462 |
|
|
|
10463 |
def __repr__(self):
|
|
|
10464 |
L = ['%s=%r' % (key, value)
|
|
|
10465 |
for key, value in self.__dict__.iteritems()]
|
|
|
10466 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
10467 |
|
|
|
10468 |
def __eq__(self, other):
|
|
|
10469 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
10470 |
|
|
|
10471 |
def __ne__(self, other):
|
|
|
10472 |
return not (self == other)
|
|
|
10473 |
|
| 7459 |
amar.kumar |
10474 |
class scanForTransferOut_args:
|
| 7410 |
amar.kumar |
10475 |
"""
|
|
|
10476 |
Attributes:
|
|
|
10477 |
- inventoryItems
|
|
|
10478 |
- type
|
|
|
10479 |
- transferLotId
|
|
|
10480 |
"""
|
|
|
10481 |
|
|
|
10482 |
thrift_spec = (
|
|
|
10483 |
None, # 0
|
|
|
10484 |
(1, TType.LIST, 'inventoryItems', (TType.STRUCT,(InventoryItem, InventoryItem.thrift_spec)), None, ), # 1
|
|
|
10485 |
(2, TType.I32, 'type', None, None, ), # 2
|
|
|
10486 |
(3, TType.I64, 'transferLotId', None, None, ), # 3
|
|
|
10487 |
)
|
|
|
10488 |
|
|
|
10489 |
def __init__(self, inventoryItems=None, type=None, transferLotId=None,):
|
|
|
10490 |
self.inventoryItems = inventoryItems
|
|
|
10491 |
self.type = type
|
|
|
10492 |
self.transferLotId = transferLotId
|
|
|
10493 |
|
|
|
10494 |
def read(self, iprot):
|
|
|
10495 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
10496 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
10497 |
return
|
|
|
10498 |
iprot.readStructBegin()
|
|
|
10499 |
while True:
|
|
|
10500 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
10501 |
if ftype == TType.STOP:
|
|
|
10502 |
break
|
|
|
10503 |
if fid == 1:
|
|
|
10504 |
if ftype == TType.LIST:
|
|
|
10505 |
self.inventoryItems = []
|
| 10407 |
amar.kumar |
10506 |
(_etype180, _size177) = iprot.readListBegin()
|
|
|
10507 |
for _i181 in xrange(_size177):
|
|
|
10508 |
_elem182 = InventoryItem()
|
|
|
10509 |
_elem182.read(iprot)
|
|
|
10510 |
self.inventoryItems.append(_elem182)
|
| 7410 |
amar.kumar |
10511 |
iprot.readListEnd()
|
|
|
10512 |
else:
|
|
|
10513 |
iprot.skip(ftype)
|
|
|
10514 |
elif fid == 2:
|
|
|
10515 |
if ftype == TType.I32:
|
|
|
10516 |
self.type = iprot.readI32();
|
|
|
10517 |
else:
|
|
|
10518 |
iprot.skip(ftype)
|
|
|
10519 |
elif fid == 3:
|
|
|
10520 |
if ftype == TType.I64:
|
|
|
10521 |
self.transferLotId = iprot.readI64();
|
|
|
10522 |
else:
|
|
|
10523 |
iprot.skip(ftype)
|
|
|
10524 |
else:
|
|
|
10525 |
iprot.skip(ftype)
|
|
|
10526 |
iprot.readFieldEnd()
|
|
|
10527 |
iprot.readStructEnd()
|
|
|
10528 |
|
|
|
10529 |
def write(self, oprot):
|
|
|
10530 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
10531 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
10532 |
return
|
| 7459 |
amar.kumar |
10533 |
oprot.writeStructBegin('scanForTransferOut_args')
|
| 7410 |
amar.kumar |
10534 |
if self.inventoryItems is not None:
|
|
|
10535 |
oprot.writeFieldBegin('inventoryItems', TType.LIST, 1)
|
|
|
10536 |
oprot.writeListBegin(TType.STRUCT, len(self.inventoryItems))
|
| 10407 |
amar.kumar |
10537 |
for iter183 in self.inventoryItems:
|
|
|
10538 |
iter183.write(oprot)
|
| 7410 |
amar.kumar |
10539 |
oprot.writeListEnd()
|
|
|
10540 |
oprot.writeFieldEnd()
|
|
|
10541 |
if self.type is not None:
|
|
|
10542 |
oprot.writeFieldBegin('type', TType.I32, 2)
|
|
|
10543 |
oprot.writeI32(self.type)
|
|
|
10544 |
oprot.writeFieldEnd()
|
|
|
10545 |
if self.transferLotId is not None:
|
|
|
10546 |
oprot.writeFieldBegin('transferLotId', TType.I64, 3)
|
|
|
10547 |
oprot.writeI64(self.transferLotId)
|
|
|
10548 |
oprot.writeFieldEnd()
|
|
|
10549 |
oprot.writeFieldStop()
|
|
|
10550 |
oprot.writeStructEnd()
|
|
|
10551 |
|
|
|
10552 |
def validate(self):
|
|
|
10553 |
return
|
|
|
10554 |
|
|
|
10555 |
|
|
|
10556 |
def __repr__(self):
|
|
|
10557 |
L = ['%s=%r' % (key, value)
|
|
|
10558 |
for key, value in self.__dict__.iteritems()]
|
|
|
10559 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
10560 |
|
|
|
10561 |
def __eq__(self, other):
|
|
|
10562 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
10563 |
|
|
|
10564 |
def __ne__(self, other):
|
|
|
10565 |
return not (self == other)
|
|
|
10566 |
|
| 7459 |
amar.kumar |
10567 |
class scanForTransferOut_result:
|
| 7410 |
amar.kumar |
10568 |
"""
|
|
|
10569 |
Attributes:
|
|
|
10570 |
- wex
|
|
|
10571 |
"""
|
|
|
10572 |
|
|
|
10573 |
thrift_spec = (
|
|
|
10574 |
None, # 0
|
|
|
10575 |
(1, TType.STRUCT, 'wex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
|
|
10576 |
)
|
|
|
10577 |
|
|
|
10578 |
def __init__(self, wex=None,):
|
|
|
10579 |
self.wex = wex
|
|
|
10580 |
|
|
|
10581 |
def read(self, iprot):
|
|
|
10582 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
10583 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
10584 |
return
|
|
|
10585 |
iprot.readStructBegin()
|
|
|
10586 |
while True:
|
|
|
10587 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
10588 |
if ftype == TType.STOP:
|
|
|
10589 |
break
|
|
|
10590 |
if fid == 1:
|
|
|
10591 |
if ftype == TType.STRUCT:
|
|
|
10592 |
self.wex = WarehouseServiceException()
|
|
|
10593 |
self.wex.read(iprot)
|
|
|
10594 |
else:
|
|
|
10595 |
iprot.skip(ftype)
|
|
|
10596 |
else:
|
|
|
10597 |
iprot.skip(ftype)
|
|
|
10598 |
iprot.readFieldEnd()
|
|
|
10599 |
iprot.readStructEnd()
|
|
|
10600 |
|
|
|
10601 |
def write(self, oprot):
|
|
|
10602 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
10603 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
10604 |
return
|
| 7459 |
amar.kumar |
10605 |
oprot.writeStructBegin('scanForTransferOut_result')
|
| 7410 |
amar.kumar |
10606 |
if self.wex is not None:
|
|
|
10607 |
oprot.writeFieldBegin('wex', TType.STRUCT, 1)
|
|
|
10608 |
self.wex.write(oprot)
|
|
|
10609 |
oprot.writeFieldEnd()
|
|
|
10610 |
oprot.writeFieldStop()
|
|
|
10611 |
oprot.writeStructEnd()
|
|
|
10612 |
|
|
|
10613 |
def validate(self):
|
|
|
10614 |
return
|
|
|
10615 |
|
|
|
10616 |
|
|
|
10617 |
def __repr__(self):
|
|
|
10618 |
L = ['%s=%r' % (key, value)
|
|
|
10619 |
for key, value in self.__dict__.iteritems()]
|
|
|
10620 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
10621 |
|
|
|
10622 |
def __eq__(self, other):
|
|
|
10623 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
10624 |
|
|
|
10625 |
def __ne__(self, other):
|
|
|
10626 |
return not (self == other)
|
| 7459 |
amar.kumar |
10627 |
|
|
|
10628 |
class scanForTransferIn_args:
|
|
|
10629 |
"""
|
|
|
10630 |
Attributes:
|
|
|
10631 |
- inventoryItems
|
|
|
10632 |
- type
|
|
|
10633 |
- transferLotId
|
|
|
10634 |
"""
|
|
|
10635 |
|
|
|
10636 |
thrift_spec = (
|
|
|
10637 |
None, # 0
|
|
|
10638 |
(1, TType.LIST, 'inventoryItems', (TType.STRUCT,(InventoryItem, InventoryItem.thrift_spec)), None, ), # 1
|
|
|
10639 |
(2, TType.I32, 'type', None, None, ), # 2
|
|
|
10640 |
(3, TType.I64, 'transferLotId', None, None, ), # 3
|
|
|
10641 |
)
|
|
|
10642 |
|
|
|
10643 |
def __init__(self, inventoryItems=None, type=None, transferLotId=None,):
|
|
|
10644 |
self.inventoryItems = inventoryItems
|
|
|
10645 |
self.type = type
|
|
|
10646 |
self.transferLotId = transferLotId
|
|
|
10647 |
|
|
|
10648 |
def read(self, iprot):
|
|
|
10649 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
10650 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
10651 |
return
|
|
|
10652 |
iprot.readStructBegin()
|
|
|
10653 |
while True:
|
|
|
10654 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
10655 |
if ftype == TType.STOP:
|
|
|
10656 |
break
|
|
|
10657 |
if fid == 1:
|
|
|
10658 |
if ftype == TType.LIST:
|
|
|
10659 |
self.inventoryItems = []
|
| 10407 |
amar.kumar |
10660 |
(_etype187, _size184) = iprot.readListBegin()
|
|
|
10661 |
for _i188 in xrange(_size184):
|
|
|
10662 |
_elem189 = InventoryItem()
|
|
|
10663 |
_elem189.read(iprot)
|
|
|
10664 |
self.inventoryItems.append(_elem189)
|
| 7459 |
amar.kumar |
10665 |
iprot.readListEnd()
|
|
|
10666 |
else:
|
|
|
10667 |
iprot.skip(ftype)
|
|
|
10668 |
elif fid == 2:
|
|
|
10669 |
if ftype == TType.I32:
|
|
|
10670 |
self.type = iprot.readI32();
|
|
|
10671 |
else:
|
|
|
10672 |
iprot.skip(ftype)
|
|
|
10673 |
elif fid == 3:
|
|
|
10674 |
if ftype == TType.I64:
|
|
|
10675 |
self.transferLotId = iprot.readI64();
|
|
|
10676 |
else:
|
|
|
10677 |
iprot.skip(ftype)
|
|
|
10678 |
else:
|
|
|
10679 |
iprot.skip(ftype)
|
|
|
10680 |
iprot.readFieldEnd()
|
|
|
10681 |
iprot.readStructEnd()
|
|
|
10682 |
|
|
|
10683 |
def write(self, oprot):
|
|
|
10684 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
10685 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
10686 |
return
|
|
|
10687 |
oprot.writeStructBegin('scanForTransferIn_args')
|
|
|
10688 |
if self.inventoryItems is not None:
|
|
|
10689 |
oprot.writeFieldBegin('inventoryItems', TType.LIST, 1)
|
|
|
10690 |
oprot.writeListBegin(TType.STRUCT, len(self.inventoryItems))
|
| 10407 |
amar.kumar |
10691 |
for iter190 in self.inventoryItems:
|
|
|
10692 |
iter190.write(oprot)
|
| 7459 |
amar.kumar |
10693 |
oprot.writeListEnd()
|
|
|
10694 |
oprot.writeFieldEnd()
|
|
|
10695 |
if self.type is not None:
|
|
|
10696 |
oprot.writeFieldBegin('type', TType.I32, 2)
|
|
|
10697 |
oprot.writeI32(self.type)
|
|
|
10698 |
oprot.writeFieldEnd()
|
|
|
10699 |
if self.transferLotId is not None:
|
|
|
10700 |
oprot.writeFieldBegin('transferLotId', TType.I64, 3)
|
|
|
10701 |
oprot.writeI64(self.transferLotId)
|
|
|
10702 |
oprot.writeFieldEnd()
|
|
|
10703 |
oprot.writeFieldStop()
|
|
|
10704 |
oprot.writeStructEnd()
|
|
|
10705 |
|
|
|
10706 |
def validate(self):
|
|
|
10707 |
return
|
|
|
10708 |
|
|
|
10709 |
|
|
|
10710 |
def __repr__(self):
|
|
|
10711 |
L = ['%s=%r' % (key, value)
|
|
|
10712 |
for key, value in self.__dict__.iteritems()]
|
|
|
10713 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
10714 |
|
|
|
10715 |
def __eq__(self, other):
|
|
|
10716 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
10717 |
|
|
|
10718 |
def __ne__(self, other):
|
|
|
10719 |
return not (self == other)
|
|
|
10720 |
|
|
|
10721 |
class scanForTransferIn_result:
|
|
|
10722 |
"""
|
|
|
10723 |
Attributes:
|
|
|
10724 |
- wex
|
|
|
10725 |
"""
|
|
|
10726 |
|
|
|
10727 |
thrift_spec = (
|
|
|
10728 |
None, # 0
|
|
|
10729 |
(1, TType.STRUCT, 'wex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
|
|
10730 |
)
|
|
|
10731 |
|
|
|
10732 |
def __init__(self, wex=None,):
|
|
|
10733 |
self.wex = wex
|
|
|
10734 |
|
|
|
10735 |
def read(self, iprot):
|
|
|
10736 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
10737 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
10738 |
return
|
|
|
10739 |
iprot.readStructBegin()
|
|
|
10740 |
while True:
|
|
|
10741 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
10742 |
if ftype == TType.STOP:
|
|
|
10743 |
break
|
|
|
10744 |
if fid == 1:
|
|
|
10745 |
if ftype == TType.STRUCT:
|
|
|
10746 |
self.wex = WarehouseServiceException()
|
|
|
10747 |
self.wex.read(iprot)
|
|
|
10748 |
else:
|
|
|
10749 |
iprot.skip(ftype)
|
|
|
10750 |
else:
|
|
|
10751 |
iprot.skip(ftype)
|
|
|
10752 |
iprot.readFieldEnd()
|
|
|
10753 |
iprot.readStructEnd()
|
|
|
10754 |
|
|
|
10755 |
def write(self, oprot):
|
|
|
10756 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
10757 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
10758 |
return
|
|
|
10759 |
oprot.writeStructBegin('scanForTransferIn_result')
|
|
|
10760 |
if self.wex is not None:
|
|
|
10761 |
oprot.writeFieldBegin('wex', TType.STRUCT, 1)
|
|
|
10762 |
self.wex.write(oprot)
|
|
|
10763 |
oprot.writeFieldEnd()
|
|
|
10764 |
oprot.writeFieldStop()
|
|
|
10765 |
oprot.writeStructEnd()
|
|
|
10766 |
|
|
|
10767 |
def validate(self):
|
|
|
10768 |
return
|
|
|
10769 |
|
|
|
10770 |
|
|
|
10771 |
def __repr__(self):
|
|
|
10772 |
L = ['%s=%r' % (key, value)
|
|
|
10773 |
for key, value in self.__dict__.iteritems()]
|
|
|
10774 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
10775 |
|
|
|
10776 |
def __eq__(self, other):
|
|
|
10777 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
10778 |
|
|
|
10779 |
def __ne__(self, other):
|
|
|
10780 |
return not (self == other)
|
|
|
10781 |
|
|
|
10782 |
class scanForOursThirdPartyReceive_args:
|
|
|
10783 |
"""
|
|
|
10784 |
Attributes:
|
|
|
10785 |
- inventoryItems
|
|
|
10786 |
- id
|
|
|
10787 |
"""
|
|
|
10788 |
|
|
|
10789 |
thrift_spec = (
|
|
|
10790 |
None, # 0
|
|
|
10791 |
(1, TType.LIST, 'inventoryItems', (TType.STRUCT,(InventoryItem, InventoryItem.thrift_spec)), None, ), # 1
|
|
|
10792 |
(2, TType.I64, 'id', None, None, ), # 2
|
|
|
10793 |
)
|
|
|
10794 |
|
|
|
10795 |
def __init__(self, inventoryItems=None, id=None,):
|
|
|
10796 |
self.inventoryItems = inventoryItems
|
|
|
10797 |
self.id = id
|
|
|
10798 |
|
|
|
10799 |
def read(self, iprot):
|
|
|
10800 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
10801 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
10802 |
return
|
|
|
10803 |
iprot.readStructBegin()
|
|
|
10804 |
while True:
|
|
|
10805 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
10806 |
if ftype == TType.STOP:
|
|
|
10807 |
break
|
|
|
10808 |
if fid == 1:
|
|
|
10809 |
if ftype == TType.LIST:
|
|
|
10810 |
self.inventoryItems = []
|
| 10407 |
amar.kumar |
10811 |
(_etype194, _size191) = iprot.readListBegin()
|
|
|
10812 |
for _i195 in xrange(_size191):
|
|
|
10813 |
_elem196 = InventoryItem()
|
|
|
10814 |
_elem196.read(iprot)
|
|
|
10815 |
self.inventoryItems.append(_elem196)
|
| 7459 |
amar.kumar |
10816 |
iprot.readListEnd()
|
|
|
10817 |
else:
|
|
|
10818 |
iprot.skip(ftype)
|
|
|
10819 |
elif fid == 2:
|
|
|
10820 |
if ftype == TType.I64:
|
|
|
10821 |
self.id = iprot.readI64();
|
|
|
10822 |
else:
|
|
|
10823 |
iprot.skip(ftype)
|
|
|
10824 |
else:
|
|
|
10825 |
iprot.skip(ftype)
|
|
|
10826 |
iprot.readFieldEnd()
|
|
|
10827 |
iprot.readStructEnd()
|
|
|
10828 |
|
|
|
10829 |
def write(self, oprot):
|
|
|
10830 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
10831 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
10832 |
return
|
|
|
10833 |
oprot.writeStructBegin('scanForOursThirdPartyReceive_args')
|
|
|
10834 |
if self.inventoryItems is not None:
|
|
|
10835 |
oprot.writeFieldBegin('inventoryItems', TType.LIST, 1)
|
|
|
10836 |
oprot.writeListBegin(TType.STRUCT, len(self.inventoryItems))
|
| 10407 |
amar.kumar |
10837 |
for iter197 in self.inventoryItems:
|
|
|
10838 |
iter197.write(oprot)
|
| 7459 |
amar.kumar |
10839 |
oprot.writeListEnd()
|
|
|
10840 |
oprot.writeFieldEnd()
|
|
|
10841 |
if self.id is not None:
|
|
|
10842 |
oprot.writeFieldBegin('id', TType.I64, 2)
|
|
|
10843 |
oprot.writeI64(self.id)
|
|
|
10844 |
oprot.writeFieldEnd()
|
|
|
10845 |
oprot.writeFieldStop()
|
|
|
10846 |
oprot.writeStructEnd()
|
|
|
10847 |
|
|
|
10848 |
def validate(self):
|
|
|
10849 |
return
|
|
|
10850 |
|
|
|
10851 |
|
|
|
10852 |
def __repr__(self):
|
|
|
10853 |
L = ['%s=%r' % (key, value)
|
|
|
10854 |
for key, value in self.__dict__.iteritems()]
|
|
|
10855 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
10856 |
|
|
|
10857 |
def __eq__(self, other):
|
|
|
10858 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
10859 |
|
|
|
10860 |
def __ne__(self, other):
|
|
|
10861 |
return not (self == other)
|
|
|
10862 |
|
|
|
10863 |
class scanForOursThirdPartyReceive_result:
|
|
|
10864 |
"""
|
|
|
10865 |
Attributes:
|
|
|
10866 |
- wex
|
|
|
10867 |
"""
|
|
|
10868 |
|
|
|
10869 |
thrift_spec = (
|
|
|
10870 |
None, # 0
|
|
|
10871 |
(1, TType.STRUCT, 'wex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
|
|
10872 |
)
|
|
|
10873 |
|
|
|
10874 |
def __init__(self, wex=None,):
|
|
|
10875 |
self.wex = wex
|
|
|
10876 |
|
|
|
10877 |
def read(self, iprot):
|
|
|
10878 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
10879 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
10880 |
return
|
|
|
10881 |
iprot.readStructBegin()
|
|
|
10882 |
while True:
|
|
|
10883 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
10884 |
if ftype == TType.STOP:
|
|
|
10885 |
break
|
|
|
10886 |
if fid == 1:
|
|
|
10887 |
if ftype == TType.STRUCT:
|
|
|
10888 |
self.wex = WarehouseServiceException()
|
|
|
10889 |
self.wex.read(iprot)
|
|
|
10890 |
else:
|
|
|
10891 |
iprot.skip(ftype)
|
|
|
10892 |
else:
|
|
|
10893 |
iprot.skip(ftype)
|
|
|
10894 |
iprot.readFieldEnd()
|
|
|
10895 |
iprot.readStructEnd()
|
|
|
10896 |
|
|
|
10897 |
def write(self, oprot):
|
|
|
10898 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
10899 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
10900 |
return
|
|
|
10901 |
oprot.writeStructBegin('scanForOursThirdPartyReceive_result')
|
|
|
10902 |
if self.wex is not None:
|
|
|
10903 |
oprot.writeFieldBegin('wex', TType.STRUCT, 1)
|
|
|
10904 |
self.wex.write(oprot)
|
|
|
10905 |
oprot.writeFieldEnd()
|
|
|
10906 |
oprot.writeFieldStop()
|
|
|
10907 |
oprot.writeStructEnd()
|
|
|
10908 |
|
|
|
10909 |
def validate(self):
|
|
|
10910 |
return
|
|
|
10911 |
|
|
|
10912 |
|
|
|
10913 |
def __repr__(self):
|
|
|
10914 |
L = ['%s=%r' % (key, value)
|
|
|
10915 |
for key, value in self.__dict__.iteritems()]
|
|
|
10916 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
10917 |
|
|
|
10918 |
def __eq__(self, other):
|
|
|
10919 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
10920 |
|
|
|
10921 |
def __ne__(self, other):
|
|
|
10922 |
return not (self == other)
|
| 7574 |
amar.kumar |
10923 |
|
|
|
10924 |
class getCurrentQuantityForNonSerializedInTransitItemInPhysicalWarehouse_args:
|
|
|
10925 |
"""
|
|
|
10926 |
Attributes:
|
|
|
10927 |
- itemId
|
|
|
10928 |
- physicalWarehouseId
|
|
|
10929 |
"""
|
|
|
10930 |
|
|
|
10931 |
thrift_spec = (
|
|
|
10932 |
None, # 0
|
|
|
10933 |
(1, TType.I64, 'itemId', None, None, ), # 1
|
|
|
10934 |
(2, TType.I64, 'physicalWarehouseId', None, None, ), # 2
|
|
|
10935 |
)
|
|
|
10936 |
|
|
|
10937 |
def __init__(self, itemId=None, physicalWarehouseId=None,):
|
|
|
10938 |
self.itemId = itemId
|
|
|
10939 |
self.physicalWarehouseId = physicalWarehouseId
|
|
|
10940 |
|
|
|
10941 |
def read(self, iprot):
|
|
|
10942 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
10943 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
10944 |
return
|
|
|
10945 |
iprot.readStructBegin()
|
|
|
10946 |
while True:
|
|
|
10947 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
10948 |
if ftype == TType.STOP:
|
|
|
10949 |
break
|
|
|
10950 |
if fid == 1:
|
|
|
10951 |
if ftype == TType.I64:
|
|
|
10952 |
self.itemId = iprot.readI64();
|
|
|
10953 |
else:
|
|
|
10954 |
iprot.skip(ftype)
|
|
|
10955 |
elif fid == 2:
|
|
|
10956 |
if ftype == TType.I64:
|
|
|
10957 |
self.physicalWarehouseId = iprot.readI64();
|
|
|
10958 |
else:
|
|
|
10959 |
iprot.skip(ftype)
|
|
|
10960 |
else:
|
|
|
10961 |
iprot.skip(ftype)
|
|
|
10962 |
iprot.readFieldEnd()
|
|
|
10963 |
iprot.readStructEnd()
|
|
|
10964 |
|
|
|
10965 |
def write(self, oprot):
|
|
|
10966 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
10967 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
10968 |
return
|
|
|
10969 |
oprot.writeStructBegin('getCurrentQuantityForNonSerializedInTransitItemInPhysicalWarehouse_args')
|
|
|
10970 |
if self.itemId is not None:
|
|
|
10971 |
oprot.writeFieldBegin('itemId', TType.I64, 1)
|
|
|
10972 |
oprot.writeI64(self.itemId)
|
|
|
10973 |
oprot.writeFieldEnd()
|
|
|
10974 |
if self.physicalWarehouseId is not None:
|
|
|
10975 |
oprot.writeFieldBegin('physicalWarehouseId', TType.I64, 2)
|
|
|
10976 |
oprot.writeI64(self.physicalWarehouseId)
|
|
|
10977 |
oprot.writeFieldEnd()
|
|
|
10978 |
oprot.writeFieldStop()
|
|
|
10979 |
oprot.writeStructEnd()
|
|
|
10980 |
|
|
|
10981 |
def validate(self):
|
|
|
10982 |
return
|
|
|
10983 |
|
|
|
10984 |
|
|
|
10985 |
def __repr__(self):
|
|
|
10986 |
L = ['%s=%r' % (key, value)
|
|
|
10987 |
for key, value in self.__dict__.iteritems()]
|
|
|
10988 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
10989 |
|
|
|
10990 |
def __eq__(self, other):
|
|
|
10991 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
10992 |
|
|
|
10993 |
def __ne__(self, other):
|
|
|
10994 |
return not (self == other)
|
|
|
10995 |
|
|
|
10996 |
class getCurrentQuantityForNonSerializedInTransitItemInPhysicalWarehouse_result:
|
|
|
10997 |
"""
|
|
|
10998 |
Attributes:
|
|
|
10999 |
- success
|
|
|
11000 |
- wex
|
|
|
11001 |
"""
|
|
|
11002 |
|
|
|
11003 |
thrift_spec = (
|
|
|
11004 |
(0, TType.I64, 'success', None, None, ), # 0
|
|
|
11005 |
(1, TType.STRUCT, 'wex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
|
|
11006 |
)
|
|
|
11007 |
|
|
|
11008 |
def __init__(self, success=None, wex=None,):
|
|
|
11009 |
self.success = success
|
|
|
11010 |
self.wex = wex
|
|
|
11011 |
|
|
|
11012 |
def read(self, iprot):
|
|
|
11013 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
11014 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
11015 |
return
|
|
|
11016 |
iprot.readStructBegin()
|
|
|
11017 |
while True:
|
|
|
11018 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
11019 |
if ftype == TType.STOP:
|
|
|
11020 |
break
|
|
|
11021 |
if fid == 0:
|
|
|
11022 |
if ftype == TType.I64:
|
|
|
11023 |
self.success = iprot.readI64();
|
|
|
11024 |
else:
|
|
|
11025 |
iprot.skip(ftype)
|
|
|
11026 |
elif fid == 1:
|
|
|
11027 |
if ftype == TType.STRUCT:
|
|
|
11028 |
self.wex = WarehouseServiceException()
|
|
|
11029 |
self.wex.read(iprot)
|
|
|
11030 |
else:
|
|
|
11031 |
iprot.skip(ftype)
|
|
|
11032 |
else:
|
|
|
11033 |
iprot.skip(ftype)
|
|
|
11034 |
iprot.readFieldEnd()
|
|
|
11035 |
iprot.readStructEnd()
|
|
|
11036 |
|
|
|
11037 |
def write(self, oprot):
|
|
|
11038 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
11039 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
11040 |
return
|
|
|
11041 |
oprot.writeStructBegin('getCurrentQuantityForNonSerializedInTransitItemInPhysicalWarehouse_result')
|
|
|
11042 |
if self.success is not None:
|
|
|
11043 |
oprot.writeFieldBegin('success', TType.I64, 0)
|
|
|
11044 |
oprot.writeI64(self.success)
|
|
|
11045 |
oprot.writeFieldEnd()
|
|
|
11046 |
if self.wex is not None:
|
|
|
11047 |
oprot.writeFieldBegin('wex', TType.STRUCT, 1)
|
|
|
11048 |
self.wex.write(oprot)
|
|
|
11049 |
oprot.writeFieldEnd()
|
|
|
11050 |
oprot.writeFieldStop()
|
|
|
11051 |
oprot.writeStructEnd()
|
|
|
11052 |
|
|
|
11053 |
def validate(self):
|
|
|
11054 |
return
|
|
|
11055 |
|
|
|
11056 |
|
|
|
11057 |
def __repr__(self):
|
|
|
11058 |
L = ['%s=%r' % (key, value)
|
|
|
11059 |
for key, value in self.__dict__.iteritems()]
|
|
|
11060 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
11061 |
|
|
|
11062 |
def __eq__(self, other):
|
|
|
11063 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
11064 |
|
|
|
11065 |
def __ne__(self, other):
|
|
|
11066 |
return not (self == other)
|
| 7672 |
rajveer |
11067 |
|
|
|
11068 |
class getInTransitInventory_args:
|
|
|
11069 |
"""
|
|
|
11070 |
Attributes:
|
|
|
11071 |
- originWarehouseId
|
|
|
11072 |
"""
|
|
|
11073 |
|
|
|
11074 |
thrift_spec = (
|
|
|
11075 |
None, # 0
|
|
|
11076 |
(1, TType.I64, 'originWarehouseId', None, None, ), # 1
|
|
|
11077 |
)
|
|
|
11078 |
|
|
|
11079 |
def __init__(self, originWarehouseId=None,):
|
|
|
11080 |
self.originWarehouseId = originWarehouseId
|
|
|
11081 |
|
|
|
11082 |
def read(self, iprot):
|
|
|
11083 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
11084 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
11085 |
return
|
|
|
11086 |
iprot.readStructBegin()
|
|
|
11087 |
while True:
|
|
|
11088 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
11089 |
if ftype == TType.STOP:
|
|
|
11090 |
break
|
|
|
11091 |
if fid == 1:
|
|
|
11092 |
if ftype == TType.I64:
|
|
|
11093 |
self.originWarehouseId = iprot.readI64();
|
|
|
11094 |
else:
|
|
|
11095 |
iprot.skip(ftype)
|
|
|
11096 |
else:
|
|
|
11097 |
iprot.skip(ftype)
|
|
|
11098 |
iprot.readFieldEnd()
|
|
|
11099 |
iprot.readStructEnd()
|
|
|
11100 |
|
|
|
11101 |
def write(self, oprot):
|
|
|
11102 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
11103 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
11104 |
return
|
|
|
11105 |
oprot.writeStructBegin('getInTransitInventory_args')
|
|
|
11106 |
if self.originWarehouseId is not None:
|
|
|
11107 |
oprot.writeFieldBegin('originWarehouseId', TType.I64, 1)
|
|
|
11108 |
oprot.writeI64(self.originWarehouseId)
|
|
|
11109 |
oprot.writeFieldEnd()
|
|
|
11110 |
oprot.writeFieldStop()
|
|
|
11111 |
oprot.writeStructEnd()
|
|
|
11112 |
|
|
|
11113 |
def validate(self):
|
|
|
11114 |
return
|
|
|
11115 |
|
|
|
11116 |
|
|
|
11117 |
def __repr__(self):
|
|
|
11118 |
L = ['%s=%r' % (key, value)
|
|
|
11119 |
for key, value in self.__dict__.iteritems()]
|
|
|
11120 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
11121 |
|
|
|
11122 |
def __eq__(self, other):
|
|
|
11123 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
11124 |
|
|
|
11125 |
def __ne__(self, other):
|
|
|
11126 |
return not (self == other)
|
|
|
11127 |
|
|
|
11128 |
class getInTransitInventory_result:
|
|
|
11129 |
"""
|
|
|
11130 |
Attributes:
|
|
|
11131 |
- success
|
|
|
11132 |
"""
|
|
|
11133 |
|
|
|
11134 |
thrift_spec = (
|
|
|
11135 |
(0, TType.LIST, 'success', (TType.STRUCT,(InTransitInventory, InTransitInventory.thrift_spec)), None, ), # 0
|
|
|
11136 |
)
|
|
|
11137 |
|
|
|
11138 |
def __init__(self, success=None,):
|
|
|
11139 |
self.success = success
|
|
|
11140 |
|
|
|
11141 |
def read(self, iprot):
|
|
|
11142 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
11143 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
11144 |
return
|
|
|
11145 |
iprot.readStructBegin()
|
|
|
11146 |
while True:
|
|
|
11147 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
11148 |
if ftype == TType.STOP:
|
|
|
11149 |
break
|
|
|
11150 |
if fid == 0:
|
|
|
11151 |
if ftype == TType.LIST:
|
|
|
11152 |
self.success = []
|
| 10407 |
amar.kumar |
11153 |
(_etype201, _size198) = iprot.readListBegin()
|
|
|
11154 |
for _i202 in xrange(_size198):
|
|
|
11155 |
_elem203 = InTransitInventory()
|
|
|
11156 |
_elem203.read(iprot)
|
|
|
11157 |
self.success.append(_elem203)
|
| 7672 |
rajveer |
11158 |
iprot.readListEnd()
|
|
|
11159 |
else:
|
|
|
11160 |
iprot.skip(ftype)
|
|
|
11161 |
else:
|
|
|
11162 |
iprot.skip(ftype)
|
|
|
11163 |
iprot.readFieldEnd()
|
|
|
11164 |
iprot.readStructEnd()
|
|
|
11165 |
|
|
|
11166 |
def write(self, oprot):
|
|
|
11167 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
11168 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
11169 |
return
|
|
|
11170 |
oprot.writeStructBegin('getInTransitInventory_result')
|
|
|
11171 |
if self.success is not None:
|
|
|
11172 |
oprot.writeFieldBegin('success', TType.LIST, 0)
|
|
|
11173 |
oprot.writeListBegin(TType.STRUCT, len(self.success))
|
| 10407 |
amar.kumar |
11174 |
for iter204 in self.success:
|
|
|
11175 |
iter204.write(oprot)
|
| 7672 |
rajveer |
11176 |
oprot.writeListEnd()
|
|
|
11177 |
oprot.writeFieldEnd()
|
|
|
11178 |
oprot.writeFieldStop()
|
|
|
11179 |
oprot.writeStructEnd()
|
|
|
11180 |
|
|
|
11181 |
def validate(self):
|
|
|
11182 |
return
|
|
|
11183 |
|
|
|
11184 |
|
|
|
11185 |
def __repr__(self):
|
|
|
11186 |
L = ['%s=%r' % (key, value)
|
|
|
11187 |
for key, value in self.__dict__.iteritems()]
|
|
|
11188 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
11189 |
|
|
|
11190 |
def __eq__(self, other):
|
|
|
11191 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
11192 |
|
|
|
11193 |
def __ne__(self, other):
|
|
|
11194 |
return not (self == other)
|
| 7968 |
amar.kumar |
11195 |
|
|
|
11196 |
class isItemAvailableForSale_args:
|
|
|
11197 |
"""
|
|
|
11198 |
Attributes:
|
|
|
11199 |
- itemId
|
|
|
11200 |
- serialNumber
|
|
|
11201 |
- warehouseId
|
|
|
11202 |
"""
|
|
|
11203 |
|
|
|
11204 |
thrift_spec = (
|
|
|
11205 |
None, # 0
|
|
|
11206 |
(1, TType.I64, 'itemId', None, None, ), # 1
|
|
|
11207 |
(2, TType.STRING, 'serialNumber', None, None, ), # 2
|
|
|
11208 |
(3, TType.I64, 'warehouseId', None, None, ), # 3
|
|
|
11209 |
)
|
|
|
11210 |
|
|
|
11211 |
def __init__(self, itemId=None, serialNumber=None, warehouseId=None,):
|
|
|
11212 |
self.itemId = itemId
|
|
|
11213 |
self.serialNumber = serialNumber
|
|
|
11214 |
self.warehouseId = warehouseId
|
|
|
11215 |
|
|
|
11216 |
def read(self, iprot):
|
|
|
11217 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
11218 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
11219 |
return
|
|
|
11220 |
iprot.readStructBegin()
|
|
|
11221 |
while True:
|
|
|
11222 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
11223 |
if ftype == TType.STOP:
|
|
|
11224 |
break
|
|
|
11225 |
if fid == 1:
|
|
|
11226 |
if ftype == TType.I64:
|
|
|
11227 |
self.itemId = iprot.readI64();
|
|
|
11228 |
else:
|
|
|
11229 |
iprot.skip(ftype)
|
|
|
11230 |
elif fid == 2:
|
|
|
11231 |
if ftype == TType.STRING:
|
|
|
11232 |
self.serialNumber = iprot.readString();
|
|
|
11233 |
else:
|
|
|
11234 |
iprot.skip(ftype)
|
|
|
11235 |
elif fid == 3:
|
|
|
11236 |
if ftype == TType.I64:
|
|
|
11237 |
self.warehouseId = iprot.readI64();
|
|
|
11238 |
else:
|
|
|
11239 |
iprot.skip(ftype)
|
|
|
11240 |
else:
|
|
|
11241 |
iprot.skip(ftype)
|
|
|
11242 |
iprot.readFieldEnd()
|
|
|
11243 |
iprot.readStructEnd()
|
|
|
11244 |
|
|
|
11245 |
def write(self, oprot):
|
|
|
11246 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
11247 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
11248 |
return
|
|
|
11249 |
oprot.writeStructBegin('isItemAvailableForSale_args')
|
|
|
11250 |
if self.itemId is not None:
|
|
|
11251 |
oprot.writeFieldBegin('itemId', TType.I64, 1)
|
|
|
11252 |
oprot.writeI64(self.itemId)
|
|
|
11253 |
oprot.writeFieldEnd()
|
|
|
11254 |
if self.serialNumber is not None:
|
|
|
11255 |
oprot.writeFieldBegin('serialNumber', TType.STRING, 2)
|
|
|
11256 |
oprot.writeString(self.serialNumber)
|
|
|
11257 |
oprot.writeFieldEnd()
|
|
|
11258 |
if self.warehouseId is not None:
|
|
|
11259 |
oprot.writeFieldBegin('warehouseId', TType.I64, 3)
|
|
|
11260 |
oprot.writeI64(self.warehouseId)
|
|
|
11261 |
oprot.writeFieldEnd()
|
|
|
11262 |
oprot.writeFieldStop()
|
|
|
11263 |
oprot.writeStructEnd()
|
|
|
11264 |
|
|
|
11265 |
def validate(self):
|
|
|
11266 |
return
|
|
|
11267 |
|
|
|
11268 |
|
|
|
11269 |
def __repr__(self):
|
|
|
11270 |
L = ['%s=%r' % (key, value)
|
|
|
11271 |
for key, value in self.__dict__.iteritems()]
|
|
|
11272 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
11273 |
|
|
|
11274 |
def __eq__(self, other):
|
|
|
11275 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
11276 |
|
|
|
11277 |
def __ne__(self, other):
|
|
|
11278 |
return not (self == other)
|
|
|
11279 |
|
|
|
11280 |
class isItemAvailableForSale_result:
|
|
|
11281 |
"""
|
|
|
11282 |
Attributes:
|
|
|
11283 |
- success
|
|
|
11284 |
- wex
|
|
|
11285 |
"""
|
|
|
11286 |
|
|
|
11287 |
thrift_spec = (
|
|
|
11288 |
(0, TType.BOOL, 'success', None, None, ), # 0
|
|
|
11289 |
(1, TType.STRUCT, 'wex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
|
|
11290 |
)
|
|
|
11291 |
|
|
|
11292 |
def __init__(self, success=None, wex=None,):
|
|
|
11293 |
self.success = success
|
|
|
11294 |
self.wex = wex
|
|
|
11295 |
|
|
|
11296 |
def read(self, iprot):
|
|
|
11297 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
11298 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
11299 |
return
|
|
|
11300 |
iprot.readStructBegin()
|
|
|
11301 |
while True:
|
|
|
11302 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
11303 |
if ftype == TType.STOP:
|
|
|
11304 |
break
|
|
|
11305 |
if fid == 0:
|
|
|
11306 |
if ftype == TType.BOOL:
|
|
|
11307 |
self.success = iprot.readBool();
|
|
|
11308 |
else:
|
|
|
11309 |
iprot.skip(ftype)
|
|
|
11310 |
elif fid == 1:
|
|
|
11311 |
if ftype == TType.STRUCT:
|
|
|
11312 |
self.wex = WarehouseServiceException()
|
|
|
11313 |
self.wex.read(iprot)
|
|
|
11314 |
else:
|
|
|
11315 |
iprot.skip(ftype)
|
|
|
11316 |
else:
|
|
|
11317 |
iprot.skip(ftype)
|
|
|
11318 |
iprot.readFieldEnd()
|
|
|
11319 |
iprot.readStructEnd()
|
|
|
11320 |
|
|
|
11321 |
def write(self, oprot):
|
|
|
11322 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
11323 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
11324 |
return
|
|
|
11325 |
oprot.writeStructBegin('isItemAvailableForSale_result')
|
|
|
11326 |
if self.success is not None:
|
|
|
11327 |
oprot.writeFieldBegin('success', TType.BOOL, 0)
|
|
|
11328 |
oprot.writeBool(self.success)
|
|
|
11329 |
oprot.writeFieldEnd()
|
|
|
11330 |
if self.wex is not None:
|
|
|
11331 |
oprot.writeFieldBegin('wex', TType.STRUCT, 1)
|
|
|
11332 |
self.wex.write(oprot)
|
|
|
11333 |
oprot.writeFieldEnd()
|
|
|
11334 |
oprot.writeFieldStop()
|
|
|
11335 |
oprot.writeStructEnd()
|
|
|
11336 |
|
|
|
11337 |
def validate(self):
|
|
|
11338 |
return
|
|
|
11339 |
|
|
|
11340 |
|
|
|
11341 |
def __repr__(self):
|
|
|
11342 |
L = ['%s=%r' % (key, value)
|
|
|
11343 |
for key, value in self.__dict__.iteritems()]
|
|
|
11344 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
11345 |
|
|
|
11346 |
def __eq__(self, other):
|
|
|
11347 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
11348 |
|
|
|
11349 |
def __ne__(self, other):
|
|
|
11350 |
return not (self == other)
|
|
|
11351 |
|
|
|
11352 |
class getHistoricBadInventoryByScans_args:
|
|
|
11353 |
"""
|
|
|
11354 |
Attributes:
|
|
|
11355 |
- date
|
|
|
11356 |
"""
|
|
|
11357 |
|
|
|
11358 |
thrift_spec = (
|
|
|
11359 |
None, # 0
|
|
|
11360 |
(1, TType.I64, 'date', None, None, ), # 1
|
|
|
11361 |
)
|
|
|
11362 |
|
|
|
11363 |
def __init__(self, date=None,):
|
|
|
11364 |
self.date = date
|
|
|
11365 |
|
|
|
11366 |
def read(self, iprot):
|
|
|
11367 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
11368 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
11369 |
return
|
|
|
11370 |
iprot.readStructBegin()
|
|
|
11371 |
while True:
|
|
|
11372 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
11373 |
if ftype == TType.STOP:
|
|
|
11374 |
break
|
|
|
11375 |
if fid == 1:
|
|
|
11376 |
if ftype == TType.I64:
|
|
|
11377 |
self.date = iprot.readI64();
|
|
|
11378 |
else:
|
|
|
11379 |
iprot.skip(ftype)
|
|
|
11380 |
else:
|
|
|
11381 |
iprot.skip(ftype)
|
|
|
11382 |
iprot.readFieldEnd()
|
|
|
11383 |
iprot.readStructEnd()
|
|
|
11384 |
|
|
|
11385 |
def write(self, oprot):
|
|
|
11386 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
11387 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
11388 |
return
|
|
|
11389 |
oprot.writeStructBegin('getHistoricBadInventoryByScans_args')
|
|
|
11390 |
if self.date is not None:
|
|
|
11391 |
oprot.writeFieldBegin('date', TType.I64, 1)
|
|
|
11392 |
oprot.writeI64(self.date)
|
|
|
11393 |
oprot.writeFieldEnd()
|
|
|
11394 |
oprot.writeFieldStop()
|
|
|
11395 |
oprot.writeStructEnd()
|
|
|
11396 |
|
|
|
11397 |
def validate(self):
|
|
|
11398 |
return
|
|
|
11399 |
|
|
|
11400 |
|
|
|
11401 |
def __repr__(self):
|
|
|
11402 |
L = ['%s=%r' % (key, value)
|
|
|
11403 |
for key, value in self.__dict__.iteritems()]
|
|
|
11404 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
11405 |
|
|
|
11406 |
def __eq__(self, other):
|
|
|
11407 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
11408 |
|
|
|
11409 |
def __ne__(self, other):
|
|
|
11410 |
return not (self == other)
|
|
|
11411 |
|
|
|
11412 |
class getHistoricBadInventoryByScans_result:
|
|
|
11413 |
"""
|
|
|
11414 |
Attributes:
|
|
|
11415 |
- success
|
|
|
11416 |
- wex
|
|
|
11417 |
"""
|
|
|
11418 |
|
|
|
11419 |
thrift_spec = (
|
|
|
11420 |
(0, TType.LIST, 'success', (TType.STRUCT,(InventoryAvailability, InventoryAvailability.thrift_spec)), None, ), # 0
|
|
|
11421 |
(1, TType.STRUCT, 'wex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
|
|
11422 |
)
|
|
|
11423 |
|
|
|
11424 |
def __init__(self, success=None, wex=None,):
|
|
|
11425 |
self.success = success
|
|
|
11426 |
self.wex = wex
|
|
|
11427 |
|
|
|
11428 |
def read(self, iprot):
|
|
|
11429 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
11430 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
11431 |
return
|
|
|
11432 |
iprot.readStructBegin()
|
|
|
11433 |
while True:
|
|
|
11434 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
11435 |
if ftype == TType.STOP:
|
|
|
11436 |
break
|
|
|
11437 |
if fid == 0:
|
|
|
11438 |
if ftype == TType.LIST:
|
|
|
11439 |
self.success = []
|
| 10407 |
amar.kumar |
11440 |
(_etype208, _size205) = iprot.readListBegin()
|
|
|
11441 |
for _i209 in xrange(_size205):
|
|
|
11442 |
_elem210 = InventoryAvailability()
|
|
|
11443 |
_elem210.read(iprot)
|
|
|
11444 |
self.success.append(_elem210)
|
| 7968 |
amar.kumar |
11445 |
iprot.readListEnd()
|
|
|
11446 |
else:
|
|
|
11447 |
iprot.skip(ftype)
|
|
|
11448 |
elif fid == 1:
|
|
|
11449 |
if ftype == TType.STRUCT:
|
|
|
11450 |
self.wex = WarehouseServiceException()
|
|
|
11451 |
self.wex.read(iprot)
|
|
|
11452 |
else:
|
|
|
11453 |
iprot.skip(ftype)
|
|
|
11454 |
else:
|
|
|
11455 |
iprot.skip(ftype)
|
|
|
11456 |
iprot.readFieldEnd()
|
|
|
11457 |
iprot.readStructEnd()
|
|
|
11458 |
|
|
|
11459 |
def write(self, oprot):
|
|
|
11460 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
11461 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
11462 |
return
|
|
|
11463 |
oprot.writeStructBegin('getHistoricBadInventoryByScans_result')
|
|
|
11464 |
if self.success is not None:
|
|
|
11465 |
oprot.writeFieldBegin('success', TType.LIST, 0)
|
|
|
11466 |
oprot.writeListBegin(TType.STRUCT, len(self.success))
|
| 10407 |
amar.kumar |
11467 |
for iter211 in self.success:
|
|
|
11468 |
iter211.write(oprot)
|
| 7968 |
amar.kumar |
11469 |
oprot.writeListEnd()
|
|
|
11470 |
oprot.writeFieldEnd()
|
|
|
11471 |
if self.wex is not None:
|
|
|
11472 |
oprot.writeFieldBegin('wex', TType.STRUCT, 1)
|
|
|
11473 |
self.wex.write(oprot)
|
|
|
11474 |
oprot.writeFieldEnd()
|
|
|
11475 |
oprot.writeFieldStop()
|
|
|
11476 |
oprot.writeStructEnd()
|
|
|
11477 |
|
|
|
11478 |
def validate(self):
|
|
|
11479 |
return
|
|
|
11480 |
|
|
|
11481 |
|
|
|
11482 |
def __repr__(self):
|
|
|
11483 |
L = ['%s=%r' % (key, value)
|
|
|
11484 |
for key, value in self.__dict__.iteritems()]
|
|
|
11485 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
11486 |
|
|
|
11487 |
def __eq__(self, other):
|
|
|
11488 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
11489 |
|
|
|
11490 |
def __ne__(self, other):
|
|
|
11491 |
return not (self == other)
|
| 8565 |
amar.kumar |
11492 |
|
|
|
11493 |
class scanForBadSale_args:
|
|
|
11494 |
"""
|
|
|
11495 |
Attributes:
|
| 8717 |
amar.kumar |
11496 |
- serialNumber
|
|
|
11497 |
- itemNumber
|
|
|
11498 |
- itemId
|
| 8565 |
amar.kumar |
11499 |
- orderId
|
| 8717 |
amar.kumar |
11500 |
- fulfilmentWarehouseId
|
| 8565 |
amar.kumar |
11501 |
- quantity
|
|
|
11502 |
- billingWarehouseId
|
|
|
11503 |
"""
|
|
|
11504 |
|
|
|
11505 |
thrift_spec = (
|
|
|
11506 |
None, # 0
|
| 8717 |
amar.kumar |
11507 |
(1, TType.STRING, 'serialNumber', None, None, ), # 1
|
|
|
11508 |
(2, TType.STRING, 'itemNumber', None, None, ), # 2
|
|
|
11509 |
(3, TType.I64, 'itemId', None, None, ), # 3
|
|
|
11510 |
(4, TType.I64, 'orderId', None, None, ), # 4
|
|
|
11511 |
(5, TType.I64, 'fulfilmentWarehouseId', None, None, ), # 5
|
|
|
11512 |
(6, TType.I64, 'quantity', None, None, ), # 6
|
|
|
11513 |
(7, TType.I64, 'billingWarehouseId', None, None, ), # 7
|
| 8565 |
amar.kumar |
11514 |
)
|
|
|
11515 |
|
| 8717 |
amar.kumar |
11516 |
def __init__(self, serialNumber=None, itemNumber=None, itemId=None, orderId=None, fulfilmentWarehouseId=None, quantity=None, billingWarehouseId=None,):
|
|
|
11517 |
self.serialNumber = serialNumber
|
|
|
11518 |
self.itemNumber = itemNumber
|
|
|
11519 |
self.itemId = itemId
|
| 8565 |
amar.kumar |
11520 |
self.orderId = orderId
|
| 8717 |
amar.kumar |
11521 |
self.fulfilmentWarehouseId = fulfilmentWarehouseId
|
| 8565 |
amar.kumar |
11522 |
self.quantity = quantity
|
|
|
11523 |
self.billingWarehouseId = billingWarehouseId
|
|
|
11524 |
|
|
|
11525 |
def read(self, iprot):
|
|
|
11526 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
11527 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
11528 |
return
|
|
|
11529 |
iprot.readStructBegin()
|
|
|
11530 |
while True:
|
|
|
11531 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
11532 |
if ftype == TType.STOP:
|
|
|
11533 |
break
|
|
|
11534 |
if fid == 1:
|
| 8717 |
amar.kumar |
11535 |
if ftype == TType.STRING:
|
|
|
11536 |
self.serialNumber = iprot.readString();
|
| 8565 |
amar.kumar |
11537 |
else:
|
|
|
11538 |
iprot.skip(ftype)
|
|
|
11539 |
elif fid == 2:
|
| 8717 |
amar.kumar |
11540 |
if ftype == TType.STRING:
|
|
|
11541 |
self.itemNumber = iprot.readString();
|
| 8565 |
amar.kumar |
11542 |
else:
|
|
|
11543 |
iprot.skip(ftype)
|
|
|
11544 |
elif fid == 3:
|
|
|
11545 |
if ftype == TType.I64:
|
| 8717 |
amar.kumar |
11546 |
self.itemId = iprot.readI64();
|
| 8565 |
amar.kumar |
11547 |
else:
|
|
|
11548 |
iprot.skip(ftype)
|
|
|
11549 |
elif fid == 4:
|
|
|
11550 |
if ftype == TType.I64:
|
| 8717 |
amar.kumar |
11551 |
self.orderId = iprot.readI64();
|
| 8565 |
amar.kumar |
11552 |
else:
|
|
|
11553 |
iprot.skip(ftype)
|
|
|
11554 |
elif fid == 5:
|
|
|
11555 |
if ftype == TType.I64:
|
| 8717 |
amar.kumar |
11556 |
self.fulfilmentWarehouseId = iprot.readI64();
|
|
|
11557 |
else:
|
|
|
11558 |
iprot.skip(ftype)
|
|
|
11559 |
elif fid == 6:
|
|
|
11560 |
if ftype == TType.I64:
|
|
|
11561 |
self.quantity = iprot.readI64();
|
|
|
11562 |
else:
|
|
|
11563 |
iprot.skip(ftype)
|
|
|
11564 |
elif fid == 7:
|
|
|
11565 |
if ftype == TType.I64:
|
| 8565 |
amar.kumar |
11566 |
self.billingWarehouseId = iprot.readI64();
|
|
|
11567 |
else:
|
|
|
11568 |
iprot.skip(ftype)
|
|
|
11569 |
else:
|
|
|
11570 |
iprot.skip(ftype)
|
|
|
11571 |
iprot.readFieldEnd()
|
|
|
11572 |
iprot.readStructEnd()
|
|
|
11573 |
|
|
|
11574 |
def write(self, oprot):
|
|
|
11575 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
11576 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
11577 |
return
|
|
|
11578 |
oprot.writeStructBegin('scanForBadSale_args')
|
| 8717 |
amar.kumar |
11579 |
if self.serialNumber is not None:
|
|
|
11580 |
oprot.writeFieldBegin('serialNumber', TType.STRING, 1)
|
|
|
11581 |
oprot.writeString(self.serialNumber)
|
| 8565 |
amar.kumar |
11582 |
oprot.writeFieldEnd()
|
| 8717 |
amar.kumar |
11583 |
if self.itemNumber is not None:
|
|
|
11584 |
oprot.writeFieldBegin('itemNumber', TType.STRING, 2)
|
|
|
11585 |
oprot.writeString(self.itemNumber)
|
|
|
11586 |
oprot.writeFieldEnd()
|
|
|
11587 |
if self.itemId is not None:
|
|
|
11588 |
oprot.writeFieldBegin('itemId', TType.I64, 3)
|
|
|
11589 |
oprot.writeI64(self.itemId)
|
|
|
11590 |
oprot.writeFieldEnd()
|
| 8565 |
amar.kumar |
11591 |
if self.orderId is not None:
|
| 8717 |
amar.kumar |
11592 |
oprot.writeFieldBegin('orderId', TType.I64, 4)
|
| 8565 |
amar.kumar |
11593 |
oprot.writeI64(self.orderId)
|
|
|
11594 |
oprot.writeFieldEnd()
|
| 8717 |
amar.kumar |
11595 |
if self.fulfilmentWarehouseId is not None:
|
|
|
11596 |
oprot.writeFieldBegin('fulfilmentWarehouseId', TType.I64, 5)
|
|
|
11597 |
oprot.writeI64(self.fulfilmentWarehouseId)
|
|
|
11598 |
oprot.writeFieldEnd()
|
| 8565 |
amar.kumar |
11599 |
if self.quantity is not None:
|
| 8717 |
amar.kumar |
11600 |
oprot.writeFieldBegin('quantity', TType.I64, 6)
|
| 8565 |
amar.kumar |
11601 |
oprot.writeI64(self.quantity)
|
|
|
11602 |
oprot.writeFieldEnd()
|
|
|
11603 |
if self.billingWarehouseId is not None:
|
| 8717 |
amar.kumar |
11604 |
oprot.writeFieldBegin('billingWarehouseId', TType.I64, 7)
|
| 8565 |
amar.kumar |
11605 |
oprot.writeI64(self.billingWarehouseId)
|
|
|
11606 |
oprot.writeFieldEnd()
|
|
|
11607 |
oprot.writeFieldStop()
|
|
|
11608 |
oprot.writeStructEnd()
|
|
|
11609 |
|
|
|
11610 |
def validate(self):
|
|
|
11611 |
return
|
|
|
11612 |
|
|
|
11613 |
|
|
|
11614 |
def __repr__(self):
|
|
|
11615 |
L = ['%s=%r' % (key, value)
|
|
|
11616 |
for key, value in self.__dict__.iteritems()]
|
|
|
11617 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
11618 |
|
|
|
11619 |
def __eq__(self, other):
|
|
|
11620 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
11621 |
|
|
|
11622 |
def __ne__(self, other):
|
|
|
11623 |
return not (self == other)
|
|
|
11624 |
|
|
|
11625 |
class scanForBadSale_result:
|
| 8717 |
amar.kumar |
11626 |
"""
|
|
|
11627 |
Attributes:
|
|
|
11628 |
- success
|
|
|
11629 |
- wex
|
|
|
11630 |
"""
|
| 8565 |
amar.kumar |
11631 |
|
|
|
11632 |
thrift_spec = (
|
| 8717 |
amar.kumar |
11633 |
(0, TType.STRUCT, 'success', (InventoryItem, InventoryItem.thrift_spec), None, ), # 0
|
|
|
11634 |
(1, TType.STRUCT, 'wex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
| 8565 |
amar.kumar |
11635 |
)
|
|
|
11636 |
|
| 8717 |
amar.kumar |
11637 |
def __init__(self, success=None, wex=None,):
|
|
|
11638 |
self.success = success
|
|
|
11639 |
self.wex = wex
|
|
|
11640 |
|
| 8565 |
amar.kumar |
11641 |
def read(self, iprot):
|
|
|
11642 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
11643 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
11644 |
return
|
|
|
11645 |
iprot.readStructBegin()
|
|
|
11646 |
while True:
|
|
|
11647 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
11648 |
if ftype == TType.STOP:
|
|
|
11649 |
break
|
| 8717 |
amar.kumar |
11650 |
if fid == 0:
|
|
|
11651 |
if ftype == TType.STRUCT:
|
|
|
11652 |
self.success = InventoryItem()
|
|
|
11653 |
self.success.read(iprot)
|
|
|
11654 |
else:
|
|
|
11655 |
iprot.skip(ftype)
|
|
|
11656 |
elif fid == 1:
|
|
|
11657 |
if ftype == TType.STRUCT:
|
|
|
11658 |
self.wex = WarehouseServiceException()
|
|
|
11659 |
self.wex.read(iprot)
|
|
|
11660 |
else:
|
|
|
11661 |
iprot.skip(ftype)
|
| 8565 |
amar.kumar |
11662 |
else:
|
|
|
11663 |
iprot.skip(ftype)
|
|
|
11664 |
iprot.readFieldEnd()
|
|
|
11665 |
iprot.readStructEnd()
|
|
|
11666 |
|
|
|
11667 |
def write(self, oprot):
|
|
|
11668 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
11669 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
11670 |
return
|
|
|
11671 |
oprot.writeStructBegin('scanForBadSale_result')
|
| 8717 |
amar.kumar |
11672 |
if self.success is not None:
|
|
|
11673 |
oprot.writeFieldBegin('success', TType.STRUCT, 0)
|
|
|
11674 |
self.success.write(oprot)
|
|
|
11675 |
oprot.writeFieldEnd()
|
|
|
11676 |
if self.wex is not None:
|
|
|
11677 |
oprot.writeFieldBegin('wex', TType.STRUCT, 1)
|
|
|
11678 |
self.wex.write(oprot)
|
|
|
11679 |
oprot.writeFieldEnd()
|
| 8565 |
amar.kumar |
11680 |
oprot.writeFieldStop()
|
|
|
11681 |
oprot.writeStructEnd()
|
|
|
11682 |
|
|
|
11683 |
def validate(self):
|
|
|
11684 |
return
|
|
|
11685 |
|
|
|
11686 |
|
|
|
11687 |
def __repr__(self):
|
|
|
11688 |
L = ['%s=%r' % (key, value)
|
|
|
11689 |
for key, value in self.__dict__.iteritems()]
|
|
|
11690 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
11691 |
|
|
|
11692 |
def __eq__(self, other):
|
|
|
11693 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
11694 |
|
|
|
11695 |
def __ne__(self, other):
|
|
|
11696 |
return not (self == other)
|
| 10120 |
manish.sha |
11697 |
|
|
|
11698 |
class getTransferLotItemsForMarkReceive_args:
|
|
|
11699 |
"""
|
|
|
11700 |
Attributes:
|
|
|
11701 |
- transferLotId
|
|
|
11702 |
- scanType
|
|
|
11703 |
"""
|
|
|
11704 |
|
|
|
11705 |
thrift_spec = (
|
|
|
11706 |
None, # 0
|
|
|
11707 |
(1, TType.I64, 'transferLotId', None, None, ), # 1
|
|
|
11708 |
(2, TType.I32, 'scanType', None, None, ), # 2
|
|
|
11709 |
)
|
|
|
11710 |
|
|
|
11711 |
def __init__(self, transferLotId=None, scanType=None,):
|
|
|
11712 |
self.transferLotId = transferLotId
|
|
|
11713 |
self.scanType = scanType
|
|
|
11714 |
|
|
|
11715 |
def read(self, iprot):
|
|
|
11716 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
11717 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
11718 |
return
|
|
|
11719 |
iprot.readStructBegin()
|
|
|
11720 |
while True:
|
|
|
11721 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
11722 |
if ftype == TType.STOP:
|
|
|
11723 |
break
|
|
|
11724 |
if fid == 1:
|
|
|
11725 |
if ftype == TType.I64:
|
|
|
11726 |
self.transferLotId = iprot.readI64();
|
|
|
11727 |
else:
|
|
|
11728 |
iprot.skip(ftype)
|
|
|
11729 |
elif fid == 2:
|
|
|
11730 |
if ftype == TType.I32:
|
|
|
11731 |
self.scanType = iprot.readI32();
|
|
|
11732 |
else:
|
|
|
11733 |
iprot.skip(ftype)
|
|
|
11734 |
else:
|
|
|
11735 |
iprot.skip(ftype)
|
|
|
11736 |
iprot.readFieldEnd()
|
|
|
11737 |
iprot.readStructEnd()
|
|
|
11738 |
|
|
|
11739 |
def write(self, oprot):
|
|
|
11740 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
11741 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
11742 |
return
|
|
|
11743 |
oprot.writeStructBegin('getTransferLotItemsForMarkReceive_args')
|
|
|
11744 |
if self.transferLotId is not None:
|
|
|
11745 |
oprot.writeFieldBegin('transferLotId', TType.I64, 1)
|
|
|
11746 |
oprot.writeI64(self.transferLotId)
|
|
|
11747 |
oprot.writeFieldEnd()
|
|
|
11748 |
if self.scanType is not None:
|
|
|
11749 |
oprot.writeFieldBegin('scanType', TType.I32, 2)
|
|
|
11750 |
oprot.writeI32(self.scanType)
|
|
|
11751 |
oprot.writeFieldEnd()
|
|
|
11752 |
oprot.writeFieldStop()
|
|
|
11753 |
oprot.writeStructEnd()
|
|
|
11754 |
|
|
|
11755 |
def validate(self):
|
|
|
11756 |
return
|
|
|
11757 |
|
|
|
11758 |
|
|
|
11759 |
def __repr__(self):
|
|
|
11760 |
L = ['%s=%r' % (key, value)
|
|
|
11761 |
for key, value in self.__dict__.iteritems()]
|
|
|
11762 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
11763 |
|
|
|
11764 |
def __eq__(self, other):
|
|
|
11765 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
11766 |
|
|
|
11767 |
def __ne__(self, other):
|
|
|
11768 |
return not (self == other)
|
|
|
11769 |
|
|
|
11770 |
class getTransferLotItemsForMarkReceive_result:
|
|
|
11771 |
"""
|
|
|
11772 |
Attributes:
|
|
|
11773 |
- success
|
|
|
11774 |
- wex
|
|
|
11775 |
"""
|
|
|
11776 |
|
|
|
11777 |
thrift_spec = (
|
|
|
11778 |
(0, TType.LIST, 'success', (TType.STRUCT,(InventoryItem, InventoryItem.thrift_spec)), None, ), # 0
|
|
|
11779 |
(1, TType.STRUCT, 'wex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
|
|
11780 |
)
|
|
|
11781 |
|
|
|
11782 |
def __init__(self, success=None, wex=None,):
|
|
|
11783 |
self.success = success
|
|
|
11784 |
self.wex = wex
|
|
|
11785 |
|
|
|
11786 |
def read(self, iprot):
|
|
|
11787 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
11788 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
11789 |
return
|
|
|
11790 |
iprot.readStructBegin()
|
|
|
11791 |
while True:
|
|
|
11792 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
11793 |
if ftype == TType.STOP:
|
|
|
11794 |
break
|
|
|
11795 |
if fid == 0:
|
|
|
11796 |
if ftype == TType.LIST:
|
|
|
11797 |
self.success = []
|
| 10407 |
amar.kumar |
11798 |
(_etype215, _size212) = iprot.readListBegin()
|
|
|
11799 |
for _i216 in xrange(_size212):
|
|
|
11800 |
_elem217 = InventoryItem()
|
|
|
11801 |
_elem217.read(iprot)
|
|
|
11802 |
self.success.append(_elem217)
|
| 10120 |
manish.sha |
11803 |
iprot.readListEnd()
|
|
|
11804 |
else:
|
|
|
11805 |
iprot.skip(ftype)
|
|
|
11806 |
elif fid == 1:
|
|
|
11807 |
if ftype == TType.STRUCT:
|
|
|
11808 |
self.wex = WarehouseServiceException()
|
|
|
11809 |
self.wex.read(iprot)
|
|
|
11810 |
else:
|
|
|
11811 |
iprot.skip(ftype)
|
|
|
11812 |
else:
|
|
|
11813 |
iprot.skip(ftype)
|
|
|
11814 |
iprot.readFieldEnd()
|
|
|
11815 |
iprot.readStructEnd()
|
|
|
11816 |
|
|
|
11817 |
def write(self, oprot):
|
|
|
11818 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
11819 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
11820 |
return
|
|
|
11821 |
oprot.writeStructBegin('getTransferLotItemsForMarkReceive_result')
|
|
|
11822 |
if self.success is not None:
|
|
|
11823 |
oprot.writeFieldBegin('success', TType.LIST, 0)
|
|
|
11824 |
oprot.writeListBegin(TType.STRUCT, len(self.success))
|
| 10407 |
amar.kumar |
11825 |
for iter218 in self.success:
|
|
|
11826 |
iter218.write(oprot)
|
| 10120 |
manish.sha |
11827 |
oprot.writeListEnd()
|
|
|
11828 |
oprot.writeFieldEnd()
|
|
|
11829 |
if self.wex is not None:
|
|
|
11830 |
oprot.writeFieldBegin('wex', TType.STRUCT, 1)
|
|
|
11831 |
self.wex.write(oprot)
|
|
|
11832 |
oprot.writeFieldEnd()
|
|
|
11833 |
oprot.writeFieldStop()
|
|
|
11834 |
oprot.writeStructEnd()
|
|
|
11835 |
|
|
|
11836 |
def validate(self):
|
|
|
11837 |
return
|
|
|
11838 |
|
|
|
11839 |
|
|
|
11840 |
def __repr__(self):
|
|
|
11841 |
L = ['%s=%r' % (key, value)
|
|
|
11842 |
for key, value in self.__dict__.iteritems()]
|
|
|
11843 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
11844 |
|
|
|
11845 |
def __eq__(self, other):
|
|
|
11846 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
11847 |
|
|
|
11848 |
def __ne__(self, other):
|
|
|
11849 |
return not (self == other)
|
|
|
11850 |
|
|
|
11851 |
class markItemsAsReceivedForTransferLotPartial_args:
|
|
|
11852 |
"""
|
|
|
11853 |
Attributes:
|
|
|
11854 |
- inventoryItems
|
|
|
11855 |
- transferLotId
|
|
|
11856 |
"""
|
|
|
11857 |
|
|
|
11858 |
thrift_spec = (
|
|
|
11859 |
None, # 0
|
|
|
11860 |
(1, TType.LIST, 'inventoryItems', (TType.STRUCT,(InventoryItem, InventoryItem.thrift_spec)), None, ), # 1
|
|
|
11861 |
(2, TType.I64, 'transferLotId', None, None, ), # 2
|
|
|
11862 |
)
|
|
|
11863 |
|
|
|
11864 |
def __init__(self, inventoryItems=None, transferLotId=None,):
|
|
|
11865 |
self.inventoryItems = inventoryItems
|
|
|
11866 |
self.transferLotId = transferLotId
|
|
|
11867 |
|
|
|
11868 |
def read(self, iprot):
|
|
|
11869 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
11870 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
11871 |
return
|
|
|
11872 |
iprot.readStructBegin()
|
|
|
11873 |
while True:
|
|
|
11874 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
11875 |
if ftype == TType.STOP:
|
|
|
11876 |
break
|
|
|
11877 |
if fid == 1:
|
|
|
11878 |
if ftype == TType.LIST:
|
|
|
11879 |
self.inventoryItems = []
|
| 10407 |
amar.kumar |
11880 |
(_etype222, _size219) = iprot.readListBegin()
|
|
|
11881 |
for _i223 in xrange(_size219):
|
|
|
11882 |
_elem224 = InventoryItem()
|
|
|
11883 |
_elem224.read(iprot)
|
|
|
11884 |
self.inventoryItems.append(_elem224)
|
| 10120 |
manish.sha |
11885 |
iprot.readListEnd()
|
|
|
11886 |
else:
|
|
|
11887 |
iprot.skip(ftype)
|
|
|
11888 |
elif fid == 2:
|
|
|
11889 |
if ftype == TType.I64:
|
|
|
11890 |
self.transferLotId = iprot.readI64();
|
|
|
11891 |
else:
|
|
|
11892 |
iprot.skip(ftype)
|
|
|
11893 |
else:
|
|
|
11894 |
iprot.skip(ftype)
|
|
|
11895 |
iprot.readFieldEnd()
|
|
|
11896 |
iprot.readStructEnd()
|
|
|
11897 |
|
|
|
11898 |
def write(self, oprot):
|
|
|
11899 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
11900 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
11901 |
return
|
|
|
11902 |
oprot.writeStructBegin('markItemsAsReceivedForTransferLotPartial_args')
|
|
|
11903 |
if self.inventoryItems is not None:
|
|
|
11904 |
oprot.writeFieldBegin('inventoryItems', TType.LIST, 1)
|
|
|
11905 |
oprot.writeListBegin(TType.STRUCT, len(self.inventoryItems))
|
| 10407 |
amar.kumar |
11906 |
for iter225 in self.inventoryItems:
|
|
|
11907 |
iter225.write(oprot)
|
| 10120 |
manish.sha |
11908 |
oprot.writeListEnd()
|
|
|
11909 |
oprot.writeFieldEnd()
|
|
|
11910 |
if self.transferLotId is not None:
|
|
|
11911 |
oprot.writeFieldBegin('transferLotId', TType.I64, 2)
|
|
|
11912 |
oprot.writeI64(self.transferLotId)
|
|
|
11913 |
oprot.writeFieldEnd()
|
|
|
11914 |
oprot.writeFieldStop()
|
|
|
11915 |
oprot.writeStructEnd()
|
|
|
11916 |
|
|
|
11917 |
def validate(self):
|
|
|
11918 |
return
|
|
|
11919 |
|
|
|
11920 |
|
|
|
11921 |
def __repr__(self):
|
|
|
11922 |
L = ['%s=%r' % (key, value)
|
|
|
11923 |
for key, value in self.__dict__.iteritems()]
|
|
|
11924 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
11925 |
|
|
|
11926 |
def __eq__(self, other):
|
|
|
11927 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
11928 |
|
|
|
11929 |
def __ne__(self, other):
|
|
|
11930 |
return not (self == other)
|
|
|
11931 |
|
|
|
11932 |
class markItemsAsReceivedForTransferLotPartial_result:
|
|
|
11933 |
"""
|
|
|
11934 |
Attributes:
|
|
|
11935 |
- wex
|
|
|
11936 |
"""
|
|
|
11937 |
|
|
|
11938 |
thrift_spec = (
|
|
|
11939 |
None, # 0
|
|
|
11940 |
(1, TType.STRUCT, 'wex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
|
|
11941 |
)
|
|
|
11942 |
|
|
|
11943 |
def __init__(self, wex=None,):
|
|
|
11944 |
self.wex = wex
|
|
|
11945 |
|
|
|
11946 |
def read(self, iprot):
|
|
|
11947 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
11948 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
11949 |
return
|
|
|
11950 |
iprot.readStructBegin()
|
|
|
11951 |
while True:
|
|
|
11952 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
11953 |
if ftype == TType.STOP:
|
|
|
11954 |
break
|
|
|
11955 |
if fid == 1:
|
|
|
11956 |
if ftype == TType.STRUCT:
|
|
|
11957 |
self.wex = WarehouseServiceException()
|
|
|
11958 |
self.wex.read(iprot)
|
|
|
11959 |
else:
|
|
|
11960 |
iprot.skip(ftype)
|
|
|
11961 |
else:
|
|
|
11962 |
iprot.skip(ftype)
|
|
|
11963 |
iprot.readFieldEnd()
|
|
|
11964 |
iprot.readStructEnd()
|
|
|
11965 |
|
|
|
11966 |
def write(self, oprot):
|
|
|
11967 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
11968 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
11969 |
return
|
|
|
11970 |
oprot.writeStructBegin('markItemsAsReceivedForTransferLotPartial_result')
|
|
|
11971 |
if self.wex is not None:
|
|
|
11972 |
oprot.writeFieldBegin('wex', TType.STRUCT, 1)
|
|
|
11973 |
self.wex.write(oprot)
|
|
|
11974 |
oprot.writeFieldEnd()
|
|
|
11975 |
oprot.writeFieldStop()
|
|
|
11976 |
oprot.writeStructEnd()
|
|
|
11977 |
|
|
|
11978 |
def validate(self):
|
|
|
11979 |
return
|
|
|
11980 |
|
|
|
11981 |
|
|
|
11982 |
def __repr__(self):
|
|
|
11983 |
L = ['%s=%r' % (key, value)
|
|
|
11984 |
for key, value in self.__dict__.iteritems()]
|
|
|
11985 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
11986 |
|
|
|
11987 |
def __eq__(self, other):
|
|
|
11988 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
11989 |
|
|
|
11990 |
def __ne__(self, other):
|
|
|
11991 |
return not (self == other)
|
|
|
11992 |
|
|
|
11993 |
class markTransferLotAsReceivedPartial_args:
|
|
|
11994 |
"""
|
|
|
11995 |
Attributes:
|
|
|
11996 |
- id
|
|
|
11997 |
- remoteTransferRefNumber
|
|
|
11998 |
"""
|
|
|
11999 |
|
|
|
12000 |
thrift_spec = (
|
|
|
12001 |
None, # 0
|
|
|
12002 |
(1, TType.I64, 'id', None, None, ), # 1
|
|
|
12003 |
(2, TType.STRING, 'remoteTransferRefNumber', None, None, ), # 2
|
|
|
12004 |
)
|
|
|
12005 |
|
|
|
12006 |
def __init__(self, id=None, remoteTransferRefNumber=None,):
|
|
|
12007 |
self.id = id
|
|
|
12008 |
self.remoteTransferRefNumber = remoteTransferRefNumber
|
|
|
12009 |
|
|
|
12010 |
def read(self, iprot):
|
|
|
12011 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
12012 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
12013 |
return
|
|
|
12014 |
iprot.readStructBegin()
|
|
|
12015 |
while True:
|
|
|
12016 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
12017 |
if ftype == TType.STOP:
|
|
|
12018 |
break
|
|
|
12019 |
if fid == 1:
|
|
|
12020 |
if ftype == TType.I64:
|
|
|
12021 |
self.id = iprot.readI64();
|
|
|
12022 |
else:
|
|
|
12023 |
iprot.skip(ftype)
|
|
|
12024 |
elif fid == 2:
|
|
|
12025 |
if ftype == TType.STRING:
|
|
|
12026 |
self.remoteTransferRefNumber = iprot.readString();
|
|
|
12027 |
else:
|
|
|
12028 |
iprot.skip(ftype)
|
|
|
12029 |
else:
|
|
|
12030 |
iprot.skip(ftype)
|
|
|
12031 |
iprot.readFieldEnd()
|
|
|
12032 |
iprot.readStructEnd()
|
|
|
12033 |
|
|
|
12034 |
def write(self, oprot):
|
|
|
12035 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
12036 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
12037 |
return
|
|
|
12038 |
oprot.writeStructBegin('markTransferLotAsReceivedPartial_args')
|
|
|
12039 |
if self.id is not None:
|
|
|
12040 |
oprot.writeFieldBegin('id', TType.I64, 1)
|
|
|
12041 |
oprot.writeI64(self.id)
|
|
|
12042 |
oprot.writeFieldEnd()
|
|
|
12043 |
if self.remoteTransferRefNumber is not None:
|
|
|
12044 |
oprot.writeFieldBegin('remoteTransferRefNumber', TType.STRING, 2)
|
|
|
12045 |
oprot.writeString(self.remoteTransferRefNumber)
|
|
|
12046 |
oprot.writeFieldEnd()
|
|
|
12047 |
oprot.writeFieldStop()
|
|
|
12048 |
oprot.writeStructEnd()
|
|
|
12049 |
|
|
|
12050 |
def validate(self):
|
|
|
12051 |
return
|
|
|
12052 |
|
|
|
12053 |
|
|
|
12054 |
def __repr__(self):
|
|
|
12055 |
L = ['%s=%r' % (key, value)
|
|
|
12056 |
for key, value in self.__dict__.iteritems()]
|
|
|
12057 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
12058 |
|
|
|
12059 |
def __eq__(self, other):
|
|
|
12060 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
12061 |
|
|
|
12062 |
def __ne__(self, other):
|
|
|
12063 |
return not (self == other)
|
|
|
12064 |
|
|
|
12065 |
class markTransferLotAsReceivedPartial_result:
|
|
|
12066 |
"""
|
|
|
12067 |
Attributes:
|
|
|
12068 |
- wex
|
|
|
12069 |
"""
|
|
|
12070 |
|
|
|
12071 |
thrift_spec = (
|
|
|
12072 |
None, # 0
|
|
|
12073 |
(1, TType.STRUCT, 'wex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
|
|
12074 |
)
|
|
|
12075 |
|
|
|
12076 |
def __init__(self, wex=None,):
|
|
|
12077 |
self.wex = wex
|
|
|
12078 |
|
|
|
12079 |
def read(self, iprot):
|
|
|
12080 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
12081 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
12082 |
return
|
|
|
12083 |
iprot.readStructBegin()
|
|
|
12084 |
while True:
|
|
|
12085 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
12086 |
if ftype == TType.STOP:
|
|
|
12087 |
break
|
|
|
12088 |
if fid == 1:
|
|
|
12089 |
if ftype == TType.STRUCT:
|
|
|
12090 |
self.wex = WarehouseServiceException()
|
|
|
12091 |
self.wex.read(iprot)
|
|
|
12092 |
else:
|
|
|
12093 |
iprot.skip(ftype)
|
|
|
12094 |
else:
|
|
|
12095 |
iprot.skip(ftype)
|
|
|
12096 |
iprot.readFieldEnd()
|
|
|
12097 |
iprot.readStructEnd()
|
|
|
12098 |
|
|
|
12099 |
def write(self, oprot):
|
|
|
12100 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
12101 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
12102 |
return
|
|
|
12103 |
oprot.writeStructBegin('markTransferLotAsReceivedPartial_result')
|
|
|
12104 |
if self.wex is not None:
|
|
|
12105 |
oprot.writeFieldBegin('wex', TType.STRUCT, 1)
|
|
|
12106 |
self.wex.write(oprot)
|
|
|
12107 |
oprot.writeFieldEnd()
|
|
|
12108 |
oprot.writeFieldStop()
|
|
|
12109 |
oprot.writeStructEnd()
|
|
|
12110 |
|
|
|
12111 |
def validate(self):
|
|
|
12112 |
return
|
|
|
12113 |
|
|
|
12114 |
|
|
|
12115 |
def __repr__(self):
|
|
|
12116 |
L = ['%s=%r' % (key, value)
|
|
|
12117 |
for key, value in self.__dict__.iteritems()]
|
|
|
12118 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
12119 |
|
|
|
12120 |
def __eq__(self, other):
|
|
|
12121 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
12122 |
|
|
|
12123 |
def __ne__(self, other):
|
|
|
12124 |
return not (self == other)
|
| 10690 |
manish.sha |
12125 |
|
|
|
12126 |
class getInventoryItemScannedInForPO_args:
|
|
|
12127 |
"""
|
|
|
12128 |
Attributes:
|
|
|
12129 |
- itemId
|
|
|
12130 |
- purchaseIds
|
|
|
12131 |
"""
|
|
|
12132 |
|
|
|
12133 |
thrift_spec = (
|
|
|
12134 |
None, # 0
|
|
|
12135 |
(1, TType.I64, 'itemId', None, None, ), # 1
|
|
|
12136 |
(2, TType.LIST, 'purchaseIds', (TType.I64,None), None, ), # 2
|
|
|
12137 |
)
|
|
|
12138 |
|
|
|
12139 |
def __init__(self, itemId=None, purchaseIds=None,):
|
|
|
12140 |
self.itemId = itemId
|
|
|
12141 |
self.purchaseIds = purchaseIds
|
|
|
12142 |
|
|
|
12143 |
def read(self, iprot):
|
|
|
12144 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
12145 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
12146 |
return
|
|
|
12147 |
iprot.readStructBegin()
|
|
|
12148 |
while True:
|
|
|
12149 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
12150 |
if ftype == TType.STOP:
|
|
|
12151 |
break
|
|
|
12152 |
if fid == 1:
|
|
|
12153 |
if ftype == TType.I64:
|
|
|
12154 |
self.itemId = iprot.readI64();
|
|
|
12155 |
else:
|
|
|
12156 |
iprot.skip(ftype)
|
|
|
12157 |
elif fid == 2:
|
|
|
12158 |
if ftype == TType.LIST:
|
|
|
12159 |
self.purchaseIds = []
|
|
|
12160 |
(_etype229, _size226) = iprot.readListBegin()
|
|
|
12161 |
for _i230 in xrange(_size226):
|
|
|
12162 |
_elem231 = iprot.readI64();
|
|
|
12163 |
self.purchaseIds.append(_elem231)
|
|
|
12164 |
iprot.readListEnd()
|
|
|
12165 |
else:
|
|
|
12166 |
iprot.skip(ftype)
|
|
|
12167 |
else:
|
|
|
12168 |
iprot.skip(ftype)
|
|
|
12169 |
iprot.readFieldEnd()
|
|
|
12170 |
iprot.readStructEnd()
|
|
|
12171 |
|
|
|
12172 |
def write(self, oprot):
|
|
|
12173 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
12174 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
12175 |
return
|
|
|
12176 |
oprot.writeStructBegin('getInventoryItemScannedInForPO_args')
|
|
|
12177 |
if self.itemId is not None:
|
|
|
12178 |
oprot.writeFieldBegin('itemId', TType.I64, 1)
|
|
|
12179 |
oprot.writeI64(self.itemId)
|
|
|
12180 |
oprot.writeFieldEnd()
|
|
|
12181 |
if self.purchaseIds is not None:
|
|
|
12182 |
oprot.writeFieldBegin('purchaseIds', TType.LIST, 2)
|
|
|
12183 |
oprot.writeListBegin(TType.I64, len(self.purchaseIds))
|
|
|
12184 |
for iter232 in self.purchaseIds:
|
|
|
12185 |
oprot.writeI64(iter232)
|
|
|
12186 |
oprot.writeListEnd()
|
|
|
12187 |
oprot.writeFieldEnd()
|
|
|
12188 |
oprot.writeFieldStop()
|
|
|
12189 |
oprot.writeStructEnd()
|
|
|
12190 |
|
|
|
12191 |
def validate(self):
|
|
|
12192 |
return
|
|
|
12193 |
|
|
|
12194 |
|
|
|
12195 |
def __repr__(self):
|
|
|
12196 |
L = ['%s=%r' % (key, value)
|
|
|
12197 |
for key, value in self.__dict__.iteritems()]
|
|
|
12198 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
12199 |
|
|
|
12200 |
def __eq__(self, other):
|
|
|
12201 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
12202 |
|
|
|
12203 |
def __ne__(self, other):
|
|
|
12204 |
return not (self == other)
|
|
|
12205 |
|
|
|
12206 |
class getInventoryItemScannedInForPO_result:
|
|
|
12207 |
"""
|
|
|
12208 |
Attributes:
|
|
|
12209 |
- success
|
|
|
12210 |
- wex
|
|
|
12211 |
"""
|
|
|
12212 |
|
|
|
12213 |
thrift_spec = (
|
|
|
12214 |
(0, TType.LIST, 'success', (TType.STRUCT,(InventoryItem, InventoryItem.thrift_spec)), None, ), # 0
|
|
|
12215 |
(1, TType.STRUCT, 'wex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
|
|
12216 |
)
|
|
|
12217 |
|
|
|
12218 |
def __init__(self, success=None, wex=None,):
|
|
|
12219 |
self.success = success
|
|
|
12220 |
self.wex = wex
|
|
|
12221 |
|
|
|
12222 |
def read(self, iprot):
|
|
|
12223 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
12224 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
12225 |
return
|
|
|
12226 |
iprot.readStructBegin()
|
|
|
12227 |
while True:
|
|
|
12228 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
12229 |
if ftype == TType.STOP:
|
|
|
12230 |
break
|
|
|
12231 |
if fid == 0:
|
|
|
12232 |
if ftype == TType.LIST:
|
|
|
12233 |
self.success = []
|
|
|
12234 |
(_etype236, _size233) = iprot.readListBegin()
|
|
|
12235 |
for _i237 in xrange(_size233):
|
|
|
12236 |
_elem238 = InventoryItem()
|
|
|
12237 |
_elem238.read(iprot)
|
|
|
12238 |
self.success.append(_elem238)
|
|
|
12239 |
iprot.readListEnd()
|
|
|
12240 |
else:
|
|
|
12241 |
iprot.skip(ftype)
|
|
|
12242 |
elif fid == 1:
|
|
|
12243 |
if ftype == TType.STRUCT:
|
|
|
12244 |
self.wex = WarehouseServiceException()
|
|
|
12245 |
self.wex.read(iprot)
|
|
|
12246 |
else:
|
|
|
12247 |
iprot.skip(ftype)
|
|
|
12248 |
else:
|
|
|
12249 |
iprot.skip(ftype)
|
|
|
12250 |
iprot.readFieldEnd()
|
|
|
12251 |
iprot.readStructEnd()
|
|
|
12252 |
|
|
|
12253 |
def write(self, oprot):
|
|
|
12254 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
12255 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
12256 |
return
|
|
|
12257 |
oprot.writeStructBegin('getInventoryItemScannedInForPO_result')
|
|
|
12258 |
if self.success is not None:
|
|
|
12259 |
oprot.writeFieldBegin('success', TType.LIST, 0)
|
|
|
12260 |
oprot.writeListBegin(TType.STRUCT, len(self.success))
|
|
|
12261 |
for iter239 in self.success:
|
|
|
12262 |
iter239.write(oprot)
|
|
|
12263 |
oprot.writeListEnd()
|
|
|
12264 |
oprot.writeFieldEnd()
|
|
|
12265 |
if self.wex is not None:
|
|
|
12266 |
oprot.writeFieldBegin('wex', TType.STRUCT, 1)
|
|
|
12267 |
self.wex.write(oprot)
|
|
|
12268 |
oprot.writeFieldEnd()
|
|
|
12269 |
oprot.writeFieldStop()
|
|
|
12270 |
oprot.writeStructEnd()
|
|
|
12271 |
|
|
|
12272 |
def validate(self):
|
|
|
12273 |
return
|
|
|
12274 |
|
|
|
12275 |
|
|
|
12276 |
def __repr__(self):
|
|
|
12277 |
L = ['%s=%r' % (key, value)
|
|
|
12278 |
for key, value in self.__dict__.iteritems()]
|
|
|
12279 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
12280 |
|
|
|
12281 |
def __eq__(self, other):
|
|
|
12282 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
12283 |
|
|
|
12284 |
def __ne__(self, other):
|
|
|
12285 |
return not (self == other)
|
|
|
12286 |
|
|
|
12287 |
class getAmazonTransferredSkuDetails_args:
|
|
|
12288 |
"""
|
|
|
12289 |
Attributes:
|
|
|
12290 |
- itemIds
|
|
|
12291 |
"""
|
|
|
12292 |
|
|
|
12293 |
thrift_spec = (
|
|
|
12294 |
None, # 0
|
|
|
12295 |
(1, TType.LIST, 'itemIds', (TType.I64,None), None, ), # 1
|
|
|
12296 |
)
|
|
|
12297 |
|
|
|
12298 |
def __init__(self, itemIds=None,):
|
|
|
12299 |
self.itemIds = itemIds
|
|
|
12300 |
|
|
|
12301 |
def read(self, iprot):
|
|
|
12302 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
12303 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
12304 |
return
|
|
|
12305 |
iprot.readStructBegin()
|
|
|
12306 |
while True:
|
|
|
12307 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
12308 |
if ftype == TType.STOP:
|
|
|
12309 |
break
|
|
|
12310 |
if fid == 1:
|
|
|
12311 |
if ftype == TType.LIST:
|
|
|
12312 |
self.itemIds = []
|
|
|
12313 |
(_etype243, _size240) = iprot.readListBegin()
|
|
|
12314 |
for _i244 in xrange(_size240):
|
|
|
12315 |
_elem245 = iprot.readI64();
|
|
|
12316 |
self.itemIds.append(_elem245)
|
|
|
12317 |
iprot.readListEnd()
|
|
|
12318 |
else:
|
|
|
12319 |
iprot.skip(ftype)
|
|
|
12320 |
else:
|
|
|
12321 |
iprot.skip(ftype)
|
|
|
12322 |
iprot.readFieldEnd()
|
|
|
12323 |
iprot.readStructEnd()
|
|
|
12324 |
|
|
|
12325 |
def write(self, oprot):
|
|
|
12326 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
12327 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
12328 |
return
|
|
|
12329 |
oprot.writeStructBegin('getAmazonTransferredSkuDetails_args')
|
|
|
12330 |
if self.itemIds is not None:
|
|
|
12331 |
oprot.writeFieldBegin('itemIds', TType.LIST, 1)
|
|
|
12332 |
oprot.writeListBegin(TType.I64, len(self.itemIds))
|
|
|
12333 |
for iter246 in self.itemIds:
|
|
|
12334 |
oprot.writeI64(iter246)
|
|
|
12335 |
oprot.writeListEnd()
|
|
|
12336 |
oprot.writeFieldEnd()
|
|
|
12337 |
oprot.writeFieldStop()
|
|
|
12338 |
oprot.writeStructEnd()
|
|
|
12339 |
|
|
|
12340 |
def validate(self):
|
|
|
12341 |
return
|
|
|
12342 |
|
|
|
12343 |
|
|
|
12344 |
def __repr__(self):
|
|
|
12345 |
L = ['%s=%r' % (key, value)
|
|
|
12346 |
for key, value in self.__dict__.iteritems()]
|
|
|
12347 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
12348 |
|
|
|
12349 |
def __eq__(self, other):
|
|
|
12350 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
12351 |
|
|
|
12352 |
def __ne__(self, other):
|
|
|
12353 |
return not (self == other)
|
|
|
12354 |
|
|
|
12355 |
class getAmazonTransferredSkuDetails_result:
|
|
|
12356 |
"""
|
|
|
12357 |
Attributes:
|
|
|
12358 |
- success
|
|
|
12359 |
- wex
|
|
|
12360 |
"""
|
|
|
12361 |
|
|
|
12362 |
thrift_spec = (
|
|
|
12363 |
(0, TType.LIST, 'success', (TType.STRUCT,(AmazonTransferredSkuDetail, AmazonTransferredSkuDetail.thrift_spec)), None, ), # 0
|
|
|
12364 |
(1, TType.STRUCT, 'wex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
|
|
12365 |
)
|
|
|
12366 |
|
|
|
12367 |
def __init__(self, success=None, wex=None,):
|
|
|
12368 |
self.success = success
|
|
|
12369 |
self.wex = wex
|
|
|
12370 |
|
|
|
12371 |
def read(self, iprot):
|
|
|
12372 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
12373 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
12374 |
return
|
|
|
12375 |
iprot.readStructBegin()
|
|
|
12376 |
while True:
|
|
|
12377 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
12378 |
if ftype == TType.STOP:
|
|
|
12379 |
break
|
|
|
12380 |
if fid == 0:
|
|
|
12381 |
if ftype == TType.LIST:
|
|
|
12382 |
self.success = []
|
|
|
12383 |
(_etype250, _size247) = iprot.readListBegin()
|
|
|
12384 |
for _i251 in xrange(_size247):
|
|
|
12385 |
_elem252 = AmazonTransferredSkuDetail()
|
|
|
12386 |
_elem252.read(iprot)
|
|
|
12387 |
self.success.append(_elem252)
|
|
|
12388 |
iprot.readListEnd()
|
|
|
12389 |
else:
|
|
|
12390 |
iprot.skip(ftype)
|
|
|
12391 |
elif fid == 1:
|
|
|
12392 |
if ftype == TType.STRUCT:
|
|
|
12393 |
self.wex = WarehouseServiceException()
|
|
|
12394 |
self.wex.read(iprot)
|
|
|
12395 |
else:
|
|
|
12396 |
iprot.skip(ftype)
|
|
|
12397 |
else:
|
|
|
12398 |
iprot.skip(ftype)
|
|
|
12399 |
iprot.readFieldEnd()
|
|
|
12400 |
iprot.readStructEnd()
|
|
|
12401 |
|
|
|
12402 |
def write(self, oprot):
|
|
|
12403 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
12404 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
12405 |
return
|
|
|
12406 |
oprot.writeStructBegin('getAmazonTransferredSkuDetails_result')
|
|
|
12407 |
if self.success is not None:
|
|
|
12408 |
oprot.writeFieldBegin('success', TType.LIST, 0)
|
|
|
12409 |
oprot.writeListBegin(TType.STRUCT, len(self.success))
|
|
|
12410 |
for iter253 in self.success:
|
|
|
12411 |
iter253.write(oprot)
|
|
|
12412 |
oprot.writeListEnd()
|
|
|
12413 |
oprot.writeFieldEnd()
|
|
|
12414 |
if self.wex is not None:
|
|
|
12415 |
oprot.writeFieldBegin('wex', TType.STRUCT, 1)
|
|
|
12416 |
self.wex.write(oprot)
|
|
|
12417 |
oprot.writeFieldEnd()
|
|
|
12418 |
oprot.writeFieldStop()
|
|
|
12419 |
oprot.writeStructEnd()
|
|
|
12420 |
|
|
|
12421 |
def validate(self):
|
|
|
12422 |
return
|
|
|
12423 |
|
|
|
12424 |
|
|
|
12425 |
def __repr__(self):
|
|
|
12426 |
L = ['%s=%r' % (key, value)
|
|
|
12427 |
for key, value in self.__dict__.iteritems()]
|
|
|
12428 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
12429 |
|
|
|
12430 |
def __eq__(self, other):
|
|
|
12431 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
12432 |
|
|
|
12433 |
def __ne__(self, other):
|
|
|
12434 |
return not (self == other)
|
|
|
12435 |
|
|
|
12436 |
class getScansforPurchase_args:
|
|
|
12437 |
"""
|
|
|
12438 |
Attributes:
|
|
|
12439 |
- purchaseId
|
|
|
12440 |
- scanType
|
|
|
12441 |
"""
|
|
|
12442 |
|
|
|
12443 |
thrift_spec = (
|
|
|
12444 |
None, # 0
|
|
|
12445 |
(1, TType.I64, 'purchaseId', None, None, ), # 1
|
|
|
12446 |
(2, TType.I32, 'scanType', None, None, ), # 2
|
|
|
12447 |
)
|
|
|
12448 |
|
|
|
12449 |
def __init__(self, purchaseId=None, scanType=None,):
|
|
|
12450 |
self.purchaseId = purchaseId
|
|
|
12451 |
self.scanType = scanType
|
|
|
12452 |
|
|
|
12453 |
def read(self, iprot):
|
|
|
12454 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
12455 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
12456 |
return
|
|
|
12457 |
iprot.readStructBegin()
|
|
|
12458 |
while True:
|
|
|
12459 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
12460 |
if ftype == TType.STOP:
|
|
|
12461 |
break
|
|
|
12462 |
if fid == 1:
|
|
|
12463 |
if ftype == TType.I64:
|
|
|
12464 |
self.purchaseId = iprot.readI64();
|
|
|
12465 |
else:
|
|
|
12466 |
iprot.skip(ftype)
|
|
|
12467 |
elif fid == 2:
|
|
|
12468 |
if ftype == TType.I32:
|
|
|
12469 |
self.scanType = iprot.readI32();
|
|
|
12470 |
else:
|
|
|
12471 |
iprot.skip(ftype)
|
|
|
12472 |
else:
|
|
|
12473 |
iprot.skip(ftype)
|
|
|
12474 |
iprot.readFieldEnd()
|
|
|
12475 |
iprot.readStructEnd()
|
|
|
12476 |
|
|
|
12477 |
def write(self, oprot):
|
|
|
12478 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
12479 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
12480 |
return
|
|
|
12481 |
oprot.writeStructBegin('getScansforPurchase_args')
|
|
|
12482 |
if self.purchaseId is not None:
|
|
|
12483 |
oprot.writeFieldBegin('purchaseId', TType.I64, 1)
|
|
|
12484 |
oprot.writeI64(self.purchaseId)
|
|
|
12485 |
oprot.writeFieldEnd()
|
|
|
12486 |
if self.scanType is not None:
|
|
|
12487 |
oprot.writeFieldBegin('scanType', TType.I32, 2)
|
|
|
12488 |
oprot.writeI32(self.scanType)
|
|
|
12489 |
oprot.writeFieldEnd()
|
|
|
12490 |
oprot.writeFieldStop()
|
|
|
12491 |
oprot.writeStructEnd()
|
|
|
12492 |
|
|
|
12493 |
def validate(self):
|
|
|
12494 |
return
|
|
|
12495 |
|
|
|
12496 |
|
|
|
12497 |
def __repr__(self):
|
|
|
12498 |
L = ['%s=%r' % (key, value)
|
|
|
12499 |
for key, value in self.__dict__.iteritems()]
|
|
|
12500 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
12501 |
|
|
|
12502 |
def __eq__(self, other):
|
|
|
12503 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
12504 |
|
|
|
12505 |
def __ne__(self, other):
|
|
|
12506 |
return not (self == other)
|
|
|
12507 |
|
|
|
12508 |
class getScansforPurchase_result:
|
|
|
12509 |
"""
|
|
|
12510 |
Attributes:
|
|
|
12511 |
- success
|
|
|
12512 |
- wex
|
|
|
12513 |
"""
|
|
|
12514 |
|
|
|
12515 |
thrift_spec = (
|
|
|
12516 |
(0, TType.LIST, 'success', (TType.STRUCT,(Scan, Scan.thrift_spec)), None, ), # 0
|
|
|
12517 |
(1, TType.STRUCT, 'wex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
|
|
12518 |
)
|
|
|
12519 |
|
|
|
12520 |
def __init__(self, success=None, wex=None,):
|
|
|
12521 |
self.success = success
|
|
|
12522 |
self.wex = wex
|
|
|
12523 |
|
|
|
12524 |
def read(self, iprot):
|
|
|
12525 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
12526 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
12527 |
return
|
|
|
12528 |
iprot.readStructBegin()
|
|
|
12529 |
while True:
|
|
|
12530 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
12531 |
if ftype == TType.STOP:
|
|
|
12532 |
break
|
|
|
12533 |
if fid == 0:
|
|
|
12534 |
if ftype == TType.LIST:
|
|
|
12535 |
self.success = []
|
|
|
12536 |
(_etype257, _size254) = iprot.readListBegin()
|
|
|
12537 |
for _i258 in xrange(_size254):
|
|
|
12538 |
_elem259 = Scan()
|
|
|
12539 |
_elem259.read(iprot)
|
|
|
12540 |
self.success.append(_elem259)
|
|
|
12541 |
iprot.readListEnd()
|
|
|
12542 |
else:
|
|
|
12543 |
iprot.skip(ftype)
|
|
|
12544 |
elif fid == 1:
|
|
|
12545 |
if ftype == TType.STRUCT:
|
|
|
12546 |
self.wex = WarehouseServiceException()
|
|
|
12547 |
self.wex.read(iprot)
|
|
|
12548 |
else:
|
|
|
12549 |
iprot.skip(ftype)
|
|
|
12550 |
else:
|
|
|
12551 |
iprot.skip(ftype)
|
|
|
12552 |
iprot.readFieldEnd()
|
|
|
12553 |
iprot.readStructEnd()
|
|
|
12554 |
|
|
|
12555 |
def write(self, oprot):
|
|
|
12556 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
12557 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
12558 |
return
|
|
|
12559 |
oprot.writeStructBegin('getScansforPurchase_result')
|
|
|
12560 |
if self.success is not None:
|
|
|
12561 |
oprot.writeFieldBegin('success', TType.LIST, 0)
|
|
|
12562 |
oprot.writeListBegin(TType.STRUCT, len(self.success))
|
|
|
12563 |
for iter260 in self.success:
|
|
|
12564 |
iter260.write(oprot)
|
|
|
12565 |
oprot.writeListEnd()
|
|
|
12566 |
oprot.writeFieldEnd()
|
|
|
12567 |
if self.wex is not None:
|
|
|
12568 |
oprot.writeFieldBegin('wex', TType.STRUCT, 1)
|
|
|
12569 |
self.wex.write(oprot)
|
|
|
12570 |
oprot.writeFieldEnd()
|
|
|
12571 |
oprot.writeFieldStop()
|
|
|
12572 |
oprot.writeStructEnd()
|
|
|
12573 |
|
|
|
12574 |
def validate(self):
|
|
|
12575 |
return
|
|
|
12576 |
|
|
|
12577 |
|
|
|
12578 |
def __repr__(self):
|
|
|
12579 |
L = ['%s=%r' % (key, value)
|
|
|
12580 |
for key, value in self.__dict__.iteritems()]
|
|
|
12581 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
12582 |
|
|
|
12583 |
def __eq__(self, other):
|
|
|
12584 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
12585 |
|
|
|
12586 |
def __ne__(self, other):
|
|
|
12587 |
return not (self == other)
|
| 10864 |
manish.sha |
12588 |
|
|
|
12589 |
class getCurrentBadQuantityForItem_args:
|
|
|
12590 |
"""
|
|
|
12591 |
Attributes:
|
|
|
12592 |
- itemId
|
|
|
12593 |
- currentWarehouseId
|
|
|
12594 |
- physicalWarehouseId
|
|
|
12595 |
"""
|
|
|
12596 |
|
|
|
12597 |
thrift_spec = (
|
|
|
12598 |
None, # 0
|
|
|
12599 |
(1, TType.I64, 'itemId', None, None, ), # 1
|
|
|
12600 |
(2, TType.I64, 'currentWarehouseId', None, None, ), # 2
|
|
|
12601 |
(3, TType.I64, 'physicalWarehouseId', None, None, ), # 3
|
|
|
12602 |
)
|
|
|
12603 |
|
|
|
12604 |
def __init__(self, itemId=None, currentWarehouseId=None, physicalWarehouseId=None,):
|
|
|
12605 |
self.itemId = itemId
|
|
|
12606 |
self.currentWarehouseId = currentWarehouseId
|
|
|
12607 |
self.physicalWarehouseId = physicalWarehouseId
|
|
|
12608 |
|
|
|
12609 |
def read(self, iprot):
|
|
|
12610 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
12611 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
12612 |
return
|
|
|
12613 |
iprot.readStructBegin()
|
|
|
12614 |
while True:
|
|
|
12615 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
12616 |
if ftype == TType.STOP:
|
|
|
12617 |
break
|
|
|
12618 |
if fid == 1:
|
|
|
12619 |
if ftype == TType.I64:
|
|
|
12620 |
self.itemId = iprot.readI64();
|
|
|
12621 |
else:
|
|
|
12622 |
iprot.skip(ftype)
|
|
|
12623 |
elif fid == 2:
|
|
|
12624 |
if ftype == TType.I64:
|
|
|
12625 |
self.currentWarehouseId = iprot.readI64();
|
|
|
12626 |
else:
|
|
|
12627 |
iprot.skip(ftype)
|
|
|
12628 |
elif fid == 3:
|
|
|
12629 |
if ftype == TType.I64:
|
|
|
12630 |
self.physicalWarehouseId = iprot.readI64();
|
|
|
12631 |
else:
|
|
|
12632 |
iprot.skip(ftype)
|
|
|
12633 |
else:
|
|
|
12634 |
iprot.skip(ftype)
|
|
|
12635 |
iprot.readFieldEnd()
|
|
|
12636 |
iprot.readStructEnd()
|
|
|
12637 |
|
|
|
12638 |
def write(self, oprot):
|
|
|
12639 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
12640 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
12641 |
return
|
|
|
12642 |
oprot.writeStructBegin('getCurrentBadQuantityForItem_args')
|
|
|
12643 |
if self.itemId is not None:
|
|
|
12644 |
oprot.writeFieldBegin('itemId', TType.I64, 1)
|
|
|
12645 |
oprot.writeI64(self.itemId)
|
|
|
12646 |
oprot.writeFieldEnd()
|
|
|
12647 |
if self.currentWarehouseId is not None:
|
|
|
12648 |
oprot.writeFieldBegin('currentWarehouseId', TType.I64, 2)
|
|
|
12649 |
oprot.writeI64(self.currentWarehouseId)
|
|
|
12650 |
oprot.writeFieldEnd()
|
|
|
12651 |
if self.physicalWarehouseId is not None:
|
|
|
12652 |
oprot.writeFieldBegin('physicalWarehouseId', TType.I64, 3)
|
|
|
12653 |
oprot.writeI64(self.physicalWarehouseId)
|
|
|
12654 |
oprot.writeFieldEnd()
|
|
|
12655 |
oprot.writeFieldStop()
|
|
|
12656 |
oprot.writeStructEnd()
|
|
|
12657 |
|
|
|
12658 |
def validate(self):
|
|
|
12659 |
return
|
|
|
12660 |
|
|
|
12661 |
|
|
|
12662 |
def __repr__(self):
|
|
|
12663 |
L = ['%s=%r' % (key, value)
|
|
|
12664 |
for key, value in self.__dict__.iteritems()]
|
|
|
12665 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
12666 |
|
|
|
12667 |
def __eq__(self, other):
|
|
|
12668 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
12669 |
|
|
|
12670 |
def __ne__(self, other):
|
|
|
12671 |
return not (self == other)
|
|
|
12672 |
|
|
|
12673 |
class getCurrentBadQuantityForItem_result:
|
|
|
12674 |
"""
|
|
|
12675 |
Attributes:
|
|
|
12676 |
- success
|
|
|
12677 |
- wex
|
|
|
12678 |
"""
|
|
|
12679 |
|
|
|
12680 |
thrift_spec = (
|
|
|
12681 |
(0, TType.I64, 'success', None, None, ), # 0
|
|
|
12682 |
(1, TType.STRUCT, 'wex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
|
|
12683 |
)
|
|
|
12684 |
|
|
|
12685 |
def __init__(self, success=None, wex=None,):
|
|
|
12686 |
self.success = success
|
|
|
12687 |
self.wex = wex
|
|
|
12688 |
|
|
|
12689 |
def read(self, iprot):
|
|
|
12690 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
12691 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
12692 |
return
|
|
|
12693 |
iprot.readStructBegin()
|
|
|
12694 |
while True:
|
|
|
12695 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
12696 |
if ftype == TType.STOP:
|
|
|
12697 |
break
|
|
|
12698 |
if fid == 0:
|
|
|
12699 |
if ftype == TType.I64:
|
|
|
12700 |
self.success = iprot.readI64();
|
|
|
12701 |
else:
|
|
|
12702 |
iprot.skip(ftype)
|
|
|
12703 |
elif fid == 1:
|
|
|
12704 |
if ftype == TType.STRUCT:
|
|
|
12705 |
self.wex = WarehouseServiceException()
|
|
|
12706 |
self.wex.read(iprot)
|
|
|
12707 |
else:
|
|
|
12708 |
iprot.skip(ftype)
|
|
|
12709 |
else:
|
|
|
12710 |
iprot.skip(ftype)
|
|
|
12711 |
iprot.readFieldEnd()
|
|
|
12712 |
iprot.readStructEnd()
|
|
|
12713 |
|
|
|
12714 |
def write(self, oprot):
|
|
|
12715 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
12716 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
12717 |
return
|
|
|
12718 |
oprot.writeStructBegin('getCurrentBadQuantityForItem_result')
|
|
|
12719 |
if self.success is not None:
|
|
|
12720 |
oprot.writeFieldBegin('success', TType.I64, 0)
|
|
|
12721 |
oprot.writeI64(self.success)
|
|
|
12722 |
oprot.writeFieldEnd()
|
|
|
12723 |
if self.wex is not None:
|
|
|
12724 |
oprot.writeFieldBegin('wex', TType.STRUCT, 1)
|
|
|
12725 |
self.wex.write(oprot)
|
|
|
12726 |
oprot.writeFieldEnd()
|
|
|
12727 |
oprot.writeFieldStop()
|
|
|
12728 |
oprot.writeStructEnd()
|
|
|
12729 |
|
|
|
12730 |
def validate(self):
|
|
|
12731 |
return
|
|
|
12732 |
|
|
|
12733 |
|
|
|
12734 |
def __repr__(self):
|
|
|
12735 |
L = ['%s=%r' % (key, value)
|
|
|
12736 |
for key, value in self.__dict__.iteritems()]
|
|
|
12737 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
12738 |
|
|
|
12739 |
def __eq__(self, other):
|
|
|
12740 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
12741 |
|
|
|
12742 |
def __ne__(self, other):
|
|
|
12743 |
return not (self == other)
|
|
|
12744 |
|
|
|
12745 |
class scanForBadPurchaseReturn_args:
|
|
|
12746 |
"""
|
|
|
12747 |
Attributes:
|
|
|
12748 |
- saleReturnItems
|
|
|
12749 |
- vendorId
|
|
|
12750 |
- billingWarehouseId
|
|
|
12751 |
"""
|
|
|
12752 |
|
|
|
12753 |
thrift_spec = (
|
|
|
12754 |
None, # 0
|
|
|
12755 |
(1, TType.LIST, 'saleReturnItems', (TType.STRUCT,(InventoryItem, InventoryItem.thrift_spec)), None, ), # 1
|
|
|
12756 |
(2, TType.I64, 'vendorId', None, None, ), # 2
|
|
|
12757 |
(3, TType.I64, 'billingWarehouseId', None, None, ), # 3
|
|
|
12758 |
)
|
|
|
12759 |
|
|
|
12760 |
def __init__(self, saleReturnItems=None, vendorId=None, billingWarehouseId=None,):
|
|
|
12761 |
self.saleReturnItems = saleReturnItems
|
|
|
12762 |
self.vendorId = vendorId
|
|
|
12763 |
self.billingWarehouseId = billingWarehouseId
|
|
|
12764 |
|
|
|
12765 |
def read(self, iprot):
|
|
|
12766 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
12767 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
12768 |
return
|
|
|
12769 |
iprot.readStructBegin()
|
|
|
12770 |
while True:
|
|
|
12771 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
12772 |
if ftype == TType.STOP:
|
|
|
12773 |
break
|
|
|
12774 |
if fid == 1:
|
|
|
12775 |
if ftype == TType.LIST:
|
|
|
12776 |
self.saleReturnItems = []
|
|
|
12777 |
(_etype264, _size261) = iprot.readListBegin()
|
|
|
12778 |
for _i265 in xrange(_size261):
|
|
|
12779 |
_elem266 = InventoryItem()
|
|
|
12780 |
_elem266.read(iprot)
|
|
|
12781 |
self.saleReturnItems.append(_elem266)
|
|
|
12782 |
iprot.readListEnd()
|
|
|
12783 |
else:
|
|
|
12784 |
iprot.skip(ftype)
|
|
|
12785 |
elif fid == 2:
|
|
|
12786 |
if ftype == TType.I64:
|
|
|
12787 |
self.vendorId = iprot.readI64();
|
|
|
12788 |
else:
|
|
|
12789 |
iprot.skip(ftype)
|
|
|
12790 |
elif fid == 3:
|
|
|
12791 |
if ftype == TType.I64:
|
|
|
12792 |
self.billingWarehouseId = iprot.readI64();
|
|
|
12793 |
else:
|
|
|
12794 |
iprot.skip(ftype)
|
|
|
12795 |
else:
|
|
|
12796 |
iprot.skip(ftype)
|
|
|
12797 |
iprot.readFieldEnd()
|
|
|
12798 |
iprot.readStructEnd()
|
|
|
12799 |
|
|
|
12800 |
def write(self, oprot):
|
|
|
12801 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
12802 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
12803 |
return
|
|
|
12804 |
oprot.writeStructBegin('scanForBadPurchaseReturn_args')
|
|
|
12805 |
if self.saleReturnItems is not None:
|
|
|
12806 |
oprot.writeFieldBegin('saleReturnItems', TType.LIST, 1)
|
|
|
12807 |
oprot.writeListBegin(TType.STRUCT, len(self.saleReturnItems))
|
|
|
12808 |
for iter267 in self.saleReturnItems:
|
|
|
12809 |
iter267.write(oprot)
|
|
|
12810 |
oprot.writeListEnd()
|
|
|
12811 |
oprot.writeFieldEnd()
|
|
|
12812 |
if self.vendorId is not None:
|
|
|
12813 |
oprot.writeFieldBegin('vendorId', TType.I64, 2)
|
|
|
12814 |
oprot.writeI64(self.vendorId)
|
|
|
12815 |
oprot.writeFieldEnd()
|
|
|
12816 |
if self.billingWarehouseId is not None:
|
|
|
12817 |
oprot.writeFieldBegin('billingWarehouseId', TType.I64, 3)
|
|
|
12818 |
oprot.writeI64(self.billingWarehouseId)
|
|
|
12819 |
oprot.writeFieldEnd()
|
|
|
12820 |
oprot.writeFieldStop()
|
|
|
12821 |
oprot.writeStructEnd()
|
|
|
12822 |
|
|
|
12823 |
def validate(self):
|
|
|
12824 |
return
|
|
|
12825 |
|
|
|
12826 |
|
|
|
12827 |
def __repr__(self):
|
|
|
12828 |
L = ['%s=%r' % (key, value)
|
|
|
12829 |
for key, value in self.__dict__.iteritems()]
|
|
|
12830 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
12831 |
|
|
|
12832 |
def __eq__(self, other):
|
|
|
12833 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
12834 |
|
|
|
12835 |
def __ne__(self, other):
|
|
|
12836 |
return not (self == other)
|
|
|
12837 |
|
|
|
12838 |
class scanForBadPurchaseReturn_result:
|
|
|
12839 |
"""
|
|
|
12840 |
Attributes:
|
|
|
12841 |
- success
|
|
|
12842 |
- ex
|
|
|
12843 |
"""
|
|
|
12844 |
|
|
|
12845 |
thrift_spec = (
|
|
|
12846 |
(0, TType.I64, 'success', None, None, ), # 0
|
|
|
12847 |
(1, TType.STRUCT, 'ex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
|
|
12848 |
)
|
|
|
12849 |
|
|
|
12850 |
def __init__(self, success=None, ex=None,):
|
|
|
12851 |
self.success = success
|
|
|
12852 |
self.ex = ex
|
|
|
12853 |
|
|
|
12854 |
def read(self, iprot):
|
|
|
12855 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
12856 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
12857 |
return
|
|
|
12858 |
iprot.readStructBegin()
|
|
|
12859 |
while True:
|
|
|
12860 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
12861 |
if ftype == TType.STOP:
|
|
|
12862 |
break
|
|
|
12863 |
if fid == 0:
|
|
|
12864 |
if ftype == TType.I64:
|
|
|
12865 |
self.success = iprot.readI64();
|
|
|
12866 |
else:
|
|
|
12867 |
iprot.skip(ftype)
|
|
|
12868 |
elif fid == 1:
|
|
|
12869 |
if ftype == TType.STRUCT:
|
|
|
12870 |
self.ex = WarehouseServiceException()
|
|
|
12871 |
self.ex.read(iprot)
|
|
|
12872 |
else:
|
|
|
12873 |
iprot.skip(ftype)
|
|
|
12874 |
else:
|
|
|
12875 |
iprot.skip(ftype)
|
|
|
12876 |
iprot.readFieldEnd()
|
|
|
12877 |
iprot.readStructEnd()
|
|
|
12878 |
|
|
|
12879 |
def write(self, oprot):
|
|
|
12880 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
12881 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
12882 |
return
|
|
|
12883 |
oprot.writeStructBegin('scanForBadPurchaseReturn_result')
|
|
|
12884 |
if self.success is not None:
|
|
|
12885 |
oprot.writeFieldBegin('success', TType.I64, 0)
|
|
|
12886 |
oprot.writeI64(self.success)
|
|
|
12887 |
oprot.writeFieldEnd()
|
|
|
12888 |
if self.ex is not None:
|
|
|
12889 |
oprot.writeFieldBegin('ex', TType.STRUCT, 1)
|
|
|
12890 |
self.ex.write(oprot)
|
|
|
12891 |
oprot.writeFieldEnd()
|
|
|
12892 |
oprot.writeFieldStop()
|
|
|
12893 |
oprot.writeStructEnd()
|
|
|
12894 |
|
|
|
12895 |
def validate(self):
|
|
|
12896 |
return
|
|
|
12897 |
|
|
|
12898 |
|
|
|
12899 |
def __repr__(self):
|
|
|
12900 |
L = ['%s=%r' % (key, value)
|
|
|
12901 |
for key, value in self.__dict__.iteritems()]
|
|
|
12902 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
12903 |
|
|
|
12904 |
def __eq__(self, other):
|
|
|
12905 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
12906 |
|
|
|
12907 |
def __ne__(self, other):
|
|
|
12908 |
return not (self == other)
|
|
|
12909 |
|
|
|
12910 |
class getItemsInPurchaseReturn_args:
|
|
|
12911 |
"""
|
|
|
12912 |
Attributes:
|
|
|
12913 |
- purchaseReturnId
|
| 11751 |
manish.sha |
12914 |
- type
|
| 13504 |
manish.sha |
12915 |
- returnTime
|
| 10864 |
manish.sha |
12916 |
"""
|
|
|
12917 |
|
|
|
12918 |
thrift_spec = (
|
|
|
12919 |
None, # 0
|
|
|
12920 |
(1, TType.I64, 'purchaseReturnId', None, None, ), # 1
|
| 11751 |
manish.sha |
12921 |
(2, TType.I32, 'type', None, None, ), # 2
|
| 13504 |
manish.sha |
12922 |
(3, TType.STRING, 'returnTime', None, None, ), # 3
|
| 10864 |
manish.sha |
12923 |
)
|
|
|
12924 |
|
| 13504 |
manish.sha |
12925 |
def __init__(self, purchaseReturnId=None, type=None, returnTime=None,):
|
| 10864 |
manish.sha |
12926 |
self.purchaseReturnId = purchaseReturnId
|
| 11751 |
manish.sha |
12927 |
self.type = type
|
| 13504 |
manish.sha |
12928 |
self.returnTime = returnTime
|
| 10864 |
manish.sha |
12929 |
|
|
|
12930 |
def read(self, iprot):
|
|
|
12931 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
12932 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
12933 |
return
|
|
|
12934 |
iprot.readStructBegin()
|
|
|
12935 |
while True:
|
|
|
12936 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
12937 |
if ftype == TType.STOP:
|
|
|
12938 |
break
|
|
|
12939 |
if fid == 1:
|
|
|
12940 |
if ftype == TType.I64:
|
|
|
12941 |
self.purchaseReturnId = iprot.readI64();
|
|
|
12942 |
else:
|
|
|
12943 |
iprot.skip(ftype)
|
| 11751 |
manish.sha |
12944 |
elif fid == 2:
|
|
|
12945 |
if ftype == TType.I32:
|
|
|
12946 |
self.type = iprot.readI32();
|
|
|
12947 |
else:
|
|
|
12948 |
iprot.skip(ftype)
|
| 13504 |
manish.sha |
12949 |
elif fid == 3:
|
|
|
12950 |
if ftype == TType.STRING:
|
|
|
12951 |
self.returnTime = iprot.readString();
|
|
|
12952 |
else:
|
|
|
12953 |
iprot.skip(ftype)
|
| 10864 |
manish.sha |
12954 |
else:
|
|
|
12955 |
iprot.skip(ftype)
|
|
|
12956 |
iprot.readFieldEnd()
|
|
|
12957 |
iprot.readStructEnd()
|
|
|
12958 |
|
|
|
12959 |
def write(self, oprot):
|
|
|
12960 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
12961 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
12962 |
return
|
|
|
12963 |
oprot.writeStructBegin('getItemsInPurchaseReturn_args')
|
|
|
12964 |
if self.purchaseReturnId is not None:
|
|
|
12965 |
oprot.writeFieldBegin('purchaseReturnId', TType.I64, 1)
|
|
|
12966 |
oprot.writeI64(self.purchaseReturnId)
|
|
|
12967 |
oprot.writeFieldEnd()
|
| 11751 |
manish.sha |
12968 |
if self.type is not None:
|
|
|
12969 |
oprot.writeFieldBegin('type', TType.I32, 2)
|
|
|
12970 |
oprot.writeI32(self.type)
|
|
|
12971 |
oprot.writeFieldEnd()
|
| 13504 |
manish.sha |
12972 |
if self.returnTime is not None:
|
|
|
12973 |
oprot.writeFieldBegin('returnTime', TType.STRING, 3)
|
|
|
12974 |
oprot.writeString(self.returnTime)
|
|
|
12975 |
oprot.writeFieldEnd()
|
| 10864 |
manish.sha |
12976 |
oprot.writeFieldStop()
|
|
|
12977 |
oprot.writeStructEnd()
|
|
|
12978 |
|
|
|
12979 |
def validate(self):
|
|
|
12980 |
return
|
|
|
12981 |
|
|
|
12982 |
|
|
|
12983 |
def __repr__(self):
|
|
|
12984 |
L = ['%s=%r' % (key, value)
|
|
|
12985 |
for key, value in self.__dict__.iteritems()]
|
|
|
12986 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
12987 |
|
|
|
12988 |
def __eq__(self, other):
|
|
|
12989 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
12990 |
|
|
|
12991 |
def __ne__(self, other):
|
|
|
12992 |
return not (self == other)
|
|
|
12993 |
|
|
|
12994 |
class getItemsInPurchaseReturn_result:
|
|
|
12995 |
"""
|
|
|
12996 |
Attributes:
|
|
|
12997 |
- success
|
|
|
12998 |
- ex
|
|
|
12999 |
"""
|
|
|
13000 |
|
|
|
13001 |
thrift_spec = (
|
|
|
13002 |
(0, TType.MAP, 'success', (TType.I64,None,TType.I64,None), None, ), # 0
|
|
|
13003 |
(1, TType.STRUCT, 'ex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
|
|
13004 |
)
|
|
|
13005 |
|
|
|
13006 |
def __init__(self, success=None, ex=None,):
|
|
|
13007 |
self.success = success
|
|
|
13008 |
self.ex = ex
|
|
|
13009 |
|
|
|
13010 |
def read(self, iprot):
|
|
|
13011 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
13012 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
13013 |
return
|
|
|
13014 |
iprot.readStructBegin()
|
|
|
13015 |
while True:
|
|
|
13016 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
13017 |
if ftype == TType.STOP:
|
|
|
13018 |
break
|
|
|
13019 |
if fid == 0:
|
|
|
13020 |
if ftype == TType.MAP:
|
|
|
13021 |
self.success = {}
|
|
|
13022 |
(_ktype269, _vtype270, _size268 ) = iprot.readMapBegin()
|
|
|
13023 |
for _i272 in xrange(_size268):
|
|
|
13024 |
_key273 = iprot.readI64();
|
|
|
13025 |
_val274 = iprot.readI64();
|
|
|
13026 |
self.success[_key273] = _val274
|
|
|
13027 |
iprot.readMapEnd()
|
|
|
13028 |
else:
|
|
|
13029 |
iprot.skip(ftype)
|
|
|
13030 |
elif fid == 1:
|
|
|
13031 |
if ftype == TType.STRUCT:
|
|
|
13032 |
self.ex = WarehouseServiceException()
|
|
|
13033 |
self.ex.read(iprot)
|
|
|
13034 |
else:
|
|
|
13035 |
iprot.skip(ftype)
|
|
|
13036 |
else:
|
|
|
13037 |
iprot.skip(ftype)
|
|
|
13038 |
iprot.readFieldEnd()
|
|
|
13039 |
iprot.readStructEnd()
|
|
|
13040 |
|
|
|
13041 |
def write(self, oprot):
|
|
|
13042 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
13043 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
13044 |
return
|
|
|
13045 |
oprot.writeStructBegin('getItemsInPurchaseReturn_result')
|
|
|
13046 |
if self.success is not None:
|
|
|
13047 |
oprot.writeFieldBegin('success', TType.MAP, 0)
|
|
|
13048 |
oprot.writeMapBegin(TType.I64, TType.I64, len(self.success))
|
|
|
13049 |
for kiter275,viter276 in self.success.items():
|
|
|
13050 |
oprot.writeI64(kiter275)
|
|
|
13051 |
oprot.writeI64(viter276)
|
|
|
13052 |
oprot.writeMapEnd()
|
|
|
13053 |
oprot.writeFieldEnd()
|
|
|
13054 |
if self.ex is not None:
|
|
|
13055 |
oprot.writeFieldBegin('ex', TType.STRUCT, 1)
|
|
|
13056 |
self.ex.write(oprot)
|
|
|
13057 |
oprot.writeFieldEnd()
|
|
|
13058 |
oprot.writeFieldStop()
|
|
|
13059 |
oprot.writeStructEnd()
|
|
|
13060 |
|
|
|
13061 |
def validate(self):
|
|
|
13062 |
return
|
|
|
13063 |
|
|
|
13064 |
|
|
|
13065 |
def __repr__(self):
|
|
|
13066 |
L = ['%s=%r' % (key, value)
|
|
|
13067 |
for key, value in self.__dict__.iteritems()]
|
|
|
13068 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
13069 |
|
|
|
13070 |
def __eq__(self, other):
|
|
|
13071 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
13072 |
|
|
|
13073 |
def __ne__(self, other):
|
|
|
13074 |
return not (self == other)
|
| 10886 |
manish.sha |
13075 |
|
|
|
13076 |
class getScansForInventoryItem_args:
|
|
|
13077 |
"""
|
|
|
13078 |
Attributes:
|
|
|
13079 |
- inventoryItemId
|
|
|
13080 |
- type
|
|
|
13081 |
"""
|
|
|
13082 |
|
|
|
13083 |
thrift_spec = (
|
|
|
13084 |
None, # 0
|
|
|
13085 |
(1, TType.I64, 'inventoryItemId', None, None, ), # 1
|
|
|
13086 |
(2, TType.I32, 'type', None, None, ), # 2
|
|
|
13087 |
)
|
|
|
13088 |
|
|
|
13089 |
def __init__(self, inventoryItemId=None, type=None,):
|
|
|
13090 |
self.inventoryItemId = inventoryItemId
|
|
|
13091 |
self.type = type
|
|
|
13092 |
|
|
|
13093 |
def read(self, iprot):
|
|
|
13094 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
13095 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
13096 |
return
|
|
|
13097 |
iprot.readStructBegin()
|
|
|
13098 |
while True:
|
|
|
13099 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
13100 |
if ftype == TType.STOP:
|
|
|
13101 |
break
|
|
|
13102 |
if fid == 1:
|
|
|
13103 |
if ftype == TType.I64:
|
|
|
13104 |
self.inventoryItemId = iprot.readI64();
|
|
|
13105 |
else:
|
|
|
13106 |
iprot.skip(ftype)
|
|
|
13107 |
elif fid == 2:
|
|
|
13108 |
if ftype == TType.I32:
|
|
|
13109 |
self.type = iprot.readI32();
|
|
|
13110 |
else:
|
|
|
13111 |
iprot.skip(ftype)
|
|
|
13112 |
else:
|
|
|
13113 |
iprot.skip(ftype)
|
|
|
13114 |
iprot.readFieldEnd()
|
|
|
13115 |
iprot.readStructEnd()
|
|
|
13116 |
|
|
|
13117 |
def write(self, oprot):
|
|
|
13118 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
13119 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
13120 |
return
|
|
|
13121 |
oprot.writeStructBegin('getScansForInventoryItem_args')
|
|
|
13122 |
if self.inventoryItemId is not None:
|
|
|
13123 |
oprot.writeFieldBegin('inventoryItemId', TType.I64, 1)
|
|
|
13124 |
oprot.writeI64(self.inventoryItemId)
|
|
|
13125 |
oprot.writeFieldEnd()
|
|
|
13126 |
if self.type is not None:
|
|
|
13127 |
oprot.writeFieldBegin('type', TType.I32, 2)
|
|
|
13128 |
oprot.writeI32(self.type)
|
|
|
13129 |
oprot.writeFieldEnd()
|
|
|
13130 |
oprot.writeFieldStop()
|
|
|
13131 |
oprot.writeStructEnd()
|
|
|
13132 |
|
|
|
13133 |
def validate(self):
|
|
|
13134 |
return
|
|
|
13135 |
|
|
|
13136 |
|
|
|
13137 |
def __repr__(self):
|
|
|
13138 |
L = ['%s=%r' % (key, value)
|
|
|
13139 |
for key, value in self.__dict__.iteritems()]
|
|
|
13140 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
13141 |
|
|
|
13142 |
def __eq__(self, other):
|
|
|
13143 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
13144 |
|
|
|
13145 |
def __ne__(self, other):
|
|
|
13146 |
return not (self == other)
|
|
|
13147 |
|
|
|
13148 |
class getScansForInventoryItem_result:
|
|
|
13149 |
"""
|
|
|
13150 |
Attributes:
|
|
|
13151 |
- success
|
|
|
13152 |
- ex
|
|
|
13153 |
"""
|
|
|
13154 |
|
|
|
13155 |
thrift_spec = (
|
|
|
13156 |
(0, TType.LIST, 'success', (TType.STRUCT,(Scan, Scan.thrift_spec)), None, ), # 0
|
|
|
13157 |
(1, TType.STRUCT, 'ex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
|
|
13158 |
)
|
|
|
13159 |
|
|
|
13160 |
def __init__(self, success=None, ex=None,):
|
|
|
13161 |
self.success = success
|
|
|
13162 |
self.ex = ex
|
|
|
13163 |
|
|
|
13164 |
def read(self, iprot):
|
|
|
13165 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
13166 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
13167 |
return
|
|
|
13168 |
iprot.readStructBegin()
|
|
|
13169 |
while True:
|
|
|
13170 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
13171 |
if ftype == TType.STOP:
|
|
|
13172 |
break
|
|
|
13173 |
if fid == 0:
|
|
|
13174 |
if ftype == TType.LIST:
|
|
|
13175 |
self.success = []
|
|
|
13176 |
(_etype280, _size277) = iprot.readListBegin()
|
|
|
13177 |
for _i281 in xrange(_size277):
|
|
|
13178 |
_elem282 = Scan()
|
|
|
13179 |
_elem282.read(iprot)
|
|
|
13180 |
self.success.append(_elem282)
|
|
|
13181 |
iprot.readListEnd()
|
|
|
13182 |
else:
|
|
|
13183 |
iprot.skip(ftype)
|
|
|
13184 |
elif fid == 1:
|
|
|
13185 |
if ftype == TType.STRUCT:
|
|
|
13186 |
self.ex = WarehouseServiceException()
|
|
|
13187 |
self.ex.read(iprot)
|
|
|
13188 |
else:
|
|
|
13189 |
iprot.skip(ftype)
|
|
|
13190 |
else:
|
|
|
13191 |
iprot.skip(ftype)
|
|
|
13192 |
iprot.readFieldEnd()
|
|
|
13193 |
iprot.readStructEnd()
|
|
|
13194 |
|
|
|
13195 |
def write(self, oprot):
|
|
|
13196 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
13197 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
13198 |
return
|
|
|
13199 |
oprot.writeStructBegin('getScansForInventoryItem_result')
|
|
|
13200 |
if self.success is not None:
|
|
|
13201 |
oprot.writeFieldBegin('success', TType.LIST, 0)
|
|
|
13202 |
oprot.writeListBegin(TType.STRUCT, len(self.success))
|
|
|
13203 |
for iter283 in self.success:
|
|
|
13204 |
iter283.write(oprot)
|
|
|
13205 |
oprot.writeListEnd()
|
|
|
13206 |
oprot.writeFieldEnd()
|
|
|
13207 |
if self.ex is not None:
|
|
|
13208 |
oprot.writeFieldBegin('ex', TType.STRUCT, 1)
|
|
|
13209 |
self.ex.write(oprot)
|
|
|
13210 |
oprot.writeFieldEnd()
|
|
|
13211 |
oprot.writeFieldStop()
|
|
|
13212 |
oprot.writeStructEnd()
|
|
|
13213 |
|
|
|
13214 |
def validate(self):
|
|
|
13215 |
return
|
|
|
13216 |
|
|
|
13217 |
|
|
|
13218 |
def __repr__(self):
|
|
|
13219 |
L = ['%s=%r' % (key, value)
|
|
|
13220 |
for key, value in self.__dict__.iteritems()]
|
|
|
13221 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
13222 |
|
|
|
13223 |
def __eq__(self, other):
|
|
|
13224 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
13225 |
|
|
|
13226 |
def __ne__(self, other):
|
|
|
13227 |
return not (self == other)
|
| 12531 |
manish.sha |
13228 |
|
|
|
13229 |
class checkGrnImeiStatus_args:
|
|
|
13230 |
"""
|
|
|
13231 |
Attributes:
|
|
|
13232 |
- imeiNos
|
|
|
13233 |
"""
|
|
|
13234 |
|
|
|
13235 |
thrift_spec = (
|
|
|
13236 |
None, # 0
|
|
|
13237 |
(1, TType.LIST, 'imeiNos', (TType.STRING,None), None, ), # 1
|
|
|
13238 |
)
|
|
|
13239 |
|
|
|
13240 |
def __init__(self, imeiNos=None,):
|
|
|
13241 |
self.imeiNos = imeiNos
|
|
|
13242 |
|
|
|
13243 |
def read(self, iprot):
|
|
|
13244 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
13245 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
13246 |
return
|
|
|
13247 |
iprot.readStructBegin()
|
|
|
13248 |
while True:
|
|
|
13249 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
13250 |
if ftype == TType.STOP:
|
|
|
13251 |
break
|
|
|
13252 |
if fid == 1:
|
|
|
13253 |
if ftype == TType.LIST:
|
|
|
13254 |
self.imeiNos = []
|
|
|
13255 |
(_etype287, _size284) = iprot.readListBegin()
|
|
|
13256 |
for _i288 in xrange(_size284):
|
|
|
13257 |
_elem289 = iprot.readString();
|
|
|
13258 |
self.imeiNos.append(_elem289)
|
|
|
13259 |
iprot.readListEnd()
|
|
|
13260 |
else:
|
|
|
13261 |
iprot.skip(ftype)
|
|
|
13262 |
else:
|
|
|
13263 |
iprot.skip(ftype)
|
|
|
13264 |
iprot.readFieldEnd()
|
|
|
13265 |
iprot.readStructEnd()
|
|
|
13266 |
|
|
|
13267 |
def write(self, oprot):
|
|
|
13268 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
13269 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
13270 |
return
|
|
|
13271 |
oprot.writeStructBegin('checkGrnImeiStatus_args')
|
|
|
13272 |
if self.imeiNos is not None:
|
|
|
13273 |
oprot.writeFieldBegin('imeiNos', TType.LIST, 1)
|
|
|
13274 |
oprot.writeListBegin(TType.STRING, len(self.imeiNos))
|
|
|
13275 |
for iter290 in self.imeiNos:
|
|
|
13276 |
oprot.writeString(iter290)
|
|
|
13277 |
oprot.writeListEnd()
|
|
|
13278 |
oprot.writeFieldEnd()
|
|
|
13279 |
oprot.writeFieldStop()
|
|
|
13280 |
oprot.writeStructEnd()
|
|
|
13281 |
|
|
|
13282 |
def validate(self):
|
|
|
13283 |
return
|
|
|
13284 |
|
|
|
13285 |
|
|
|
13286 |
def __repr__(self):
|
|
|
13287 |
L = ['%s=%r' % (key, value)
|
|
|
13288 |
for key, value in self.__dict__.iteritems()]
|
|
|
13289 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
13290 |
|
|
|
13291 |
def __eq__(self, other):
|
|
|
13292 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
13293 |
|
|
|
13294 |
def __ne__(self, other):
|
|
|
13295 |
return not (self == other)
|
|
|
13296 |
|
|
|
13297 |
class checkGrnImeiStatus_result:
|
|
|
13298 |
"""
|
|
|
13299 |
Attributes:
|
|
|
13300 |
- success
|
|
|
13301 |
- ex
|
|
|
13302 |
"""
|
|
|
13303 |
|
|
|
13304 |
thrift_spec = (
|
|
|
13305 |
(0, TType.LIST, 'success', (TType.STRING,None), None, ), # 0
|
|
|
13306 |
(1, TType.STRUCT, 'ex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
|
|
13307 |
)
|
|
|
13308 |
|
|
|
13309 |
def __init__(self, success=None, ex=None,):
|
|
|
13310 |
self.success = success
|
|
|
13311 |
self.ex = ex
|
|
|
13312 |
|
|
|
13313 |
def read(self, iprot):
|
|
|
13314 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
13315 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
13316 |
return
|
|
|
13317 |
iprot.readStructBegin()
|
|
|
13318 |
while True:
|
|
|
13319 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
13320 |
if ftype == TType.STOP:
|
|
|
13321 |
break
|
|
|
13322 |
if fid == 0:
|
|
|
13323 |
if ftype == TType.LIST:
|
|
|
13324 |
self.success = []
|
|
|
13325 |
(_etype294, _size291) = iprot.readListBegin()
|
|
|
13326 |
for _i295 in xrange(_size291):
|
|
|
13327 |
_elem296 = iprot.readString();
|
|
|
13328 |
self.success.append(_elem296)
|
|
|
13329 |
iprot.readListEnd()
|
|
|
13330 |
else:
|
|
|
13331 |
iprot.skip(ftype)
|
|
|
13332 |
elif fid == 1:
|
|
|
13333 |
if ftype == TType.STRUCT:
|
|
|
13334 |
self.ex = WarehouseServiceException()
|
|
|
13335 |
self.ex.read(iprot)
|
|
|
13336 |
else:
|
|
|
13337 |
iprot.skip(ftype)
|
|
|
13338 |
else:
|
|
|
13339 |
iprot.skip(ftype)
|
|
|
13340 |
iprot.readFieldEnd()
|
|
|
13341 |
iprot.readStructEnd()
|
|
|
13342 |
|
|
|
13343 |
def write(self, oprot):
|
|
|
13344 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
13345 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
13346 |
return
|
|
|
13347 |
oprot.writeStructBegin('checkGrnImeiStatus_result')
|
|
|
13348 |
if self.success is not None:
|
|
|
13349 |
oprot.writeFieldBegin('success', TType.LIST, 0)
|
|
|
13350 |
oprot.writeListBegin(TType.STRING, len(self.success))
|
|
|
13351 |
for iter297 in self.success:
|
|
|
13352 |
oprot.writeString(iter297)
|
|
|
13353 |
oprot.writeListEnd()
|
|
|
13354 |
oprot.writeFieldEnd()
|
|
|
13355 |
if self.ex is not None:
|
|
|
13356 |
oprot.writeFieldBegin('ex', TType.STRUCT, 1)
|
|
|
13357 |
self.ex.write(oprot)
|
|
|
13358 |
oprot.writeFieldEnd()
|
|
|
13359 |
oprot.writeFieldStop()
|
|
|
13360 |
oprot.writeStructEnd()
|
|
|
13361 |
|
|
|
13362 |
def validate(self):
|
|
|
13363 |
return
|
|
|
13364 |
|
|
|
13365 |
|
|
|
13366 |
def __repr__(self):
|
|
|
13367 |
L = ['%s=%r' % (key, value)
|
|
|
13368 |
for key, value in self.__dict__.iteritems()]
|
|
|
13369 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
13370 |
|
|
|
13371 |
def __eq__(self, other):
|
|
|
13372 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
13373 |
|
|
|
13374 |
def __ne__(self, other):
|
|
|
13375 |
return not (self == other)
|
| 12800 |
manish.sha |
13376 |
|
|
|
13377 |
class getInventoryAgeConsideredItems_args:
|
|
|
13378 |
"""
|
|
|
13379 |
Attributes:
|
|
|
13380 |
- itemId
|
|
|
13381 |
"""
|
|
|
13382 |
|
|
|
13383 |
thrift_spec = (
|
|
|
13384 |
None, # 0
|
|
|
13385 |
(1, TType.I64, 'itemId', None, None, ), # 1
|
|
|
13386 |
)
|
|
|
13387 |
|
|
|
13388 |
def __init__(self, itemId=None,):
|
|
|
13389 |
self.itemId = itemId
|
|
|
13390 |
|
|
|
13391 |
def read(self, iprot):
|
|
|
13392 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
13393 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
13394 |
return
|
|
|
13395 |
iprot.readStructBegin()
|
|
|
13396 |
while True:
|
|
|
13397 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
13398 |
if ftype == TType.STOP:
|
|
|
13399 |
break
|
|
|
13400 |
if fid == 1:
|
|
|
13401 |
if ftype == TType.I64:
|
|
|
13402 |
self.itemId = iprot.readI64();
|
|
|
13403 |
else:
|
|
|
13404 |
iprot.skip(ftype)
|
|
|
13405 |
else:
|
|
|
13406 |
iprot.skip(ftype)
|
|
|
13407 |
iprot.readFieldEnd()
|
|
|
13408 |
iprot.readStructEnd()
|
|
|
13409 |
|
|
|
13410 |
def write(self, oprot):
|
|
|
13411 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
13412 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
13413 |
return
|
|
|
13414 |
oprot.writeStructBegin('getInventoryAgeConsideredItems_args')
|
|
|
13415 |
if self.itemId is not None:
|
|
|
13416 |
oprot.writeFieldBegin('itemId', TType.I64, 1)
|
|
|
13417 |
oprot.writeI64(self.itemId)
|
|
|
13418 |
oprot.writeFieldEnd()
|
|
|
13419 |
oprot.writeFieldStop()
|
|
|
13420 |
oprot.writeStructEnd()
|
|
|
13421 |
|
|
|
13422 |
def validate(self):
|
|
|
13423 |
return
|
|
|
13424 |
|
|
|
13425 |
|
|
|
13426 |
def __repr__(self):
|
|
|
13427 |
L = ['%s=%r' % (key, value)
|
|
|
13428 |
for key, value in self.__dict__.iteritems()]
|
|
|
13429 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
13430 |
|
|
|
13431 |
def __eq__(self, other):
|
|
|
13432 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
13433 |
|
|
|
13434 |
def __ne__(self, other):
|
|
|
13435 |
return not (self == other)
|
|
|
13436 |
|
|
|
13437 |
class getInventoryAgeConsideredItems_result:
|
|
|
13438 |
"""
|
|
|
13439 |
Attributes:
|
|
|
13440 |
- success
|
|
|
13441 |
- ex
|
|
|
13442 |
"""
|
|
|
13443 |
|
|
|
13444 |
thrift_spec = (
|
|
|
13445 |
(0, TType.LIST, 'success', (TType.STRUCT,(InvAgeConsiderItems, InvAgeConsiderItems.thrift_spec)), None, ), # 0
|
|
|
13446 |
(1, TType.STRUCT, 'ex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
|
|
13447 |
)
|
|
|
13448 |
|
|
|
13449 |
def __init__(self, success=None, ex=None,):
|
|
|
13450 |
self.success = success
|
|
|
13451 |
self.ex = ex
|
|
|
13452 |
|
|
|
13453 |
def read(self, iprot):
|
|
|
13454 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
13455 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
13456 |
return
|
|
|
13457 |
iprot.readStructBegin()
|
|
|
13458 |
while True:
|
|
|
13459 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
13460 |
if ftype == TType.STOP:
|
|
|
13461 |
break
|
|
|
13462 |
if fid == 0:
|
|
|
13463 |
if ftype == TType.LIST:
|
|
|
13464 |
self.success = []
|
|
|
13465 |
(_etype301, _size298) = iprot.readListBegin()
|
|
|
13466 |
for _i302 in xrange(_size298):
|
|
|
13467 |
_elem303 = InvAgeConsiderItems()
|
|
|
13468 |
_elem303.read(iprot)
|
|
|
13469 |
self.success.append(_elem303)
|
|
|
13470 |
iprot.readListEnd()
|
|
|
13471 |
else:
|
|
|
13472 |
iprot.skip(ftype)
|
|
|
13473 |
elif fid == 1:
|
|
|
13474 |
if ftype == TType.STRUCT:
|
|
|
13475 |
self.ex = WarehouseServiceException()
|
|
|
13476 |
self.ex.read(iprot)
|
|
|
13477 |
else:
|
|
|
13478 |
iprot.skip(ftype)
|
|
|
13479 |
else:
|
|
|
13480 |
iprot.skip(ftype)
|
|
|
13481 |
iprot.readFieldEnd()
|
|
|
13482 |
iprot.readStructEnd()
|
|
|
13483 |
|
|
|
13484 |
def write(self, oprot):
|
|
|
13485 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
13486 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
13487 |
return
|
|
|
13488 |
oprot.writeStructBegin('getInventoryAgeConsideredItems_result')
|
|
|
13489 |
if self.success is not None:
|
|
|
13490 |
oprot.writeFieldBegin('success', TType.LIST, 0)
|
|
|
13491 |
oprot.writeListBegin(TType.STRUCT, len(self.success))
|
|
|
13492 |
for iter304 in self.success:
|
|
|
13493 |
iter304.write(oprot)
|
|
|
13494 |
oprot.writeListEnd()
|
|
|
13495 |
oprot.writeFieldEnd()
|
|
|
13496 |
if self.ex is not None:
|
|
|
13497 |
oprot.writeFieldBegin('ex', TType.STRUCT, 1)
|
|
|
13498 |
self.ex.write(oprot)
|
|
|
13499 |
oprot.writeFieldEnd()
|
|
|
13500 |
oprot.writeFieldStop()
|
|
|
13501 |
oprot.writeStructEnd()
|
|
|
13502 |
|
|
|
13503 |
def validate(self):
|
|
|
13504 |
return
|
|
|
13505 |
|
|
|
13506 |
|
|
|
13507 |
def __repr__(self):
|
|
|
13508 |
L = ['%s=%r' % (key, value)
|
|
|
13509 |
for key, value in self.__dict__.iteritems()]
|
|
|
13510 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
13511 |
|
|
|
13512 |
def __eq__(self, other):
|
|
|
13513 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
13514 |
|
|
|
13515 |
def __ne__(self, other):
|
|
|
13516 |
return not (self == other)
|
| 13529 |
manish.sha |
13517 |
|
|
|
13518 |
class getCompleteMovementForThirdPartyWarehouse_args:
|
|
|
13519 |
"""
|
|
|
13520 |
Attributes:
|
|
|
13521 |
- startDate
|
|
|
13522 |
- endDate
|
|
|
13523 |
"""
|
|
|
13524 |
|
|
|
13525 |
thrift_spec = (
|
|
|
13526 |
None, # 0
|
|
|
13527 |
(1, TType.I64, 'startDate', None, None, ), # 1
|
|
|
13528 |
(2, TType.I64, 'endDate', None, None, ), # 2
|
|
|
13529 |
)
|
|
|
13530 |
|
|
|
13531 |
def __init__(self, startDate=None, endDate=None,):
|
|
|
13532 |
self.startDate = startDate
|
|
|
13533 |
self.endDate = endDate
|
|
|
13534 |
|
|
|
13535 |
def read(self, iprot):
|
|
|
13536 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
13537 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
13538 |
return
|
|
|
13539 |
iprot.readStructBegin()
|
|
|
13540 |
while True:
|
|
|
13541 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
13542 |
if ftype == TType.STOP:
|
|
|
13543 |
break
|
|
|
13544 |
if fid == 1:
|
|
|
13545 |
if ftype == TType.I64:
|
|
|
13546 |
self.startDate = iprot.readI64();
|
|
|
13547 |
else:
|
|
|
13548 |
iprot.skip(ftype)
|
|
|
13549 |
elif fid == 2:
|
|
|
13550 |
if ftype == TType.I64:
|
|
|
13551 |
self.endDate = iprot.readI64();
|
|
|
13552 |
else:
|
|
|
13553 |
iprot.skip(ftype)
|
|
|
13554 |
else:
|
|
|
13555 |
iprot.skip(ftype)
|
|
|
13556 |
iprot.readFieldEnd()
|
|
|
13557 |
iprot.readStructEnd()
|
|
|
13558 |
|
|
|
13559 |
def write(self, oprot):
|
|
|
13560 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
13561 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
13562 |
return
|
|
|
13563 |
oprot.writeStructBegin('getCompleteMovementForThirdPartyWarehouse_args')
|
|
|
13564 |
if self.startDate is not None:
|
|
|
13565 |
oprot.writeFieldBegin('startDate', TType.I64, 1)
|
|
|
13566 |
oprot.writeI64(self.startDate)
|
|
|
13567 |
oprot.writeFieldEnd()
|
|
|
13568 |
if self.endDate is not None:
|
|
|
13569 |
oprot.writeFieldBegin('endDate', TType.I64, 2)
|
|
|
13570 |
oprot.writeI64(self.endDate)
|
|
|
13571 |
oprot.writeFieldEnd()
|
|
|
13572 |
oprot.writeFieldStop()
|
|
|
13573 |
oprot.writeStructEnd()
|
|
|
13574 |
|
|
|
13575 |
def validate(self):
|
|
|
13576 |
return
|
|
|
13577 |
|
|
|
13578 |
|
|
|
13579 |
def __repr__(self):
|
|
|
13580 |
L = ['%s=%r' % (key, value)
|
|
|
13581 |
for key, value in self.__dict__.iteritems()]
|
|
|
13582 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
13583 |
|
|
|
13584 |
def __eq__(self, other):
|
|
|
13585 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
13586 |
|
|
|
13587 |
def __ne__(self, other):
|
|
|
13588 |
return not (self == other)
|
|
|
13589 |
|
|
|
13590 |
class getCompleteMovementForThirdPartyWarehouse_result:
|
|
|
13591 |
"""
|
|
|
13592 |
Attributes:
|
|
|
13593 |
- success
|
|
|
13594 |
"""
|
|
|
13595 |
|
|
|
13596 |
thrift_spec = (
|
|
|
13597 |
(0, TType.LIST, 'success', (TType.STRUCT,(InventoryMovement, InventoryMovement.thrift_spec)), None, ), # 0
|
|
|
13598 |
)
|
|
|
13599 |
|
|
|
13600 |
def __init__(self, success=None,):
|
|
|
13601 |
self.success = success
|
|
|
13602 |
|
|
|
13603 |
def read(self, iprot):
|
|
|
13604 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
13605 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
13606 |
return
|
|
|
13607 |
iprot.readStructBegin()
|
|
|
13608 |
while True:
|
|
|
13609 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
13610 |
if ftype == TType.STOP:
|
|
|
13611 |
break
|
|
|
13612 |
if fid == 0:
|
|
|
13613 |
if ftype == TType.LIST:
|
|
|
13614 |
self.success = []
|
|
|
13615 |
(_etype308, _size305) = iprot.readListBegin()
|
|
|
13616 |
for _i309 in xrange(_size305):
|
|
|
13617 |
_elem310 = InventoryMovement()
|
|
|
13618 |
_elem310.read(iprot)
|
|
|
13619 |
self.success.append(_elem310)
|
|
|
13620 |
iprot.readListEnd()
|
|
|
13621 |
else:
|
|
|
13622 |
iprot.skip(ftype)
|
|
|
13623 |
else:
|
|
|
13624 |
iprot.skip(ftype)
|
|
|
13625 |
iprot.readFieldEnd()
|
|
|
13626 |
iprot.readStructEnd()
|
|
|
13627 |
|
|
|
13628 |
def write(self, oprot):
|
|
|
13629 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
13630 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
13631 |
return
|
|
|
13632 |
oprot.writeStructBegin('getCompleteMovementForThirdPartyWarehouse_result')
|
|
|
13633 |
if self.success is not None:
|
|
|
13634 |
oprot.writeFieldBegin('success', TType.LIST, 0)
|
|
|
13635 |
oprot.writeListBegin(TType.STRUCT, len(self.success))
|
|
|
13636 |
for iter311 in self.success:
|
|
|
13637 |
iter311.write(oprot)
|
|
|
13638 |
oprot.writeListEnd()
|
|
|
13639 |
oprot.writeFieldEnd()
|
|
|
13640 |
oprot.writeFieldStop()
|
|
|
13641 |
oprot.writeStructEnd()
|
|
|
13642 |
|
|
|
13643 |
def validate(self):
|
|
|
13644 |
return
|
|
|
13645 |
|
|
|
13646 |
|
|
|
13647 |
def __repr__(self):
|
|
|
13648 |
L = ['%s=%r' % (key, value)
|
|
|
13649 |
for key, value in self.__dict__.iteritems()]
|
|
|
13650 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
13651 |
|
|
|
13652 |
def __eq__(self, other):
|
|
|
13653 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
13654 |
|
|
|
13655 |
def __ne__(self, other):
|
|
|
13656 |
return not (self == other)
|
| 14491 |
manish.sha |
13657 |
|
|
|
13658 |
class getAllDoaOutInventoryItems_args:
|
|
|
13659 |
|
|
|
13660 |
thrift_spec = (
|
|
|
13661 |
)
|
|
|
13662 |
|
|
|
13663 |
def read(self, iprot):
|
|
|
13664 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
13665 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
13666 |
return
|
|
|
13667 |
iprot.readStructBegin()
|
|
|
13668 |
while True:
|
|
|
13669 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
13670 |
if ftype == TType.STOP:
|
|
|
13671 |
break
|
|
|
13672 |
else:
|
|
|
13673 |
iprot.skip(ftype)
|
|
|
13674 |
iprot.readFieldEnd()
|
|
|
13675 |
iprot.readStructEnd()
|
|
|
13676 |
|
|
|
13677 |
def write(self, oprot):
|
|
|
13678 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
13679 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
13680 |
return
|
|
|
13681 |
oprot.writeStructBegin('getAllDoaOutInventoryItems_args')
|
|
|
13682 |
oprot.writeFieldStop()
|
|
|
13683 |
oprot.writeStructEnd()
|
|
|
13684 |
|
|
|
13685 |
def validate(self):
|
|
|
13686 |
return
|
|
|
13687 |
|
|
|
13688 |
|
|
|
13689 |
def __repr__(self):
|
|
|
13690 |
L = ['%s=%r' % (key, value)
|
|
|
13691 |
for key, value in self.__dict__.iteritems()]
|
|
|
13692 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
13693 |
|
|
|
13694 |
def __eq__(self, other):
|
|
|
13695 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
13696 |
|
|
|
13697 |
def __ne__(self, other):
|
|
|
13698 |
return not (self == other)
|
|
|
13699 |
|
|
|
13700 |
class getAllDoaOutInventoryItems_result:
|
|
|
13701 |
"""
|
|
|
13702 |
Attributes:
|
|
|
13703 |
- success
|
|
|
13704 |
- ex
|
|
|
13705 |
"""
|
|
|
13706 |
|
|
|
13707 |
thrift_spec = (
|
|
|
13708 |
(0, TType.LIST, 'success', (TType.STRUCT,(DoaOutInventoryItem, DoaOutInventoryItem.thrift_spec)), None, ), # 0
|
|
|
13709 |
(1, TType.STRUCT, 'ex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
|
|
13710 |
)
|
|
|
13711 |
|
|
|
13712 |
def __init__(self, success=None, ex=None,):
|
|
|
13713 |
self.success = success
|
|
|
13714 |
self.ex = ex
|
|
|
13715 |
|
|
|
13716 |
def read(self, iprot):
|
|
|
13717 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
13718 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
13719 |
return
|
|
|
13720 |
iprot.readStructBegin()
|
|
|
13721 |
while True:
|
|
|
13722 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
13723 |
if ftype == TType.STOP:
|
|
|
13724 |
break
|
|
|
13725 |
if fid == 0:
|
|
|
13726 |
if ftype == TType.LIST:
|
|
|
13727 |
self.success = []
|
|
|
13728 |
(_etype315, _size312) = iprot.readListBegin()
|
|
|
13729 |
for _i316 in xrange(_size312):
|
|
|
13730 |
_elem317 = DoaOutInventoryItem()
|
|
|
13731 |
_elem317.read(iprot)
|
|
|
13732 |
self.success.append(_elem317)
|
|
|
13733 |
iprot.readListEnd()
|
|
|
13734 |
else:
|
|
|
13735 |
iprot.skip(ftype)
|
|
|
13736 |
elif fid == 1:
|
|
|
13737 |
if ftype == TType.STRUCT:
|
|
|
13738 |
self.ex = WarehouseServiceException()
|
|
|
13739 |
self.ex.read(iprot)
|
|
|
13740 |
else:
|
|
|
13741 |
iprot.skip(ftype)
|
|
|
13742 |
else:
|
|
|
13743 |
iprot.skip(ftype)
|
|
|
13744 |
iprot.readFieldEnd()
|
|
|
13745 |
iprot.readStructEnd()
|
|
|
13746 |
|
|
|
13747 |
def write(self, oprot):
|
|
|
13748 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
13749 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
13750 |
return
|
|
|
13751 |
oprot.writeStructBegin('getAllDoaOutInventoryItems_result')
|
|
|
13752 |
if self.success is not None:
|
|
|
13753 |
oprot.writeFieldBegin('success', TType.LIST, 0)
|
|
|
13754 |
oprot.writeListBegin(TType.STRUCT, len(self.success))
|
|
|
13755 |
for iter318 in self.success:
|
|
|
13756 |
iter318.write(oprot)
|
|
|
13757 |
oprot.writeListEnd()
|
|
|
13758 |
oprot.writeFieldEnd()
|
|
|
13759 |
if self.ex is not None:
|
|
|
13760 |
oprot.writeFieldBegin('ex', TType.STRUCT, 1)
|
|
|
13761 |
self.ex.write(oprot)
|
|
|
13762 |
oprot.writeFieldEnd()
|
|
|
13763 |
oprot.writeFieldStop()
|
|
|
13764 |
oprot.writeStructEnd()
|
|
|
13765 |
|
|
|
13766 |
def validate(self):
|
|
|
13767 |
return
|
|
|
13768 |
|
|
|
13769 |
|
|
|
13770 |
def __repr__(self):
|
|
|
13771 |
L = ['%s=%r' % (key, value)
|
|
|
13772 |
for key, value in self.__dict__.iteritems()]
|
|
|
13773 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
13774 |
|
|
|
13775 |
def __eq__(self, other):
|
|
|
13776 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
13777 |
|
|
|
13778 |
def __ne__(self, other):
|
|
|
13779 |
return not (self == other)
|
| 15045 |
manish.sha |
13780 |
|
|
|
13781 |
class getAllUnCompletedStockShipments_args:
|
|
|
13782 |
"""
|
|
|
13783 |
Attributes:
|
|
|
13784 |
- source
|
|
|
13785 |
"""
|
|
|
13786 |
|
|
|
13787 |
thrift_spec = (
|
|
|
13788 |
None, # 0
|
|
|
13789 |
(1, TType.STRING, 'source', None, None, ), # 1
|
|
|
13790 |
)
|
|
|
13791 |
|
|
|
13792 |
def __init__(self, source=None,):
|
|
|
13793 |
self.source = source
|
|
|
13794 |
|
|
|
13795 |
def read(self, iprot):
|
|
|
13796 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
13797 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
13798 |
return
|
|
|
13799 |
iprot.readStructBegin()
|
|
|
13800 |
while True:
|
|
|
13801 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
13802 |
if ftype == TType.STOP:
|
|
|
13803 |
break
|
|
|
13804 |
if fid == 1:
|
|
|
13805 |
if ftype == TType.STRING:
|
|
|
13806 |
self.source = iprot.readString();
|
|
|
13807 |
else:
|
|
|
13808 |
iprot.skip(ftype)
|
|
|
13809 |
else:
|
|
|
13810 |
iprot.skip(ftype)
|
|
|
13811 |
iprot.readFieldEnd()
|
|
|
13812 |
iprot.readStructEnd()
|
|
|
13813 |
|
|
|
13814 |
def write(self, oprot):
|
|
|
13815 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
13816 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
13817 |
return
|
|
|
13818 |
oprot.writeStructBegin('getAllUnCompletedStockShipments_args')
|
|
|
13819 |
if self.source is not None:
|
|
|
13820 |
oprot.writeFieldBegin('source', TType.STRING, 1)
|
|
|
13821 |
oprot.writeString(self.source)
|
|
|
13822 |
oprot.writeFieldEnd()
|
|
|
13823 |
oprot.writeFieldStop()
|
|
|
13824 |
oprot.writeStructEnd()
|
|
|
13825 |
|
|
|
13826 |
def validate(self):
|
|
|
13827 |
return
|
|
|
13828 |
|
|
|
13829 |
|
|
|
13830 |
def __repr__(self):
|
|
|
13831 |
L = ['%s=%r' % (key, value)
|
|
|
13832 |
for key, value in self.__dict__.iteritems()]
|
|
|
13833 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
13834 |
|
|
|
13835 |
def __eq__(self, other):
|
|
|
13836 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
13837 |
|
|
|
13838 |
def __ne__(self, other):
|
|
|
13839 |
return not (self == other)
|
|
|
13840 |
|
|
|
13841 |
class getAllUnCompletedStockShipments_result:
|
|
|
13842 |
"""
|
|
|
13843 |
Attributes:
|
|
|
13844 |
- success
|
|
|
13845 |
- ex
|
|
|
13846 |
"""
|
|
|
13847 |
|
|
|
13848 |
thrift_spec = (
|
|
|
13849 |
(0, TType.LIST, 'success', (TType.STRUCT,(RemovalStockShipmentReference, RemovalStockShipmentReference.thrift_spec)), None, ), # 0
|
|
|
13850 |
(1, TType.STRUCT, 'ex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
|
|
13851 |
)
|
|
|
13852 |
|
|
|
13853 |
def __init__(self, success=None, ex=None,):
|
|
|
13854 |
self.success = success
|
|
|
13855 |
self.ex = ex
|
|
|
13856 |
|
|
|
13857 |
def read(self, iprot):
|
|
|
13858 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
13859 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
13860 |
return
|
|
|
13861 |
iprot.readStructBegin()
|
|
|
13862 |
while True:
|
|
|
13863 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
13864 |
if ftype == TType.STOP:
|
|
|
13865 |
break
|
|
|
13866 |
if fid == 0:
|
|
|
13867 |
if ftype == TType.LIST:
|
|
|
13868 |
self.success = []
|
|
|
13869 |
(_etype322, _size319) = iprot.readListBegin()
|
|
|
13870 |
for _i323 in xrange(_size319):
|
|
|
13871 |
_elem324 = RemovalStockShipmentReference()
|
|
|
13872 |
_elem324.read(iprot)
|
|
|
13873 |
self.success.append(_elem324)
|
|
|
13874 |
iprot.readListEnd()
|
|
|
13875 |
else:
|
|
|
13876 |
iprot.skip(ftype)
|
|
|
13877 |
elif fid == 1:
|
|
|
13878 |
if ftype == TType.STRUCT:
|
|
|
13879 |
self.ex = WarehouseServiceException()
|
|
|
13880 |
self.ex.read(iprot)
|
|
|
13881 |
else:
|
|
|
13882 |
iprot.skip(ftype)
|
|
|
13883 |
else:
|
|
|
13884 |
iprot.skip(ftype)
|
|
|
13885 |
iprot.readFieldEnd()
|
|
|
13886 |
iprot.readStructEnd()
|
|
|
13887 |
|
|
|
13888 |
def write(self, oprot):
|
|
|
13889 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
13890 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
13891 |
return
|
|
|
13892 |
oprot.writeStructBegin('getAllUnCompletedStockShipments_result')
|
|
|
13893 |
if self.success is not None:
|
|
|
13894 |
oprot.writeFieldBegin('success', TType.LIST, 0)
|
|
|
13895 |
oprot.writeListBegin(TType.STRUCT, len(self.success))
|
|
|
13896 |
for iter325 in self.success:
|
|
|
13897 |
iter325.write(oprot)
|
|
|
13898 |
oprot.writeListEnd()
|
|
|
13899 |
oprot.writeFieldEnd()
|
|
|
13900 |
if self.ex is not None:
|
|
|
13901 |
oprot.writeFieldBegin('ex', TType.STRUCT, 1)
|
|
|
13902 |
self.ex.write(oprot)
|
|
|
13903 |
oprot.writeFieldEnd()
|
|
|
13904 |
oprot.writeFieldStop()
|
|
|
13905 |
oprot.writeStructEnd()
|
|
|
13906 |
|
|
|
13907 |
def validate(self):
|
|
|
13908 |
return
|
|
|
13909 |
|
|
|
13910 |
|
|
|
13911 |
def __repr__(self):
|
|
|
13912 |
L = ['%s=%r' % (key, value)
|
|
|
13913 |
for key, value in self.__dict__.iteritems()]
|
|
|
13914 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
13915 |
|
|
|
13916 |
def __eq__(self, other):
|
|
|
13917 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
13918 |
|
|
|
13919 |
def __ne__(self, other):
|
|
|
13920 |
return not (self == other)
|
|
|
13921 |
|
|
|
13922 |
class getRemovalStockShipmentReferenceById_args:
|
|
|
13923 |
"""
|
|
|
13924 |
Attributes:
|
|
|
13925 |
- id
|
|
|
13926 |
"""
|
|
|
13927 |
|
|
|
13928 |
thrift_spec = (
|
|
|
13929 |
None, # 0
|
|
|
13930 |
(1, TType.I64, 'id', None, None, ), # 1
|
|
|
13931 |
)
|
|
|
13932 |
|
|
|
13933 |
def __init__(self, id=None,):
|
|
|
13934 |
self.id = id
|
|
|
13935 |
|
|
|
13936 |
def read(self, iprot):
|
|
|
13937 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
13938 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
13939 |
return
|
|
|
13940 |
iprot.readStructBegin()
|
|
|
13941 |
while True:
|
|
|
13942 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
13943 |
if ftype == TType.STOP:
|
|
|
13944 |
break
|
|
|
13945 |
if fid == 1:
|
|
|
13946 |
if ftype == TType.I64:
|
|
|
13947 |
self.id = iprot.readI64();
|
|
|
13948 |
else:
|
|
|
13949 |
iprot.skip(ftype)
|
|
|
13950 |
else:
|
|
|
13951 |
iprot.skip(ftype)
|
|
|
13952 |
iprot.readFieldEnd()
|
|
|
13953 |
iprot.readStructEnd()
|
|
|
13954 |
|
|
|
13955 |
def write(self, oprot):
|
|
|
13956 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
13957 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
13958 |
return
|
|
|
13959 |
oprot.writeStructBegin('getRemovalStockShipmentReferenceById_args')
|
|
|
13960 |
if self.id is not None:
|
|
|
13961 |
oprot.writeFieldBegin('id', TType.I64, 1)
|
|
|
13962 |
oprot.writeI64(self.id)
|
|
|
13963 |
oprot.writeFieldEnd()
|
|
|
13964 |
oprot.writeFieldStop()
|
|
|
13965 |
oprot.writeStructEnd()
|
|
|
13966 |
|
|
|
13967 |
def validate(self):
|
|
|
13968 |
return
|
|
|
13969 |
|
|
|
13970 |
|
|
|
13971 |
def __repr__(self):
|
|
|
13972 |
L = ['%s=%r' % (key, value)
|
|
|
13973 |
for key, value in self.__dict__.iteritems()]
|
|
|
13974 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
13975 |
|
|
|
13976 |
def __eq__(self, other):
|
|
|
13977 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
13978 |
|
|
|
13979 |
def __ne__(self, other):
|
|
|
13980 |
return not (self == other)
|
|
|
13981 |
|
|
|
13982 |
class getRemovalStockShipmentReferenceById_result:
|
|
|
13983 |
"""
|
|
|
13984 |
Attributes:
|
|
|
13985 |
- success
|
|
|
13986 |
- ex
|
|
|
13987 |
"""
|
|
|
13988 |
|
|
|
13989 |
thrift_spec = (
|
|
|
13990 |
(0, TType.STRUCT, 'success', (RemovalStockShipmentReference, RemovalStockShipmentReference.thrift_spec), None, ), # 0
|
|
|
13991 |
(1, TType.STRUCT, 'ex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
|
|
13992 |
)
|
|
|
13993 |
|
|
|
13994 |
def __init__(self, success=None, ex=None,):
|
|
|
13995 |
self.success = success
|
|
|
13996 |
self.ex = ex
|
|
|
13997 |
|
|
|
13998 |
def read(self, iprot):
|
|
|
13999 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
14000 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
14001 |
return
|
|
|
14002 |
iprot.readStructBegin()
|
|
|
14003 |
while True:
|
|
|
14004 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
14005 |
if ftype == TType.STOP:
|
|
|
14006 |
break
|
|
|
14007 |
if fid == 0:
|
|
|
14008 |
if ftype == TType.STRUCT:
|
|
|
14009 |
self.success = RemovalStockShipmentReference()
|
|
|
14010 |
self.success.read(iprot)
|
|
|
14011 |
else:
|
|
|
14012 |
iprot.skip(ftype)
|
|
|
14013 |
elif fid == 1:
|
|
|
14014 |
if ftype == TType.STRUCT:
|
|
|
14015 |
self.ex = WarehouseServiceException()
|
|
|
14016 |
self.ex.read(iprot)
|
|
|
14017 |
else:
|
|
|
14018 |
iprot.skip(ftype)
|
|
|
14019 |
else:
|
|
|
14020 |
iprot.skip(ftype)
|
|
|
14021 |
iprot.readFieldEnd()
|
|
|
14022 |
iprot.readStructEnd()
|
|
|
14023 |
|
|
|
14024 |
def write(self, oprot):
|
|
|
14025 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
14026 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
14027 |
return
|
|
|
14028 |
oprot.writeStructBegin('getRemovalStockShipmentReferenceById_result')
|
|
|
14029 |
if self.success is not None:
|
|
|
14030 |
oprot.writeFieldBegin('success', TType.STRUCT, 0)
|
|
|
14031 |
self.success.write(oprot)
|
|
|
14032 |
oprot.writeFieldEnd()
|
|
|
14033 |
if self.ex is not None:
|
|
|
14034 |
oprot.writeFieldBegin('ex', TType.STRUCT, 1)
|
|
|
14035 |
self.ex.write(oprot)
|
|
|
14036 |
oprot.writeFieldEnd()
|
|
|
14037 |
oprot.writeFieldStop()
|
|
|
14038 |
oprot.writeStructEnd()
|
|
|
14039 |
|
|
|
14040 |
def validate(self):
|
|
|
14041 |
return
|
|
|
14042 |
|
|
|
14043 |
|
|
|
14044 |
def __repr__(self):
|
|
|
14045 |
L = ['%s=%r' % (key, value)
|
|
|
14046 |
for key, value in self.__dict__.iteritems()]
|
|
|
14047 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
14048 |
|
|
|
14049 |
def __eq__(self, other):
|
|
|
14050 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
14051 |
|
|
|
14052 |
def __ne__(self, other):
|
|
|
14053 |
return not (self == other)
|
|
|
14054 |
|
|
|
14055 |
class createRemovalStockShipmentReference_args:
|
|
|
14056 |
"""
|
|
|
14057 |
Attributes:
|
|
|
14058 |
- removalStockShipmentReference
|
|
|
14059 |
"""
|
|
|
14060 |
|
|
|
14061 |
thrift_spec = (
|
|
|
14062 |
None, # 0
|
|
|
14063 |
(1, TType.STRUCT, 'removalStockShipmentReference', (RemovalStockShipmentReference, RemovalStockShipmentReference.thrift_spec), None, ), # 1
|
|
|
14064 |
)
|
|
|
14065 |
|
|
|
14066 |
def __init__(self, removalStockShipmentReference=None,):
|
|
|
14067 |
self.removalStockShipmentReference = removalStockShipmentReference
|
|
|
14068 |
|
|
|
14069 |
def read(self, iprot):
|
|
|
14070 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
14071 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
14072 |
return
|
|
|
14073 |
iprot.readStructBegin()
|
|
|
14074 |
while True:
|
|
|
14075 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
14076 |
if ftype == TType.STOP:
|
|
|
14077 |
break
|
|
|
14078 |
if fid == 1:
|
|
|
14079 |
if ftype == TType.STRUCT:
|
|
|
14080 |
self.removalStockShipmentReference = RemovalStockShipmentReference()
|
|
|
14081 |
self.removalStockShipmentReference.read(iprot)
|
|
|
14082 |
else:
|
|
|
14083 |
iprot.skip(ftype)
|
|
|
14084 |
else:
|
|
|
14085 |
iprot.skip(ftype)
|
|
|
14086 |
iprot.readFieldEnd()
|
|
|
14087 |
iprot.readStructEnd()
|
|
|
14088 |
|
|
|
14089 |
def write(self, oprot):
|
|
|
14090 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
14091 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
14092 |
return
|
|
|
14093 |
oprot.writeStructBegin('createRemovalStockShipmentReference_args')
|
|
|
14094 |
if self.removalStockShipmentReference is not None:
|
|
|
14095 |
oprot.writeFieldBegin('removalStockShipmentReference', TType.STRUCT, 1)
|
|
|
14096 |
self.removalStockShipmentReference.write(oprot)
|
|
|
14097 |
oprot.writeFieldEnd()
|
|
|
14098 |
oprot.writeFieldStop()
|
|
|
14099 |
oprot.writeStructEnd()
|
|
|
14100 |
|
|
|
14101 |
def validate(self):
|
|
|
14102 |
return
|
|
|
14103 |
|
|
|
14104 |
|
|
|
14105 |
def __repr__(self):
|
|
|
14106 |
L = ['%s=%r' % (key, value)
|
|
|
14107 |
for key, value in self.__dict__.iteritems()]
|
|
|
14108 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
14109 |
|
|
|
14110 |
def __eq__(self, other):
|
|
|
14111 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
14112 |
|
|
|
14113 |
def __ne__(self, other):
|
|
|
14114 |
return not (self == other)
|
|
|
14115 |
|
|
|
14116 |
class createRemovalStockShipmentReference_result:
|
|
|
14117 |
"""
|
|
|
14118 |
Attributes:
|
|
|
14119 |
- success
|
|
|
14120 |
- ex
|
|
|
14121 |
"""
|
|
|
14122 |
|
|
|
14123 |
thrift_spec = (
|
|
|
14124 |
(0, TType.I64, 'success', None, None, ), # 0
|
|
|
14125 |
(1, TType.STRUCT, 'ex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
|
|
14126 |
)
|
|
|
14127 |
|
|
|
14128 |
def __init__(self, success=None, ex=None,):
|
|
|
14129 |
self.success = success
|
|
|
14130 |
self.ex = ex
|
|
|
14131 |
|
|
|
14132 |
def read(self, iprot):
|
|
|
14133 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
14134 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
14135 |
return
|
|
|
14136 |
iprot.readStructBegin()
|
|
|
14137 |
while True:
|
|
|
14138 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
14139 |
if ftype == TType.STOP:
|
|
|
14140 |
break
|
|
|
14141 |
if fid == 0:
|
|
|
14142 |
if ftype == TType.I64:
|
|
|
14143 |
self.success = iprot.readI64();
|
|
|
14144 |
else:
|
|
|
14145 |
iprot.skip(ftype)
|
|
|
14146 |
elif fid == 1:
|
|
|
14147 |
if ftype == TType.STRUCT:
|
|
|
14148 |
self.ex = WarehouseServiceException()
|
|
|
14149 |
self.ex.read(iprot)
|
|
|
14150 |
else:
|
|
|
14151 |
iprot.skip(ftype)
|
|
|
14152 |
else:
|
|
|
14153 |
iprot.skip(ftype)
|
|
|
14154 |
iprot.readFieldEnd()
|
|
|
14155 |
iprot.readStructEnd()
|
|
|
14156 |
|
|
|
14157 |
def write(self, oprot):
|
|
|
14158 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
14159 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
14160 |
return
|
|
|
14161 |
oprot.writeStructBegin('createRemovalStockShipmentReference_result')
|
|
|
14162 |
if self.success is not None:
|
|
|
14163 |
oprot.writeFieldBegin('success', TType.I64, 0)
|
|
|
14164 |
oprot.writeI64(self.success)
|
|
|
14165 |
oprot.writeFieldEnd()
|
|
|
14166 |
if self.ex is not None:
|
|
|
14167 |
oprot.writeFieldBegin('ex', TType.STRUCT, 1)
|
|
|
14168 |
self.ex.write(oprot)
|
|
|
14169 |
oprot.writeFieldEnd()
|
|
|
14170 |
oprot.writeFieldStop()
|
|
|
14171 |
oprot.writeStructEnd()
|
|
|
14172 |
|
|
|
14173 |
def validate(self):
|
|
|
14174 |
return
|
|
|
14175 |
|
|
|
14176 |
|
|
|
14177 |
def __repr__(self):
|
|
|
14178 |
L = ['%s=%r' % (key, value)
|
|
|
14179 |
for key, value in self.__dict__.iteritems()]
|
|
|
14180 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
14181 |
|
|
|
14182 |
def __eq__(self, other):
|
|
|
14183 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
14184 |
|
|
|
14185 |
def __ne__(self, other):
|
|
|
14186 |
return not (self == other)
|
|
|
14187 |
|
|
|
14188 |
class updateShipmentReferenceTransferLot_args:
|
|
|
14189 |
"""
|
|
|
14190 |
Attributes:
|
|
|
14191 |
- transferLotId
|
|
|
14192 |
- shipmentReferenceId
|
|
|
14193 |
"""
|
|
|
14194 |
|
|
|
14195 |
thrift_spec = (
|
|
|
14196 |
None, # 0
|
|
|
14197 |
(1, TType.I64, 'transferLotId', None, None, ), # 1
|
|
|
14198 |
(2, TType.I64, 'shipmentReferenceId', None, None, ), # 2
|
|
|
14199 |
)
|
|
|
14200 |
|
|
|
14201 |
def __init__(self, transferLotId=None, shipmentReferenceId=None,):
|
|
|
14202 |
self.transferLotId = transferLotId
|
|
|
14203 |
self.shipmentReferenceId = shipmentReferenceId
|
|
|
14204 |
|
|
|
14205 |
def read(self, iprot):
|
|
|
14206 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
14207 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
14208 |
return
|
|
|
14209 |
iprot.readStructBegin()
|
|
|
14210 |
while True:
|
|
|
14211 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
14212 |
if ftype == TType.STOP:
|
|
|
14213 |
break
|
|
|
14214 |
if fid == 1:
|
|
|
14215 |
if ftype == TType.I64:
|
|
|
14216 |
self.transferLotId = iprot.readI64();
|
|
|
14217 |
else:
|
|
|
14218 |
iprot.skip(ftype)
|
|
|
14219 |
elif fid == 2:
|
|
|
14220 |
if ftype == TType.I64:
|
|
|
14221 |
self.shipmentReferenceId = iprot.readI64();
|
|
|
14222 |
else:
|
|
|
14223 |
iprot.skip(ftype)
|
|
|
14224 |
else:
|
|
|
14225 |
iprot.skip(ftype)
|
|
|
14226 |
iprot.readFieldEnd()
|
|
|
14227 |
iprot.readStructEnd()
|
|
|
14228 |
|
|
|
14229 |
def write(self, oprot):
|
|
|
14230 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
14231 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
14232 |
return
|
|
|
14233 |
oprot.writeStructBegin('updateShipmentReferenceTransferLot_args')
|
|
|
14234 |
if self.transferLotId is not None:
|
|
|
14235 |
oprot.writeFieldBegin('transferLotId', TType.I64, 1)
|
|
|
14236 |
oprot.writeI64(self.transferLotId)
|
|
|
14237 |
oprot.writeFieldEnd()
|
|
|
14238 |
if self.shipmentReferenceId is not None:
|
|
|
14239 |
oprot.writeFieldBegin('shipmentReferenceId', TType.I64, 2)
|
|
|
14240 |
oprot.writeI64(self.shipmentReferenceId)
|
|
|
14241 |
oprot.writeFieldEnd()
|
|
|
14242 |
oprot.writeFieldStop()
|
|
|
14243 |
oprot.writeStructEnd()
|
|
|
14244 |
|
|
|
14245 |
def validate(self):
|
|
|
14246 |
return
|
|
|
14247 |
|
|
|
14248 |
|
|
|
14249 |
def __repr__(self):
|
|
|
14250 |
L = ['%s=%r' % (key, value)
|
|
|
14251 |
for key, value in self.__dict__.iteritems()]
|
|
|
14252 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
14253 |
|
|
|
14254 |
def __eq__(self, other):
|
|
|
14255 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
14256 |
|
|
|
14257 |
def __ne__(self, other):
|
|
|
14258 |
return not (self == other)
|
|
|
14259 |
|
|
|
14260 |
class updateShipmentReferenceTransferLot_result:
|
|
|
14261 |
"""
|
|
|
14262 |
Attributes:
|
|
|
14263 |
- ex
|
|
|
14264 |
"""
|
|
|
14265 |
|
|
|
14266 |
thrift_spec = (
|
|
|
14267 |
None, # 0
|
|
|
14268 |
(1, TType.STRUCT, 'ex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
|
|
14269 |
)
|
|
|
14270 |
|
|
|
14271 |
def __init__(self, ex=None,):
|
|
|
14272 |
self.ex = ex
|
|
|
14273 |
|
|
|
14274 |
def read(self, iprot):
|
|
|
14275 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
14276 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
14277 |
return
|
|
|
14278 |
iprot.readStructBegin()
|
|
|
14279 |
while True:
|
|
|
14280 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
14281 |
if ftype == TType.STOP:
|
|
|
14282 |
break
|
|
|
14283 |
if fid == 1:
|
|
|
14284 |
if ftype == TType.STRUCT:
|
|
|
14285 |
self.ex = WarehouseServiceException()
|
|
|
14286 |
self.ex.read(iprot)
|
|
|
14287 |
else:
|
|
|
14288 |
iprot.skip(ftype)
|
|
|
14289 |
else:
|
|
|
14290 |
iprot.skip(ftype)
|
|
|
14291 |
iprot.readFieldEnd()
|
|
|
14292 |
iprot.readStructEnd()
|
|
|
14293 |
|
|
|
14294 |
def write(self, oprot):
|
|
|
14295 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
14296 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
14297 |
return
|
|
|
14298 |
oprot.writeStructBegin('updateShipmentReferenceTransferLot_result')
|
|
|
14299 |
if self.ex is not None:
|
|
|
14300 |
oprot.writeFieldBegin('ex', TType.STRUCT, 1)
|
|
|
14301 |
self.ex.write(oprot)
|
|
|
14302 |
oprot.writeFieldEnd()
|
|
|
14303 |
oprot.writeFieldStop()
|
|
|
14304 |
oprot.writeStructEnd()
|
|
|
14305 |
|
|
|
14306 |
def validate(self):
|
|
|
14307 |
return
|
|
|
14308 |
|
|
|
14309 |
|
|
|
14310 |
def __repr__(self):
|
|
|
14311 |
L = ['%s=%r' % (key, value)
|
|
|
14312 |
for key, value in self.__dict__.iteritems()]
|
|
|
14313 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
14314 |
|
|
|
14315 |
def __eq__(self, other):
|
|
|
14316 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
14317 |
|
|
|
14318 |
def __ne__(self, other):
|
|
|
14319 |
return not (self == other)
|
| 16264 |
manish.sha |
14320 |
|
|
|
14321 |
class fetchScansPerTransferInvoiceNumber_args:
|
|
|
14322 |
"""
|
|
|
14323 |
Attributes:
|
|
|
14324 |
- date
|
|
|
14325 |
"""
|
|
|
14326 |
|
|
|
14327 |
thrift_spec = (
|
|
|
14328 |
None, # 0
|
|
|
14329 |
(1, TType.I64, 'date', None, None, ), # 1
|
|
|
14330 |
)
|
|
|
14331 |
|
|
|
14332 |
def __init__(self, date=None,):
|
|
|
14333 |
self.date = date
|
|
|
14334 |
|
|
|
14335 |
def read(self, iprot):
|
|
|
14336 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
14337 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
14338 |
return
|
|
|
14339 |
iprot.readStructBegin()
|
|
|
14340 |
while True:
|
|
|
14341 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
14342 |
if ftype == TType.STOP:
|
|
|
14343 |
break
|
|
|
14344 |
if fid == 1:
|
|
|
14345 |
if ftype == TType.I64:
|
|
|
14346 |
self.date = iprot.readI64();
|
|
|
14347 |
else:
|
|
|
14348 |
iprot.skip(ftype)
|
|
|
14349 |
else:
|
|
|
14350 |
iprot.skip(ftype)
|
|
|
14351 |
iprot.readFieldEnd()
|
|
|
14352 |
iprot.readStructEnd()
|
|
|
14353 |
|
|
|
14354 |
def write(self, oprot):
|
|
|
14355 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
14356 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
14357 |
return
|
|
|
14358 |
oprot.writeStructBegin('fetchScansPerTransferInvoiceNumber_args')
|
|
|
14359 |
if self.date is not None:
|
|
|
14360 |
oprot.writeFieldBegin('date', TType.I64, 1)
|
|
|
14361 |
oprot.writeI64(self.date)
|
|
|
14362 |
oprot.writeFieldEnd()
|
|
|
14363 |
oprot.writeFieldStop()
|
|
|
14364 |
oprot.writeStructEnd()
|
|
|
14365 |
|
|
|
14366 |
def validate(self):
|
|
|
14367 |
return
|
|
|
14368 |
|
|
|
14369 |
|
|
|
14370 |
def __repr__(self):
|
|
|
14371 |
L = ['%s=%r' % (key, value)
|
|
|
14372 |
for key, value in self.__dict__.iteritems()]
|
|
|
14373 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
14374 |
|
|
|
14375 |
def __eq__(self, other):
|
|
|
14376 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
14377 |
|
|
|
14378 |
def __ne__(self, other):
|
|
|
14379 |
return not (self == other)
|
|
|
14380 |
|
|
|
14381 |
class fetchScansPerTransferInvoiceNumber_result:
|
|
|
14382 |
"""
|
|
|
14383 |
Attributes:
|
|
|
14384 |
- success
|
|
|
14385 |
"""
|
|
|
14386 |
|
|
|
14387 |
thrift_spec = (
|
|
|
14388 |
(0, TType.LIST, 'success', (TType.STRUCT,(TransferInvoiceScan, TransferInvoiceScan.thrift_spec)), None, ), # 0
|
|
|
14389 |
)
|
|
|
14390 |
|
|
|
14391 |
def __init__(self, success=None,):
|
|
|
14392 |
self.success = success
|
|
|
14393 |
|
|
|
14394 |
def read(self, iprot):
|
|
|
14395 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
14396 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
14397 |
return
|
|
|
14398 |
iprot.readStructBegin()
|
|
|
14399 |
while True:
|
|
|
14400 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
14401 |
if ftype == TType.STOP:
|
|
|
14402 |
break
|
|
|
14403 |
if fid == 0:
|
|
|
14404 |
if ftype == TType.LIST:
|
|
|
14405 |
self.success = []
|
|
|
14406 |
(_etype329, _size326) = iprot.readListBegin()
|
|
|
14407 |
for _i330 in xrange(_size326):
|
|
|
14408 |
_elem331 = TransferInvoiceScan()
|
|
|
14409 |
_elem331.read(iprot)
|
|
|
14410 |
self.success.append(_elem331)
|
|
|
14411 |
iprot.readListEnd()
|
|
|
14412 |
else:
|
|
|
14413 |
iprot.skip(ftype)
|
|
|
14414 |
else:
|
|
|
14415 |
iprot.skip(ftype)
|
|
|
14416 |
iprot.readFieldEnd()
|
|
|
14417 |
iprot.readStructEnd()
|
|
|
14418 |
|
|
|
14419 |
def write(self, oprot):
|
|
|
14420 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
14421 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
14422 |
return
|
|
|
14423 |
oprot.writeStructBegin('fetchScansPerTransferInvoiceNumber_result')
|
|
|
14424 |
if self.success is not None:
|
|
|
14425 |
oprot.writeFieldBegin('success', TType.LIST, 0)
|
|
|
14426 |
oprot.writeListBegin(TType.STRUCT, len(self.success))
|
|
|
14427 |
for iter332 in self.success:
|
|
|
14428 |
iter332.write(oprot)
|
|
|
14429 |
oprot.writeListEnd()
|
|
|
14430 |
oprot.writeFieldEnd()
|
|
|
14431 |
oprot.writeFieldStop()
|
|
|
14432 |
oprot.writeStructEnd()
|
|
|
14433 |
|
|
|
14434 |
def validate(self):
|
|
|
14435 |
return
|
|
|
14436 |
|
|
|
14437 |
|
|
|
14438 |
def __repr__(self):
|
|
|
14439 |
L = ['%s=%r' % (key, value)
|
|
|
14440 |
for key, value in self.__dict__.iteritems()]
|
|
|
14441 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
14442 |
|
|
|
14443 |
def __eq__(self, other):
|
|
|
14444 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
14445 |
|
|
|
14446 |
def __ne__(self, other):
|
|
|
14447 |
return not (self == other)
|
| 21619 |
amit.gupta |
14448 |
|
|
|
14449 |
class getInventoryItems_args:
|
|
|
14450 |
"""
|
|
|
14451 |
Attributes:
|
|
|
14452 |
- serialNumbers
|
|
|
14453 |
"""
|
|
|
14454 |
|
|
|
14455 |
thrift_spec = (
|
|
|
14456 |
None, # 0
|
|
|
14457 |
(1, TType.LIST, 'serialNumbers', (TType.STRING,None), None, ), # 1
|
|
|
14458 |
)
|
|
|
14459 |
|
|
|
14460 |
def __init__(self, serialNumbers=None,):
|
|
|
14461 |
self.serialNumbers = serialNumbers
|
|
|
14462 |
|
|
|
14463 |
def read(self, iprot):
|
|
|
14464 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
14465 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
14466 |
return
|
|
|
14467 |
iprot.readStructBegin()
|
|
|
14468 |
while True:
|
|
|
14469 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
14470 |
if ftype == TType.STOP:
|
|
|
14471 |
break
|
|
|
14472 |
if fid == 1:
|
|
|
14473 |
if ftype == TType.LIST:
|
|
|
14474 |
self.serialNumbers = []
|
|
|
14475 |
(_etype336, _size333) = iprot.readListBegin()
|
|
|
14476 |
for _i337 in xrange(_size333):
|
|
|
14477 |
_elem338 = iprot.readString();
|
|
|
14478 |
self.serialNumbers.append(_elem338)
|
|
|
14479 |
iprot.readListEnd()
|
|
|
14480 |
else:
|
|
|
14481 |
iprot.skip(ftype)
|
|
|
14482 |
else:
|
|
|
14483 |
iprot.skip(ftype)
|
|
|
14484 |
iprot.readFieldEnd()
|
|
|
14485 |
iprot.readStructEnd()
|
|
|
14486 |
|
|
|
14487 |
def write(self, oprot):
|
|
|
14488 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
14489 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
14490 |
return
|
|
|
14491 |
oprot.writeStructBegin('getInventoryItems_args')
|
|
|
14492 |
if self.serialNumbers is not None:
|
|
|
14493 |
oprot.writeFieldBegin('serialNumbers', TType.LIST, 1)
|
|
|
14494 |
oprot.writeListBegin(TType.STRING, len(self.serialNumbers))
|
|
|
14495 |
for iter339 in self.serialNumbers:
|
|
|
14496 |
oprot.writeString(iter339)
|
|
|
14497 |
oprot.writeListEnd()
|
|
|
14498 |
oprot.writeFieldEnd()
|
|
|
14499 |
oprot.writeFieldStop()
|
|
|
14500 |
oprot.writeStructEnd()
|
|
|
14501 |
|
|
|
14502 |
def validate(self):
|
|
|
14503 |
return
|
|
|
14504 |
|
|
|
14505 |
|
|
|
14506 |
def __repr__(self):
|
|
|
14507 |
L = ['%s=%r' % (key, value)
|
|
|
14508 |
for key, value in self.__dict__.iteritems()]
|
|
|
14509 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
14510 |
|
|
|
14511 |
def __eq__(self, other):
|
|
|
14512 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
14513 |
|
|
|
14514 |
def __ne__(self, other):
|
|
|
14515 |
return not (self == other)
|
|
|
14516 |
|
|
|
14517 |
class getInventoryItems_result:
|
|
|
14518 |
"""
|
|
|
14519 |
Attributes:
|
|
|
14520 |
- success
|
|
|
14521 |
- wex
|
|
|
14522 |
"""
|
|
|
14523 |
|
|
|
14524 |
thrift_spec = (
|
|
|
14525 |
(0, TType.LIST, 'success', (TType.STRUCT,(InventoryItem, InventoryItem.thrift_spec)), None, ), # 0
|
|
|
14526 |
(1, TType.STRUCT, 'wex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
|
|
14527 |
)
|
|
|
14528 |
|
|
|
14529 |
def __init__(self, success=None, wex=None,):
|
|
|
14530 |
self.success = success
|
|
|
14531 |
self.wex = wex
|
|
|
14532 |
|
|
|
14533 |
def read(self, iprot):
|
|
|
14534 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
14535 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
14536 |
return
|
|
|
14537 |
iprot.readStructBegin()
|
|
|
14538 |
while True:
|
|
|
14539 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
14540 |
if ftype == TType.STOP:
|
|
|
14541 |
break
|
|
|
14542 |
if fid == 0:
|
|
|
14543 |
if ftype == TType.LIST:
|
|
|
14544 |
self.success = []
|
|
|
14545 |
(_etype343, _size340) = iprot.readListBegin()
|
|
|
14546 |
for _i344 in xrange(_size340):
|
|
|
14547 |
_elem345 = InventoryItem()
|
|
|
14548 |
_elem345.read(iprot)
|
|
|
14549 |
self.success.append(_elem345)
|
|
|
14550 |
iprot.readListEnd()
|
|
|
14551 |
else:
|
|
|
14552 |
iprot.skip(ftype)
|
|
|
14553 |
elif fid == 1:
|
|
|
14554 |
if ftype == TType.STRUCT:
|
|
|
14555 |
self.wex = WarehouseServiceException()
|
|
|
14556 |
self.wex.read(iprot)
|
|
|
14557 |
else:
|
|
|
14558 |
iprot.skip(ftype)
|
|
|
14559 |
else:
|
|
|
14560 |
iprot.skip(ftype)
|
|
|
14561 |
iprot.readFieldEnd()
|
|
|
14562 |
iprot.readStructEnd()
|
|
|
14563 |
|
|
|
14564 |
def write(self, oprot):
|
|
|
14565 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
14566 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
14567 |
return
|
|
|
14568 |
oprot.writeStructBegin('getInventoryItems_result')
|
|
|
14569 |
if self.success is not None:
|
|
|
14570 |
oprot.writeFieldBegin('success', TType.LIST, 0)
|
|
|
14571 |
oprot.writeListBegin(TType.STRUCT, len(self.success))
|
|
|
14572 |
for iter346 in self.success:
|
|
|
14573 |
iter346.write(oprot)
|
|
|
14574 |
oprot.writeListEnd()
|
|
|
14575 |
oprot.writeFieldEnd()
|
|
|
14576 |
if self.wex is not None:
|
|
|
14577 |
oprot.writeFieldBegin('wex', TType.STRUCT, 1)
|
|
|
14578 |
self.wex.write(oprot)
|
|
|
14579 |
oprot.writeFieldEnd()
|
|
|
14580 |
oprot.writeFieldStop()
|
|
|
14581 |
oprot.writeStructEnd()
|
|
|
14582 |
|
|
|
14583 |
def validate(self):
|
|
|
14584 |
return
|
|
|
14585 |
|
|
|
14586 |
|
|
|
14587 |
def __repr__(self):
|
|
|
14588 |
L = ['%s=%r' % (key, value)
|
|
|
14589 |
for key, value in self.__dict__.iteritems()]
|
|
|
14590 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
14591 |
|
|
|
14592 |
def __eq__(self, other):
|
|
|
14593 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
14594 |
|
|
|
14595 |
def __ne__(self, other):
|
|
|
14596 |
return not (self == other)
|
|
|
14597 |
|
|
|
14598 |
class getInventoryItemsBySerailNumbers_args:
|
|
|
14599 |
"""
|
|
|
14600 |
Attributes:
|
|
|
14601 |
- serialNumbers
|
|
|
14602 |
"""
|
|
|
14603 |
|
|
|
14604 |
thrift_spec = (
|
|
|
14605 |
None, # 0
|
|
|
14606 |
(1, TType.LIST, 'serialNumbers', (TType.STRING,None), None, ), # 1
|
|
|
14607 |
)
|
|
|
14608 |
|
|
|
14609 |
def __init__(self, serialNumbers=None,):
|
|
|
14610 |
self.serialNumbers = serialNumbers
|
|
|
14611 |
|
|
|
14612 |
def read(self, iprot):
|
|
|
14613 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
14614 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
14615 |
return
|
|
|
14616 |
iprot.readStructBegin()
|
|
|
14617 |
while True:
|
|
|
14618 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
14619 |
if ftype == TType.STOP:
|
|
|
14620 |
break
|
|
|
14621 |
if fid == 1:
|
|
|
14622 |
if ftype == TType.LIST:
|
|
|
14623 |
self.serialNumbers = []
|
|
|
14624 |
(_etype350, _size347) = iprot.readListBegin()
|
|
|
14625 |
for _i351 in xrange(_size347):
|
|
|
14626 |
_elem352 = iprot.readString();
|
|
|
14627 |
self.serialNumbers.append(_elem352)
|
|
|
14628 |
iprot.readListEnd()
|
|
|
14629 |
else:
|
|
|
14630 |
iprot.skip(ftype)
|
|
|
14631 |
else:
|
|
|
14632 |
iprot.skip(ftype)
|
|
|
14633 |
iprot.readFieldEnd()
|
|
|
14634 |
iprot.readStructEnd()
|
|
|
14635 |
|
|
|
14636 |
def write(self, oprot):
|
|
|
14637 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
14638 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
14639 |
return
|
|
|
14640 |
oprot.writeStructBegin('getInventoryItemsBySerailNumbers_args')
|
|
|
14641 |
if self.serialNumbers is not None:
|
|
|
14642 |
oprot.writeFieldBegin('serialNumbers', TType.LIST, 1)
|
|
|
14643 |
oprot.writeListBegin(TType.STRING, len(self.serialNumbers))
|
|
|
14644 |
for iter353 in self.serialNumbers:
|
|
|
14645 |
oprot.writeString(iter353)
|
|
|
14646 |
oprot.writeListEnd()
|
|
|
14647 |
oprot.writeFieldEnd()
|
|
|
14648 |
oprot.writeFieldStop()
|
|
|
14649 |
oprot.writeStructEnd()
|
|
|
14650 |
|
|
|
14651 |
def validate(self):
|
|
|
14652 |
return
|
|
|
14653 |
|
|
|
14654 |
|
|
|
14655 |
def __repr__(self):
|
|
|
14656 |
L = ['%s=%r' % (key, value)
|
|
|
14657 |
for key, value in self.__dict__.iteritems()]
|
|
|
14658 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
14659 |
|
|
|
14660 |
def __eq__(self, other):
|
|
|
14661 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
14662 |
|
|
|
14663 |
def __ne__(self, other):
|
|
|
14664 |
return not (self == other)
|
|
|
14665 |
|
|
|
14666 |
class getInventoryItemsBySerailNumbers_result:
|
|
|
14667 |
"""
|
|
|
14668 |
Attributes:
|
|
|
14669 |
- success
|
|
|
14670 |
- wex
|
|
|
14671 |
"""
|
|
|
14672 |
|
|
|
14673 |
thrift_spec = (
|
|
|
14674 |
(0, TType.LIST, 'success', (TType.STRUCT,(InventoryItem, InventoryItem.thrift_spec)), None, ), # 0
|
|
|
14675 |
(1, TType.STRUCT, 'wex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
|
|
14676 |
)
|
|
|
14677 |
|
|
|
14678 |
def __init__(self, success=None, wex=None,):
|
|
|
14679 |
self.success = success
|
|
|
14680 |
self.wex = wex
|
|
|
14681 |
|
|
|
14682 |
def read(self, iprot):
|
|
|
14683 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
14684 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
14685 |
return
|
|
|
14686 |
iprot.readStructBegin()
|
|
|
14687 |
while True:
|
|
|
14688 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
14689 |
if ftype == TType.STOP:
|
|
|
14690 |
break
|
|
|
14691 |
if fid == 0:
|
|
|
14692 |
if ftype == TType.LIST:
|
|
|
14693 |
self.success = []
|
|
|
14694 |
(_etype357, _size354) = iprot.readListBegin()
|
|
|
14695 |
for _i358 in xrange(_size354):
|
|
|
14696 |
_elem359 = InventoryItem()
|
|
|
14697 |
_elem359.read(iprot)
|
|
|
14698 |
self.success.append(_elem359)
|
|
|
14699 |
iprot.readListEnd()
|
|
|
14700 |
else:
|
|
|
14701 |
iprot.skip(ftype)
|
|
|
14702 |
elif fid == 1:
|
|
|
14703 |
if ftype == TType.STRUCT:
|
|
|
14704 |
self.wex = WarehouseServiceException()
|
|
|
14705 |
self.wex.read(iprot)
|
|
|
14706 |
else:
|
|
|
14707 |
iprot.skip(ftype)
|
|
|
14708 |
else:
|
|
|
14709 |
iprot.skip(ftype)
|
|
|
14710 |
iprot.readFieldEnd()
|
|
|
14711 |
iprot.readStructEnd()
|
|
|
14712 |
|
|
|
14713 |
def write(self, oprot):
|
|
|
14714 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
14715 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
14716 |
return
|
|
|
14717 |
oprot.writeStructBegin('getInventoryItemsBySerailNumbers_result')
|
|
|
14718 |
if self.success is not None:
|
|
|
14719 |
oprot.writeFieldBegin('success', TType.LIST, 0)
|
|
|
14720 |
oprot.writeListBegin(TType.STRUCT, len(self.success))
|
|
|
14721 |
for iter360 in self.success:
|
|
|
14722 |
iter360.write(oprot)
|
|
|
14723 |
oprot.writeListEnd()
|
|
|
14724 |
oprot.writeFieldEnd()
|
|
|
14725 |
if self.wex is not None:
|
|
|
14726 |
oprot.writeFieldBegin('wex', TType.STRUCT, 1)
|
|
|
14727 |
self.wex.write(oprot)
|
|
|
14728 |
oprot.writeFieldEnd()
|
|
|
14729 |
oprot.writeFieldStop()
|
|
|
14730 |
oprot.writeStructEnd()
|
|
|
14731 |
|
|
|
14732 |
def validate(self):
|
|
|
14733 |
return
|
|
|
14734 |
|
|
|
14735 |
|
|
|
14736 |
def __repr__(self):
|
|
|
14737 |
L = ['%s=%r' % (key, value)
|
|
|
14738 |
for key, value in self.__dict__.iteritems()]
|
|
|
14739 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
14740 |
|
|
|
14741 |
def __eq__(self, other):
|
|
|
14742 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
14743 |
|
|
|
14744 |
def __ne__(self, other):
|
|
|
14745 |
return not (self == other)
|
|
|
14746 |
|
|
|
14747 |
class scanPurchaseBulk_args:
|
|
|
14748 |
"""
|
|
|
14749 |
Attributes:
|
|
|
14750 |
- inventoryItems
|
|
|
14751 |
"""
|
|
|
14752 |
|
|
|
14753 |
thrift_spec = (
|
|
|
14754 |
None, # 0
|
|
|
14755 |
(1, TType.LIST, 'inventoryItems', (TType.STRUCT,(InventoryItem, InventoryItem.thrift_spec)), None, ), # 1
|
|
|
14756 |
)
|
|
|
14757 |
|
|
|
14758 |
def __init__(self, inventoryItems=None,):
|
|
|
14759 |
self.inventoryItems = inventoryItems
|
|
|
14760 |
|
|
|
14761 |
def read(self, iprot):
|
|
|
14762 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
14763 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
14764 |
return
|
|
|
14765 |
iprot.readStructBegin()
|
|
|
14766 |
while True:
|
|
|
14767 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
14768 |
if ftype == TType.STOP:
|
|
|
14769 |
break
|
|
|
14770 |
if fid == 1:
|
|
|
14771 |
if ftype == TType.LIST:
|
|
|
14772 |
self.inventoryItems = []
|
|
|
14773 |
(_etype364, _size361) = iprot.readListBegin()
|
|
|
14774 |
for _i365 in xrange(_size361):
|
|
|
14775 |
_elem366 = InventoryItem()
|
|
|
14776 |
_elem366.read(iprot)
|
|
|
14777 |
self.inventoryItems.append(_elem366)
|
|
|
14778 |
iprot.readListEnd()
|
|
|
14779 |
else:
|
|
|
14780 |
iprot.skip(ftype)
|
|
|
14781 |
else:
|
|
|
14782 |
iprot.skip(ftype)
|
|
|
14783 |
iprot.readFieldEnd()
|
|
|
14784 |
iprot.readStructEnd()
|
|
|
14785 |
|
|
|
14786 |
def write(self, oprot):
|
|
|
14787 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
14788 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
14789 |
return
|
|
|
14790 |
oprot.writeStructBegin('scanPurchaseBulk_args')
|
|
|
14791 |
if self.inventoryItems is not None:
|
|
|
14792 |
oprot.writeFieldBegin('inventoryItems', TType.LIST, 1)
|
|
|
14793 |
oprot.writeListBegin(TType.STRUCT, len(self.inventoryItems))
|
|
|
14794 |
for iter367 in self.inventoryItems:
|
|
|
14795 |
iter367.write(oprot)
|
|
|
14796 |
oprot.writeListEnd()
|
|
|
14797 |
oprot.writeFieldEnd()
|
|
|
14798 |
oprot.writeFieldStop()
|
|
|
14799 |
oprot.writeStructEnd()
|
|
|
14800 |
|
|
|
14801 |
def validate(self):
|
|
|
14802 |
return
|
|
|
14803 |
|
|
|
14804 |
|
|
|
14805 |
def __repr__(self):
|
|
|
14806 |
L = ['%s=%r' % (key, value)
|
|
|
14807 |
for key, value in self.__dict__.iteritems()]
|
|
|
14808 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
14809 |
|
|
|
14810 |
def __eq__(self, other):
|
|
|
14811 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
14812 |
|
|
|
14813 |
def __ne__(self, other):
|
|
|
14814 |
return not (self == other)
|
|
|
14815 |
|
|
|
14816 |
class scanPurchaseBulk_result:
|
|
|
14817 |
"""
|
|
|
14818 |
Attributes:
|
|
|
14819 |
- wex
|
|
|
14820 |
"""
|
|
|
14821 |
|
|
|
14822 |
thrift_spec = (
|
|
|
14823 |
None, # 0
|
|
|
14824 |
(1, TType.STRUCT, 'wex', (WarehouseServiceException, WarehouseServiceException.thrift_spec), None, ), # 1
|
|
|
14825 |
)
|
|
|
14826 |
|
|
|
14827 |
def __init__(self, wex=None,):
|
|
|
14828 |
self.wex = wex
|
|
|
14829 |
|
|
|
14830 |
def read(self, iprot):
|
|
|
14831 |
if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
|
|
|
14832 |
fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
|
|
|
14833 |
return
|
|
|
14834 |
iprot.readStructBegin()
|
|
|
14835 |
while True:
|
|
|
14836 |
(fname, ftype, fid) = iprot.readFieldBegin()
|
|
|
14837 |
if ftype == TType.STOP:
|
|
|
14838 |
break
|
|
|
14839 |
if fid == 1:
|
|
|
14840 |
if ftype == TType.STRUCT:
|
|
|
14841 |
self.wex = WarehouseServiceException()
|
|
|
14842 |
self.wex.read(iprot)
|
|
|
14843 |
else:
|
|
|
14844 |
iprot.skip(ftype)
|
|
|
14845 |
else:
|
|
|
14846 |
iprot.skip(ftype)
|
|
|
14847 |
iprot.readFieldEnd()
|
|
|
14848 |
iprot.readStructEnd()
|
|
|
14849 |
|
|
|
14850 |
def write(self, oprot):
|
|
|
14851 |
if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
|
|
|
14852 |
oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
|
|
|
14853 |
return
|
|
|
14854 |
oprot.writeStructBegin('scanPurchaseBulk_result')
|
|
|
14855 |
if self.wex is not None:
|
|
|
14856 |
oprot.writeFieldBegin('wex', TType.STRUCT, 1)
|
|
|
14857 |
self.wex.write(oprot)
|
|
|
14858 |
oprot.writeFieldEnd()
|
|
|
14859 |
oprot.writeFieldStop()
|
|
|
14860 |
oprot.writeStructEnd()
|
|
|
14861 |
|
|
|
14862 |
def validate(self):
|
|
|
14863 |
return
|
|
|
14864 |
|
|
|
14865 |
|
|
|
14866 |
def __repr__(self):
|
|
|
14867 |
L = ['%s=%r' % (key, value)
|
|
|
14868 |
for key, value in self.__dict__.iteritems()]
|
|
|
14869 |
return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
|
|
|
14870 |
|
|
|
14871 |
def __eq__(self, other):
|
|
|
14872 |
return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
|
|
|
14873 |
|
|
|
14874 |
def __ne__(self, other):
|
|
|
14875 |
return not (self == other)
|