phpDocumentor

EmptyCurrencyCode extends CurrencyCode
in package

EmptyCurrencyCode

The purpose of this class is to return an empty string as representation of a empty currency code value.

Tags
category

System

Table of Contents

$code  : string
Holds the currency code as a string.
$currencyValue  : float
Holds the currency value as a decimal type.
__construct()  : mixed
Override constructor, as no argument are passed, and therefore no validation is needed in this class.
getCode()  : string
Get Code
getCurrencyValue()  : DecimalType
Get Currency Value

Properties

$currencyValue

Holds the currency value as a decimal type.

protected float $currencyValue

Methods

__construct()

Override constructor, as no argument are passed, and therefore no validation is needed in this class.

public __construct() : mixed
Return values
mixed

getCode()

Get Code

public getCode() : string

Returns the currency code as a string.

Return values
string

Search results