| Line 142... |
Line 142... |
| 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 ' getOrdersCollectionAtStore(i64 storeId, i64 fromDate, i64 toDate, bool onlyCod)'
|
| - |
|
147 |
print ' string getOrderAttributeValue(i64 orderId, string attributeName)'
|
| 147 |
print ' void acceptOrderForItem(i64 itemId, i64 quantity, i64 fulfilmentWarehouseId, i64 billingWarehouseId)'
|
148 |
print ' void acceptOrderForItem(i64 itemId, i64 quantity, i64 fulfilmentWarehouseId, i64 billingWarehouseId)'
|
| 148 |
print ''
|
149 |
print ''
|
| 149 |
sys.exit(0)
|
150 |
sys.exit(0)
|
| 150 |
|
151 |
|
| 151 |
pp = pprint.PrettyPrinter(indent = 2)
|
152 |
pp = pprint.PrettyPrinter(indent = 2)
|
| Line 931... |
Line 932... |
| 931 |
if len(args) != 4:
|
932 |
if len(args) != 4:
|
| 932 |
print 'getOrdersCollectionAtStore requires 4 args'
|
933 |
print 'getOrdersCollectionAtStore requires 4 args'
|
| 933 |
sys.exit(1)
|
934 |
sys.exit(1)
|
| 934 |
pp.pprint(client.getOrdersCollectionAtStore(eval(args[0]),eval(args[1]),eval(args[2]),eval(args[3]),))
|
935 |
pp.pprint(client.getOrdersCollectionAtStore(eval(args[0]),eval(args[1]),eval(args[2]),eval(args[3]),))
|
| 935 |
|
936 |
|
| - |
|
937 |
elif cmd == 'getOrderAttributeValue':
|
| - |
|
938 |
if len(args) != 2:
|
| - |
|
939 |
print 'getOrderAttributeValue requires 2 args'
|
| - |
|
940 |
sys.exit(1)
|
| - |
|
941 |
pp.pprint(client.getOrderAttributeValue(eval(args[0]),args[1],))
|
| - |
|
942 |
|
| 936 |
elif cmd == 'acceptOrderForItem':
|
943 |
elif cmd == 'acceptOrderForItem':
|
| 937 |
if len(args) != 4:
|
944 |
if len(args) != 4:
|
| 938 |
print 'acceptOrderForItem requires 4 args'
|
945 |
print 'acceptOrderForItem requires 4 args'
|
| 939 |
sys.exit(1)
|
946 |
sys.exit(1)
|
| 940 |
pp.pprint(client.acceptOrderForItem(eval(args[0]),eval(args[1]),eval(args[2]),eval(args[3]),))
|
947 |
pp.pprint(client.acceptOrderForItem(eval(args[0]),eval(args[1]),eval(args[2]),eval(args[3]),))
|