ProductOption

class Firstred\PostNL\Entity\ProductOption
Class ProductOption.
Parent:

Firstred\PostNL\Entity\AbstractEntity

Summary

Methods

Properties

public property Firstred\PostNL\Entity\ProductOption::$defaultProperties
Type:

string[][]

protected static property Firstred\PostNL\Entity\ProductOption::$Characteristic
Type:

string | null

protected static property Firstred\PostNL\Entity\ProductOption::$Option
Type:

string | null

protected static property Firstred\PostNL\Entity\ProductOption::$Description
Type:

string | null

Methods

public Firstred\PostNL\Entity\ProductOption::__construct($Characteristic=null, $Option=null, $Description=null)
Parameters:
  • $Characteristic (string | null)

  • $Option (string | null)

  • $Description (string | null)

public static Firstred\PostNL\Entity\ProductOption::jsonDeserialize($json)
Parameters:
  • $json (stdClass)

Returns:

mixed | \stdClass | null

Throws:

\Firstred\PostNL\Exception\InvalidArgumentException

Throws:

\Firstred\PostNL\Exception\NotSupportedException

Throws:

\Firstred\PostNL\Exception\InvalidArgumentException

Throws:

\Firstred\PostNL\Exception\NotSupportedException

Since:

1.2.0