| Line 65... |
Line 65... |
| 65 |
print ' bool markOrderDoaRequestReceived(i64 orderId)'
|
65 |
print ' bool markOrderDoaRequestReceived(i64 orderId)'
|
| 66 |
print ' bool markOrderDoaRequestAuthorized(i64 orderId, bool isAuthorized)'
|
66 |
print ' bool markOrderDoaRequestAuthorized(i64 orderId, bool isAuthorized)'
|
| 67 |
print ' bool requestPickupNumber(i64 orderId)'
|
67 |
print ' bool requestPickupNumber(i64 orderId)'
|
| 68 |
print ' bool authorizePickup(i64 orderId, string pickupNumber)'
|
68 |
print ' bool authorizePickup(i64 orderId, string pickupNumber)'
|
| 69 |
print ' markDoasAsPickedUp(i64 providerId, pickupDetails)'
|
69 |
print ' markDoasAsPickedUp(i64 providerId, pickupDetails)'
|
| 70 |
print ' bool receiveReturn(i64 orderId)'
|
70 |
print ' bool receiveReturn(i64 orderId, i64 receiveCondition)'
|
| 71 |
print ' bool validateDoa(i64 orderId, bool isValid)'
|
71 |
print ' bool validateDoa(i64 orderId, bool isValid)'
|
| 72 |
print ' i64 reshipOrder(i64 orderId)'
|
72 |
print ' i64 reshipOrder(i64 orderId)'
|
| 73 |
print ' bool refundOrder(i64 orderId, string refundedBy, string reason)'
|
73 |
print ' bool refundOrder(i64 orderId, string refundedBy, string reason)'
|
| 74 |
print ' getReturnOrders(i64 warehouseId, i64 fromDate, i64 toDate)'
|
74 |
print ' getReturnOrders(i64 warehouseId, i64 fromDate, i64 toDate)'
|
| 75 |
print ' ReturnOrder getReturnOrder(i64 id)'
|
75 |
print ' ReturnOrder getReturnOrder(i64 id)'
|
| Line 421... |
Line 421... |
| 421 |
print 'markDoasAsPickedUp requires 2 args'
|
421 |
print 'markDoasAsPickedUp requires 2 args'
|
| 422 |
sys.exit(1)
|
422 |
sys.exit(1)
|
| 423 |
pp.pprint(client.markDoasAsPickedUp(eval(args[0]),eval(args[1]),))
|
423 |
pp.pprint(client.markDoasAsPickedUp(eval(args[0]),eval(args[1]),))
|
| 424 |
|
424 |
|
| 425 |
elif cmd == 'receiveReturn':
|
425 |
elif cmd == 'receiveReturn':
|
| 426 |
if len(args) != 1:
|
426 |
if len(args) != 2:
|
| 427 |
print 'receiveReturn requires 1 args'
|
427 |
print 'receiveReturn requires 2 args'
|
| 428 |
sys.exit(1)
|
428 |
sys.exit(1)
|
| 429 |
pp.pprint(client.receiveReturn(eval(args[0]),))
|
429 |
pp.pprint(client.receiveReturn(eval(args[0]),eval(args[1]),))
|
| 430 |
|
430 |
|
| 431 |
elif cmd == 'validateDoa':
|
431 |
elif cmd == 'validateDoa':
|
| 432 |
if len(args) != 2:
|
432 |
if len(args) != 2:
|
| 433 |
print 'validateDoa requires 2 args'
|
433 |
print 'validateDoa requires 2 args'
|
| 434 |
sys.exit(1)
|
434 |
sys.exit(1)
|