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

  • CountryService
  • CustomerCountry
  • CustomerCountryReader
  • CustomerCountryRepository

Class CustomerCountry

Class CustomerCountry

This class is used for getting customer country data

CustomerCountry implements CustomerCountryInterface
Package: Customer\Country
Category: System
Implements: CustomerCountryInterface
Located at CoreServices/Country/CustomerCountry.inc.php

Methods summary

public
# __construct( IdType $id, CustomerCountryNameInterface $name, CustomerCountryIso2Interface $iso2, CustomerCountryIso3Interface $iso3, IdType $addressFormatId, boolean $p_status )

Constructor of the class CustomerCountry

Constructor of the class CustomerCountry

Parameters

$id
$name
$iso2
$iso3
$addressFormatId
$p_status

Throws

InvalidArgumentException
if argument does not match the expected type
public integer
# getId( )

Getter method for the country ID

Getter method for the country ID

Returns

integer
countryId

Implementation of

CustomerCountryInterface::getId()
public CustomerCountryNameInterface
# getName( )

Getter method for the country name

Getter method for the country name

Returns

CustomerCountryNameInterface
country name

Implementation of

CustomerCountryInterface::getName()
public CustomerCountryIso2Interface
# getIso2( )

Getter Method for the ISO2 code of the country

Getter Method for the ISO2 code of the country

Returns

CustomerCountryIso2Interface
ISO2 code

Implementation of

CustomerCountryInterface::getIso2()
public CustomerCountryIso3Interface
# getIso3( )

Getter Method for the ISO3 code of the country

Getter Method for the ISO3 code of the country

Returns

CustomerCountryIso3Interface
ISO3 code

Implementation of

CustomerCountryInterface::getIso3()
public IdType
# getAddressFormatId( )

Getter method for the address format of the country

Getter method for the address format of the country

Returns

IdType
address format id

Implementation of

CustomerCountryInterface::getAddressFormatId()
public boolean
# getStatus( )

Getter method for the Status of the country

Getter method for the Status of the country

Returns

boolean
country active status

Implementation of

CustomerCountryInterface::getStatus()

Properties summary

protected integer $id
#
protected CustomerCountryNameInterface $name
#
protected CustomerCountryIso2Interface $iso2
#
protected CustomerCountryIso3Interface $iso3
#
protected IdType $addressFormatId
#
protected boolean $status
#
API documentation generated by ApiGen