.. rst-class:: phpdoctorst .. role:: php(code) :language: php Warning ======= .. php:namespace:: Firstred\PostNL\Entity .. php:class:: Warning :Parent: :php:class:`Firstred\\PostNL\\Entity\\AbstractEntity` Summary ------- Methods ~~~~~~~ * :php:meth:`public \_\_construct\($Code, $Description\)` * :php:meth:`public getCode\(\)` * :php:meth:`public setCode\($Code\)` * :php:meth:`public getDescription\(\)` * :php:meth:`public setDescription\($Description\)` * :php:meth:`public static jsonDeserialize\($json\)` Properties ---------- .. php:attr:: protected static Code :Type: string | null .. php:attr:: protected static Description :Type: string | null Methods ------- .. rst-class:: public .. php:method:: public __construct( $Code=null, $Description=null) :Parameters: * **$Code** (string | null) * **$Description** (string | null) .. rst-class:: public .. php:method:: public getCode() :Returns: string | null .. rst-class:: public .. php:method:: public setCode( $Code) :Parameters: * **$Code** (string | null) :Returns: static .. rst-class:: public .. php:method:: public getDescription() :Returns: string | null .. rst-class:: public .. php:method:: public setDescription( $Description) :Parameters: * **$Description** (string | null) :Returns: static .. rst-class:: public static .. php:method:: public static jsonDeserialize( $json) :Parameters: * **$json** (:any:`stdClass `) :Returns: :any:`\\Firstred\\PostNL\\Entity\\Warning ` :Throws: :any:`\\Firstred\\PostNL\\Exception\\DeserializationException ` :Throws: :any:`\\Firstred\\PostNL\\Exception\\NotSupportedException ` :Throws: :any:`\\Firstred\\PostNL\\Exception\\InvalidConfigurationException ` :Throws: :any:`\\Firstred\\PostNL\\Exception\\DeserializationException ` :Throws: :any:`\\Firstred\\PostNL\\Exception\\NotSupportedException ` :Throws: :any:`\\Firstred\\PostNL\\Exception\\InvalidConfigurationException ` :Throws: :any:`\\Firstred\\PostNL\\Exception\\DeserializationException ` :Throws: :any:`\\Firstred\\PostNL\\Exception\\NotSupportedException ` :Throws: :any:`\\Firstred\\PostNL\\Exception\\InvalidConfigurationException `