PHP Класс Payu\Component\Currency

Наследование: implements ComponentInterface
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( string $code = null ) Constructor
__toString ( ) : string Returns string representation of the currency instance in case of casting a currency instance to string.
getCode ( ) : string
setCode ( string $code ) Sets currency code.

Описание методов

__construct() публичный Метод

Constructor
public __construct ( string $code = null )
$code string Three letter currency code.

__toString() публичный Метод

Returns string representation of the currency instance in case of casting a currency instance to string.
public __toString ( ) : string
Результат string

getCode() публичный Метод

public getCode ( ) : string
Результат string

setCode() публичный Метод

Sets currency code.
public setCode ( string $code )
$code string