private void SetupShippingMethods(List <ShippingMethod> shippingMethods) { var currentShippingMethod = TransactionLibrary.GetShippingMethod(); var currentBasket = TransactionLibrary.GetBasket().PurchaseOrder; foreach (ShippingMethod shippingMethod in shippingMethods) { var price = shippingMethod.GetPriceForCurrency(currentBasket.BillingCurrency); var formattedPrice = new Money((price == null ? 0 : price.Price), currentBasket.BillingCurrency); ListItem currentListItem = new ListItem($"{shippingMethod.Name} ({formattedPrice})", shippingMethod.Id.ToString()); currentListItem.Selected = currentShippingMethod.Id == shippingMethod.Id; rblShippingMethods.Items.Add(currentListItem); } }