C# Class VirtoCommerce.Web.Convertors.CustomerConverters

Exibir arquivo Open project: VirtoCommerce/vc-internal

Public Methods

Method Description
AsServiceModel ( this customerAddress ) : VirtoCommerce.ApiClient.DataContracts.CustomerService.Address
AsWebModel ( this contact ) : Customer
AsWebModel ( this address ) : VirtoCommerce.Web.Models.CustomerAddress

Method Details

AsServiceModel() public static method

public static AsServiceModel ( this customerAddress ) : VirtoCommerce.ApiClient.DataContracts.CustomerService.Address
customerAddress this
return VirtoCommerce.ApiClient.DataContracts.CustomerService.Address

AsWebModel() public static method

public static AsWebModel ( this contact ) : Customer
contact this
return VirtoCommerce.Web.Models.Customer

AsWebModel() public static method

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