Subversion Repositories SmartDukaan

Rev

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

Rev 15251 Rev 17782
Line 173... Line 173...
173
    5:TrackLogType eventType,
173
    5:TrackLogType eventType,
174
    6:string url,
174
    6:string url,
175
    7:string data
175
    7:string data
176
}
176
}
177
 
177
 
-
 
178
struct ItemQuantity {
-
 
179
	1:i64 itemId,
-
 
180
	2:i64 qty,
-
 
181
}
-
 
182
 
-
 
183
 
178
//Various statuses for line items
184
//Various statuses for line items
179
enum LineStatus{
185
enum LineStatus{
180
	LINE_ACTIVE,			//line is active
186
	LINE_ACTIVE,			//line is active
181
	LINE_DELETED,			//line is deleted
187
	LINE_DELETED,			//line is deleted
182
	LINE_EXPIRED,			//line is expired, on laspse of fixed amount of time
188
	LINE_EXPIRED,			//line is expired, on laspse of fixed amount of time
Line 618... Line 624...
618
	list<User> getAllUsersByCounter(1:i64 counterId)
624
	list<User> getAllUsersByCounter(1:i64 counterId)
619
	
625
	
620
	string getActiveAccessTokenForUser(1:i64 userId, 2:string source)
626
	string getActiveAccessTokenForUser(1:i64 userId, 2:string source)
621
	
627
	
622
	bool validateAccessToken(1:string accessToken)
628
	bool validateAccessToken(1:string accessToken)
-
 
629
	bool addItemsToCart(1:i64 cartId, 2:list<ItemQuantity> itemQty, 3:string couponCode)
-
 
630
	string validateCartNew(1:i64 cartId, 2:string pinCode, 3:i64 sourceId)
623
	
631
	
624
}
632
}
625
633