Interface CustomerServiceInterface

Interface CustomerServiceInterface

Direct known implementers

CustomerService

Methods summary

public createNewCustomer( CustomerEmailInterface $email, CustomerPasswordInterface $password, DateTime $dateOfBirth, CustomerVatNumberInterface $vatNumber, CustomerCallNumberInterface $telephoneNumber, CustomerCallNumberInterface $faxNumber, AddressBlockInterface $addressBlock, KeyValueCollection $addonValues ) : Customer

Creates a new customer with the given parameters.

public createNewGuest( CustomerEmailInterface $email, DateTime $dateOfBirth, CustomerVatNumberInterface $vatNumber, CustomerCallNumberInterface $telephoneNumber, CustomerCallNumberInterface $faxNumber, AddressBlockInterface $addressBlock, KeyValueCollection $addonValues ) : Customer

Creates a new guest account with the given parameters.

public registreeEmailExists( CustomerEmailInterface $email ) : boolean

Checks if the email address of the registree already exists.

public updateCustomer( CustomerInterface $customer ) : CustomerInterface

Updates customer data.

public addressIsDefaultCustomerAddress( CustomerAddressInterface $customerAddress ) : boolean

Checks if address is the default address of the customer.