PHP Class Bitpay\PayoutInstruction

Inheritance: implements bitpay\PayoutInstructionInterface
显示文件 Open project: bitpay/php-client

Protected Properties

Property Type Description
$address string
$amount float
$btc array
$id string
$label string
$status string
$transactions array

Public Methods

Method 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 method

public __construct ( )

addTransaction() public method

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

getAddress() public method

public getAddress ( )

getAmount() public method

public getAmount ( )

getBtc() public method

public getBtc ( )

getId() public method

public getId ( )

getLabel() public method

public getLabel ( )

getStatus() public method

public getStatus ( )

getTransactions() public method

public getTransactions ( )

setAddress() public method

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

setAmount() public method

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

setBtc() public method

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

setId() public method

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

setLabel() public method

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

setStatus() public method

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

Property Details

$address protected_oe property

protected string $address
return string

$amount protected_oe property

protected float $amount
return float

$btc protected_oe property

protected array $btc
return array

$id protected_oe property

protected string $id
return string

$label protected_oe property

protected string $label
return string

$status protected_oe property

protected string $status
return string

$transactions protected_oe property

protected array $transactions
return array