phpDocumentor

CustomerProfileAction

Class CustomerProfileAction

Tags
codeCoverageIgnore

Table of Contents

$adminActivityRepository  : LogAdminActivityRepository
$administratorPermissionRepository  : CustomerAdministratorPermissionRepository
$configProvider  : CustomerConfigurationProvider
$countryReadService  : CountryReadService
$currencyFilterService  : CurrencyFilterService
$customerDefaultAddressReadService  : CustomerDefaultAddressReadService
$customerDisallowedPaymentMethodsReadService  : CustomerDisallowedPaymentMethodsReadService
$customerDisallowedShippingMethodsReadService  : CustomerDisallowedShippingMethodsReadService
$customerMemoReadService  : CustomerMemoFilterService
$customerNewsletterReadService  : CustomerNewsletterReadService
$customerProductRepository  : CustomerProductRepository
$customerReadService  : CustomerReadService
$customers  : array<string|int, mixed>
$customerStatisticsReadService  : CustomerStatisticsReadService
$datetimeFormat  : string
$historyReadService  : CustomerHistoryReadService
$languageId  : int
$legacyCustomerGroupReader  : LegacyCustomerGroupReader
$userConfigurationRepository  : CustomerUserConfigurationRepository
$userId  : int|null
__construct()  : mixed
__invoke()  : Response
addCustomerObjectToHistoryEntries()  : array<string|int, mixed>
addCustomerObjectToMemos()  : array<string|int, mixed>
addProductInformationToDataArray()  : void
getCustomerById()  : Customer
parseActiveCountries()  : array<string|int, mixed>
Parses the country zones to return only the "id" and "name", which are used by the front-end

Properties

Methods

__construct()

public __construct(CustomerReadService $customerReadService, CustomerMemoFilterService $customerMemoReadService, LegacyCustomerGroupReader $legacyCustomerGroupReader, CustomerStatisticsReadService $customerStatisticsReadService, CurrencyFilterService $currencyFilterService, CustomerHistoryReadService $historyReadService, CustomerConfigurationProvider $configProvider, CustomerDisallowedPaymentMethodsReadService $customerDisallowedPaymentMethodsReadService, CustomerDisallowedShippingMethodsReadService $customerDisallowedShippingMethodsReadService, CustomerDefaultAddressReadService $customerDefaultAddressReadService, CustomerProductRepository $customerProductRepository, CountryReadService $countryReadService, LogAdminActivityRepository $adminActivityRepository, CustomerUserConfigurationRepository $userConfigurationRepository, CustomerAdministratorPermissionRepository $administratorPermissionRepository, CustomerNewsletterReadService $customerNewsletterReadService, UserPreferences $userPreferences) : mixed
Parameters
$customerReadService : CustomerReadService
$customerMemoReadService : CustomerMemoFilterService
$legacyCustomerGroupReader : LegacyCustomerGroupReader
$customerStatisticsReadService : CustomerStatisticsReadService
$currencyFilterService : CurrencyFilterService
$historyReadService : CustomerHistoryReadService
$configProvider : CustomerConfigurationProvider
$customerDisallowedPaymentMethodsReadService : CustomerDisallowedPaymentMethodsReadService
$customerDisallowedShippingMethodsReadService : CustomerDisallowedShippingMethodsReadService
$customerDefaultAddressReadService : CustomerDefaultAddressReadService
$customerProductRepository : CustomerProductRepository
$countryReadService : CountryReadService
$adminActivityRepository : LogAdminActivityRepository
$userConfigurationRepository : CustomerUserConfigurationRepository
$administratorPermissionRepository : CustomerAdministratorPermissionRepository
$customerNewsletterReadService : CustomerNewsletterReadService
$userPreferences : UserPreferences
Return values
mixed

addCustomerObjectToHistoryEntries()

private addCustomerObjectToHistoryEntries(array<string|int, mixed> $history) : array<string|int, mixed>
Parameters
$history : array<string|int, mixed>
Return values
array<string|int, mixed>

addCustomerObjectToMemos()

private addCustomerObjectToMemos(array<string|int, mixed> $memos) : array<string|int, mixed>
Parameters
$memos : array<string|int, mixed>
Tags
throws
CustomerDoesNotExistException
Return values
array<string|int, mixed>

addProductInformationToDataArray()

private addProductInformationToDataArray(array<string|int, mixed> &$data) : void
Parameters
$data : array<string|int, mixed>
Return values
void

parseActiveCountries()

Parses the country zones to return only the "id" and "name", which are used by the front-end

private parseActiveCountries(array<string|int, mixed> $activeCountries) : array<string|int, mixed>
Parameters
$activeCountries : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results