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

  • AbstractCustomerFactory

Interfaces

  • AddressBlockInterface
  • AddressBookServiceInterface
  • AddressClassInterface
  • CountryServiceInterface
  • CustomerAccountInputValidatorInterface
  • CustomerAddressDeleterInterface
  • CustomerAddressInputValidatorInterface
  • CustomerAddressInterface
  • CustomerAddressReaderInterface
  • CustomerAddressRepositoryInterface
  • CustomerAddressWriterInterface
  • CustomerB2BStatusInterface
  • CustomerCallNumberInterface
  • CustomerCityInterface
  • CustomerCompanyInterface
  • CustomerCountryInterface
  • CustomerCountryIso2Interface
  • CustomerCountryIso3Interface
  • CustomerCountryNameInterface
  • CustomerCountryReaderInterface
  • CustomerCountryRepositoryInterface
  • CustomerCountryZoneInterface
  • CustomerCountryZoneIsoCodeInterface
  • CustomerCountryZoneNameInterface
  • CustomerCountryZoneReaderInterface
  • CustomerCountryZoneRepositoryInterface
  • CustomerDeleterInterface
  • CustomerEmailInterface
  • CustomerFirstnameInterface
  • CustomerGenderInterface
  • CustomerInputValidatorInterface
  • CustomerInputValidatorSettingsInterface
  • CustomerInterface
  • CustomerLastnameInterface
  • CustomerNumberInterface
  • CustomerPasswordInterface
  • CustomerPostcodeInterface
  • CustomerReaderInterface
  • CustomerReadServiceInterface
  • CustomerRegistrationInputValidatorServiceInterface
  • CustomerRepositoryInterface
  • CustomerServiceInterface
  • CustomerServiceSettingsInterface
  • CustomerStreetInterface
  • CustomerSuburbInterface
  • CustomerVatNumberInterface
  • CustomerWriterInterface
  • CustomerWriteServiceInterface
  • VatNumberValidatorInterface

Interface CustomerReadServiceInterface

Interface CustomerReadServiceInterface

Direct known implementers

CustomerReadService

Package: Customer\Interfaces
Category: System
Located at CoreServices/Customer/Interfaces/CustomerReadServiceInterface.inc.php

Methods summary

public Customer
# getCustomerById( IdType $customerId )

Finds a customer by an entered ID.

Finds a customer by an entered ID.

Parameters

$customerId
Customer ID.

Returns

Customer
Customer.
public boolean
# registreeEmailExists( CustomerEmailInterface $email )

Checks if the email address of the registree already exists.

Checks if the email address of the registree already exists.

Parameters

$email
Customer's E-Mail address.

Returns

boolean
Does the E-Mail address already exist?
public boolean
# addressIsDefaultCustomerAddress( CustomerAddressInterface $customerAddress )

Checks if address is the default address of the customer.

Checks if address is the default address of the customer.

Parameters

$customerAddress
Customer's address.

Returns

boolean
Is provided address the customer's default address?
public array
# filterCustomers( array $conditions, integer $limit, integer $offset )

Filters customer records and returns an array with results.

Filters customer records and returns an array with results.

Example: $service->filterCustomers('customers_id' => 1);

Parameters

$conditions
Associative array containing the desired field and value.
$limit
MySQL limit applied to the records.
$offset
MySQL offset applied to the records.

Returns

array
Returns an array that contains customer objects.
API documentation generated by ApiGen