CustomerInputToCollectionTransformer

Class CustomerInputToCollectionTransformer

category

System

package

Extensions

subpackage

Customers

Methods

Add the addon values to the customer collection.

_getCustomerAddonValuesFromInputArray(array $inputArray) : \EditableKeyValueCollection

Overload this method to extract your additional customer's data from the given input array ($_POST) to consider them while validation and registration process.

Arguments

$inputArray

array

Response

\EditableKeyValueCollection

_getCustomerCollectionFromInputArray

_getCustomerCollectionFromInputArray(array $inputArray, \CountryServiceInterface $countryService) : \EditableKeyValueCollection

Arguments

$inputArray

array

$countryService

\CountryServiceInterface

Response

\EditableKeyValueCollection

getGuestCollectionFromInputArray

getGuestCollectionFromInputArray(array $inputArray, \CountryServiceInterface $countryService) : \EditableKeyValueCollection

Arguments

$inputArray

array

$countryService

\CountryServiceInterface

Response

\EditableKeyValueCollection

getRegistreeCollectionFromInputArray

getRegistreeCollectionFromInputArray(array $inputArray, \CountryServiceInterface $countryService) : \EditableKeyValueCollection

Arguments

$inputArray

array

$countryService

\CountryServiceInterface

Response

\EditableKeyValueCollection