PHP Class SimpleSoftwareIO\QrCode\DataTypes\BTC

Inheritance: implements SimpleSoftwareIO\QrCode\DataTypes\DataTypeInterface
Afficher le fichier Open project: simplesoftwareio/simple-qrcode

Protected Properties

Свойство Type Description
$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.

Méthodes publiques

Méthode Description
__toString ( ) : string Returns the correct QrCode format.
create ( array $arguments ) Generates the DataType Object and sets all of its properties.

Méthodes protégées

Méthode Description
buildBitCoinString ( ) : string Builds a BitCoin string.
setOptions ( array $options ) Sets the optional BitCoin options.
setProperties ( array $arguments ) Sets the BitCoin arguments.

Method Details

__toString() public méthode

Returns the correct QrCode format.
public __toString ( ) : string
Résultat string

buildBitCoinString() protected méthode

Builds a BitCoin string.
protected buildBitCoinString ( ) : string
Résultat string

create() public méthode

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

setOptions() protected méthode

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

setProperties() protected méthode

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

Property Details

$address protected_oe property

The BitCoin address.
protected string $address
Résultat string

$amount protected_oe property

The amount to send.
protected int $amount
Résultat integer

$label protected_oe property

The BitCoin transaction label.
protected string $label
Résultat string

$message protected_oe property

The BitCoin message to send.
protected string $message
Résultat string

$prefix protected_oe property

The prefix of the QrCode.
protected string $prefix
Résultat string

$returnAddress protected_oe property

The BitCoin return URL.
protected string $returnAddress
Résultat string

$separator protected_oe property

The separator between the variables.
protected string $separator
Résultat string