private static ProcessedAccountPrice ConvertAccountPrice(AccountPrice accountPrice) { return(new ProcessedAccountPrice { AccountId = accountPrice.AccountId, ParentId = accountPrice.ParentId, Prices = accountPrice.Prices?.Select((price) => { return $"{price.Value} {price.Currency}"; }).ToArray(), SalePrices = accountPrice.SalePrices?.Select((price) => { return $"{price.Value} {price.Currency}"; }).ToArray(), Sku = accountPrice.Sku }); }
public AddItemResult AddAccountPrice(AccountPrice accountPrice) { _feedsValid = false; return(_accountPriceCollection.AddItem(accountPrice)); }