Class CustomerGroupSerializer
| category |
System |
|---|---|
| package |
CustomerGroup |
| subpackage |
Serializers |
__construct(\CustomerGroupSettingsSerializerInterface $settingsSerializer, \CustomerGroupConfigurationsSerializerInterface $configurationsSerializer, \CustomerGroupFactory $customerGroupFactory)
\CustomerGroupSettingsSerializerInterface
\CustomerGroupConfigurationsSerializerInterface
\CustomerGroupFactory
_deserializeCustomerGroupConfigurations(array $configurations) : \CustomerGroupConfigurationsInterface
arrayCustomer group configurations to be serialzed.
\CustomerGroupConfigurationsInterfaceDeserialize customer group configurations.
_deserializeCustomerGroupSettings(array $settings) : \CustomerGroupSettingsInterface
arrayCustomer group settings to be serialzed.
\CustomerGroupSettingsInterfaceDeserialize customer group settings.
_serializeCustomerGroupNames(array $customerGroupNames) : array
arrayCustomer group names array to be serialized.
arraySerialized customer group names array.
deserialize(\StringType $customerGroup) : \CustomerGroupInterface
encode(\CustomerGroupInterface $customerGroup) : string
stringReturns the encoded JSON string that represents the data.
serialize(\CustomerGroupInterface $customerGroup) : array
settingsSerializer : \CustomerGroupSettingsSerializerInterface
configurationsSerializer : \CustomerGroupConfigurationsSerializerInterface