.. rst-class:: phpdoctorst .. role:: php(code) :language: php Timeframes ========== .. php:namespace:: Firstred\PostNL\Entity .. php:class:: Timeframes :Parent: :php:class:`Firstred\\PostNL\\Entity\\AbstractEntity` Summary ------- Methods ~~~~~~~ * :php:meth:`public \_\_construct\($timeframes, $timeframetimeframes\)` * :php:meth:`public getTimeframes\(\)` * :php:meth:`public setTimeframes\($Timeframes\)` * :php:meth:`public getTimeframeTimeFrames\(\)` * :php:meth:`public setTimeframeTimeFrames\($TimeframeTimeFrames\)` * :php:meth:`public jsonSerialize\(\)` Properties ---------- .. php:attr:: protected static Timeframes :Type: :any:`\\Firstred\\PostNL\\Entity\\Timeframe\[\] ` | null .. php:attr:: protected static TimeframeTimeFrames :Type: :any:`\\Firstred\\PostNL\\Entity\\TimeframeTimeFrame\[\] ` | null Methods ------- .. rst-class:: public .. php:method:: public __construct( $timeframes=null, $timeframetimeframes=null) :Parameters: * **$timeframes** (array | null) * **$timeframetimeframes** (array | null) .. rst-class:: public .. php:method:: public getTimeframes() :Returns: :any:`\\Firstred\\PostNL\\Entity\\Timeframe\[\] ` | null .. rst-class:: public .. php:method:: public setTimeframes( $Timeframes) :Parameters: * **$Timeframes** (:any:`Firstred\\PostNL\\Entity\\Timeframe\[\] ` | null) :Returns: static .. rst-class:: public .. php:method:: public getTimeframeTimeFrames() :Returns: :any:`\\Firstred\\PostNL\\Entity\\TimeframeTimeFrame\[\] ` | null .. rst-class:: public .. php:method:: public setTimeframeTimeFrames( $TimeframeTimeFrames) :Parameters: * **$TimeframeTimeFrames** (:any:`Firstred\\PostNL\\Entity\\TimeframeTimeFrame\[\] ` | null) :Returns: static .. rst-class:: public .. php:method:: public jsonSerialize() :Returns: array :Throws: :any:`\\Firstred\\PostNL\\Exception\\ServiceNotSetException `