Class AddressBlock

Value Object

Class AddressBlock

Stores all customer address data

AddressBlock implements AddressBlockInterface
Package: Customer\ValueObjects
Category: System
Implements: AddressBlockInterface
Located at Services/Core/Customer/ValueObjects/AddressBlock.inc.php

Methods summary

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, CustomerB2BStatusInterface $b2bStatus,… )

Constructor of the class AddressBlock.

public getGender( void ) : CustomerGender

Returns the customer's gender.

public getFirstname( void ) : CustomerFirstname

Returns the customer's first name.

public getLastname( void ) : CustomerLastname

Returns the customer's last name.

public getCompany( void ) : CustomerCompany

Returns the customer's company.

public getB2BStatus( void ) : CustomerB2BStatus

Returns the customer's B2B status.

public getStreet( void ) : CustomerStreet

Returns the customer's street.

public getHouseNumber( void ) : CustomerHouseNumber

Returns the customer's house number.

public getAdditionalAddressInfo( void ) : CustomerAdditionalAddressInfo

Returns the customer's additional address information.

public getSuburb( void ) : CustomerSuburb

Returns the customer's suburb.

public getPostcode( void ) : CustomerPostcode

Returns the customer's postcode.

public getCity( void ) : CustomerCity

Returns the customer's city.

public getCountry( void ) : CustomerCountry

Returns the customer's country.

public getCountryZone( void ) : CustomerCountryZone

Returns the customer's country zone.

Properties summary

protected $gender : CustomerGenderInterface

Customer's gender.


		
protected $firstname : CustomerFirstnameInterface

Customer first name.


		
protected $lastname : CustomerLastnameInterface

Customer last name.


		
protected $company : CustomerCompanyInterface

Customer's company.


		
protected $street : CustomerStreetInterface

Customer's street.


		
protected $houseNumber : CustomerHouseNumberInterface

Customer's house number.


		
protected $additionalAddressInfo : CustomerAdditionalAddressInfoInterface

Customer's additional address information.


		
protected $suburb : CustomerSuburbInterface

Customer's suburb.


		
protected $postcode : CustomerPostcodeInterface

Customer's post code.


		
protected $city : CustomerCityInterface

Customer's city.


		
protected $country : CustomerCountryInterface

Customer's country.


		
protected $countryZone : CustomerCountryZoneInterface

Customer's country zone.


		
protected $b2bStatus : CustomerB2BStatusInterface

Customer's B2B status.