Class CustomerFactory

Class CustomerFactory

Factory class for all needed customer data.

AbstractCustomerFactory
CustomerFactory
Package: Customer
Category: System
Extends: AbstractCustomerFactory
Located at Services/Core/Customer/CustomerFactory.inc.php

Methods summary

public createCustomer( void ) : Customer

Creates a new customer object.

public createCustomerAddress( void ) : CustomerAddress

Creates a new customer address object.

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

Creates a new customer country object with the given parameters.

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

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