PHP Класс SimpleSoftwareIO\QrCode\DataTypes\BTC

Наследование: implements SimpleSoftwareIO\QrCode\DataTypes\DataTypeInterface
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$address string The BitCoin address.
$amount integer The amount to send.
$label string The BitCoin transaction label.
$message string The BitCoin message to send.
$prefix string The prefix of the QrCode.
$returnAddress string The BitCoin return URL.
$separator string The separator between the variables.

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

Метод Описание
__toString ( ) : string Returns the correct QrCode format.
create ( array $arguments ) Generates the DataType Object and sets all of its properties.

Защищенные методы

Метод Описание
buildBitCoinString ( ) : string Builds a BitCoin string.
setOptions ( array $options ) Sets the optional BitCoin options.
setProperties ( array $arguments ) Sets the BitCoin arguments.

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

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

Returns the correct QrCode format.
public __toString ( ) : string
Результат string

buildBitCoinString() защищенный Метод

Builds a BitCoin string.
protected buildBitCoinString ( ) : string
Результат string

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

Generates the DataType Object and sets all of its properties.
public create ( array $arguments )
$arguments array

setOptions() защищенный Метод

Sets the optional BitCoin options.
protected setOptions ( array $options )
$options array

setProperties() защищенный Метод

Sets the BitCoin arguments.
protected setProperties ( array $arguments )
$arguments array

Описание свойств

$address защищенное свойство

The BitCoin address.
protected string $address
Результат string

$amount защищенное свойство

The amount to send.
protected int $amount
Результат integer

$label защищенное свойство

The BitCoin transaction label.
protected string $label
Результат string

$message защищенное свойство

The BitCoin message to send.
protected string $message
Результат string

$prefix защищенное свойство

The prefix of the QrCode.
protected string $prefix
Результат string

$returnAddress защищенное свойство

The BitCoin return URL.
protected string $returnAddress
Результат string

$separator защищенное свойство

The separator between the variables.
protected string $separator
Результат string