HermesHSIAddress

Implements \JsonSerializable

package

Default

Methods

HermesHSIAddress constructor.

__construct(\NonEmptyStringType $street, \NonEmptyStringType $houseNumber, \NonEmptyStringType $zipCode, \NonEmptyStringType $town) 
Throws
\HermesHSIInvalidDataException

Arguments

$houseNumber

\NonEmptyStringType

getAddressAddition

getAddressAddition() : string

Response

string

getAddressAddition2

getAddressAddition2() : string

Response

string

getAddressAddition3

getAddressAddition3() : string

Response

string

getCountryCode

getCountryCode() : string

Response

string

getHouseNumber

getHouseNumber() : string

Response

string

getStreet

getStreet() : string

Response

string

getTown

getTown() : string

Response

string

getZipCode

getZipCode() : string

Response

string

Specify data which should be serialized to JSON

jsonSerialize() : mixed
link

https://php.net/manual/en/jsonserializable.jsonserialize.php

since 5.4.0

Response

mixed

data which can be serialized by json_encode, which is a value of any type other than a resource.

setAddressAddition

setAddressAddition(string $addressAddition) 
Throws
\HermesHSIInvalidDataException

Arguments

$addressAddition

string

setAddressAddition2

setAddressAddition2(string $addressAddition2) 
Throws
\HermesHSIInvalidDataException

Arguments

$addressAddition2

string

setAddressAddition3

setAddressAddition3(string $addressAddition3) 
Throws
\HermesHSIInvalidDataException

Arguments

$addressAddition3

string

setCountryCode

setCountryCode(string $countryCode) 
Throws
\HermesHSIInvalidDataException

Arguments

$countryCode

string

setHouseNumber

setHouseNumber(string $houseNumber) 
Throws
\HermesHSIInvalidDataException

Arguments

$houseNumber

string

setStreet

setStreet(string $street) 
Throws
\HermesHSIInvalidDataException

Arguments

$street

string

setTown

setTown(string $town) 
Throws
\HermesHSIInvalidDataException

Arguments

$town

string

setZipCode

setZipCode(string $zipCode) 
Throws
\HermesHSIInvalidDataException

Arguments

$zipCode

string

Properties

street

street : string
var

Type(s)

string

houseNumber

houseNumber : string
var

Type(s)

string

zipCode

zipCode : string
var

Type(s)

string

town

town : string
var

Type(s)

string

countryCode

countryCode : string
var

Type(s)

string

addressAddition

addressAddition : string
var

Type(s)

string

addressAddition2

addressAddition2 : string
var

Type(s)

string

addressAddition3

addressAddition3 : string
var

Type(s)

string