Subversion Repositories SmartDukaan

Rev

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

Rev 17782 Rev 18634
Line 285... Line 285...
285
	4:i64 startOn,
285
	4:i64 startOn,
286
	5:i64 endOn,
286
	5:i64 endOn,
287
	6:i64 createdOn
287
	6:i64 createdOn
288
}
288
}
289
 
289
 
-
 
290
enum CounterVerificationType{
-
 
291
	NOT_VERIFIED,
-
 
292
	OFFLINE,
-
 
293
	ONLINE
-
 
294
}
290
 
295
 
291
struct Counter {
296
struct Counter {
292
	1:i64 id,
297
	1:i64 id,
293
	2:string code,
298
	2:string code,
294
	3:string name,
299
	3:string name,
Line 300... Line 305...
300
	9:string tin,
305
	9:string tin,
301
	10:i64 spCounterSize,
306
	10:i64 spCounterSize,
302
	11:i64 fpCounterSize,
307
	11:i64 fpCounterSize,
303
	12:string dob,
308
	12:string dob,
304
	13:i64 addedOn,
309
	13:i64 addedOn,
305
	14:i64 address
310
	14:i64 address,
-
 
311
	15:bool documentVerified,
-
 
312
	16:CounterVerificationType verificationType,
-
 
313
	17:i64 verifiedOn
-
 
314
}
-
 
315
 
-
 
316
struct CounterOnlineInfo {
-
 
317
	1:i64 counterId,
-
 
318
	2:string tinNumber,
-
 
319
	3:string cstNumber,
-
 
320
	4:string dealerName,
-
 
321
	5:string dealerAddress,
-
 
322
	6:string state,
-
 
323
	7:string pan,
-
 
324
	8:i64 registrationDate,
-
 
325
	9:bool registrationStatus,
-
 
326
	10:i64 validatedTill,
-
 
327
	11:i64 created
306
}
328
}
307
 
329
 
308
struct Coupon{
330
struct Coupon{
309
	1:string couponCode, 
331
	1:string couponCode, 
310
	2:Promotion promotion,
332
	2:Promotion promotion,
Line 343... Line 365...
343
	1:i64 userId,
365
	1:i64 userId,
344
	2:i64 addedOn,
366
	2:i64 addedOn,
345
	3:bool isActive,
367
	3:bool isActive,
346
	4:i64 counterId,
368
	4:i64 counterId,
347
	5:string tin,
369
	5:string tin,
348
	6:double bulkShipmentAmountLimit
370
	6:double bulkShipmentAmountLimit,
-
 
371
	7:bool creditorAssigned
349
}
372
}
350
 
373
 
351
struct AccessTokenizer{
374
struct AccessTokenizer{
352
	1:i64 id,
375
	1:i64 id,
353
	2:i64 userId,
376
	2:i64 userId,
Line 627... Line 650...
627
	
650
	
628
	bool validateAccessToken(1:string accessToken)
651
	bool validateAccessToken(1:string accessToken)
629
	bool addItemsToCart(1:i64 cartId, 2:list<ItemQuantity> itemQty, 3:string couponCode)
652
	bool addItemsToCart(1:i64 cartId, 2:list<ItemQuantity> itemQty, 3:string couponCode)
630
	string validateCartNew(1:i64 cartId, 2:string pinCode, 3:i64 sourceId)
653
	string validateCartNew(1:i64 cartId, 2:string pinCode, 3:i64 sourceId)
631
	
654
	
-
 
655
	bool isAddressEditableForCounter(1:i64 userId)
-
 
656
	
-
 
657
	Address getBillingAddressForUser(1:i64 userId)
-
 
658
	
-
 
659
	bool isCreditorAssigned(1:i64 userId)
632
}
660
}
633
661