BitPay PHP SDK

MinerFeesItem
in package

Class MinerFeesItem

Tags
author

BitPay Integrations integrations@bitpay.com

license

http://www.opensource.org/licenses/mit-license.php MIT

see
https://bitpay.readme.io/reference/invoices

REST API Invoices

Table of Contents

Properties

$fiatAmount  : float|null
$satoshisPerByte  : float|null
$totalFee  : int|null

Methods

__construct()  : mixed
getFiatAmount()  : float|null
getSatoshisPerByte()  : float|null
getTotalFee()  : int|null
setFiatAmount()  : void
setSatoshisPerByte()  : void
setTotalFee()  : void
toArray()  : array<string|int, mixed>

Properties

$satoshisPerByte

protected float|null $satoshisPerByte = null

Methods

getFiatAmount()

public getFiatAmount() : float|null
Return values
float|null

getSatoshisPerByte()

public getSatoshisPerByte() : float|null
Return values
float|null

getTotalFee()

public getTotalFee() : int|null
Return values
int|null

setFiatAmount()

public setFiatAmount(float|null $fiatAmount) : void
Parameters
$fiatAmount : float|null

setSatoshisPerByte()

public setSatoshisPerByte(float $satoshisPerByte) : void
Parameters
$satoshisPerByte : float

setTotalFee()

public setTotalFee(int $totalFee) : void
Parameters
$totalFee : int

toArray()

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results