BitPay PHP SDK

InvoiceWebhook
in package

Tags
author

BitPay Integrations integrations@bitpay.com

license

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

see
https://developer.bitpay.com/reference/notifications-invoices

Notifications Invoices

Table of Contents

Properties

$amountPaid  : float|null
$buyerFields  : BuyerFields|null
$currency  : string|null
$currencyTime  : string|null
$exceptionStatus  : string|null
$exchangeRates  : array<string|int, mixed>|null
$id  : string|null
$inInvoiceId  : string|null
$inPaymentRequest  : string|null
$invoiceTime  : string|null
$orderId  : string|null
$paymentSubtotals  : array<string|int, mixed>|null
$paymentTotals  : array<string|int, mixed>|null
$posData  : string|null
$price  : float|null
$status  : string|null
$transactionCurrency  : string|null
$url  : string|null

Methods

getAmountPaid()  : float|null
getBuyerFields()  : BuyerFields|null
getCurrency()  : string|null
getCurrencyTime()  : string|null
getExceptionStatus()  : string|null
getExchangeRates()  : array<string|int, mixed>|null
getId()  : string|null
getInInvoiceId()  : string|null
getInPaymentRequest()  : string|null
getInvoiceTime()  : string|null
getOrderId()  : string|null
getPaymentSubtotals()  : array<string|int, mixed>|null
getPaymentTotals()  : array<string|int, mixed>|null
getPosData()  : string|null
getPrice()  : float|null
getStatus()  : string|null
getTransactionCurrency()  : string|null
getUrl()  : string|null
setAmountPaid()  : void
setBuyerFields()  : void
setCurrency()  : void
setCurrencyTime()  : void
setExceptionStatus()  : void
setExchangeRates()  : void
setId()  : void
setInInvoiceId()  : void
setInPaymentRequest()  : void
setInvoiceTime()  : void
setOrderId()  : void
setPaymentSubtotals()  : void
setPaymentTotals()  : void
setPosData()  : void
setPrice()  : void
setStatus()  : void
setTransactionCurrency()  : void
setUrl()  : void

Properties

$exchangeRates

protected array<string|int, mixed>|null $exchangeRates

$paymentSubtotals

protected array<string|int, mixed>|null $paymentSubtotals

$paymentTotals

protected array<string|int, mixed>|null $paymentTotals

Methods

getAmountPaid()

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

getCurrency()

public getCurrency() : string|null
Return values
string|null

getCurrencyTime()

public getCurrencyTime() : string|null
Return values
string|null

getExceptionStatus()

public getExceptionStatus() : string|null
Return values
string|null

getExchangeRates()

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

getInInvoiceId()

public getInInvoiceId() : string|null
Return values
string|null

getInPaymentRequest()

public getInPaymentRequest() : string|null
Return values
string|null

getInvoiceTime()

public getInvoiceTime() : string|null
Return values
string|null

getOrderId()

public getOrderId() : string|null
Return values
string|null

getPaymentSubtotals()

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

getPaymentTotals()

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

getPosData()

public getPosData() : string|null
Return values
string|null

getPrice()

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

getStatus()

public getStatus() : string|null
Return values
string|null

getTransactionCurrency()

public getTransactionCurrency() : string|null
Return values
string|null

getUrl()

public getUrl() : string|null
Return values
string|null

setAmountPaid()

public setAmountPaid(float|null $amountPaid) : void
Parameters
$amountPaid : float|null

setCurrency()

public setCurrency(string|null $currency) : void
Parameters
$currency : string|null

setCurrencyTime()

public setCurrencyTime(string|null $currencyTime) : void
Parameters
$currencyTime : string|null

setExceptionStatus()

public setExceptionStatus(string|null $exceptionStatus) : void
Parameters
$exceptionStatus : string|null

setExchangeRates()

public setExchangeRates(array<string|int, mixed>|null $exchangeRates) : void
Parameters
$exchangeRates : array<string|int, mixed>|null

setId()

public setId(string|null $id) : void
Parameters
$id : string|null

setInInvoiceId()

public setInInvoiceId(string|null $inInvoiceId) : void
Parameters
$inInvoiceId : string|null

setInPaymentRequest()

public setInPaymentRequest(string|null $inPaymentRequest) : void
Parameters
$inPaymentRequest : string|null

setInvoiceTime()

public setInvoiceTime(string|null $invoiceTime) : void
Parameters
$invoiceTime : string|null

setOrderId()

public setOrderId(string|null $orderId) : void
Parameters
$orderId : string|null

setPaymentSubtotals()

public setPaymentSubtotals(array<string|int, mixed>|null $paymentSubtotals) : void
Parameters
$paymentSubtotals : array<string|int, mixed>|null

setPaymentTotals()

public setPaymentTotals(array<string|int, mixed>|null $paymentTotals) : void
Parameters
$paymentTotals : array<string|int, mixed>|null

setPosData()

public setPosData(string|null $posData) : void
Parameters
$posData : string|null

setPrice()

public setPrice(float|null $price) : void
Parameters
$price : float|null

setStatus()

public setStatus(string|null $status) : void
Parameters
$status : string|null

setTransactionCurrency()

public setTransactionCurrency(string|null $transactionCurrency) : void
Parameters
$transactionCurrency : string|null

setUrl()

public setUrl(string|null $url) : void
Parameters
$url : string|null

        
On this page

Search results