CustomerGroupConfigurationsSerializer

Implements \CustomerGroupConfigurationsSerializerInterface

Class CustomerGroupConfigurationsSerializer

category

System

package

CustomerGroup

subpackage

Serializers

Methods

CustomerGroupConfigurationsSerializer constructor.

__construct(\CustomerGroupFactory $customerGroupFactory) 

Arguments

$customerGroupFactory

\CustomerGroupFactory

Deserialize a JSON string.

deserialize(\StringType $configurations) : \CustomerGroupConfigurationsInterface

Arguments

$configurations

\StringType

Content to be deserialize.

Response

\CustomerGroupConfigurationsInterface

JSON Encode Wrapper.

encode(\CustomerGroupConfigurationsInterface $configuration) : string

Arguments

$configuration

\CustomerGroupConfigurationsInterface

Content to be encoded.

Response

string

Returns the encoded JSON string that represents the data.

Serialize a value to a JSON string.

serialize(\CustomerGroupConfigurationsInterface $configurations) : array

Arguments

$configurations

\CustomerGroupConfigurationsInterface

Content to be serialized.

Response

array

Properties

factory

factory : \CustomerGroupFactory
var

Type(s)

\CustomerGroupFactory