| Line 315... |
Line 315... |
| 315 |
print ' bool updateMasterOrderAWB(string logisticsTransactionId, string airwayBillNo)'
|
315 |
print ' bool updateMasterOrderAWB(string logisticsTransactionId, string airwayBillNo)'
|
| 316 |
print ' bool addOrUpdateShipmentLogisticsCostDetails( shipmentLogisticsCostDetails)'
|
316 |
print ' bool addOrUpdateShipmentLogisticsCostDetails( shipmentLogisticsCostDetails)'
|
| 317 |
print ' getEligibleOrdersForReturn(i64 customerId, string itemCondition, bool overrideWarranty)'
|
317 |
print ' getEligibleOrdersForReturn(i64 customerId, string itemCondition, bool overrideWarranty)'
|
| 318 |
print ' getEligibleReturnOrdersForPickup(i64 customerId)'
|
318 |
print ' getEligibleReturnOrdersForPickup(i64 customerId)'
|
| 319 |
print ' bool validateReturnTransaction(i64 customerId, returnOrdersMap, string itemCondition, bool overrideWarranty)'
|
319 |
print ' bool validateReturnTransaction(i64 customerId, returnOrdersMap, string itemCondition, bool overrideWarranty)'
|
| 320 |
print ' bool markReturnNotRequiredOrdersProcessed(i64 returnTransactionId)'
|
- |
|
| 321 |
print ' ReturnPickupRequest getReturnPickupRequest(i64 returnPickupId)'
|
- |
|
| 322 |
print ' getPendingStoreOrders(i64 storeId)'
|
320 |
print ' getPendingStoreOrders(i64 storeId)'
|
| 323 |
print ' SellerInfo getSellerInfo(i64 sellerId)'
|
321 |
print ' SellerInfo getSellerInfo(i64 sellerId)'
|
| 324 |
print ' WarehouseAddress getWarehouseAddress(i64 address_id)'
|
322 |
print ' WarehouseAddress getWarehouseAddress(i64 address_id)'
|
| 325 |
print ' BuyerInfo getBuyerByWarehouse(i64 warehouse_id)'
|
323 |
print ' BuyerInfo getBuyerByWarehouse(i64 warehouse_id)'
|
| - |
|
324 |
print ' bool markReturnNotRequiredOrdersProcessed(ReturnOrderInfo returnOrderInfo)'
|
| - |
|
325 |
print ' ReturnPickupRequest getReturnPickupRequest(i64 returnPickupId)'
|
| - |
|
326 |
print ' ReturnOrderInfo splitReturnOrderInfo(i64 returnOrderId, i64 splitOrderQty)'
|
| - |
|
327 |
print ' bool deleteReturnOrder(i64 returnOrderId)'
|
| - |
|
328 |
print ' bool refundReturnOrder(ReturnOrderInfo returnOrderInfo, attributes)'
|
| - |
|
329 |
print ' addShipmentDelay( shipmentDelayDetail)'
|
| 326 |
print ''
|
330 |
print ''
|
| 327 |
sys.exit(0)
|
331 |
sys.exit(0)
|
| 328 |
|
332 |
|
| 329 |
pp = pprint.PrettyPrinter(indent = 2)
|
333 |
pp = pprint.PrettyPrinter(indent = 2)
|
| 330 |
host = 'localhost'
|
334 |
host = 'localhost'
|
| Line 2147... |
Line 2151... |
| 2147 |
if len(args) != 4:
|
2151 |
if len(args) != 4:
|
| 2148 |
print 'validateReturnTransaction requires 4 args'
|
2152 |
print 'validateReturnTransaction requires 4 args'
|
| 2149 |
sys.exit(1)
|
2153 |
sys.exit(1)
|
| 2150 |
pp.pprint(client.validateReturnTransaction(eval(args[0]),eval(args[1]),args[2],eval(args[3]),))
|
2154 |
pp.pprint(client.validateReturnTransaction(eval(args[0]),eval(args[1]),args[2],eval(args[3]),))
|
| 2151 |
|
2155 |
|
| 2152 |
elif cmd == 'markReturnNotRequiredOrdersProcessed':
|
- |
|
| 2153 |
if len(args) != 1:
|
- |
|
| 2154 |
print 'markReturnNotRequiredOrdersProcessed requires 1 args'
|
- |
|
| 2155 |
sys.exit(1)
|
- |
|
| 2156 |
pp.pprint(client.markReturnNotRequiredOrdersProcessed(eval(args[0]),))
|
- |
|
| 2157 |
|
- |
|
| 2158 |
elif cmd == 'getReturnPickupRequest':
|
- |
|
| 2159 |
if len(args) != 1:
|
- |
|
| 2160 |
print 'getReturnPickupRequest requires 1 args'
|
- |
|
| 2161 |
sys.exit(1)
|
- |
|
| 2162 |
pp.pprint(client.getReturnPickupRequest(eval(args[0]),))
|
- |
|
| 2163 |
|
- |
|
| 2164 |
elif cmd == 'getPendingStoreOrders':
|
2156 |
elif cmd == 'getPendingStoreOrders':
|
| 2165 |
if len(args) != 1:
|
2157 |
if len(args) != 1:
|
| 2166 |
print 'getPendingStoreOrders requires 1 args'
|
2158 |
print 'getPendingStoreOrders requires 1 args'
|
| 2167 |
sys.exit(1)
|
2159 |
sys.exit(1)
|
| 2168 |
pp.pprint(client.getPendingStoreOrders(eval(args[0]),))
|
2160 |
pp.pprint(client.getPendingStoreOrders(eval(args[0]),))
|
| Line 2183... |
Line 2175... |
| 2183 |
if len(args) != 1:
|
2175 |
if len(args) != 1:
|
| 2184 |
print 'getBuyerByWarehouse requires 1 args'
|
2176 |
print 'getBuyerByWarehouse requires 1 args'
|
| 2185 |
sys.exit(1)
|
2177 |
sys.exit(1)
|
| 2186 |
pp.pprint(client.getBuyerByWarehouse(eval(args[0]),))
|
2178 |
pp.pprint(client.getBuyerByWarehouse(eval(args[0]),))
|
| 2187 |
|
2179 |
|
| - |
|
2180 |
elif cmd == 'markReturnNotRequiredOrdersProcessed':
|
| - |
|
2181 |
if len(args) != 1:
|
| - |
|
2182 |
print 'markReturnNotRequiredOrdersProcessed requires 1 args'
|
| - |
|
2183 |
sys.exit(1)
|
| - |
|
2184 |
pp.pprint(client.markReturnNotRequiredOrdersProcessed(eval(args[0]),))
|
| - |
|
2185 |
|
| - |
|
2186 |
elif cmd == 'getReturnPickupRequest':
|
| - |
|
2187 |
if len(args) != 1:
|
| - |
|
2188 |
print 'getReturnPickupRequest requires 1 args'
|
| - |
|
2189 |
sys.exit(1)
|
| - |
|
2190 |
pp.pprint(client.getReturnPickupRequest(eval(args[0]),))
|
| - |
|
2191 |
|
| - |
|
2192 |
elif cmd == 'splitReturnOrderInfo':
|
| - |
|
2193 |
if len(args) != 2:
|
| - |
|
2194 |
print 'splitReturnOrderInfo requires 2 args'
|
| - |
|
2195 |
sys.exit(1)
|
| - |
|
2196 |
pp.pprint(client.splitReturnOrderInfo(eval(args[0]),eval(args[1]),))
|
| - |
|
2197 |
|
| - |
|
2198 |
elif cmd == 'deleteReturnOrder':
|
| - |
|
2199 |
if len(args) != 1:
|
| - |
|
2200 |
print 'deleteReturnOrder requires 1 args'
|
| - |
|
2201 |
sys.exit(1)
|
| - |
|
2202 |
pp.pprint(client.deleteReturnOrder(eval(args[0]),))
|
| - |
|
2203 |
|
| - |
|
2204 |
elif cmd == 'refundReturnOrder':
|
| - |
|
2205 |
if len(args) != 2:
|
| - |
|
2206 |
print 'refundReturnOrder requires 2 args'
|
| - |
|
2207 |
sys.exit(1)
|
| - |
|
2208 |
pp.pprint(client.refundReturnOrder(eval(args[0]),eval(args[1]),))
|
| - |
|
2209 |
|
| - |
|
2210 |
elif cmd == 'addShipmentDelay':
|
| - |
|
2211 |
if len(args) != 1:
|
| - |
|
2212 |
print 'addShipmentDelay requires 1 args'
|
| - |
|
2213 |
sys.exit(1)
|
| - |
|
2214 |
pp.pprint(client.addShipmentDelay(eval(args[0]),))
|
| - |
|
2215 |
|
| 2188 |
else:
|
2216 |
else:
|
| 2189 |
print 'Unrecognized method %s' % cmd
|
2217 |
print 'Unrecognized method %s' % cmd
|
| 2190 |
sys.exit(1)
|
2218 |
sys.exit(1)
|
| 2191 |
|
2219 |
|
| 2192 |
transport.close()
|
2220 |
transport.close()
|