Subversion Repositories SmartDukaan

Rev

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

Rev 5945 Rev 6039
Line 59... Line 59...
59
	31:optional i64 preferredVendor,
59
	31:optional i64 preferredVendor,
60
	32:ItemType type,
60
	32:ItemType type,
61
	33:optional i64 comingSoonStartDate,
61
	33:optional i64 comingSoonStartDate,
62
	34:optional i64 expectedArrivalDate,
62
	34:optional i64 expectedArrivalDate,
63
	35:bool hasItemNo,
63
	35:bool hasItemNo,
64
	36:bool clearance
64
	36:bool clearance,
-
 
65
	37:double vatPercentage 
65
}
66
}
66
 
67
 
67
struct Category{
68
struct Category{
68
	1:i64 id,
69
	1:i64 id,
69
	2:string label,
70
	2:string label,
Line 329... Line 330...
329
	
330
	
330
	i64 getVoucherAmount(1:i64 itemId, 2:i64 voucherType),
331
	i64 getVoucherAmount(1:i64 itemId, 2:i64 voucherType),
331
	
332
	
332
	list<VoucherItemMapping> getAllItemVouchers(1:i64 itemId),
333
	list<VoucherItemMapping> getAllItemVouchers(1:i64 itemId),
333
	
334
	
334
	bool isValidCatalogItemId(1:i64 catalog_item_id)
335
	bool isValidCatalogItemId(1:i64 catalog_item_id),
-
 
336
	
-
 
337
	double getVatPercentageForItem(1:i64 itemId, 2:double price),
-
 
338
	double getVatAmountForItem(1:i64 itemId, 2:double price)	
335
}
339
}