Class CustomerGroupSerializer
category |
System |
---|---|
package |
CustomerGroup |
subpackage |
Serializers |
__construct(\CustomerGroupSettingsSerializerInterface $settingsSerializer, \CustomerGroupConfigurationsSerializerInterface $configurationsSerializer, \CustomerGroupFactory $customerGroupFactory)
\CustomerGroupSettingsSerializerInterface
\CustomerGroupConfigurationsSerializerInterface
\CustomerGroupFactory
_serializeCustomerGroupNames(array $customerGroupNames) : array
array
Customer group names array to be serialized.
array
Serialized customer group names array.
deserialize(\StringType $customerGroup) : \CustomerGroupInterface
encode(\CustomerGroupInterface $customerGroup) : string
string
Returns the encoded JSON string that represents the data.
serialize(\CustomerGroupInterface $customerGroup) : array
settingsSerializer : \CustomerGroupSettingsSerializerInterface
configurationsSerializer : \CustomerGroupConfigurationsSerializerInterface