Subversion Repositories SmartDukaan

Rev

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

Rev 1924 Rev 1967
Line 97... Line 97...
97
	3:double transferPrice,
97
	3:double transferPrice,
98
	4:double mop,
98
	4:double mop,
99
	5:double dealerPrice
99
	5:double dealerPrice
100
}
100
}
101
 
101
 
-
 
102
struct Category{
-
 
103
	1:i64 id,
-
 
104
	2:string label,
-
 
105
	3:string description,
-
 
106
	4:i64 parent_category_id,
-
 
107
	/**
-
 
108
	* This field should not be used.
-
 
109
	*/
-
 
110
	5:list<i64> children_category_ids
-
 
111
}
-
 
112
   
102
exception InventoryServiceException{
113
exception InventoryServiceException{
103
	1:i64 id,
114
	1:i64 id,
104
	2:string message
115
	2:string message
105
}
116
}
106
 
117
 
Line 188... Line 199...
188
	VendorItemPricing getItemPricing(1:i64 itemId, 2:i64 warehouseId) throws (1:InventoryServiceException cex),
199
	VendorItemPricing getItemPricing(1:i64 itemId, 2:i64 warehouseId) throws (1:InventoryServiceException cex),
189
	
200
	
190
	/**
201
	/**
191
	* Store category object and retrieve it
202
	* Store category object and retrieve it
192
	*/
203
	*/
-
 
204
	/**
193
	bool putCategoryObject(1:binary object),
205
	bool putCategoryObject(1:binary object),
194
	binary getCategoryObject()
206
	binary getCategoryObject()
-
 
207
	*/
-
 
208
	
-
 
209
	/**
-
 
210
	* All category related functions
-
 
211
	*/
-
 
212
	bool addCategory(1:Category category),
-
 
213
	Category getCategory(1:i64 id),
-
 
214
	list<Category> getAllCategories()
-
 
215
	
195
}
216
}
196
 
217