Currency
extends Base
in package
Class Currency.
Table of Contents
- $currency : string
- $default : bool
- $factor : float
- $id : int
- $name : string
- $position : int
- $symbol : string
- $symbolPosition : int
- getArrayCopy() : array<string|int, mixed>
- Gets the attributes of this entity.
- getCurrency() : string
- getFactor() : float
- getId() : int
- getName() : string
- getPosition() : int
- getSymbol() : string
- getSymbolPosition() : int
- isDefault() : bool
- setCurrency() : Currency
- setDefault() : Currency
- setEntityAttributes() : $this
- Sets the attributes of this entity.
- setFactor() : Currency
- setId() : Currency
- setName() : Currency
- setPosition() : Currency
- setSymbol() : Currency
- setSymbolPosition() : Currency
Properties
$currency
protected
string
$currency
$default
protected
bool
$default
$factor
protected
float
$factor
$id
protected
int
$id
$name
protected
string
$name
$position
protected
int
$position
$symbol
protected
string
$symbol
$symbolPosition
protected
int
$symbolPosition
Methods
getArrayCopy()
Gets the attributes of this entity.
public
getArrayCopy() : array<string|int, mixed>
Return values
array<string|int, mixed> —getCurrency()
public
getCurrency() : string
Return values
string —getFactor()
public
getFactor() : float
Return values
float —getId()
public
getId() : int
Return values
int —getName()
public
getName() : string
Return values
string —getPosition()
public
getPosition() : int
Return values
int —getSymbol()
public
getSymbol() : string
Return values
string —getSymbolPosition()
public
getSymbolPosition() : int
Return values
int —isDefault()
public
isDefault() : bool
Return values
bool —setCurrency()
public
setCurrency(string $currency) : Currency
Parameters
- $currency : string
Return values
Currency —setDefault()
public
setDefault(bool $default) : Currency
Parameters
- $default : bool
Return values
Currency —setEntityAttributes()
Sets the attributes of this entity.
public
setEntityAttributes(array<string|int, mixed> $attributes) : $this
Parameters
- $attributes : array<string|int, mixed>
Return values
$this —setFactor()
public
setFactor(float $factor) : Currency
Parameters
- $factor : float
Return values
Currency —setId()
public
setId(int $id) : Currency
Parameters
- $id : int
Return values
Currency —setName()
public
setName(string $name) : Currency
Parameters
- $name : string
Return values
Currency —setPosition()
public
setPosition(int $position) : Currency
Parameters
- $position : int
Return values
Currency —setSymbol()
public
setSymbol(string $symbol) : Currency
Parameters
- $symbol : string
Return values
Currency —setSymbolPosition()
public
setSymbolPosition(int $symbolPosition) : Currency
Parameters
- $symbolPosition : int