| Line 305... |
Line 305... |
| 305 |
print ' bool processReturnPickup(i64 returnPickupId, returnOrdersMap)'
|
305 |
print ' bool processReturnPickup(i64 returnPickupId, returnOrdersMap)'
|
| 306 |
print ' bool markReturnTransactionComplete(i64 returnTransactionId)'
|
306 |
print ' bool markReturnTransactionComplete(i64 returnTransactionId)'
|
| 307 |
print ' bool refundReturnTransactionPayment( refundOrdersMap, i64 returntransactionId)'
|
307 |
print ' bool refundReturnTransactionPayment( refundOrdersMap, i64 returntransactionId)'
|
| 308 |
print ' getReturnTransactionsForCustomer( statusList, string customerMobile, string customerEmail, i64 returnTransactionId, i64 customerId)'
|
308 |
print ' getReturnTransactionsForCustomer( statusList, string customerMobile, string customerEmail, i64 returnTransactionId, i64 customerId)'
|
| 309 |
print ' bool verifyOrderForTransaction(i64 transactionId)'
|
309 |
print ' bool verifyOrderForTransaction(i64 transactionId)'
|
| - |
|
310 |
print ' getOrdersInBatchAsPromisedShipping( statuses, i64 offset, i64 limit, i64 warehouse_id, i64 source)'
|
| 310 |
print ''
|
311 |
print ''
|
| 311 |
sys.exit(0)
|
312 |
sys.exit(0)
|
| 312 |
|
313 |
|
| 313 |
pp = pprint.PrettyPrinter(indent = 2)
|
314 |
pp = pprint.PrettyPrinter(indent = 2)
|
| 314 |
host = 'localhost'
|
315 |
host = 'localhost'
|
| Line 2071... |
Line 2072... |
| 2071 |
if len(args) != 1:
|
2072 |
if len(args) != 1:
|
| 2072 |
print 'verifyOrderForTransaction requires 1 args'
|
2073 |
print 'verifyOrderForTransaction requires 1 args'
|
| 2073 |
sys.exit(1)
|
2074 |
sys.exit(1)
|
| 2074 |
pp.pprint(client.verifyOrderForTransaction(eval(args[0]),))
|
2075 |
pp.pprint(client.verifyOrderForTransaction(eval(args[0]),))
|
| 2075 |
|
2076 |
|
| - |
|
2077 |
elif cmd == 'getOrdersInBatchAsPromisedShipping':
|
| - |
|
2078 |
if len(args) != 5:
|
| - |
|
2079 |
print 'getOrdersInBatchAsPromisedShipping requires 5 args'
|
| - |
|
2080 |
sys.exit(1)
|
| - |
|
2081 |
pp.pprint(client.getOrdersInBatchAsPromisedShipping(eval(args[0]),eval(args[1]),eval(args[2]),eval(args[3]),eval(args[4]),))
|
| - |
|
2082 |
|
| 2076 |
else:
|
2083 |
else:
|
| 2077 |
print 'Unrecognized method %s' % cmd
|
2084 |
print 'Unrecognized method %s' % cmd
|
| 2078 |
sys.exit(1)
|
2085 |
sys.exit(1)
|
| 2079 |
|
2086 |
|
| 2080 |
transport.close()
|
2087 |
transport.close()
|