Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • ApiV2Controllers
  • Category
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • Customer
    • Address
    • Country
    • CountryZone
    • Interfaces
    • Validation
    • ValueObjects
  • Email
    • Collections
    • Entities
    • Exceptions
    • Interfaces
    • Repository
    • ValueObjects
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • None
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • Product
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • ProductModule
    • Collections
    • Deleter
    • Entities
    • Factories
    • Interface
    • Interfaces
    • Reader
    • Repositories
    • Writer
  • Shared
    • Exceptions
    • FileSystem
    • Interfaces
    • Storage
    • Types
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository

Classes

  • AddressBookService
  • CustomerAddress
  • CustomerAddressDeleter
  • CustomerAddressInputValidator
  • CustomerAddressReader
  • CustomerAddressRepository
  • CustomerAddressWriter

Class CustomerAddress

Class CustomerAddress

This class is used for managing customer address data

CustomerAddress implements CustomerAddressInterface
Package: Customer\Address
Category: System
Implements: CustomerAddressInterface
Located at CoreServices/Address/CustomerAddress.inc.php

Methods summary

public
# importAddressBlock( AddressBlockInterface $addressBlock )

Import Address Block

Import Address Block

This method will import all address parts from the address block

Parameters

$addressBlock
public
# setId( IdType $id )

Setter method for the ID

Setter method for the ID

Parameters

$id
addressBookId

Implementation of

CustomerAddressInterface::setId()
public
# setCustomerId( IdType $customerId )

Setter method for the customer ID

Setter method for the customer ID

Parameters

$customerId

Implementation of

CustomerAddressInterface::setCustomerId()
public integer
# getCustomerId( )

Getter method for the customer ID

Getter method for the customer ID

Returns

integer

Implementation of

CustomerAddressInterface::getCustomerId()
public integer
# getId( )

Getter method for the ID

Getter method for the ID

Returns

integer
| null

Implementation of

CustomerAddressInterface::getId()
public
# setCity( CustomerCityInterface $city )

Setter method for the city

Setter method for the city

Parameters

$city
public CustomerCityInterface
# getCity( )

Getter method for the city

Getter method for the city

Returns

CustomerCityInterface

Implementation of

AddressBlockInterface::getCity()
public
# setCountry( CustomerCountryInterface $country )

Setter method for the country

Setter method for the country

Parameters

$country
public CustomerCountryInterface
# getCountry( )

Getter method for the country

Getter method for the country

Returns

CustomerCountryInterface

Implementation of

AddressBlockInterface::getCountry()
public
# setCountryZone( CustomerCountryZoneInterface $countryZone )

Setter method for the country zone

Setter method for the country zone

Parameters

$countryZone
public CustomerCountryZoneInterface
# getCountryZone( )

Getter method for the country zone

Getter method for the country zone

Returns

CustomerCountryZoneInterface

Implementation of

AddressBlockInterface::getCountryZone()
public
# setFirstname( CustomerFirstnameInterface $firstname )

Setter method for the first name of the customer

Setter method for the first name of the customer

Parameters

$firstname
public CustomerFirstnameInterface
# getFirstname( )

Getter method for the first name of the customer

Getter method for the first name of the customer

Returns

CustomerFirstnameInterface

Implementation of

AddressBlockInterface::getFirstname()
public
# setGender( CustomerGenderInterface $gender )

Setter method for the gender of the customer

Setter method for the gender of the customer

Parameters

$gender
public CustomerGenderInterface
# getGender( )

Getter method for the gender of the customer

Getter method for the gender of the customer

Returns

CustomerGenderInterface

Implementation of

AddressBlockInterface::getGender()
public
# setLastname( CustomerLastnameInterface $lastname )

Setter method for the last name of the customer

Setter method for the last name of the customer

Parameters

$lastname
public CustomerLastnameInterface
# getLastname( )

Getter method for the last name of the customer

Getter method for the last name of the customer

Returns

CustomerLastnameInterface

Implementation of

AddressBlockInterface::getLastname()
public
# setPostcode( CustomerPostcodeInterface $postcode )

Setter method for the postcode

Setter method for the postcode

Parameters

$postcode
public CustomerPostcodeInterface
# getPostcode( )

Getter method for the postcode

Getter method for the postcode

Returns

CustomerPostcodeInterface

Implementation of

AddressBlockInterface::getPostcode()
public
# setStreet( CustomerStreetInterface $street )

Setter method for the street name

Setter method for the street name

Parameters

$street
public CustomerStreetInterface
# getStreet( )

Getter method for the street name

Getter method for the street name

Returns

CustomerStreetInterface

Implementation of

AddressBlockInterface::getStreet()
public
# setCompany( CustomerCompanyInterface $company )

Setter method for the company name

Setter method for the company name

Parameters

$company
public CustomerCompanyInterface
# getCompany( )

Getter method for the company name

Getter method for the company name

Returns

CustomerCompanyInterface

Implementation of

AddressBlockInterface::getCompany()
public
# setSuburb( CustomerSuburbInterface $suburb )

Setter method for the suburb

Setter method for the suburb

Parameters

$suburb
public CustomerSuburbInterface
# getSuburb( )

Getter method of the suburb

Getter method of the suburb

Returns

CustomerSuburbInterface

Implementation of

AddressBlockInterface::getSuburb()
public
# setAddressClass( AddressClassInterface $addressClass )

Setter method for the address class

Setter method for the address class

Parameters

$addressClass

Implementation of

CustomerAddressInterface::setAddressClass()
public AddressClassInterface
# getAddressClass( )

Getter method of the address class

Getter method of the address class

Returns

AddressClassInterface

Implementation of

CustomerAddressInterface::getAddressClass()
public
# setB2BStatus( CustomerB2BStatusInterface $b2bStatus )

Setter method for the address class

Setter method for the address class

Parameters

$b2bStatus

Implementation of

CustomerAddressInterface::setB2BStatus()
public CustomerB2BStatusInterface
# getB2BStatus( )

Getter method of the address class

Getter method of the address class

Returns

CustomerB2BStatusInterface

Implementation of

AddressBlockInterface::getB2BStatus()

Properties summary

protected integer $id
#
protected integer $customerId
#
protected CustomerGenderInterface $gender
#
protected CustomerFirstnameInterface $firstname
#
protected CustomerLastnameInterface $lastname
#
protected CustomerCompanyInterface $company
#
protected CustomerStreetInterface $street
#
protected CustomerSuburbInterface $suburb
#
protected CustomerPostcodeInterface $postcode
#
protected CustomerCityInterface $city
#
protected CustomerCountryInterface $country
#
protected CustomerCountryZoneInterface $countryZone
#
protected AddressClassInterface $addressClass
#
protected CustomerB2BStatusInterface $b2bStatus
#
API documentation generated by ApiGen