C# Class VirtoCommerce.WebStore.Converters.CheckoutConverter

Show file Open project: VirtoCommerce/vc-orchard-cms

Public Methods

Method Description
ToApiModel ( this checkoutViewModel ) : VirtoCommerce.ApiClient.DataContracts.Cart.ShoppingCart
ToViewModel ( this cart, IEnumerable paymentMethods, IEnumerable shippingMethods ) : Checkout

Method Details

ToApiModel() public static method

public static ToApiModel ( this checkoutViewModel ) : VirtoCommerce.ApiClient.DataContracts.Cart.ShoppingCart
checkoutViewModel this
return VirtoCommerce.ApiClient.DataContracts.Cart.ShoppingCart

ToViewModel() public static method

public static ToViewModel ( this cart, IEnumerable paymentMethods, IEnumerable shippingMethods ) : Checkout
cart this
paymentMethods IEnumerable
shippingMethods IEnumerable
return VirtoCommerce.WebStore.ViewModels.Checkout