Subversion Repositories SmartDukaan

Rev

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

Rev 4283 Rev 4295
Line 103... Line 103...
103
	28:i64 updatedOn,
103
	28:i64 updatedOn,
104
	29:optional i64 bestSellingRank, 
104
	29:optional i64 bestSellingRank, 
105
	30:string hotspotCategory,
105
	30:string hotspotCategory,
106
	31:bool risky,
106
	31:bool risky,
107
	32:optional i32 expectedDelay,
107
	32:optional i32 expectedDelay,
108
	33:optional string preferredWarehouse
108
	33:optional string preferredWarehouse,
-
 
109
	34:i32 warrantyPeriod
109
}
110
}
110
 
111
 
111
struct VendorItemPricing{
112
struct VendorItemPricing{
112
	1:i64 vendorId,
113
	1:i64 vendorId,
113
	2:i64 itemId,
114
	2:i64 itemId,
Line 158... Line 159...
158
	2:i64 available,
159
	2:i64 available,
159
	3:i64 reserved,
160
	3:i64 reserved,
160
	4:i64 minimumStock
161
	4:i64 minimumStock
161
}
162
}
162
 
163
 
-
 
164
struct ProductNotificationRequest	{
-
 
165
	1:Item item,
-
 
166
	2:string email,
-
 
167
	3:i64 addedOn
-
 
168
}
-
 
169
 
-
 
170
struct ProductNotificationRequestCount	{
-
 
171
	1:Item item,
-
 
172
	2:i64 count
-
 
173
}
-
 
174
 
163
exception InventoryServiceException{
175
exception InventoryServiceException{
164
	1:i64 id,
176
	1:i64 id,
165
	2:string message
177
	2:string message
166
}
178
}
167
 
179
 
Line 425... Line 437...
425
	i32 getSearchResultCount(1:list<string> searchTerms),
437
	i32 getSearchResultCount(1:list<string> searchTerms),
426
	
438
	
427
	/**
439
	/**
428
	Returns a list of inventory stock for items for which there are pending orders for the given vendor.
440
	Returns a list of inventory stock for items for which there are pending orders for the given vendor.
429
	*/
441
	*/
430
	list<AvailableAndReservedStock> getPendingOrdersInventory(1:i64 vendorid)
442
	list<AvailableAndReservedStock> getPendingOrdersInventory(1:i64 vendorid),
431
}
443
	
-
 
444
	/**
-
 
445
	Returns a list of product notifications added after a supplied datetime
-
 
446
	*/
-
 
447
	list<ProductNotificationRequest> getProductNotifications(1:i64 startDateTime),
432
 
448
	
-
 
449
	/**
-
 
450
	Returns a list of count of requests for product notification against each item
-
 
451
	*/
-
 
452
	list<ProductNotificationRequestCount> getProductNotificationRequestCount(1:i64 startDateTime)
-
 
453
}
433
454