HermesHSIAddress
in package
implements
JsonSerializable
Interfaces, Classes and Traits
- JsonSerializable
Table of Contents
- $addressAddition : string
- $addressAddition2 : string
- $addressAddition3 : string
- $countryCode : string
- $houseNumber : string
- $street : string
- $town : string
- $zipCode : string
- __construct() : mixed
- HermesHSIAddress constructor.
- getAddressAddition() : string
- getAddressAddition2() : string
- getAddressAddition3() : string
- getCountryCode() : string
- getHouseNumber() : string
- getStreet() : string
- getTown() : string
- getZipCode() : string
- jsonSerialize() : mixed
- Specify data which should be serialized to JSON
- setAddressAddition() : void
- setAddressAddition2() : void
- setAddressAddition3() : void
- setCountryCode() : void
- setHouseNumber() : void
- setStreet() : void
- setTown() : void
- setZipCode() : void
Properties
$addressAddition
protected
string
$addressAddition
$addressAddition2
protected
string
$addressAddition2
$addressAddition3
protected
string
$addressAddition3
$countryCode
protected
string
$countryCode
$houseNumber
protected
string
$houseNumber
$street
protected
string
$street
$town
protected
string
$town
$zipCode
protected
string
$zipCode
Methods
__construct()
HermesHSIAddress constructor.
public
__construct(NonEmptyStringType $street, NonEmptyStringType $houseNumber, NonEmptyStringType $zipCode, NonEmptyStringType $town) : mixed
Parameters
- $street : NonEmptyStringType
- $houseNumber : NonEmptyStringType
- $zipCode : NonEmptyStringType
- $town : NonEmptyStringType
Tags
Return values
mixed —getAddressAddition()
public
getAddressAddition() : string
Return values
string —getAddressAddition2()
public
getAddressAddition2() : string
Return values
string —getAddressAddition3()
public
getAddressAddition3() : string
Return values
string —getCountryCode()
public
getCountryCode() : string
Return values
string —getHouseNumber()
public
getHouseNumber() : string
Return values
string —getStreet()
public
getStreet() : string
Return values
string —getTown()
public
getTown() : string
Return values
string —getZipCode()
public
getZipCode() : string
Return values
string —jsonSerialize()
Specify data which should be serialized to JSON
public
jsonSerialize() : mixed
Tags
Return values
mixed —data which can be serialized by json_encode, which is a value of any type other than a resource.
setAddressAddition()
public
setAddressAddition(string $addressAddition) : void
Parameters
- $addressAddition : string
Tags
Return values
void —setAddressAddition2()
public
setAddressAddition2(string $addressAddition2) : void
Parameters
- $addressAddition2 : string
Tags
Return values
void —setAddressAddition3()
public
setAddressAddition3(string $addressAddition3) : void
Parameters
- $addressAddition3 : string
Tags
Return values
void —setCountryCode()
public
setCountryCode(string $countryCode) : void
Parameters
- $countryCode : string
Tags
Return values
void —setHouseNumber()
public
setHouseNumber(string $houseNumber) : void
Parameters
- $houseNumber : string
Tags
Return values
void —setStreet()
public
setStreet(string $street) : void
Parameters
- $street : string
Tags
Return values
void —setTown()
public
setTown(string $town) : void
Parameters
- $town : string
Tags
Return values
void —setZipCode()
public
setZipCode(string $zipCode) : void
Parameters
- $zipCode : string