Subversion Repositories SmartDukaan

Rev

Rev 121 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

namespace java in.shop2020.utils
namespace py shop2020.thriftpy.utils

/**
Helper service
created by @ashish
**/

struct ItemLogistics{
        1:i64 warehouseId,
        2:i64 availability,
        3:i64 deliveryBy
}

exception HelperServiceException{
        1:i64 id,
        2:string message
}

service EstimationService{

        //This call would return a map having the following 
        list<ItemLogistics> getLogisticsEstimation(1:i64 itemId,2:map<string,string> location) throws (1:HelperServiceException se)
}