| Line 42... |
Line 42... |
| 42 |
# Item = 15 (<5000) Pincode = 201301 (Local) serviced by Both, Provider = 2
|
42 |
# Item = 15 (<5000) Pincode = 201301 (Local) serviced by Both, Provider = 2
|
| 43 |
# Item = 04 (>5000) Pincode = 201307 (Local) serviced by Both, Provider = 1
|
43 |
# Item = 04 (>5000) Pincode = 201307 (Local) serviced by Both, Provider = 1
|
| 44 |
# Item = 19 (=5000) Pincode = 201307 (Local) serviced by Both, Provider = 2
|
44 |
# Item = 19 (=5000) Pincode = 201307 (Local) serviced by Both, Provider = 2
|
| 45 |
|
45 |
|
| 46 |
|
46 |
|
| 47 |
print client.getLogisticsEstimation(14, "201301") #Provider = 1
|
47 |
print client.getLogisticsEstimation(14, "201301", DeliveryType.PREPAID) #Provider = 1
|
| 48 |
print client.getLogisticsEstimation(15, "201301") #Provider = 1
|
48 |
print client.getLogisticsEstimation(15, "201301", DeliveryType.PREPAID) #Provider = 1
|
| 49 |
print client.isCodAllowed("201301")
|
49 |
print client.isCodAllowed("201301")
|
| 50 |
print client.isCodAllowed("3")
|
50 |
print client.isCodAllowed("3")
|
| 51 |
print client.getDestinationCode(1, "201301")
|
51 |
print client.getDestinationCode(1, "201301")
|
| 52 |
print client.getDestinationCode(1, "332001")
|
52 |
print client.getDestinationCode(1, "332001")
|
| 53 |
|
53 |
|