Subversion Repositories SmartDukaan

Rev

Rev 19317 | 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,
18739 kshitij.so 24
	15:double cheapestBulkPrice,
19151 kshitij.so 25
	16:i64 packQuantity,
19157 kshitij.so 26
	17:double netPriceAfterCashBack,
19317 kshitij.so 27
	18:i64 showNetPrice,
28
	19:i64 category_id,
29
	20:i64 subCategoryId
14372 kshitij.so 30
}
31
 
19247 kshitij.so 32
struct BulkItems{
33
	1:i64 item_id,
34
	2:bool showMrpFlag,
35
	3:string tagline,
36
	4:string offer,
37
	5:bool showNetPrice
38
	6:i64 category_id,
39
	7:i64 subCategoryId,
40
	8:double available_price,
41
	9:string brand,
42
	10:string identifier,
43
	11:string model_name,
44
	12:double mrp,
45
	13:string product_name,
46
	14:string source_product_name,
47
	15:i64 brand_id,
19589 kshitij.so 48
	16:i64 quantity	,
49
	17:i64 internalRank
19247 kshitij.so 50
}
51
 
14372 kshitij.so 52
service DtrService extends GenericService.GenericService{
53
 
54
list<LivePricing> getLatestPricing(1:i64 skuBundleId, 2:i64 source_id)
15163 kshitij.so 55
 
19247 kshitij.so 56
oneway void updateLatestPriceForItem(1:i64 id)
57
 
58
list<string> addItemsInBulk(1:list<BulkItems> bulkItemsList) 
14372 kshitij.so 59
 
60
}