EmptyCurrencyCode
The purpose of this class is to return an empty string as representation of a empty currency code value.
category |
System |
---|---|
package |
Shared |
__construct(\StringType $code, \DecimalType $currencyValue = null)
Validates the parameter and saves it to the property in uppercase format.
Throws |
|
---|
getCode() : string
Returns the currency code as a string.
string
getCurrencyValue() : \DecimalType
code : string
var |
---|
string
currencyValue : float
var |
---|
float