CreateAccountProcess
extends AbstractCreateAccountProcess
in package
Class CreateAccountProcess
Tags
Table of Contents
- $countryService : CountryService
- $customerCollection : KeyValueCollection
- $customerWriteService : CustomerService
- $econda : econda
- $giftCode : string
- __construct() : mixed
- proceedGuest() : mixed
- proceedRegistree() : mixed
- _buildMailDataArray() : array<string|int, mixed>
- _createAddressBlock() : AddressBlock
- _formatDateOfBirth() : string
- _getSignUpCouponCollection() : KeyValueCollection
- _login() : mixed
- _prepareCustomerArray() : mixed
- _proceedMail() : mixed
- _proceedTracking() : mixed
- _proceedVoucher() : mixed
- _saveGuest() : mixed
- _saveRegistree() : mixed
- _sendMail() : mixed
- _validateGuest() : mixed
- _validateRegistree() : bool
Properties
$countryService
protected
CountryService
$countryService
$customerCollection
protected
KeyValueCollection
$customerCollection
$customerWriteService
protected
CustomerService
$customerWriteService
$econda
protected
econda
$econda
Tags
$giftCode
protected
string
$giftCode
= ''
Methods
__construct()
public
__construct(CustomerWriteServiceInterface $customerWriteService, CountryServiceInterface $countryService[, econda $econda = null ]) : mixed
Parameters
- $customerWriteService : CustomerWriteServiceInterface
- $countryService : CountryServiceInterface
- $econda : econda = null
Return values
mixed —proceedGuest()
public
proceedGuest(KeyValueCollection $customerCollection) : mixed
Parameters
- $customerCollection : KeyValueCollection
Tags
Return values
mixed —proceedRegistree()
public
proceedRegistree(KeyValueCollection $customerCollection, GMLogoManager $logoManager) : mixed
Parameters
- $customerCollection : KeyValueCollection
- $logoManager : GMLogoManager
Tags
Return values
mixed —_buildMailDataArray()
protected
_buildMailDataArray(GMLogoManager $logoManager) : array<string|int, mixed>
Parameters
- $logoManager : GMLogoManager
Return values
array<string|int, mixed> —_createAddressBlock()
protected
_createAddressBlock() : AddressBlock
Return values
AddressBlock —_formatDateOfBirth()
protected
_formatDateOfBirth(string $p_dateOfBirth) : string
Parameters
- $p_dateOfBirth : string
Return values
string —YYYY-MM-DD or ''
_getSignUpCouponCollection()
protected
_getSignUpCouponCollection() : KeyValueCollection
Return values
KeyValueCollection —_login()
protected
_login() : mixed
Return values
mixed —_prepareCustomerArray()
protected
_prepareCustomerArray() : mixed
Return values
mixed —_proceedMail()
protected
_proceedMail(GMLogoManager $logoManager) : mixed
Parameters
- $logoManager : GMLogoManager
Return values
mixed —_proceedTracking()
protected
_proceedTracking() : mixed
Return values
mixed —_proceedVoucher()
protected
_proceedVoucher() : mixed
Return values
mixed —_saveGuest()
protected
_saveGuest() : mixed
Tags
Return values
mixed —_saveRegistree()
protected
_saveRegistree() : mixed
Return values
mixed —_sendMail()
protected
_sendMail(array<string|int, mixed> $mailDataArray) : mixed
Parameters
- $mailDataArray : array<string|int, mixed>
Return values
mixed —_validateGuest()
protected
_validateGuest() : mixed
Tags
Return values
mixed —_validateRegistree()
protected
_validateRegistree() : bool
Return values
bool —true if account will be created as guest account