AddressBlock

Implements \AddressBlockInterface

Value Object

Class AddressBlock

Stores all customer address data

category

System

package

Customer

subpackage

ValueObjects

implements

AddressBlockInterface

Methods

Constructor of the class AddressBlock.

__construct(\CustomerGenderInterface $gender, \CustomerFirstnameInterface $firstname, \CustomerLastnameInterface $lastname, \CustomerCompanyInterface $company, \CustomerB2BStatusInterface $b2bStatus, \CustomerStreetInterface $street, \CustomerHouseNumberInterface $houseNumber, \CustomerAdditionalAddressInfoInterface $additionalAddressInfo, \CustomerSuburbInterface $suburb, \CustomerPostcodeInterface $postcode, \CustomerCityInterface $city, \CustomerCountryInterface $country, \CustomerCountryZoneInterface $countryZone = null) 

Arguments

$gender

\CustomerGenderInterface

Customer's gender.

$firstname

\CustomerFirstnameInterface

Customer's first name.

$lastname

\CustomerLastnameInterface

Customer's last name.

$company

\CustomerCompanyInterface

Customer's company.

$b2bStatus

\CustomerB2BStatusInterface

Customer's B2B status.

$street

\CustomerStreetInterface

Customer's street.

$houseNumber

\CustomerHouseNumberInterface

Customer's house number.

$additionalAddressInfo

\CustomerAdditionalAddressInfoInterface

Customer's additional address information.

$suburb

\CustomerSuburbInterface

Customer's suburb.

$postcode

\CustomerPostcodeInterface

Customer's post code.

$city

\CustomerCityInterface

Customer's city.

$country

\CustomerCountryInterface

Customer's country.

$countryZone

\CustomerCountryZoneInterface

Customer's country zone.

Returns the customer's additional address information.

getAdditionalAddressInfo() : \CustomerAdditionalAddressInfo

Response

\CustomerAdditionalAddressInfo

Customer's additional address information.

Returns the customer's B2B status.

getB2BStatus() : \CustomerB2BStatus

Response

\CustomerB2BStatus

Customer's B2B status.

Returns the customer's city.

getCity() : \CustomerCity

Response

\CustomerCity

Customer's city.

Returns the customer's company.

getCompany() : \CustomerCompany

Response

\CustomerCompany

Customer's company.

Returns the customer's country.

getCountry() : \CustomerCountry

Response

\CustomerCountry

Customer's country.

Returns the customer's country zone.

getCountryZone() : \CustomerCountryZone

Response

\CustomerCountryZone

Customer's country zone.

Returns the customer's first name.

getFirstname() : \CustomerFirstname

Response

\CustomerFirstname

Customer's first name.

Returns the customer's gender.

getGender() : \CustomerGender

Response

\CustomerGender

Customer's gender.

Returns the customer's house number.

getHouseNumber() : \CustomerHouseNumber

Response

\CustomerHouseNumber

Customer's house number.

Returns the customer's last name.

getLastname() : \CustomerLastname

Response

\CustomerLastname

Customer's last name.

Returns the customer's postcode.

getPostcode() : \CustomerPostcode

Response

\CustomerPostcode

Customer's postcode.

Returns the customer's street.

getStreet() : \CustomerStreet

Response

\CustomerStreet

Customer's street.

Returns the customer's suburb.

getSuburb() : \CustomerSuburb

Response

\CustomerSuburb

Customer's suburb.

Properties

Customer's gender.

gender : \CustomerGenderInterface

Customer first name.

firstname : \CustomerFirstnameInterface

Customer last name.

lastname : \CustomerLastnameInterface

Customer's company.

company : \CustomerCompanyInterface

Customer's street.

street : \CustomerStreetInterface

Customer's house number.

houseNumber : \CustomerHouseNumberInterface

Customer's additional address information.

additionalAddressInfo : \CustomerAdditionalAddressInfoInterface

Customer's suburb.

suburb : \CustomerSuburbInterface

Customer's post code.

postcode : \CustomerPostcodeInterface

Customer's city.

city : \CustomerCityInterface

Customer's country.

country : \CustomerCountryInterface

Customer's country zone.

countryZone : \CustomerCountryZoneInterface

Customer's B2B status.

b2bStatus : \CustomerB2BStatusInterface