Subversion Repositories SmartDukaan

Rev

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

Rev 9895 Rev 9909
Line 60... Line 60...
60
	HIGH = 1,
60
	HIGH = 1,
61
	MEDIUM = 2,
61
	MEDIUM = 2,
62
	LOW = 3 
62
	LOW = 3 
63
}
63
}
64
 
64
 
-
 
65
enum Decision {
-
 
66
	AUTO_DECREMENT_SUCCESS = 1,
-
 
67
	AUTO_INCREMENT_SUCCESS = 2,
-
 
68
	AUTO_DECREMENT_FAILED = 3,
-
 
69
	AUTO_INCREMENT_FAILED = 4
-
 
70
}
-
 
71
 
65
struct Item{
72
struct Item{
66
	1:i64 id,
73
	1:i64 id,
67
	2:string productGroup
74
	2:string productGroup
68
	3:string brand,
75
	3:string brand,
69
	4:string modelNumber,
76
	4:string modelNumber,
Line 320... Line 327...
320
	15:bool autoFavourite,
327
	15:bool autoFavourite,
321
	16:double currentSp,
328
	16:double currentSp,
322
	17:double currentTp,
329
	17:double currentTp,
323
	18:double minimumPossibleSp,
330
	18:double minimumPossibleSp,
324
	19:double minimumPossibleTp,
331
	19:double minimumPossibleTp,
325
	20:i64 lastCheckedTimestamp
332
	20:i64 lastCheckedTimestamp,
-
 
333
	21:double maximumSellingPrice
326
}
334
}
327
 
335
 
328
struct SnapdealItem{
336
struct SnapdealItem{
329
	1:i64 item_id,
337
	1:i64 item_id,
330
	2:i64 warehouseId,
338
	2:i64 warehouseId,
Line 777... Line 785...
777
	
785
	
778
	MarketplacePercentage getCostingForMarketplace(1:i64 source,2:i64 item_id)
786
	MarketplacePercentage getCostingForMarketplace(1:i64 source,2:i64 item_id)
779
	
787
	
780
	list<MarketPlaceItemPrice> getMarketPlaceItemsForPriceUpdate(1:i64 source),
788
	list<MarketPlaceItemPrice> getMarketPlaceItemsForPriceUpdate(1:i64 source),
781
	
789
	
782
	void updateMarketPlacePriceUpdateStatus(1:list<i64> skulist,2:i64 timestamp,3:i64 source)
790
	void updateMarketPlacePriceUpdateStatus(1:list<i64> skulist,2:i64 timestamp,3:i64 source),
783
	
791
	
784
	void updateItemHoldInventory(1:map<i64,i64> itemHoldMap)	
792
	void updateItemHoldInventory(1:map<i64,i64> itemHoldMap)	
785
	
793
	
786
	void updateNlcAtMarketplaces(1:i64 item_id,2:i64 vendor_id,double nlc)
794
	void updateNlcAtMarketplaces(1:i64 item_id,2:i64 vendor_id,double nlc)
787
	
795