Class CurrencyCode
CurrencyCode
CurrencyCode
public
__construct( StringType $code, DecimalType $currencyValue = null )
Constructor
Constructor
Validates the parameter and saves it to the property in uppercase format.
$code$currencyValue
public
getCode( void )
: string
Get Code
Get Code
Returns the currency code as a string.
protected
$currencyValue
: float
Holds the currency value as a decimal type.
Holds the currency value as a decimal type.
Gambio GmbH © 2018