public async Task <CartBuilder> AddShipmentAsync(ShippingMethod shippingMethod) { var shipment = shippingMethod.ToShipmentModel(_currency); _cart.Shipments.Clear(); _cart.Shipments.Add(shipment); await EvaluatePromotionsAsync(); return(this); }
public async Task<CartBuilder> AddShipmentAsync(ShippingMethod shippingMethod) { var shipment = shippingMethod.ToShipmentModel(_currency); _cart.Shipments.Clear(); _cart.Shipments.Add(shipment); await EvaluatePromotionsAsync(); return this; }