ReasonNoTimeframe
- class Firstred\PostNL\Entity\ReasonNoTimeframe
- Class ReasonNoTimeframe.
Summary
Methods
Properties
- public property Firstred\PostNL\Entity\ReasonNoTimeframe::$defaultProperties
- Type:
string[][]
- protected static property Firstred\PostNL\Entity\ReasonNoTimeframe::$Code
- Type:
string | null
- protected static property Firstred\PostNL\Entity\ReasonNoTimeframe::$Date
- Type:
\DateTimeInterface| null
- protected static property Firstred\PostNL\Entity\ReasonNoTimeframe::$Description
- Type:
string | null
- protected static property Firstred\PostNL\Entity\ReasonNoTimeframe::$Options
- Type:
string[] | null
- protected static property Firstred\PostNL\Entity\ReasonNoTimeframe::$From
- Type:
string | null
- protected static property Firstred\PostNL\Entity\ReasonNoTimeframe::$To
- Type:
string | null
- protected static property Firstred\PostNL\Entity\ReasonNoTimeframe::$Sustainability
- Type:
Methods
- public Firstred\PostNL\Entity\ReasonNoTimeframe::__construct($Code=null, $Date=null, $Description=null, $Options=null, $From=null, $To=null, $Sustainability=null)
- ReasonNoTimeframe constructor.
- Parameters:
$Code (string | null)
$Date (string |
\DateTimeInterface| null)$Description (string | null)
$Options (string[] | null)
$From (string | null)
$To (string | null)
$Sustainability (
Firstred\PostNL\Entity\Sustainability| null)
- Throws:
- public Firstred\PostNL\Entity\ReasonNoTimeframe::setDate($date=null)
- Set date
- Parameters:
$date (string |
\DateTimeInterface| null)
- Returns:
static
- Throws:
- Since:
1.2.0
- public static Firstred\PostNL\Entity\ReasonNoTimeframe::jsonDeserialize($json)
- Parameters:
$json (
stdClass)
- Returns:
mixed |
\stdClass| null- Throws:
- Throws:
- Throws:
- Throws:
- Since:
1.2.0
- public Firstred\PostNL\Entity\ReasonNoTimeframe::xmlSerialize($writer)
- Return a serializable array for the XMLWriter.
- Parameters:
$writer (
Sabre\Xml\Writer)
- Returns:
void