TimeframeTimeFrame

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

Firstred\PostNL\Entity\AbstractEntity

Summary

Methods

Properties

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

string[][]

protected static property Firstred\PostNL\Entity\TimeframeTimeFrame::$Date
Type:

string | null

protected static property Firstred\PostNL\Entity\TimeframeTimeFrame::$From
Type:

string | null

protected static property Firstred\PostNL\Entity\TimeframeTimeFrame::$Options
Type:

string[] | null

protected static property Firstred\PostNL\Entity\TimeframeTimeFrame::$To
Type:

string | null

protected static property Firstred\PostNL\Entity\TimeframeTimeFrame::$Sustainability
Type:

\Firstred\PostNL\Entity\Sustainability | null

Methods

public Firstred\PostNL\Entity\TimeframeTimeFrame::__construct($GetSentDate=null, $From=null, $To=null, $Options=null, $Sustainability=null)
Parameters:
Throws:

\Firstred\PostNL\Exception\InvalidArgumentException

public Firstred\PostNL\Entity\TimeframeTimeFrame::setDate($Date=null)
Parameters:
  • $Date (string | \DateTimeInterface | null)

Returns:

static

Throws:

\Firstred\PostNL\Exception\InvalidArgumentException

Since:

1.2.0

public static Firstred\PostNL\Entity\TimeframeTimeFrame::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