CustomerGroupConfigurationsSerializer
in package
implements
CustomerGroupConfigurationsSerializerInterface
Class CustomerGroupConfigurationsSerializer
Tags
Interfaces, Classes and Traits
- CustomerGroupConfigurationsSerializerInterface
- Interface CustomerGroupConfigurationsSerializerInterface
Table of Contents
- $factory : CustomerGroupFactory
- __construct() : mixed
- CustomerGroupConfigurationsSerializer constructor.
- deserialize() : CustomerGroupConfigurationsInterface
- Deserialize a JSON string.
- encode() : string
- JSON Encode Wrapper.
- serialize() : array<string|int, mixed>
- Serialize a value to a JSON string.
Properties
$factory
protected
CustomerGroupFactory
$factory
Methods
__construct()
CustomerGroupConfigurationsSerializer constructor.
public
__construct(CustomerGroupFactory $customerGroupFactory) : mixed
Parameters
- $customerGroupFactory : CustomerGroupFactory
Return values
mixed —deserialize()
Deserialize a JSON string.
public
deserialize(StringType $configurations) : CustomerGroupConfigurationsInterface
Parameters
- $configurations : StringType
-
Content to be deserialize.
Return values
CustomerGroupConfigurationsInterface —encode()
JSON Encode Wrapper.
public
encode(CustomerGroupConfigurationsInterface $configuration) : string
Parameters
- $configuration : CustomerGroupConfigurationsInterface
-
Content to be encoded.
Return values
string —Returns the encoded JSON string that represents the data.
serialize()
Serialize a value to a JSON string.
public
serialize(CustomerGroupConfigurationsInterface $configurations) : array<string|int, mixed>
Parameters
- $configurations : CustomerGroupConfigurationsInterface
-
Content to be serialized.