| Line 308... |
Line 308... |
| 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 ' getOrdersInBatchAsPromisedShipping( statuses, i64 offset, i64 limit, i64 warehouse_id, i64 source)'
|
| 311 |
print ' void setOrderAttributeForMasterOrderId(string logisticsTransactionId, attributes)'
|
311 |
print ' void setOrderAttributeForMasterOrderId(string logisticsTransactionId, attributes)'
|
| 312 |
print ' bool updateMasterOrderAWB(string logisticsTransactionId, string airwayBillNo)'
|
312 |
print ' bool updateMasterOrderAWB(string logisticsTransactionId, string airwayBillNo)'
|
| - |
|
313 |
print ' bool addOrUpdateShipmentLogisticsCostDetails( shipmentLogisticsCostDetails)'
|
| 313 |
print ''
|
314 |
print ''
|
| 314 |
sys.exit(0)
|
315 |
sys.exit(0)
|
| 315 |
|
316 |
|
| 316 |
pp = pprint.PrettyPrinter(indent = 2)
|
317 |
pp = pprint.PrettyPrinter(indent = 2)
|
| 317 |
host = 'localhost'
|
318 |
host = 'localhost'
|
| Line 2092... |
Line 2093... |
| 2092 |
if len(args) != 2:
|
2093 |
if len(args) != 2:
|
| 2093 |
print 'updateMasterOrderAWB requires 2 args'
|
2094 |
print 'updateMasterOrderAWB requires 2 args'
|
| 2094 |
sys.exit(1)
|
2095 |
sys.exit(1)
|
| 2095 |
pp.pprint(client.updateMasterOrderAWB(args[0],args[1],))
|
2096 |
pp.pprint(client.updateMasterOrderAWB(args[0],args[1],))
|
| 2096 |
|
2097 |
|
| - |
|
2098 |
elif cmd == 'addOrUpdateShipmentLogisticsCostDetails':
|
| - |
|
2099 |
if len(args) != 1:
|
| - |
|
2100 |
print 'addOrUpdateShipmentLogisticsCostDetails requires 1 args'
|
| - |
|
2101 |
sys.exit(1)
|
| - |
|
2102 |
pp.pprint(client.addOrUpdateShipmentLogisticsCostDetails(eval(args[0]),))
|
| - |
|
2103 |
|
| 2097 |
else:
|
2104 |
else:
|
| 2098 |
print 'Unrecognized method %s' % cmd
|
2105 |
print 'Unrecognized method %s' % cmd
|
| 2099 |
sys.exit(1)
|
2106 |
sys.exit(1)
|
| 2100 |
|
2107 |
|
| 2101 |
transport.close()
|
2108 |
transport.close()
|