CustomerGroupSettingsSerializer

Implements \CustomerGroupSettingsSerializerInterface

Class CustomerGroupSettingsSerializer

category

System

package

CustomerGroup

subpackage

Serializers

Methods

CustomerGroupSettingsSerializer constructor.

__construct(\CustomerGroupFactory $customerGroupFactory) 

Arguments

$customerGroupFactory

\CustomerGroupFactory

Deserialize a JSON string.

deserialize(\StringType $settings) : \CustomerGroupSettings

Arguments

$settings

\StringType

Content to be deserialize.

Response

\CustomerGroupSettings

JSON Encode Wrapper.

encode(\CustomerGroupSettingsInterface $settings) : string

Arguments

$settings

\CustomerGroupSettingsInterface

Content to be encoded.

Response

string

Returns the encoded JSON string that represents the data.

Serialize a value to a JSON string.

serialize(\CustomerGroupSettingsInterface $settings) : array

Arguments

$settings

\CustomerGroupSettingsInterface

Content to be serialized.

Response

array

Properties

factory

factory : \CustomerGroupFactory
var

Type(s)

\CustomerGroupFactory