CustomerProfileAction
in package
Class CustomerProfileAction
Tags
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
$adminActivityRepository
private
LogAdminActivityRepository
$adminActivityRepository
$administratorPermissionRepository
private
CustomerAdministratorPermissionRepository
$administratorPermissionRepository
$configProvider
private
CustomerConfigurationProvider
$configProvider
$countryReadService
private
CountryReadService
$countryReadService
$currencyFilterService
private
CurrencyFilterService
$currencyFilterService
$customerDefaultAddressReadService
private
CustomerDefaultAddressReadService
$customerDefaultAddressReadService
$customerDisallowedPaymentMethodsReadService
private
CustomerDisallowedPaymentMethodsReadService
$customerDisallowedPaymentMethodsReadService
$customerDisallowedShippingMethodsReadService
private
CustomerDisallowedShippingMethodsReadService
$customerDisallowedShippingMethodsReadService
$customerMemoReadService
private
CustomerMemoFilterService
$customerMemoReadService
$customerNewsletterReadService
private
CustomerNewsletterReadService
$customerNewsletterReadService
$customerProductRepository
private
CustomerProductRepository
$customerProductRepository
$customerReadService
private
CustomerReadService
$customerReadService
$customers
private
array<string|int, mixed>
$customers
= []
$customerStatisticsReadService
private
CustomerStatisticsReadService
$customerStatisticsReadService
$datetimeFormat
private
string
$datetimeFormat
$historyReadService
private
CustomerHistoryReadService
$historyReadService
$languageId
private
int
$languageId
$legacyCustomerGroupReader
private
LegacyCustomerGroupReader
$legacyCustomerGroupReader
$userConfigurationRepository
private
CustomerUserConfigurationRepository
$userConfigurationRepository
$userId
private
int|null
$userId
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 —__invoke()
public
__invoke(Request $request, Response $response, array<string|int, mixed> $args) : Response
Parameters
Return values
Response —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
Return values
array<string|int, mixed> —addProductInformationToDataArray()
private
addProductInformationToDataArray(array<string|int, mixed> &$data) : void
Parameters
- $data : array<string|int, mixed>
Return values
void —getCustomerById()
private
getCustomerById(int $customerId) : Customer
Parameters
- $customerId : int
Tags
Return values
Customer —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>