Subversion Repositories SmartDukaan

Rev

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

Rev 9155 Rev 9242
Line 78... Line 78...
78
	40:string bestDealsDetailsLink,
78
	40:string bestDealsDetailsLink,
79
	41:i64 preferredInsurer,
79
	41:i64 preferredInsurer,
80
	42:string asin,
80
	42:string asin,
81
	43:i64 defaultInventory,
81
	43:i64 defaultInventory,
82
	44:i64 holdInventory
82
	44:i64 holdInventory
83
	45:bool isListedOnSnapdeal
-
 
84
}
83
}
85
 
84
 
86
struct Insurer{
85
struct Insurer{
87
	1:i64 id,
86
	1:i64 id,
88
	2:string name,
87
	2:string name,
Line 273... Line 272...
273
 
272
 
274
struct SnapdealItem{
273
struct SnapdealItem{
275
	1:i64 item_id,
274
	1:i64 item_id,
276
	2:i64 warehouseId,
275
	2:i64 warehouseId,
277
	3:double exceptionPrice,
276
	3:double exceptionPrice,
278
	4:bool isListedOnSnapdeal
277
	4:bool isListedOnSnapdeal,
-
 
278
	5:double transferPrice,
-
 
279
    6:double sellingPrice,
-
 
280
    7:double courierCost,
-
 
281
    8:double commission,
-
 
282
    9:double serviceTax,
-
 
283
    10:bool suppressPriceFeed,
-
 
284
    11:bool suppressInventoryFeed
-
 
285
}    
-
 
286
 
-
 
287
struct SnapdealItemDetails{
-
 
288
	1:i64 item_id,
-
 
289
	2:i64 warehouseId,
-
 
290
	3:double exceptionPrice,
-
 
291
	4:bool isListedOnSnapdeal,
-
 
292
	5:double transferPrice,
-
 
293
    6:double sellingPrice,
-
 
294
    7:double courierCost,
-
 
295
    8:double commission,
-
 
296
    9:double serviceTax,
-
 
297
    10:string brand,
-
 
298
    11:string model_name,
-
 
299
    12:string model_number,
-
 
300
    13:string color,
-
 
301
    14:bool risky,
-
 
302
    15:status itemStatus,
-
 
303
    16:bool suppressPriceFeed,
-
 
304
    17:bool suppressInventoryFeed,
-
 
305
    18:double weight,
-
 
306
    19:double mrp,
-
 
307
    20:double websiteSellingPrice
-
 
308
    
279
}    
309
}    
280
 
310
 
281
service CatalogService extends GenericService.GenericService{
311
service CatalogService extends GenericService.GenericService{
282
 
312
 
283
/**
313
/**
Line 601... Line 631...
601
	
631
	
602
	list<Amazonlisted> getAllItemstoListOnFba()
632
	list<Amazonlisted> getAllItemstoListOnFba()
603
	
633
	
604
	list<Amazonlisted> getAllItemstoListOnNonFba()
634
	list<Amazonlisted> getAllItemstoListOnNonFba()
605
	
635
	
606
	list<Item> getAllSnapdealListedActiveItems()
-
 
607
	
-
 
608
	void updateAsin(1:map<i64, Item> item)
636
	void updateAsin(1:map<i64, Item> item)
609
	
637
	
610
	bool addOrUpdateSnapdealItem(SnapdealItem snapdealitem)
638
	bool addOrUpdateSnapdealItem(SnapdealItem snapdealitem)
611
	
639
	
612
	SnapdealItem getSnapdealItem(1:i64 item_id)
640
	SnapdealItem getSnapdealItem(1:i64 item_id)
613
	
641
	
-
 
642
	SnapdealItemDetails getSnapdealItemDetails(1:i64 item_id)
-
 
643
	
614
	list<SnapdealItem> getAllSnapdealItems()
644
	list<SnapdealItemDetails> getAllSnapdealItems()
-
 
645
	
-
 
646
	list<SnapdealItemDetails> getSnapdealItems(1:i64 offset,2:i64 limit)
-
 
647
	
-
 
648
	list<SnapdealItemDetails> searchSnapdealItems(1:list<string> searchTerm,2:i64 offset,3:i64 limit)
615
	
649
	
-
 
650
	i64 getCountForSnapdealItems()
616
	
651
	
-
 
652
	i64 getSnapdealSearchResultCount(1:list<string> searchTerm)
617
 
653
 
618
}
654
}