public decimal?GetMarketDefaultPrice(decimal sourcePrice, MarketType market, string marketplaceId, IDictionary <string, decimal?> rateForMarketplace) { var defaultPrice = RateHelper.CalculateForMarket(market, marketplaceId, sourcePrice, rateForMarketplace[MarketplaceKeeper.AmazonComMarketplaceId], rateForMarketplace[MarketplaceKeeper.AmazonCaMarketplaceId], rateForMarketplace[MarketplaceKeeper.AmazonUkMarketplaceId], rateForMarketplace[MarketplaceKeeper.AmazonAuMarketplaceId], RateService.GetMarketShippingAmount(MarketType.Amazon, MarketplaceKeeper.AmazonComMarketplaceId), RateService.GetMarketShippingAmount((MarketType)market, marketplaceId), RateService.GetMarketExtraAmount((MarketType)market, marketplaceId)); return(defaultPrice); }