Class CustomerWriteService
Class CustomerWriteService
This class provides methods for creating and deleting customer data
- CustomerWriteService implements CustomerWriteServiceInterface
Package: Customer
Category: System
Implements: CustomerWriteServiceInterface
Located at Services/Core/Customer/CustomerWriteService.inc.php
Category: System
Implements: CustomerWriteServiceInterface
Located at Services/Core/Customer/CustomerWriteService.inc.php
Methods summary
public
__construct( AddressBookServiceInterface $addressBookService, CustomerRepositoryInterface $customerRepository, CustomerServiceSettingsInterface $customerServiceSettings, VatNumberValidatorInterface $vatNumberValidator )
Constructor of the class CustomerService.
public
createNewRegistree( 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.