GraduatedPriceSerializer

package

Default

Methods

Deserialize the given json string to a product price quantity entity.

deserialize(mixed $graduatedPrice) : \GraduatedPrice

Arguments

$graduatedPrice

mixed

Response

\GraduatedPrice

deserializeCollection

deserializeCollection(mixed $graduatedPriceCollectionData) : \GraduatedPriceCollection

Arguments

$graduatedPriceCollectionData

mixed

Response

\GraduatedPriceCollection

Serialize a value to a JSON string.

serialize(\GraduatedPriceInterface $graduatedPrice) : array

Arguments

$graduatedPrice

\GraduatedPriceInterface

Content to be serialized.

Response

array

Serializes the graduated price collection.

serializeCollection(\GraduatedPriceCollection $collection) : array

Arguments

Response

array