phpDocumentor

AddressBlock
in package
implements AddressBlockInterface

Value Object

Class AddressBlock

Stores all customer address data

Tags
category

System

subpackage

ValueObjects

implements

AddressBlockInterface

Interfaces, Classes and Traits

AddressBlockInterface
Value Object.

Table of Contents

$additionalAddressInfo  : CustomerAdditionalAddressInfoInterface
Customer's additional address information.
$b2bStatus  : CustomerB2BStatusInterface
Customer's B2B status.
$city  : CustomerCityInterface
Customer's city.
$company  : CustomerCompanyInterface
Customer's company.
$country  : CustomerCountryInterface
Customer's country.
$countryZone  : CustomerCountryZoneInterface
Customer's country zone.
$firstname  : CustomerFirstnameInterface
Customer first name.
$gender  : CustomerGenderInterface
Customer's gender.
$houseNumber  : CustomerHouseNumberInterface
Customer's house number.
$lastname  : CustomerLastnameInterface
Customer last name.
$postcode  : CustomerPostcodeInterface
Customer's post code.
$street  : CustomerStreetInterface
Customer's street.
$suburb  : CustomerSuburbInterface
Customer's suburb.
__construct()  : mixed
Constructor of the class AddressBlock.
getAdditionalAddressInfo()  : CustomerAdditionalAddressInfo
Returns the customer's additional address information.
getB2BStatus()  : CustomerB2BStatus
Returns the customer's B2B status.
getCity()  : CustomerCity
Returns the customer's city.
getCompany()  : CustomerCompany
Returns the customer's company.
getCountry()  : CustomerCountry
Returns the customer's country.
getCountryZone()  : CustomerCountryZone
Returns the customer's country zone.
getFirstname()  : CustomerFirstname
Returns the customer's first name.
getGender()  : CustomerGender
Returns the customer's gender.
getHouseNumber()  : CustomerHouseNumber
Returns the customer's house number.
getLastname()  : CustomerLastname
Returns the customer's last name.
getPostcode()  : CustomerPostcode
Returns the customer's postcode.
getStreet()  : CustomerStreet
Returns the customer's street.
getSuburb()  : CustomerSuburb
Returns the customer's suburb.

Properties

Methods

__construct()

Constructor of the class AddressBlock.

public __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 ]) : mixed
Parameters
$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 = null

Customer's country zone.

Return values
mixed

Search results