Country
extends Base
in package
Class Country.
Table of Contents
- $active : bool
- $areaId : int
- $description : string
- $displayStateInRegistration : bool
- $forceStateInRegistration : bool
- $id : int
- $iso : string
- $iso3 : string
- $isoName : string
- $name : string
- $position : int
- $shippingFree : bool
- $states : array<string|int, State>
- $taxFree : bool
- $taxFreeUstId : bool
- $taxFreeUstIdChecked : bool
- getAreaId() : int
- getArrayCopy() : array<string|int, mixed>
- Gets the attributes of this entity.
- getDescription() : string
- getId() : int
- getIso() : string
- getIso3() : string
- getIsoName() : string
- getName() : string
- getPosition() : int
- getStates() : array<string|int, State>
- isActive() : bool
- isDisplayStateInRegistration() : bool
- isForceStateInRegistration() : bool
- isShippingFree() : bool
- isTaxFree() : bool
- isTaxFreeUstId() : bool
- isTaxFreeUstIdChecked() : bool
- setActive() : Country
- setAreaId() : Country
- setDescription() : Country
- setDisplayStateInRegistration() : Country
- setEntityAttributes() : $this
- Sets the attributes of this entity.
- setForceStateInRegistration() : Country
- setId() : Country
- setIso() : Country
- setIso3() : Country
- setIsoName() : Country
- setName() : Country
- setPosition() : Country
- setShippingFree() : Country
- setStates() : Country
- setTaxFree() : Country
- setTaxFreeUstId() : Country
- setTaxFreeUstIdChecked() : Country
Properties
$active
protected
bool
$active
$areaId
protected
int
$areaId
$description
protected
string
$description
$displayStateInRegistration
protected
bool
$displayStateInRegistration
$forceStateInRegistration
protected
bool
$forceStateInRegistration
$id
protected
int
$id
$iso
protected
string
$iso
$iso3
protected
string
$iso3
$isoName
protected
string
$isoName
$name
protected
string
$name
$position
protected
int
$position
$shippingFree
protected
bool
$shippingFree
$states
protected
array<string|int, State>
$states
$taxFree
protected
bool
$taxFree
$taxFreeUstId
protected
bool
$taxFreeUstId
$taxFreeUstIdChecked
protected
bool
$taxFreeUstIdChecked
Methods
getAreaId()
public
getAreaId() : int
Return values
int —getArrayCopy()
Gets the attributes of this entity.
public
getArrayCopy() : array<string|int, mixed>
Return values
array<string|int, mixed> —getDescription()
public
getDescription() : string
Return values
string —getId()
public
getId() : int
Return values
int —getIso()
public
getIso() : string
Return values
string —getIso3()
public
getIso3() : string
Return values
string —getIsoName()
public
getIsoName() : string
Return values
string —getName()
public
getName() : string
Return values
string —getPosition()
public
getPosition() : int
Return values
int —getStates()
public
getStates() : array<string|int, State>
Return values
array<string|int, State> —isActive()
public
isActive() : bool
Return values
bool —isDisplayStateInRegistration()
public
isDisplayStateInRegistration() : bool
Return values
bool —isForceStateInRegistration()
public
isForceStateInRegistration() : bool
Return values
bool —isShippingFree()
public
isShippingFree() : bool
Return values
bool —isTaxFree()
public
isTaxFree() : bool
Return values
bool —isTaxFreeUstId()
public
isTaxFreeUstId() : bool
Return values
bool —isTaxFreeUstIdChecked()
public
isTaxFreeUstIdChecked() : bool
Return values
bool —setActive()
public
setActive(bool $active) : Country
Parameters
- $active : bool
Return values
Country —setAreaId()
public
setAreaId(int $areaId) : Country
Parameters
- $areaId : int
Return values
Country —setDescription()
public
setDescription(string $description) : Country
Parameters
- $description : string
Return values
Country —setDisplayStateInRegistration()
public
setDisplayStateInRegistration(bool $displayStateInRegistration) : Country
Parameters
- $displayStateInRegistration : bool
Return values
Country —setEntityAttributes()
Sets the attributes of this entity.
public
setEntityAttributes(array<string|int, mixed> $attributes) : $this
Parameters
- $attributes : array<string|int, mixed>
Return values
$this —setForceStateInRegistration()
public
setForceStateInRegistration(bool $forceStateInRegistration) : Country
Parameters
- $forceStateInRegistration : bool
Return values
Country —setId()
public
setId(int $id) : Country
Parameters
- $id : int
Return values
Country —setIso()
public
setIso(string $iso) : Country
Parameters
- $iso : string
Return values
Country —setIso3()
public
setIso3(string $iso3) : Country
Parameters
- $iso3 : string
Return values
Country —setIsoName()
public
setIsoName(string $isoName) : Country
Parameters
- $isoName : string
Return values
Country —setName()
public
setName(string $name) : Country
Parameters
- $name : string
Return values
Country —setPosition()
public
setPosition(int $position) : Country
Parameters
- $position : int
Return values
Country —setShippingFree()
public
setShippingFree(bool $shippingFree) : Country
Parameters
- $shippingFree : bool
Return values
Country —setStates()
public
setStates(array<string|int, State> $states) : Country
Parameters
- $states : array<string|int, State>
Return values
Country —setTaxFree()
public
setTaxFree(bool $taxFree) : Country
Parameters
- $taxFree : bool
Return values
Country —setTaxFreeUstId()
public
setTaxFreeUstId(bool $taxFreeUstId) : Country
Parameters
- $taxFreeUstId : bool
Return values
Country —setTaxFreeUstIdChecked()
public
setTaxFreeUstIdChecked(bool $taxFreeUstIdChecked) : Country
Parameters
- $taxFreeUstIdChecked : bool