C# Class Kooboo.Commerce.Customers.CustomerService

Afficher le fichier Open project: Kooboo/Ecommerce Class Usage Examples

Méthodes publiques

Méthode Description
AddAddress ( Customer customer, Address address ) : void
Addresses ( ) : IQueryable
Create ( Customer customer ) : void
CustomerService ( CommerceInstance instance ) : System
Delete ( Customer customer ) : void
Find ( int id ) : Customer
FindByEmail ( string email ) : Customer
Query ( ) : IQueryable
Update ( Customer customer ) : void

Private Methods

Méthode Description
CanUseEmail ( Customer customer, string email ) : bool

Method Details

AddAddress() public méthode

public AddAddress ( Customer customer, Address address ) : void
customer Customer
address Address
Résultat void

Addresses() public méthode

public Addresses ( ) : IQueryable
Résultat IQueryable

Create() public méthode

public Create ( Customer customer ) : void
customer Customer
Résultat void

CustomerService() public méthode

public CustomerService ( CommerceInstance instance ) : System
instance Kooboo.Commerce.Data.CommerceInstance
Résultat System

Delete() public méthode

public Delete ( Customer customer ) : void
customer Customer
Résultat void

Find() public méthode

public Find ( int id ) : Customer
id int
Résultat Customer

FindByEmail() public méthode

public FindByEmail ( string email ) : Customer
email string
Résultat Customer

Query() public méthode

public Query ( ) : IQueryable
Résultat IQueryable

Update() public méthode

public Update ( Customer customer ) : void
customer Customer
Résultat void