CloudCastle CurrencyConverter

Money
in package

FinalYes

Неизменяемая сумма в минорных единицах валюты (центы, копейки, йены).

Table of Contents

Properties

$currency  : Currency
$minor  : int

Methods

__construct()  : mixed
currency()  : Currency
isNegative()  : bool
isPositive()  : bool
isZero()  : bool
minor()  : int

Properties

$minor read-only

private int $minor

Methods

__construct()

public __construct(int $minor, Currency $currency) : mixed
Parameters
$minor : int
$currency : Currency

isNegative()

public isNegative() : bool
Return values
bool

isPositive()

public isPositive() : bool
Return values
bool

isZero()

public isZero() : bool
Return values
bool

minor()

public minor() : int
Return values
int
On this page

Search results