GetDeliveryDate
- class Firstred\PostNL\Entity\Request\GetDeliveryDate
- Class GetDeliveryDate.This class is both the container and can be the actual GetDeliveryDate object itself!
Properties
- public property Firstred\PostNL\Entity\Request\GetDeliveryDate::$defaultProperties
- Default properties and namespaces for the SOAP API.
- Type
array
- protected static property Firstred\PostNL\Entity\Request\GetDeliveryDate::$AllowSundaySorting
- Type
bool | null
- protected static property Firstred\PostNL\Entity\Request\GetDeliveryDate::$City
- Type
string | null
- protected static property Firstred\PostNL\Entity\Request\GetDeliveryDate::$CountryCode
- Type
string | null
- protected static property Firstred\PostNL\Entity\Request\GetDeliveryDate::$CutOffTimes
- Type
- protected static property Firstred\PostNL\Entity\Request\GetDeliveryDate::$HouseNr
- Type
string | null
- protected static property Firstred\PostNL\Entity\Request\GetDeliveryDate::$HouseNrExt
- Type
string | null
- protected static property Firstred\PostNL\Entity\Request\GetDeliveryDate::$Options
- Type
string[] | null
- protected static property Firstred\PostNL\Entity\Request\GetDeliveryDate::$OriginCountryCode
- Type
string | null
- protected static property Firstred\PostNL\Entity\Request\GetDeliveryDate::$PostalCode
- Type
string | null
- protected static property Firstred\PostNL\Entity\Request\GetDeliveryDate::$ShippingDate
- Type
\DateTimeInterface
| null
- protected static property Firstred\PostNL\Entity\Request\GetDeliveryDate::$ShippingDuration
- Type
string | null
- protected static property Firstred\PostNL\Entity\Request\GetDeliveryDate::$Street
- Type
string | null
- protected static property Firstred\PostNL\Entity\Request\GetDeliveryDate::$GetDeliveryDate
- Type
- protected static property Firstred\PostNL\Entity\Request\GetDeliveryDate::$Message
- Type
- Deprecated
1.4.1 SOAP support is going to be removed
Methods
- public Firstred\PostNL\Entity\Request\GetDeliveryDate::__construct($AllowSundaySorting=null, $City=null, $CountryCode=null, $CutOffTimes=null, $HouseNr=null, $HouseNrExt=null, $Options=null, $OriginCountryCode=null, $PostalCode=null, $ShippingDate=null, $ShippingDuration=null, $Street=null, $GetDeliveryDate=null, $Message=null)
- GetDeliveryDate constructor.
- Parameters
$AllowSundaySorting (bool | null)
$City (string | null)
$CountryCode (string | null)
$CutOffTimes (array | null)
$HouseNr (string | null)
$HouseNrExt (string | null)
$Options (array | null)
$OriginCountryCode (string | null)
$PostalCode (string | null)
$ShippingDate (
DateTimeInterface
| string | null)$ShippingDuration (string | null)
$Street (string | null)
$GetDeliveryDate (
Firstred\PostNL\Entity\Request\GetDeliveryDate
| null)$Message (
Firstred\PostNL\Entity\Message\Message
| null)
- Throws
- public Firstred\PostNL\Entity\Request\GetDeliveryDate::setShippingDate($shippingDate=null)
- Parameters
$shippingDate (string |
\DateTimeInterface
| null)
- Returns
static
- Throws
- Since
1.2.0
- public Firstred\PostNL\Entity\Request\GetDeliveryDate::setPostalCode($postcode=null)
- Set the postcode.
- Parameters
$postcode (string | null)
- Returns
static
- public Firstred\PostNL\Entity\Request\GetDeliveryDate::setAllowSundaySorting($AllowSundaySorting=null)
- Parameters
$AllowSundaySorting (string | bool | int | null)
- Returns
- Since
1.0.0
- Since
1.0.0
- public Firstred\PostNL\Entity\Request\GetDeliveryDate::getMessage()
- Returns
- Deprecated
1.4.1 SOAP support is going to be removed
- public Firstred\PostNL\Entity\Request\GetDeliveryDate::setMessage($Message)
- Parameters
$Message (
Firstred\PostNL\Entity\Message\Message
| null)
- Returns
static
- Deprecated
1.4.1 SOAP support is going to be removed
- public Firstred\PostNL\Entity\Request\GetDeliveryDate::xmlSerialize($writer)
- Return a serializable array for the XMLWriter.
- Parameters
$writer (
Sabre\Xml\Writer
)
- Returns
void