C# 클래스 VirtoCommerce.Web.Convertors.CartConverters

파일 보기 프로젝트 열기: VirtoCommerce/vc-internal

공개 메소드들

메소드 설명
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

메소드 상세

AsCartServiceModel() 공개 정적인 메소드

public static AsCartServiceModel ( this customerAddress ) : Address
customerAddress this
리턴 Address

AsCartWebModel() 공개 정적인 메소드

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

AsCheckoutWebModel() 공개 정적인 메소드

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

AsServiceModel() 공개 정적인 메소드

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

AsServiceModel() 공개 정적인 메소드

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

AsServiceModel() 공개 정적인 메소드

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

AsWebModel() 공개 정적인 메소드

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

AsWebModel() 공개 정적인 메소드

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

AsWebModel() 공개 정적인 메소드

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