BitPay PHP SDK

RefundWebhook
in package

Class RefundWebhook

Tags
author

BitPay Integrations integrations@bitpay.com

license

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

see
https://bitpay.readme.io/reference/refunds-1

Webhooks refunds

Table of Contents

Properties

$amount  : float|null
$buyerPaysRefundFee  : bool|null
$currency  : string|null
$guid  : string|null
$id  : string|null
$immediate  : bool|null
$invoice  : string|null
$lastRefundNotification  : string|null
$reference  : string|null
$refundAddress  : string|null
$refundFee  : float|null
$requestDate  : string|null
$status  : string|null
$supportRequest  : string|null
$transactionAmount  : float|null
$transactionCurrency  : string|null
$transactionRefundFee  : float|null
$txid  : string|null
$type  : string|null

Methods

getAmount()  : float|null
getBuyerPaysRefundFee()  : bool|null
getCurrency()  : string|null
getGuid()  : string|null
getId()  : string|null
getImmediate()  : bool|null
getInvoice()  : string|null
getLastRefundNotification()  : string|null
getReference()  : string|null
getRefundAddress()  : string|null
getRefundFee()  : float|null
getRequestDate()  : string|null
getStatus()  : string|null
getSupportRequest()  : string|null
getTransactionAmount()  : float|null
getTransactionCurrency()  : string|null
getTransactionRefundFee()  : float|null
getTxid()  : string|null
getType()  : string|null
setAmount()  : void
setBuyerPaysRefundFee()  : void
setCurrency()  : void
setGuid()  : void
setId()  : void
setImmediate()  : void
setInvoice()  : void
setLastRefundNotification()  : void
setReference()  : void
setRefundAddress()  : void
setRefundFee()  : void
setRequestDate()  : void
setStatus()  : void
setSupportRequest()  : void
setTransactionAmount()  : void
setTransactionCurrency()  : void
setTransactionRefundFee()  : void
setTxid()  : void
setType()  : void
toArray()  : array<string|int, mixed>

Properties

$buyerPaysRefundFee

protected bool|null $buyerPaysRefundFee = null

$lastRefundNotification

protected string|null $lastRefundNotification = null

$supportRequest

protected string|null $supportRequest = null

$transactionCurrency

protected string|null $transactionCurrency

$transactionRefundFee

protected float|null $transactionRefundFee

Methods

getAmount()

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

getBuyerPaysRefundFee()

public getBuyerPaysRefundFee() : bool|null
Return values
bool|null

getCurrency()

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

getGuid()

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

getId()

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

getImmediate()

public getImmediate() : bool|null
Return values
bool|null

getInvoice()

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

getLastRefundNotification()

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

getReference()

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

getRefundAddress()

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

getRefundFee()

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

getRequestDate()

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

getStatus()

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

getSupportRequest()

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

getTransactionAmount()

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

getTransactionCurrency()

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

getTransactionRefundFee()

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

getTxid()

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

getType()

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

setAmount()

public setAmount(float|null $amount) : void
Parameters
$amount : float|null

setBuyerPaysRefundFee()

public setBuyerPaysRefundFee(bool|null $buyerPaysRefundFee) : void
Parameters
$buyerPaysRefundFee : bool|null

setCurrency()

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

setGuid()

public setGuid(string|null $guid) : void
Parameters
$guid : string|null

setId()

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

setImmediate()

public setImmediate(bool|null $immediate) : void
Parameters
$immediate : bool|null

setInvoice()

public setInvoice(string|null $invoice) : void
Parameters
$invoice : string|null

setLastRefundNotification()

public setLastRefundNotification(string|null $lastRefundNotification) : void
Parameters
$lastRefundNotification : string|null

setReference()

public setReference(string|null $reference) : void
Parameters
$reference : string|null

setRefundAddress()

public setRefundAddress(string|null $refundAddress) : void
Parameters
$refundAddress : string|null

setRefundFee()

public setRefundFee(float|null $refundFee) : void
Parameters
$refundFee : float|null

setRequestDate()

public setRequestDate(string|null $requestDate) : void
Parameters
$requestDate : string|null

setStatus()

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

setSupportRequest()

public setSupportRequest(string|null $supportRequest) : void
Parameters
$supportRequest : string|null

setTransactionAmount()

public setTransactionAmount(float|null $transactionAmount) : void
Parameters
$transactionAmount : float|null

setTransactionCurrency()

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

setTransactionRefundFee()

public setTransactionRefundFee(float|null $transactionRefundFee) : void
Parameters
$transactionRefundFee : float|null

setTxid()

public setTxid(string|null $txid) : void
Parameters
$txid : string|null

setType()

public setType(string|null $type) : void
Parameters
$type : string|null

toArray()

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

        
On this page

Search results