ResponseAddress
- class Firstred\PostNL\Entity\Response\ResponseAddress
Summary
Methods
Properties
- protected static property Firstred\PostNL\Entity\Response\ResponseAddress::$AddressType
- PostNL internal applications validate the receiver ResponseAddress. In case the spelling ofResponseAddresses should be different according to our PostNL information, the ResponseAddress details willbe corrected. This can be noticed in Track & Trace.Please note that the webservice will not add ResponseAddress details. Street and City fields willonly be printed when they are in the call towards the labeling webservice.The element ResponseAddress type is a code in the request. Possible values are:Code Description01 Receiver02 Sender03 Alternative sender ResponseAddress04 Collection ResponseAddress (In the orders need to be collected first)08 Return ResponseAddress*09 Drop off location (for use with Pick up at PostNL location)> * When using the ‘label in the box return label’, it is mandatory to use an> `Antwoordnummer` in AddressType 08.> This cannot be a regular ResponseAddressThe following rules apply:If there is no ResponseAddress specified with AddressType = 02, the data from Customer/ResponseAddresswill be added to the list as AddressType 02.If there is no Customer/ResponseAddress, the message will be rejected.At least one other AddressType must be specified, other than AddressType 02In most cases this will be AddressType 01, the receiver ResponseAddress.
- Type:
string | null
- protected static property Firstred\PostNL\Entity\Response\ResponseAddress::$Area
- Type:
string | null
- protected static property Firstred\PostNL\Entity\Response\ResponseAddress::$Buildingname
- Type:
string | null
- protected static property Firstred\PostNL\Entity\Response\ResponseAddress::$City
- Type:
string | null
- protected static property Firstred\PostNL\Entity\Response\ResponseAddress::$CompanyName
- Type:
string | null
- protected static property Firstred\PostNL\Entity\Response\ResponseAddress::$Countrycode
- Type:
string | null
- protected static property Firstred\PostNL\Entity\Response\ResponseAddress::$Department
- Type:
string | null
- protected static property Firstred\PostNL\Entity\Response\ResponseAddress::$Doorcode
- Type:
string | null
- protected static property Firstred\PostNL\Entity\Response\ResponseAddress::$FirstName
- Type:
string | null
- protected static property Firstred\PostNL\Entity\Response\ResponseAddress::$Floor
- Type:
string | null
- protected static property Firstred\PostNL\Entity\Response\ResponseAddress::$HouseNr
- Type:
string | null
- protected static property Firstred\PostNL\Entity\Response\ResponseAddress::$HouseNrExt
- Type:
string | null
- protected static property Firstred\PostNL\Entity\Response\ResponseAddress::$Name
- Type:
string | null
- protected static property Firstred\PostNL\Entity\Response\ResponseAddress::$Region
- Type:
string | null
- protected static property Firstred\PostNL\Entity\Response\ResponseAddress::$Remark
- Type:
string | null
- protected static property Firstred\PostNL\Entity\Response\ResponseAddress::$Street
- Type:
string | null
- protected static property Firstred\PostNL\Entity\Response\ResponseAddress::$Zipcode
- Type:
string | null
- protected static property Firstred\PostNL\Entity\Response\ResponseAddress::$other
Methods
- public Firstred\PostNL\Entity\Response\ResponseAddress::__construct($AddressType=null, $FirstName=null, $Name=null, $CompanyName=null, $Street=null, $HouseNr=null, $HouseNrExt=null, $Zipcode=null, $City=null, $Countrycode=null, $Area=null, $Buildingname=null, $Department=null, $Doorcode=null, $Floor=null, $Region=null, $Remark=null)
- Parameters:
$AddressType (string | null)
$FirstName (string | null)
$Name (string | null)
$CompanyName (string | null)
$Street (string | null)
$HouseNr (string | null)
$HouseNrExt (string | null)
$Zipcode (string | null)
$City (string | null)
$Countrycode (string | null)
$Area (string | null)
$Buildingname (string | null)
$Department (string | null)
$Doorcode (string | null)
$Floor (string | null)
$Region (string | null)
$Remark (string | null)
- public Firstred\PostNL\Entity\Response\ResponseAddress::getAddressType()
- Returns:
string | null
- public Firstred\PostNL\Entity\Response\ResponseAddress::setAddressType($AddressType)
- Parameters:
$AddressType (string | null)
- Returns:
static
- public Firstred\PostNL\Entity\Response\ResponseAddress::getArea()
- Returns:
string | null
- public Firstred\PostNL\Entity\Response\ResponseAddress::setArea($Area)
- Parameters:
$Area (string | null)
- Returns:
static
- public Firstred\PostNL\Entity\Response\ResponseAddress::getBuildingname()
- Returns:
string | null
- public Firstred\PostNL\Entity\Response\ResponseAddress::setBuildingname($Buildingname)
- Parameters:
$Buildingname (string | null)
- Returns:
static
- public Firstred\PostNL\Entity\Response\ResponseAddress::getCity()
- Returns:
string | null
- public Firstred\PostNL\Entity\Response\ResponseAddress::setCity($City)
- Parameters:
$City (string | null)
- Returns:
static
- public Firstred\PostNL\Entity\Response\ResponseAddress::getCompanyName()
- Returns:
string | null
- public Firstred\PostNL\Entity\Response\ResponseAddress::setCompanyName($CompanyName)
- Parameters:
$CompanyName (string | null)
- Returns:
static
- public Firstred\PostNL\Entity\Response\ResponseAddress::getCountrycode()
- Returns:
string | null
- public Firstred\PostNL\Entity\Response\ResponseAddress::setCountrycode($Countrycode)
- Parameters:
$Countrycode (string | null)
- Returns:
static
- public Firstred\PostNL\Entity\Response\ResponseAddress::getDepartment()
- Returns:
string | null
- public Firstred\PostNL\Entity\Response\ResponseAddress::setDepartment($Department)
- Parameters:
$Department (string | null)
- Returns:
static
- public Firstred\PostNL\Entity\Response\ResponseAddress::getDoorcode()
- Returns:
string | null
- public Firstred\PostNL\Entity\Response\ResponseAddress::setDoorcode($Doorcode)
- Parameters:
$Doorcode (string | null)
- Returns:
static
- public Firstred\PostNL\Entity\Response\ResponseAddress::getFirstName()
- Returns:
string | null
- public Firstred\PostNL\Entity\Response\ResponseAddress::setFirstName($FirstName)
- Parameters:
$FirstName (string | null)
- Returns:
static
- public Firstred\PostNL\Entity\Response\ResponseAddress::getFloor()
- Returns:
string | null
- public Firstred\PostNL\Entity\Response\ResponseAddress::setFloor($Floor)
- Parameters:
$Floor (string | null)
- Returns:
static
- public Firstred\PostNL\Entity\Response\ResponseAddress::getHouseNr()
- Returns:
string | null
- public Firstred\PostNL\Entity\Response\ResponseAddress::setHouseNr($HouseNr)
- Parameters:
$HouseNr (string | null)
- Returns:
static
- public Firstred\PostNL\Entity\Response\ResponseAddress::getHouseNrExt()
- Returns:
string | null
- public Firstred\PostNL\Entity\Response\ResponseAddress::setHouseNrExt($HouseNrExt)
- Parameters:
$HouseNrExt (string | null)
- Returns:
static
- public Firstred\PostNL\Entity\Response\ResponseAddress::getName()
- Returns:
string | null
- public Firstred\PostNL\Entity\Response\ResponseAddress::setName($Name)
- Parameters:
$Name (string | null)
- Returns:
static
- public Firstred\PostNL\Entity\Response\ResponseAddress::getRegion()
- Returns:
string | null
- public Firstred\PostNL\Entity\Response\ResponseAddress::setRegion($Region)
- Parameters:
$Region (string | null)
- Returns:
static
- public Firstred\PostNL\Entity\Response\ResponseAddress::getRemark()
- Returns:
string | null
- public Firstred\PostNL\Entity\Response\ResponseAddress::setRemark($Remark)
- Parameters:
$Remark (string | null)
- Returns:
static
- public Firstred\PostNL\Entity\Response\ResponseAddress::getStreet()
- Returns:
string | null
- public Firstred\PostNL\Entity\Response\ResponseAddress::setStreet($Street)
- Parameters:
$Street (string | null)
- Returns:
static
- public Firstred\PostNL\Entity\Response\ResponseAddress::getOther()
- Returns:
array | null
- public Firstred\PostNL\Entity\Response\ResponseAddress::setOther($other)
- Parameters:
$other (array | null)
- Returns:
- public Firstred\PostNL\Entity\Response\ResponseAddress::getZipcode()
- Returns:
string | null
- public Firstred\PostNL\Entity\Response\ResponseAddress::setZipcode($Zipcode=null)
- Parameters:
$Zipcode (string | null)
- Returns:
static