Subversion Repositories SmartDukaan

Rev

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

Rev 5504 Rev 5512
Line 201... Line 201...
201
	1:Item item,
201
	1:Item item,
202
	2:i64 count
202
	2:i64 count
203
}
203
}
204
 
204
 
205
struct VoucherItemMapping{
205
struct VoucherItemMapping{
206
	1:string voucherType,
206
	1:i64 voucherType,
207
	2:i64 itemId,
207
	2:i64 itemId,
208
	3:i64 amount
208
	3:i64 amount
209
}
209
}
210
 
210
 
211
exception InventoryServiceException{
211
exception InventoryServiceException{
Line 582... Line 582...
582
    */
582
    */
583
    void clearItemAvailabilityCache();
583
    void clearItemAvailabilityCache();
584
    
584
    
585
    list<i64> getClearanceSaleCatalogIds() throws (1:InventoryServiceException cex),
585
    list<i64> getClearanceSaleCatalogIds() throws (1:InventoryServiceException cex),
586
        
586
        
587
	bool addupdateVoucherForItem(1:i64 catalog_item_id, 2:string voucherType, 3:i64 voucherAmount) throws (1:InventoryServiceException cex),
587
	bool addupdateVoucherForItem(1:i64 catalog_item_id, 2:i64 voucherType, 3:i64 voucherAmount) throws (1:InventoryServiceException cex),
588
	
588
	
589
	bool deleteVoucherForItem(1:i64 catalog_item_id, 2:string voucherType) throws (1:InventoryServiceException cex),
589
	bool deleteVoucherForItem(1:i64 catalog_item_id, 2:i64 voucherType) throws (1:InventoryServiceException cex),
590
	
590
	
591
	i64 getVoucherAmount(1:i64 itemId, 2:string voucherType),
591
	i64 getVoucherAmount(1:i64 itemId, 2:i64 voucherType),
592
	
592
	
593
	list<VoucherItemMapping> getAllItemVouchers(1:i64 itemId),
593
	list<VoucherItemMapping> getAllItemVouchers(1:i64 itemId),
594
}
594
}