Class CustomerGroupSerializer

Class CustomerGroupSerializer

CustomerGroupSerializer implements CustomerGroupSerializerInterface

Methods summary

public __construct( CustomerGroupSettingsSerializerInterface $settingsSerializer, CustomerGroupConfigurationsSerializerInterface $configurationsSerializer, CustomerGroupFactory $customerGroupFactory )

CustomerGroupSerializer constructor.

public serialize( CustomerGroupInterface $customerGroup ) : array

Serialize a value to a JSON string.

public encode( CustomerGroupInterface $customerGroup ) : string

JSON Encode Wrapper.

public deserialize( StringType $customerGroup ) : CustomerGroupInterface

Deserialize a JSON string.

protected _serializeCustomerGroupNames( array $customerGroupNames ) : array

Serializes customer group names array.

Properties summary