| Line 53... |
Line 53... |
| 53 |
|
53 |
|
| 54 |
service LogisticsService{
|
54 |
service LogisticsService{
|
| 55 |
|
55 |
|
| 56 |
//This call would return the logistic estimate
|
56 |
//This call would return the logistic estimate
|
| 57 |
ItemLogistics getLogisticsEstimation(1:i64 itemId, 2:string destination_pin, 3:i64 provider_id ) throws (1:LogisticsServiceException se),
|
57 |
ItemLogistics getLogisticsEstimation(1:i64 itemId, 2:string destination_pin, 3:i64 provider_id ) throws (1:LogisticsServiceException se),
|
| 58 |
void addDeliveryEstimate(1:i64 warahouse_id, 2:string destination_pin, 3:i64 provider_id, 4:i64 delivery_time),
|
58 |
void addDeliveryEstimate(1:i64 warahouse_id, 2:string destination_pin, 3:i64 provider_id, 4:i64 delivery_time, 5:i64 reliability),
|
| - |
|
59 |
void addPincodeWarehouseMapping(1:string pin_code, 2:i64 warehouse_id, 3:string warehouse_pin),
|
| - |
|
60 |
|
| 59 |
//APIs to be used by shop2020 components
|
61 |
//APIs to be used by shop2020 components
|
| 60 |
void addEmptyAWBs(1:list<string> numbers, 2:i64 provider_id),
|
62 |
void addEmptyAWBs(1:list<string> numbers, 2:i64 provider_id),
|
| 61 |
string getEmptyAWB(1:i64 provider_id),
|
63 |
string getEmptyAWB(1:i64 provider_id),
|
| 62 |
list<Provider> getProviders(),
|
64 |
list<Provider> getProviders(),
|
| 63 |
Provider getProvider(1:i64 provider_id),
|
65 |
Provider getProvider(1:i64 provider_id),
|