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
$buyerPaysRefundFee  : bool
$currency  : string
$id  : string
$immediate  : bool
$invoice  : string
$lastRefundNotification  : string
$refundFee  : float
$requestDate  : string
$status  : string
$supportRequest  : string

Methods

__construct()  : mixed
getAmount()  : float
getBuyerPaysRefundFee()  : bool
getCurrency()  : string
getId()  : string
getImmediate()  : bool
getInvoice()  : string
getLastRefundNotification()  : string
getRefundFee()  : float
getRequestDate()  : string
getStatus()  : string
getSupportRequest()  : string
setAmount()  : void
setBuyerPaysRefundFee()  : void
setCurrency()  : void
setId()  : void
setImmediate()  : void
setInvoice()  : void
setLastRefundNotification()  : void
setRefundFee()  : void
setRequestDate()  : void
setStatus()  : void
setSupportRequest()  : void
toArray()  : array<string|int, mixed>

Properties

$lastRefundNotification

protected string $lastRefundNotification

Methods

getBuyerPaysRefundFee()

public getBuyerPaysRefundFee() : bool
Return values
bool

getCurrency()

public getCurrency() : string
Return values
string

getImmediate()

public getImmediate() : bool
Return values
bool

getInvoice()

public getInvoice() : string
Return values
string

getLastRefundNotification()

public getLastRefundNotification() : string
Return values
string

getRefundFee()

public getRefundFee() : float
Return values
float

getRequestDate()

public getRequestDate() : string
Return values
string

getStatus()

public getStatus() : string
Return values
string

getSupportRequest()

public getSupportRequest() : string
Return values
string

setAmount()

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

setBuyerPaysRefundFee()

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

setCurrency()

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

setId()

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

setImmediate()

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

setInvoice()

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

setLastRefundNotification()

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

setRefundFee()

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

setRequestDate()

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

setStatus()

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

setSupportRequest()

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

toArray()

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

        
On this page

Search results