Subversion Repositories SmartDukaan

Rev

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

Rev 592 Rev 613
Line 161... Line 161...
161
	2:i64 itemId,			//item id added
161
	2:i64 itemId,			//item id added
162
	3:double quantity,		//quantity added 
162
	3:double quantity,		//quantity added 
163
	4:i64 createdOn,		//addition timestamp
163
	4:i64 createdOn,		//addition timestamp
164
	5:i64 updatedOn, 		//any updation in quantity or status
164
	5:i64 updatedOn, 		//any updation in quantity or status
165
	6:LineStatus lineStatus,	//current status
165
	6:LineStatus lineStatus,	//current status
-
 
166
	7:i32 estimate			//delivery estimate in hours
166
}
167
}
167
 
168
 
168
struct Cart{
169
struct Cart{
169
	1:i64 id,				//identifier
170
	1:i64 id,				//identifier
170
	2:list<Line> lines,		//list of lines
171
	2:list<Line> lines,		//list of lines
171
	3:CartStatus status,	//current status
172
	3:CartStatus status,	//current status
172
	4:i64 createdOn,		//creation timestamp
173
	4:i64 createdOn,		//creation timestamp
173
	5:i64 updatedOn,		//time of last update in cart (like addition/deletion/updation of cart items )
174
	5:i64 updatedOn,		//time of last update in cart (like addition/deletion/updation of cart items )
174
	6:i64 committedOn,		//commited timestamp
175
	6:i64 committedOn,		//commited timestamp
175
	7:i64 userId,			//user id to which it belongs
176
	7:i64 userId,			//user id to which it belongs
176
	8:i64 addressId,	    //address on which this will be shipped
177
	8:i64 addressId,	    //address on which this will be shipped			
177
	9:i32 estimate			//delivery estimate in hours
-
 
178
}
178
}
179
 
179
 
180
enum WidgetType{
180
enum WidgetType{
181
	SIMILAR_ITEMS,
181
	SIMILAR_ITEMS,
182
	RECOMMENDED_ITEMS,
182
	RECOMMENDED_ITEMS,