C# Class VirtoCommerce.Web.Models.Services.CustomerService

Exibir arquivo Open project: VirtoCommerce/vc-internal Class Usage Examples

Public Methods

Method Description
CreateCustomerAsync ( Customer customer ) : Task
CustomerService ( ) : System.Collections.Generic
GetCustomerAsync ( string email, string storeId ) : Task
GetOrderAsync ( string storeId, string customerId, string orderNumber ) : Task
GetOrdersAsync ( string storeId, string customerId, string query, int skip, int take ) : Task
UpdateCustomerAsync ( Customer customer ) : System.Threading.Tasks.Task
UpdateOrderAsync ( VirtoCommerce order ) : System.Threading.Tasks.Task

Private Methods

Method Description
GetContactAsync ( string email ) : Task

Method Details

CreateCustomerAsync() public method

public CreateCustomerAsync ( Customer customer ) : Task
customer VirtoCommerce.Web.Models.Customer
return Task

CustomerService() public method

public CustomerService ( ) : System.Collections.Generic
return System.Collections.Generic

GetCustomerAsync() public method

public GetCustomerAsync ( string email, string storeId ) : Task
email string
storeId string
return Task

GetOrderAsync() public method

public GetOrderAsync ( string storeId, string customerId, string orderNumber ) : Task
storeId string
customerId string
orderNumber string
return Task

GetOrdersAsync() public method

public GetOrdersAsync ( string storeId, string customerId, string query, int skip, int take ) : Task
storeId string
customerId string
query string
skip int
take int
return Task

UpdateCustomerAsync() public method

public UpdateCustomerAsync ( Customer customer ) : System.Threading.Tasks.Task
customer VirtoCommerce.Web.Models.Customer
return System.Threading.Tasks.Task

UpdateOrderAsync() public method

public UpdateOrderAsync ( VirtoCommerce order ) : System.Threading.Tasks.Task
order VirtoCommerce
return System.Threading.Tasks.Task