Subversion Repositories SmartDukaan

Rev

Rev 16117 | Rev 18739 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
14372 kshitij.so 1
namespace java in.shop2020.model.v1.dtr
2
namespace py shop2020.thriftpy.model.v1.dtr
3
 
4
include "GenericService.thrift"
5
 
6
/**
7
	Objects
8
*/
9
struct LivePricing{
10
	1:i64 _id,
11
	2:double available_price,
12
	3:string marketPlaceUrl,
13
	4:i64 in_stock,
14
	5:i64 source_id,
15
	6:string source_product_name,
14765 kshitij.so 16
	7:string thumbnail,
17
	8:i64 cash_back_type,
15944 kshitij.so 18
	9:double cash_back,
19
	10:string coupon,
16117 kshitij.so 20
	11:i64 codAvailable,
21
	12:string tagline,
18726 kshitij.so 22
	13:string offer,
23
	14:double gross_price,
24
	15:double cheapestBulkPrice
14372 kshitij.so 25
}
26
 
27
service DtrService extends GenericService.GenericService{
28
 
29
list<LivePricing> getLatestPricing(1:i64 skuBundleId, 2:i64 source_id)
15163 kshitij.so 30
 
31
oneway void updateLatestPriceForItem(1:i64 id) 
14372 kshitij.so 32
 
33
}