Subversion Repositories SmartDukaan

Rev

Rev 9253 | Rev 9404 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9253 Rev 9299
Line 35... Line 35...
35
	WEBSITE  = 1,
35
	WEBSITE  = 1,
36
	SIDE_BANNER = 2,
36
	SIDE_BANNER = 2,
37
	MOBILE_SITE = 3
37
	MOBILE_SITE = 3
38
}
38
}
39
 
39
 
-
 
40
enum InsurerType {
-
 
41
	DEVICE = 1,
-
 
42
	DATA = 2
-
 
43
}
-
 
44
 
40
struct Item{
45
struct Item{
41
	1:i64 id,
46
	1:i64 id,
42
	2:string productGroup
47
	2:string productGroup
43
	3:string brand,
48
	3:string brand,
44
	4:string modelNumber,
49
	4:string modelNumber,
Line 85... Line 90...
85
struct Insurer{
90
struct Insurer{
86
	1:i64 id,
91
	1:i64 id,
87
	2:string name,
92
	2:string name,
88
	3:string address,
93
	3:string address,
89
	4:i64 declaredAmount,
94
	4:i64 declaredAmount,
90
	5:i64 creditedAmount
95
	5:i64 creditedAmount,
-
 
96
	6:InsurerType insurerType
91
}
97
}
92
 
98
 
93
struct ItemInsurerMapping{
99
struct ItemInsurerMapping{
94
	1:i64 itemId,
100
	1:i64 itemId,
95
	2:i64 insurer,
101
	2:i64 insurer,
96
	3:PremiumType premiumType,
102
	3:PremiumType premiumType,
97
	4:double premiumValue
103
	4:double premiumValue,
-
 
104
	5:InsurerType insurerType
98
}
105
}
99
 
106
 
100
struct Category{
107
struct Category{
101
	1:i64 id,
108
	1:i64 id,
102
	2:string label,
109
	2:string label,
Line 648... Line 655...
648
	list<SnapdealItemDetails> searchSnapdealItems(1:list<string> searchTerm,2:i64 offset,3:i64 limit)
655
	list<SnapdealItemDetails> searchSnapdealItems(1:list<string> searchTerm,2:i64 offset,3:i64 limit)
649
	
656
	
650
	i64 getCountForSnapdealItems()
657
	i64 getCountForSnapdealItems()
651
	
658
	
652
	i64 getSnapdealSearchResultCount(1:list<string> searchTerm)
659
	i64 getSnapdealSearchResultCount(1:list<string> searchTerm)
-
 
660
	
-
 
661
	i64 getPrefferedInsurerForItem(1:i64 itemId, 2:InsurerType insurerType)
653
 
662
 
654
}
663
}