ProductGroupPriceSerializer
in package
Table of Contents
- $graduatedPriceSerializer : GraduatedPriceSerializer
- __construct() : mixed
- ProductGroupPriceSerializer constructor.
- deserialize() : ProductGroupPrice
- deserializeCollection() : ProductGroupPriceCollection
- serialize() : array<string|int, mixed>
- Serializes the product group price.
- serializeCollection() : array<string|int, mixed>
- Serializes the product group price collection.
Properties
$graduatedPriceSerializer
protected
GraduatedPriceSerializer
$graduatedPriceSerializer
Methods
__construct()
ProductGroupPriceSerializer constructor.
public
__construct(GraduatedPriceSerializer $graduatedPriceSerializer) : mixed
Parameters
- $graduatedPriceSerializer : GraduatedPriceSerializer
Return values
mixed —deserialize()
public
deserialize(mixed $groupPriceDataArray) : ProductGroupPrice
Parameters
- $groupPriceDataArray : mixed
Return values
ProductGroupPrice —deserializeCollection()
public
deserializeCollection(mixed $groupPriceCollectionData) : ProductGroupPriceCollection
Parameters
- $groupPriceCollectionData : mixed
Return values
ProductGroupPriceCollection —serialize()
Serializes the product group price.
public
serialize(ProductGroupPriceInterface $productGroupPrice) : array<string|int, mixed>
Parameters
- $productGroupPrice : ProductGroupPriceInterface
Return values
array<string|int, mixed> —serializeCollection()
Serializes the product group price collection.
public
serializeCollection(ProductGroupPriceCollection $productGroupPriceCollection) : array<string|int, mixed>
Parameters
- $productGroupPriceCollection : ProductGroupPriceCollection