CustomerCountry
in package
implements
CustomerCountryInterface
Class CustomerCountry
This class is used for getting customer country data
Tags
Interfaces, Classes and Traits
- CustomerCountryInterface
- Interface CustomerCountryInterface
Table of Contents
- $addressFormatId : IdType
- $id : int
- $iso2 : CustomerCountryIso2Interface
- $iso3 : CustomerCountryIso3Interface
- $name : CustomerCountryNameInterface
- $status : bool
- __construct() : mixed
- Constructor of the class CustomerCountry
- getAddressFormatId() : IdType
- Getter method for the address format of the country
- getId() : int
- Getter method for the country ID
- getIso2() : CustomerCountryIso2Interface
- Getter Method for the ISO2 code of the country
- getIso3() : CustomerCountryIso3Interface
- Getter Method for the ISO3 code of the country
- getName() : CustomerCountryNameInterface
- Getter method for the country name
- getStatus() : bool
- Getter method for the Status of the country
Properties
$addressFormatId
protected
IdType
$addressFormatId
$id
protected
int
$id
$iso2
protected
CustomerCountryIso2Interface
$iso2
$iso3
protected
CustomerCountryIso3Interface
$iso3
$name
protected
CustomerCountryNameInterface
$name
$status
protected
bool
$status
Methods
__construct()
Constructor of the class CustomerCountry
public
__construct(IdType $id, CustomerCountryNameInterface $name, CustomerCountryIso2Interface $iso2, CustomerCountryIso3Interface $iso3, IdType $addressFormatId, bool $p_status) : mixed
Parameters
- $id : IdType
- $name : CustomerCountryNameInterface
- $iso2 : CustomerCountryIso2Interface
- $iso3 : CustomerCountryIso3Interface
- $addressFormatId : IdType
- $p_status : bool
Tags
Return values
mixed —getAddressFormatId()
Getter method for the address format of the country
public
getAddressFormatId() : IdType
Return values
IdType —address format id
getId()
Getter method for the country ID
public
getId() : int
Return values
int —countryId
getIso2()
Getter Method for the ISO2 code of the country
public
getIso2() : CustomerCountryIso2Interface
Return values
CustomerCountryIso2Interface —ISO2 code
getIso3()
Getter Method for the ISO3 code of the country
public
getIso3() : CustomerCountryIso3Interface
Return values
CustomerCountryIso3Interface —ISO3 code
getName()
Getter method for the country name
public
getName() : CustomerCountryNameInterface
Return values
CustomerCountryNameInterface —country name
getStatus()
Getter method for the Status of the country
public
getStatus() : bool
Return values
bool —country active status