Subversion Repositories SmartDukaan

Rev

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