AbstractCustomerFactory

Interface AbstractCustomerFactory

category

System

package

Customer

subpackage

Interfaces

Methods

Creates a new customer object.

createCustomer() : \Customer
abstract

Response

\Customer

Created customer.

Creates a new customer address object.

createCustomerAddress() : \CustomerAddress
abstract

Response

\CustomerAddress

Created customer address.

Creates a new customer country object with the given parameters.

createCustomerCountry(\IdType $id, \CustomerCountryNameInterface $name, \CustomerCountryIso2Interface $iso2, \CustomerCountryIso3Interface $iso3, \IdType $addressFormatId, boolean $status) : \CustomerCountry
abstract

Arguments

$id

\IdType

Country ID.

$name

\CustomerCountryNameInterface

Country name.

$iso2

\CustomerCountryIso2Interface

Country ISO-2 code.

$iso3

\CustomerCountryIso3Interface

Country ISO-3 code.

$addressFormatId

\IdType

Country address format ID.

$status

boolean

Country status.

Response

\CustomerCountry

Created customer country.

Creates a new customer country zone object with the given parameters.

createCustomerCountryZone(\IdType $id, \CustomerCountryZoneNameInterface $name, \CustomerCountryZoneIsoCodeInterface $isoCode) : \CustomerCountryZone
abstract

Arguments

$id

\IdType

Country zone ID.

$name

\CustomerCountryZoneNameInterface

Country zone name.

$isoCode

\CustomerCountryZoneIsoCodeInterface

Country ISO code.

Response

\CustomerCountryZone

Created customer country zone.