public ShoppingCart(IItemPage itemPage, ISignInPage signInPage, ICheckoutPage checkoutPage, IShippingAddressPage shippingAddressPage) { _itemPage = itemPage; _signInPage = signInPage; _checkoutPage = checkoutPage; _shippingAddressPage = shippingAddressPage; }
public ShoppingCart(IItemPage itemPage, ISignInPage signInPage, ICheckoutPage checkoutPage, IShippingAddressPage shippingAddressPage) { this.itemPage = itemPage; this.signInPage = signInPage; this.checkoutPage = checkoutPage; this.shippingAddressPage = shippingAddressPage; }
public CheckoutViewModel(ICheckoutPage view) { this.view = view; CheckoutItems = new ObservableCollection <OrderDetailsViewModel> (); TotalPrice = 0; PopulateOrders(); }
public CheckoutViewModel (ICheckoutPage view) { this.view = view; CheckoutItems = new ObservableCollection<OrderDetailsViewModel> (); TotalPrice = 0; PopulateOrders (); }
public static void AssertSubtotal(this ICheckoutPage checkoutPage, double expectedSubtotal) { Assert.AreEqual(expectedSubtotal, checkoutPage.GetTotalPrice()); }