Subversion Repositories SmartDukaan

Rev

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

Rev 5185 Rev 5217
Line 15... Line 15...
15
	DELETED = 1,		//Item has been deliberately deleted 
15
	DELETED = 1,		//Item has been deliberately deleted 
16
	PAUSED = 2,			//Item's sale has been paused manually.
16
	PAUSED = 2,			//Item's sale has been paused manually.
17
	ACTIVE = 3,			//Item is available for sale as of now
17
	ACTIVE = 3,			//Item is available for sale as of now
18
	IN_PROCESS = 4,		//Item has been added, but content is not available for the same
18
	IN_PROCESS = 4,		//Item has been added, but content is not available for the same
19
	CONTENT_COMPLETE = 5,  //The content for this item has been completed. We can start selling the item now.
19
	CONTENT_COMPLETE = 5,  //The content for this item has been completed. We can start selling the item now.
20
	PAUSED_BY_RISK = 6    //Item's sale has been automatically paused since it was marked as risky
20
	PAUSED_BY_RISK = 6,    //Item's sale has been automatically paused since it was marked as risky
-
 
21
	COMING_SOON= 7		//Item is now in Coming Soon Page and will move to ACTIVE gradually as it achieves the Start date.
21
}
22
}
22
 
23
 
23
enum WarehouseLocation {
24
enum WarehouseLocation {
24
	Mumbai = 0,
25
	Mumbai = 0,
25
	Delhi = 1,
26
	Delhi = 1,
Line 131... Line 132...
131
	29:optional i64 preferredWarehouse,
132
	29:optional i64 preferredWarehouse,
132
	30:optional i64 defaultWarehouse,
133
	30:optional i64 defaultWarehouse,
133
	31:optional bool isWarehousePreferenceSticky,
134
	31:optional bool isWarehousePreferenceSticky,
134
	32:i32 warrantyPeriod,
135
	32:i32 warrantyPeriod,
135
	33:optional i64 preferredVendor,
136
	33:optional i64 preferredVendor,
136
	34:ItemType type
137
	34:ItemType type,
-
 
138
	35:optional i64 comingSoonStartDate,
-
 
139
	36:optional i64 expectedArrivalDate
137
}
140
}
138
 
141
 
139
struct VendorItemPricing{
142
struct VendorItemPricing{
140
	1:i64 vendorId,
143
	1:i64 vendorId,
141
	2:i64 itemId,
144
	2:i64 itemId,
Line 314... Line 317...
314
	i64 getBestSellersCount() throws (1:InventoryServiceException cex),
317
	i64 getBestSellersCount() throws (1:InventoryServiceException cex),
315
	
318
	
316
	list<Item> getBestDeals() throws (1:InventoryServiceException isex),
319
	list<Item> getBestDeals() throws (1:InventoryServiceException isex),
317
	list<i64> getBestDealsCatalogIds(1:i64 beginIndex, 2:i64 totalItems, 3:string brand, 4:i64 category) throws (1:InventoryServiceException cex),
320
	list<i64> getBestDealsCatalogIds(1:i64 beginIndex, 2:i64 totalItems, 3:string brand, 4:i64 category) throws (1:InventoryServiceException cex),
318
	i64 getBestDealsCount() throws (1:InventoryServiceException cex),
321
	i64 getBestDealsCount() throws (1:InventoryServiceException cex),
-
 
322
 
-
 
323
	list<Item> getComingSoon() throws (1:InventoryServiceException isex),
-
 
324
	list<i64> getComingSoonCatalogIds(1:i64 beginIndex, 2:i64 totalItems, 3:string brand, 4:i64 category) throws (1:InventoryServiceException cex),
-
 
325
	i64 getComingSoonCount() throws (1:InventoryServiceException cex),
319
	
326
	
320
	/**
327
	/**
321
	Returns a list of items sorted in the descending order by start date.
328
	Returns a list of items sorted in the descending order by start date.
322
	The list is limited to the 'latest_arrivals_count' configuraiton parameter.
329
	The list is limited to the 'latest_arrivals_count' configuraiton parameter.
323
	*/
330
	*/