Subversion Repositories SmartDukaan

Rev

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

Rev 13495 Rev 13709
Line 608... Line 608...
608
	6:double amazonPrice,
608
	6:double amazonPrice,
609
	7:string productName,
609
	7:string productName,
610
	8:i64 lastProcessedTimestamp,
610
	8:i64 lastProcessedTimestamp,
611
	9:double diff
611
	9:double diff
612
}
612
}
-
 
613
/*
-
 
614
struct DealTag{
-
 
615
	1:i64 id,
-
 
616
	2:string name
-
 
617
}
-
 
618
 
-
 
619
struct ItemTag{
-
 
620
	1:i64 itemId,
-
 
621
	2:i64 tagId,
-
 
622
	3:i64 startDate,
-
 
623
	4:i64 endDate,
-
 
624
	5:bool status
-
 
625
}*/
613
 
626
 
614
struct CompetitorPricing {
627
struct CompetitorPricing {
615
	1:i64 item_id,
628
	1:i64 item_id,
616
	2:bool isSnapdeal,
629
	2:bool isSnapdeal,
617
	3:bool isFlipkart,
630
	3:bool isFlipkart,
Line 651... Line 664...
651
	9:bool promotionActive,
664
	9:bool promotionActive,
652
	10:double subsidyAmount,
665
	10:double subsidyAmount,
653
	11:AmazonPromotionType promotionType
666
	11:AmazonPromotionType promotionType
654
}
667
}
655
 
668
 
-
 
669
struct HsItem{
-
 
670
	1:string hsItemId,
-
 
671
	2:i64 itemId,
-
 
672
	3:string hsProductId,
-
 
673
	4:i64 listingPrice,
-
 
674
	5:i64 defaultWarehouseId
-
 
675
	6:i64 addedTimestamp,
-
 
676
	7:string addedBy
-
 
677
}
-
 
678
 
656
service CatalogService extends GenericService.GenericService{
679
service CatalogService extends GenericService.GenericService{
657
 
680
 
658
/**
681
/**
659
	Availability and inventory attributes	
682
	Availability and inventory attributes	
660
*/
683
*/
Line 1070... Line 1093...
1070
	
1093
	
1071
	AmazonOutOfSync getAmazonOutSyncItems(1:i64 item_id),
1094
	AmazonOutOfSync getAmazonOutSyncItems(1:i64 item_id),
1072
	
1095
	
1073
	list<PdPriceComp> getAllPrivateDealsComparison(),
1096
	list<PdPriceComp> getAllPrivateDealsComparison(),
1074
	
1097
	
-
 
1098
	//list<DealTag> getAllDealTags() throws (1:CatalogServiceException cex)
-
 
1099
	
-
 
1100
	//list<ItemTag> getAllItemTagsByItemId(1:i64 itemId) throws (1:CatalogServiceException cex)
-
 
1101
	
-
 
1102
	//bool addUpdateItemTag(1:ItemTag itemTag, 2:bool makeStatusInactive) throws (1:CatalogServiceException cex)
-
 
1103
	
1075
	list<SnapdealItem> getAllSnapdealMarketplaceItem(),
1104
	list<SnapdealItem> getAllSnapdealMarketplaceItem(),
1076
	
1105
	
1077
	list<FlipkartItem> getAllFlipkartMarketplaceItem(),
1106
	list<FlipkartItem> getAllFlipkartMarketplaceItem(),
1078
	
1107
	
1079
	void addCompetitorScraping(1:map<i64,CompetitorPricing> competitorPricingMap),
1108
	void addCompetitorScraping(1:map<i64,CompetitorPricing> competitorPricingMap),
Line 1098... Line 1127...
1098
	
1127
	
1099
	list<Amazonlisted> getAllFbgListedItems()
1128
	list<Amazonlisted> getAllFbgListedItems()
1100
	
1129
	
1101
	map<i64, map<string,i64>> checkServices(1:map<i64,map<string,i64>> lines) throws (1:CatalogServiceException cex)
1130
	map<i64, map<string,i64>> checkServices(1:map<i64,map<string,i64>> lines) throws (1:CatalogServiceException cex)
1102
	
1131
	
-
 
1132
	void addHsItem(1:list<HsItem> hsItems)
-
 
1133
	
-
 
1134
	HsItem getHsItem(1:string hsItemId)
1103
	
1135
	
-
 
1136
	void updateHsItem(1:HsItem hsItem)
1104
}
1137
}