Warning

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

Firstred\PostNL\Entity\AbstractEntity

Summary

Methods

Properties

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

string[][]

protected static property Firstred\PostNL\Entity\Warning::$Code
Type:

string | null

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

string | null

Methods

public Firstred\PostNL\Entity\Warning::__construct($Code=null, $Description=null)
Parameters:
  • $Code (string | null)

  • $Description (string | null)

public static Firstred\PostNL\Entity\Warning::jsonDeserialize($json)
Deserialize JSON.
Parameters:
  • $json (stdClass) JSON object {“EntityName”: object}

Returns:

static

Throws:

\Firstred\PostNL\Exception\NotSupportedException

Throws:

\Firstred\PostNL\Exception\InvalidArgumentException

Throws:

\Firstred\PostNL\Exception\NotSupportedException

Throws:

\Firstred\PostNL\Exception\InvalidArgumentException