PHP Class Bitpay\PayoutInstruction

Inheritance: implements bitpay\PayoutInstructionInterface
Afficher le fichier Open project: bitpay/php-client

Protected Properties

Свойство Type Description
$address string
$amount float
$btc array
$id string
$label string
$status string
$transactions array

Méthodes publiques

Méthode Description
__construct ( )
addTransaction ( bitpay\PayoutTransactionInterface $transaction ) Add payout transaction to the
getAddress ( )
getAmount ( )
getBtc ( )
getId ( )
getLabel ( )
getStatus ( )
getTransactions ( )
setAddress ( $address ) Set the bitcoin address for this instruction.
setAmount ( $amount ) Set the amount for this instruction.
setBtc ( $btc ) Set BTC array (available once rates are set)
setId ( $id ) Set the Bitpay ID for this payout instruction
setLabel ( $label ) Set the employers label for this instruction.
setStatus ( $status ) Set the status for this instruction

Method Details

__construct() public méthode

public __construct ( )

addTransaction() public méthode

Add payout transaction to the
public addTransaction ( bitpay\PayoutTransactionInterface $transaction )
$transaction bitpay\PayoutTransactionInterface

getAddress() public méthode

public getAddress ( )

getAmount() public méthode

public getAmount ( )

getBtc() public méthode

public getBtc ( )

getId() public méthode

public getId ( )

getLabel() public méthode

public getLabel ( )

getStatus() public méthode

public getStatus ( )

getTransactions() public méthode

public getTransactions ( )

setAddress() public méthode

Set the bitcoin address for this instruction.
public setAddress ( $address )
$address

setAmount() public méthode

Set the amount for this instruction.
public setAmount ( $amount )
$amount

setBtc() public méthode

Set BTC array (available once rates are set)
public setBtc ( $btc )
$btc

setId() public méthode

Set the Bitpay ID for this payout instruction
public setId ( $id )
$id

setLabel() public méthode

Set the employers label for this instruction.
public setLabel ( $label )
$label

setStatus() public méthode

Set the status for this instruction
public setStatus ( $status )
$status

Property Details

$address protected_oe property

protected string $address
Résultat string

$amount protected_oe property

protected float $amount
Résultat float

$btc protected_oe property

protected array $btc
Résultat array

$id protected_oe property

protected string $id
Résultat string

$label protected_oe property

protected string $label
Résultat string

$status protected_oe property

protected string $status
Résultat string

$transactions protected_oe property

protected array $transactions
Résultat array