Subversion Repositories SmartDukaan

Rev

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

namespace java in.shop2020.model.v1.dtr
namespace py shop2020.thriftpy.model.v1.dtr

include "GenericService.thrift"

/**
        Objects
*/
struct LivePricing{
        1:i64 _id,
        2:double available_price,
        3:string marketPlaceUrl,
        4:i64 in_stock,
        5:i64 source_id,
        6:string source_product_name,
        7:string thumbnail,
        8:i64 cash_back_type,
        9:double cash_back,
        10:string coupon,
        11:i64 codAvailable,
        12:string tagline,
        13:string offer
}

service DtrService extends GenericService.GenericService{

list<LivePricing> getLatestPricing(1:i64 skuBundleId, 2:i64 source_id)

oneway void updateLatestPriceForItem(1:i64 id) 
        
}