Menu

## RefundWebhook
in package

RefundWebhook.php : 19

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

#### $amount

RefundWebhook.php : 25
`protected float|null $amount = null`

#### $buyerPaysRefundFee

RefundWebhook.php : 30
`protected bool|null $buyerPaysRefundFee = null`

#### $currency

RefundWebhook.php : 26
`protected string|null $currency = null`

#### $guid

RefundWebhook.php : 33
`protected string|null $guid`

#### $id

RefundWebhook.php : 21
`protected string|null $id = null`

#### $immediate

RefundWebhook.php : 29
`protected bool|null $immediate = null`

#### $invoice

RefundWebhook.php : 22
`protected string|null $invoice = null`

#### $lastRefundNotification

RefundWebhook.php : 27
`protected string|null $lastRefundNotification = null`

#### $reference

RefundWebhook.php : 32
`protected string|null $reference`

#### $refundAddress

RefundWebhook.php : 34
`protected string|null $refundAddress`

#### $refundFee

RefundWebhook.php : 28
`protected float|null $refundFee = null`

#### $requestDate

RefundWebhook.php : 31
`protected string|null $requestDate = null`

#### $status

RefundWebhook.php : 24
`protected string|null $status = null`

#### $supportRequest

RefundWebhook.php : 23
`protected string|null $supportRequest = null`

#### $transactionAmount

RefundWebhook.php : 38
`protected float|null $transactionAmount`

#### $transactionCurrency

RefundWebhook.php : 37
`protected string|null $transactionCurrency`

#### $transactionRefundFee

RefundWebhook.php : 39
`protected float|null $transactionRefundFee`

#### $txid

RefundWebhook.php : 36
`protected string|null $txid`

#### $type

RefundWebhook.php : 35
`protected string|null $type`

### Methods

#### getAmount()

RefundWebhook.php : 81
`public getAmount() : float|null`

##### Return values

float|null

#### getBuyerPaysRefundFee()

RefundWebhook.php : 131
`public getBuyerPaysRefundFee() : bool|null`

##### Return values

bool|null

#### getCurrency()

RefundWebhook.php : 91
`public getCurrency() : string|null`

##### Return values

string|null

#### getGuid()

RefundWebhook.php : 161
`public getGuid() : string|null`

##### Return values

string|null

#### getId()

RefundWebhook.php : 41
`public getId() : string|null`

##### Return values

string|null

#### getImmediate()

RefundWebhook.php : 121
`public getImmediate() : bool|null`

##### Return values

bool|null

#### getInvoice()

RefundWebhook.php : 51
`public getInvoice() : string|null`

##### Return values

string|null

#### getLastRefundNotification()

RefundWebhook.php : 101
`public getLastRefundNotification() : string|null`

##### Return values

string|null

#### getReference()

RefundWebhook.php : 151
`public getReference() : string|null`

##### Return values

string|null

#### getRefundAddress()

RefundWebhook.php : 171
`public getRefundAddress() : string|null`

##### Return values

string|null

#### getRefundFee()

RefundWebhook.php : 111
`public getRefundFee() : float|null`

##### Return values

float|null

#### getRequestDate()

RefundWebhook.php : 141
`public getRequestDate() : string|null`

##### Return values

string|null

#### getStatus()

RefundWebhook.php : 71
`public getStatus() : string|null`

##### Return values

string|null

#### getSupportRequest()

RefundWebhook.php : 61
`public getSupportRequest() : string|null`

##### Return values

string|null

#### getTransactionAmount()

RefundWebhook.php : 211
`public getTransactionAmount() : float|null`

##### Return values

float|null

#### getTransactionCurrency()

RefundWebhook.php : 201
`public getTransactionCurrency() : string|null`

##### Return values

string|null

#### getTransactionRefundFee()

RefundWebhook.php : 221
`public getTransactionRefundFee() : float|null`

##### Return values

float|null

#### getTxid()

RefundWebhook.php : 191
`public getTxid() : string|null`

##### Return values

string|null

#### getType()

RefundWebhook.php : 181
`public getType() : string|null`

##### Return values

string|null

#### setAmount()

RefundWebhook.php : 86
`public setAmount(float|null $amount) : void`

##### Parameters

$amount : float|null

#### setBuyerPaysRefundFee()

RefundWebhook.php : 136
`public setBuyerPaysRefundFee(bool|null $buyerPaysRefundFee) : void`

##### Parameters

$buyerPaysRefundFee : bool|null

#### setCurrency()

RefundWebhook.php : 96
`public setCurrency(string|null $currency) : void`

##### Parameters

$currency : string|null

#### setGuid()

RefundWebhook.php : 166
`public setGuid(string|null $guid) : void`

##### Parameters

$guid : string|null

#### setId()

RefundWebhook.php : 46
`public setId(string|null $id) : void`

##### Parameters

$id : string|null

#### setImmediate()

RefundWebhook.php : 126
`public setImmediate(bool|null $immediate) : void`

##### Parameters

$immediate : bool|null

#### setInvoice()

RefundWebhook.php : 56
`public setInvoice(string|null $invoice) : void`

##### Parameters

$invoice : string|null

#### setLastRefundNotification()

RefundWebhook.php : 106
`public setLastRefundNotification(string|null $lastRefundNotification) : void`

##### Parameters

$lastRefundNotification : string|null

#### setReference()

RefundWebhook.php : 156
`public setReference(string|null $reference) : void`

##### Parameters

$reference : string|null

#### setRefundAddress()

RefundWebhook.php : 176
`public setRefundAddress(string|null $refundAddress) : void`

##### Parameters

$refundAddress : string|null

#### setRefundFee()

RefundWebhook.php : 116
`public setRefundFee(float|null $refundFee) : void`

##### Parameters

$refundFee : float|null

#### setRequestDate()

RefundWebhook.php : 146
`public setRequestDate(string|null $requestDate) : void`

##### Parameters

$requestDate : string|null

#### setStatus()

RefundWebhook.php : 76
`public setStatus(string|null $status) : void`

##### Parameters

$status : string|null

#### setSupportRequest()

RefundWebhook.php : 66
`public setSupportRequest(string|null $supportRequest) : void`

##### Parameters

$supportRequest : string|null

#### setTransactionAmount()

RefundWebhook.php : 216
`public setTransactionAmount(float|null $transactionAmount) : void`

##### Parameters

$transactionAmount : float|null

#### setTransactionCurrency()

RefundWebhook.php : 206
`public setTransactionCurrency(string|null $transactionCurrency) : void`

##### Parameters

$transactionCurrency : string|null

#### setTransactionRefundFee()

RefundWebhook.php : 226
`public setTransactionRefundFee(float|null $transactionRefundFee) : void`

##### Parameters

$transactionRefundFee : float|null

#### setTxid()

RefundWebhook.php : 196
`public setTxid(string|null $txid) : void`

##### Parameters

$txid : string|null

#### setType()

RefundWebhook.php : 186
`public setType(string|null $type) : void`

##### Parameters

$type : string|null

#### toArray()

RefundWebhook.php : 231
`public toArray() : array<string|int, mixed>`

##### Return values

array<string|int, mixed>

## Search results