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

  • AbstractCustomerServiceFactory
  • Customer
  • CustomerDeleter
  • CustomerFactory
  • CustomerReader
  • CustomerReadService
  • CustomerRepository
  • CustomerService
  • CustomerServiceFactory
  • CustomerWriter
  • CustomerWriteService

Class CustomerFactory

Class CustomerFactory

Factory class for all needed customer data.

AbstractCustomerFactory
Extended by CustomerFactory
Package: Customer
Category: System
Extends: AbstractCustomerFactory
Located at CoreServices/Customer/CustomerFactory.inc.php

Methods summary

public Customer
# createCustomer( )

Creates a new customer object.

Creates a new customer object.

Returns

Customer
Created customer.
public CustomerAddress
# createCustomerAddress( )

Creates a new customer address object.

Creates a new customer address object.

Returns

CustomerAddress
Created customer address.
public CustomerCountry
# createCustomerCountry( IdType $id, CustomerCountryNameInterface $name, CustomerCountryIso2Interface $iso2, CustomerCountryIso3Interface $iso3, IdType $addressFormatId, boolean $status )

Creates a new customer country object with the given parameters.

Creates a new customer country object with the given parameters.

Parameters

$id
Country ID.
$name
Country name.
$iso2
Country ISO-2 code.
$iso3
Country ISO-3 code.
$addressFormatId
Country address format ID.
$status
Country status.

Returns

CustomerCountry
Created customer country.
public CustomerCountryZone
# createCustomerCountryZone( IdType $id, CustomerCountryZoneNameInterface $name, CustomerCountryZoneIsoCodeInterface $isoCode )

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

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

Parameters

$id
Country zone ID.
$name
Country zone name.
$isoCode
Country ISO code.

Returns

CustomerCountryZone
Created customer country zone.
API documentation generated by ApiGen