C# Class VirtoCommerce.Web.Convertors.CartConverters

Mostrar archivo Open project: VirtoCommerce/vc-internal

Public Methods

Method Description
AsCartServiceModel ( this customerAddress ) : Address
AsCartWebModel ( this address ) : VirtoCommerce.Web.Models.CustomerAddress
AsCheckoutWebModel ( this cart, VirtoCommerce order = null ) : VirtoCommerce.Web.Models.Checkout
AsServiceModel ( this item ) : VirtoCommerce.ApiClient.DataContracts.Cart.CartItem
AsServiceModel ( this cart ) : VirtoCommerce.ApiClient.DataContracts.Cart.ShoppingCart
AsServiceModel ( this checkoutModel, VirtoCommerce.ApiClient.DataContracts.Cart &cart ) : VirtoCommerce.ApiClient.DataContracts.Cart.ShoppingCart
AsWebModel ( this cart ) : VirtoCommerce.Web.Models.Cart
AsWebModel ( this item ) : VirtoCommerce.Web.Models.LineItem
AsWebModel ( this paymentMethod ) : PaymentMethod

Method Details

AsCartServiceModel() public static method

public static AsCartServiceModel ( this customerAddress ) : Address
customerAddress this
return Address

AsCartWebModel() public static method

public static AsCartWebModel ( this address ) : VirtoCommerce.Web.Models.CustomerAddress
address this
return VirtoCommerce.Web.Models.CustomerAddress

AsCheckoutWebModel() public static method

public static AsCheckoutWebModel ( this cart, VirtoCommerce order = null ) : VirtoCommerce.Web.Models.Checkout
cart this
order VirtoCommerce
return VirtoCommerce.Web.Models.Checkout

AsServiceModel() public static method

public static AsServiceModel ( this item ) : VirtoCommerce.ApiClient.DataContracts.Cart.CartItem
item this
return VirtoCommerce.ApiClient.DataContracts.Cart.CartItem

AsServiceModel() public static method

public static AsServiceModel ( this cart ) : VirtoCommerce.ApiClient.DataContracts.Cart.ShoppingCart
cart this
return VirtoCommerce.ApiClient.DataContracts.Cart.ShoppingCart

AsServiceModel() public static method

public static AsServiceModel ( this checkoutModel, VirtoCommerce.ApiClient.DataContracts.Cart &cart ) : VirtoCommerce.ApiClient.DataContracts.Cart.ShoppingCart
checkoutModel this
cart VirtoCommerce.ApiClient.DataContracts.Cart
return VirtoCommerce.ApiClient.DataContracts.Cart.ShoppingCart

AsWebModel() public static method

public static AsWebModel ( this cart ) : VirtoCommerce.Web.Models.Cart
cart this
return VirtoCommerce.Web.Models.Cart

AsWebModel() public static method

public static AsWebModel ( this item ) : VirtoCommerce.Web.Models.LineItem
item this
return VirtoCommerce.Web.Models.LineItem

AsWebModel() public static method

public static AsWebModel ( this paymentMethod ) : PaymentMethod
paymentMethod this
return VirtoCommerce.Web.Models.PaymentMethod