Subversion Repositories SmartDukaan

Rev

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

Rev 7190 Rev 7256
Line 64... Line 64...
64
	31:optional i64 preferredVendor,
64
	31:optional i64 preferredVendor,
65
	32:ItemType type,
65
	32:ItemType type,
66
	33:optional i64 comingSoonStartDate,
66
	33:optional i64 comingSoonStartDate,
67
	34:optional i64 expectedArrivalDate,
67
	34:optional i64 expectedArrivalDate,
68
	35:bool hasItemNo,
68
	35:bool hasItemNo,
69
	36:bool clearance,
69
	36:bool activeOnStore,
70
	37:double vatPercentage,
70
	37:double vatPercentage,
71
	38:bool showSellingPrice,
71
	38:bool showSellingPrice,
72
	39:string bestDealsDetailsText,
72
	39:string bestDealsDetailsText,
73
	40:string bestDealsDetailsLink,
73
	40:string bestDealsDetailsLink,
74
	41:i64 preferredInsurer
74
	41:i64 preferredInsurer
Line 165... Line 165...
165
struct FreebieItem {
165
struct FreebieItem {
166
	1:i64 itemId,
166
	1:i64 itemId,
167
	2:i64 freebieItemId
167
	2:i64 freebieItemId
168
}
168
}
169
 
169
 
-
 
170
 
-
 
171
struct StorePricing {
-
 
172
    1:i64 itemId,
-
 
173
	2:double recommendedPrice,
-
 
174
	3:double minPrice,
-
 
175
	4:double maxPrice,
-
 
176
	5:double minAdvancePrice
-
 
177
}
-
 
178
 
170
service CatalogService extends GenericService.GenericService{
179
service CatalogService extends GenericService.GenericService{
171
 
180
 
172
/**
181
/**
173
	Availability and inventory attributes	
182
	Availability and inventory attributes	
174
*/
183
*/
Line 387... Line 396...
387
	
396
	
388
	/**
397
	/**
389
	This method adds a log to authorize table with Item Id, username who authorized the change, reason.
398
	This method adds a log to authorize table with Item Id, username who authorized the change, reason.
390
	*/
399
	*/
391
	bool addAuthorizationLog(1:i64 itemId, 2:string username, 3:string reason) throws (1:CatalogServiceException cex),
400
	bool addAuthorizationLog(1:i64 itemId, 2:string username, 3:string reason) throws (1:CatalogServiceException cex),
392
    
-
 
393
    list<i64> getClearanceSaleCatalogIds() throws (1:CatalogServiceException cex),
-
 
394
        
401
        
395
	bool addupdateVoucherForItem(1:i64 catalog_item_id, 2:i64 voucherType, 3:i64 voucherAmount) throws (1:CatalogServiceException cex),
402
	bool addupdateVoucherForItem(1:i64 catalog_item_id, 2:i64 voucherType, 3:i64 voucherAmount) throws (1:CatalogServiceException cex),
396
	
403
	
397
	bool deleteVoucherForItem(1:i64 catalog_item_id, 2:i64 voucherType) throws (1:CatalogServiceException cex),
404
	bool deleteVoucherForItem(1:i64 catalog_item_id, 2:i64 voucherType) throws (1:CatalogServiceException cex),
398
	
405
	
Line 421... Line 428...
421
	
428
	
422
	void updateInsuranceDeclaredAmount(1:i64 insurerId, 2:double amount),
429
	void updateInsuranceDeclaredAmount(1:i64 insurerId, 2:double amount),
423
	
430
	
424
	i64 getFreebieForItem(1:i64 itemId),
431
	i64 getFreebieForItem(1:i64 itemId),
425
	
432
	
426
	void addOrUpdateFreebieForItem(1:FreebieItem freebieItem)
433
	void addOrUpdateFreebieForItem(1:FreebieItem freebieItem),
-
 
434
	
-
 
435
	StorePricing getStorePricing(1:i64 itemId)
427
}
436
}