| Line 24... |
Line 24... |
| 24 |
print ' Provider getProvider(i64 providerId)'
|
24 |
print ' Provider getProvider(i64 providerId)'
|
| 25 |
print ' getAllProviders()'
|
25 |
print ' getAllProviders()'
|
| 26 |
print ' LogisticsInfo getLogisticsEstimation(i64 itemId, string destination_pin, DeliveryType type)'
|
26 |
print ' LogisticsInfo getLogisticsEstimation(i64 itemId, string destination_pin, DeliveryType type)'
|
| 27 |
print ' LogisticsInfo getLogisticsInfo(string destination_pincode, i64 item_id, DeliveryType type, PickUpType pickUp)'
|
27 |
print ' LogisticsInfo getLogisticsInfo(string destination_pincode, i64 item_id, DeliveryType type, PickUpType pickUp)'
|
| 28 |
print ' string getEmptyAWB(i64 providerId, DeliveryType type)'
|
28 |
print ' string getEmptyAWB(i64 providerId, DeliveryType type)'
|
| 29 |
print ' getShipmentInfo(string awb, i64 providerId)'
|
29 |
print ' getShipmentInfo(string awbNumber, i64 providerId)'
|
| - |
|
30 |
print ' void storeShipmentInfo(AwbUpdate update)'
|
| 30 |
print ' string getDestinationCode(i64 providerId, string pinCode)'
|
31 |
print ' string getDestinationCode(i64 providerId, string pinCode)'
|
| 31 |
print ' i64 getFreeAwbCount(i64 providerId, string type)'
|
32 |
print ' i64 getFreeAwbCount(i64 providerId, string type)'
|
| 32 |
print ' getHolidays(i64 fromDate, i64 toDate)'
|
33 |
print ' getHolidays(i64 fromDate, i64 toDate)'
|
| 33 |
print ' getEntityLogisticsEstimation(i64 catalogItemId, string destination_pin, DeliveryType type)'
|
34 |
print ' getEntityLogisticsEstimation(i64 catalogItemId, string destination_pin, DeliveryType type)'
|
| 34 |
print ' i64 getProviderForPickupType(i64 pickUp)'
|
35 |
print ' i64 getProviderForPickupType(i64 pickUp)'
|
| Line 121... |
Line 122... |
| 121 |
if len(args) != 2:
|
122 |
if len(args) != 2:
|
| 122 |
print 'getShipmentInfo requires 2 args'
|
123 |
print 'getShipmentInfo requires 2 args'
|
| 123 |
sys.exit(1)
|
124 |
sys.exit(1)
|
| 124 |
pp.pprint(client.getShipmentInfo(args[0],eval(args[1]),))
|
125 |
pp.pprint(client.getShipmentInfo(args[0],eval(args[1]),))
|
| 125 |
|
126 |
|
| - |
|
127 |
elif cmd == 'storeShipmentInfo':
|
| - |
|
128 |
if len(args) != 1:
|
| - |
|
129 |
print 'storeShipmentInfo requires 1 args'
|
| - |
|
130 |
sys.exit(1)
|
| - |
|
131 |
pp.pprint(client.storeShipmentInfo(eval(args[0]),))
|
| - |
|
132 |
|
| 126 |
elif cmd == 'getDestinationCode':
|
133 |
elif cmd == 'getDestinationCode':
|
| 127 |
if len(args) != 2:
|
134 |
if len(args) != 2:
|
| 128 |
print 'getDestinationCode requires 2 args'
|
135 |
print 'getDestinationCode requires 2 args'
|
| 129 |
sys.exit(1)
|
136 |
sys.exit(1)
|
| 130 |
pp.pprint(client.getDestinationCode(eval(args[0]),args[1],))
|
137 |
pp.pprint(client.getDestinationCode(eval(args[0]),args[1],))
|