| Line 56... |
Line 56... |
| 56 |
print ' bool verifyOrder(i64 orderId)'
|
56 |
print ' bool verifyOrder(i64 orderId)'
|
| 57 |
print ' bool acceptOrder(i64 orderId)'
|
57 |
print ' bool acceptOrder(i64 orderId)'
|
| 58 |
print ' bool addBillingDetails(i64 orderId, string invoice_number, serialNumber, itemNumber, string billed_by, i64 jacketNumber, i64 billingType, i64 fulfilmentWarehouseId, bool authorize)'
|
58 |
print ' bool addBillingDetails(i64 orderId, string invoice_number, serialNumber, itemNumber, string billed_by, i64 jacketNumber, i64 billingType, i64 fulfilmentWarehouseId, bool authorize)'
|
| 59 |
print ' void addInvoiceNumber(i64 orderId, string invoiceNumber, string color)'
|
59 |
print ' void addInvoiceNumber(i64 orderId, string invoiceNumber, string color)'
|
| 60 |
print ' bool markOrdersAsShippedFromWarehouse(i64 warehouseId, i64 providerId, bool cod, orderIds)'
|
60 |
print ' bool markOrdersAsShippedFromWarehouse(i64 warehouseId, i64 providerId, bool cod, orderIds)'
|
| 61 |
print ' bool markOrdersAsReturnedFromStore(i64 providerId, orderIds)'
|
61 |
print ' bool markOrdersAsReturnedFromStore(i64 providerId, orderIds, awbs)'
|
| 62 |
print ' void markOrdersAsPickedUp(i64 providerId, pickupDetails)'
|
62 |
print ' void markOrdersAsPickedUp(i64 providerId, pickupDetails)'
|
| 63 |
print ' getOrdersNotPickedUp(i64 providerId)'
|
63 |
print ' getOrdersNotPickedUp(i64 providerId)'
|
| 64 |
print ' void markOrdersAsDelivered(i64 providerId, deliveredOrders)'
|
64 |
print ' void markOrdersAsDelivered(i64 providerId, deliveredOrders)'
|
| 65 |
print ' void markAsRTOrders(i64 providerId, returnedOrders)'
|
65 |
print ' void markAsRTOrders(i64 providerId, returnedOrders)'
|
| 66 |
print ' getRTOrders(i64 providerId)'
|
66 |
print ' getRTOrders(i64 providerId)'
|
| Line 141... |
Line 141... |
| 141 |
print ' getAllAttributesForOrderId(i64 orderId)'
|
141 |
print ' getAllAttributesForOrderId(i64 orderId)'
|
| 142 |
print ' void setOrderAttributes(i64 orderId, attributes)'
|
142 |
print ' void setOrderAttributes(i64 orderId, attributes)'
|
| 143 |
print ' void setOrderAttributeForTransaction(i64 transactionId, Attribute attribute)'
|
143 |
print ' void setOrderAttributeForTransaction(i64 transactionId, Attribute attribute)'
|
| 144 |
print ' getReceivePendingOrders(i64 storeId)'
|
144 |
print ' getReceivePendingOrders(i64 storeId)'
|
| 145 |
print ' getReceivedAtStoreOrders(i64 storeId)'
|
145 |
print ' getReceivedAtStoreOrders(i64 storeId)'
|
| - |
|
146 |
print ' getOrdersCollectionAtStore(i64 storeId, i64 fromDate, i64 toDate, bool onlyCod)'
|
| 146 |
print ' void acceptOrderForItem(i64 itemId, i64 quantity, i64 fulfilmentWarehouseId, i64 billingWarehouseId)'
|
147 |
print ' void acceptOrderForItem(i64 itemId, i64 quantity, i64 fulfilmentWarehouseId, i64 billingWarehouseId)'
|
| 147 |
print ''
|
148 |
print ''
|
| 148 |
sys.exit(0)
|
149 |
sys.exit(0)
|
| 149 |
|
150 |
|
| 150 |
pp = pprint.PrettyPrinter(indent = 2)
|
151 |
pp = pprint.PrettyPrinter(indent = 2)
|
| Line 415... |
Line 416... |
| 415 |
print 'markOrdersAsShippedFromWarehouse requires 4 args'
|
416 |
print 'markOrdersAsShippedFromWarehouse requires 4 args'
|
| 416 |
sys.exit(1)
|
417 |
sys.exit(1)
|
| 417 |
pp.pprint(client.markOrdersAsShippedFromWarehouse(eval(args[0]),eval(args[1]),eval(args[2]),eval(args[3]),))
|
418 |
pp.pprint(client.markOrdersAsShippedFromWarehouse(eval(args[0]),eval(args[1]),eval(args[2]),eval(args[3]),))
|
| 418 |
|
419 |
|
| 419 |
elif cmd == 'markOrdersAsReturnedFromStore':
|
420 |
elif cmd == 'markOrdersAsReturnedFromStore':
|
| 420 |
if len(args) != 2:
|
421 |
if len(args) != 3:
|
| 421 |
print 'markOrdersAsReturnedFromStore requires 2 args'
|
422 |
print 'markOrdersAsReturnedFromStore requires 3 args'
|
| 422 |
sys.exit(1)
|
423 |
sys.exit(1)
|
| 423 |
pp.pprint(client.markOrdersAsReturnedFromStore(eval(args[0]),eval(args[1]),))
|
424 |
pp.pprint(client.markOrdersAsReturnedFromStore(eval(args[0]),eval(args[1]),eval(args[2]),))
|
| 424 |
|
425 |
|
| 425 |
elif cmd == 'markOrdersAsPickedUp':
|
426 |
elif cmd == 'markOrdersAsPickedUp':
|
| 426 |
if len(args) != 2:
|
427 |
if len(args) != 2:
|
| 427 |
print 'markOrdersAsPickedUp requires 2 args'
|
428 |
print 'markOrdersAsPickedUp requires 2 args'
|
| 428 |
sys.exit(1)
|
429 |
sys.exit(1)
|
| Line 924... |
Line 925... |
| 924 |
if len(args) != 1:
|
925 |
if len(args) != 1:
|
| 925 |
print 'getReceivedAtStoreOrders requires 1 args'
|
926 |
print 'getReceivedAtStoreOrders requires 1 args'
|
| 926 |
sys.exit(1)
|
927 |
sys.exit(1)
|
| 927 |
pp.pprint(client.getReceivedAtStoreOrders(eval(args[0]),))
|
928 |
pp.pprint(client.getReceivedAtStoreOrders(eval(args[0]),))
|
| 928 |
|
929 |
|
| - |
|
930 |
elif cmd == 'getOrdersCollectionAtStore':
|
| - |
|
931 |
if len(args) != 4:
|
| - |
|
932 |
print 'getOrdersCollectionAtStore requires 4 args'
|
| - |
|
933 |
sys.exit(1)
|
| - |
|
934 |
pp.pprint(client.getOrdersCollectionAtStore(eval(args[0]),eval(args[1]),eval(args[2]),eval(args[3]),))
|
| - |
|
935 |
|
| 929 |
elif cmd == 'acceptOrderForItem':
|
936 |
elif cmd == 'acceptOrderForItem':
|
| 930 |
if len(args) != 4:
|
937 |
if len(args) != 4:
|
| 931 |
print 'acceptOrderForItem requires 4 args'
|
938 |
print 'acceptOrderForItem requires 4 args'
|
| 932 |
sys.exit(1)
|
939 |
sys.exit(1)
|
| 933 |
pp.pprint(client.acceptOrderForItem(eval(args[0]),eval(args[1]),eval(args[2]),eval(args[3]),))
|
940 |
pp.pprint(client.acceptOrderForItem(eval(args[0]),eval(args[1]),eval(args[2]),eval(args[3]),))
|