Class CustomerGroupCollectionSerializer
| category |
System |
|---|---|
| package |
CustomerGroup |
| subpackage |
Serializers |
__construct(\CustomerGroupSerializerInterface $customerGroupSerializer, \CustomerGroupFactory $factory)
_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.
_serializeCustomerGroup(\CustomerGroupInterface $customerGroup) : array
arraySerialized customer group array.
_serializeCustomerGroupConfigurations(\CustomerGroupConfigurationsInterface $configurations) : array
\CustomerGroupConfigurationsInterfaceCustomer group configuration object to be serialized.
arraySerialized customer group configuration array.
_serializeCustomerGroupNames(array $customerGroupNames) : array
arrayCustomer group names array to be serialized.
arraySerialized customer group names array.
_serializeCustomerGroupSettings(\CustomerGroupSettingsInterface $settings) : array
arraySerialized customer group settings array.
deserialize(\StringType $collection) : \CustomerGroupCollection
encode(\CustomerGroupCollection $collection) : string
stringReturns the encoded JSON string that represents the data.
serialize(\CustomerGroupCollection $collection) : array
customerGroupSerializer : \CustomerGroupSerializerInterface