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
$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

#### $amount

RefundWebhook.php : 25
`protected float $amount`

#### $buyerPaysRefundFee

RefundWebhook.php : 30
`protected bool $buyerPaysRefundFee`

#### $currency

RefundWebhook.php : 26
`protected string $currency`

#### $id

RefundWebhook.php : 21
`protected string $id`

#### $immediate

RefundWebhook.php : 29
`protected bool $immediate`

#### $invoice

RefundWebhook.php : 22
`protected string $invoice`

#### $lastRefundNotification

RefundWebhook.php : 27
`protected string $lastRefundNotification`

#### $refundFee

RefundWebhook.php : 28
`protected float $refundFee`

#### $requestDate

RefundWebhook.php : 31
`protected string $requestDate`

#### $status

RefundWebhook.php : 24
`protected string $status`

#### $supportRequest

RefundWebhook.php : 23
`protected string $supportRequest`

### Methods

#### __construct()

RefundWebhook.php : 33
`public __construct() : mixed`

#### getAmount()

RefundWebhook.php : 77
`public getAmount() : float`

##### Return values

float

#### getBuyerPaysRefundFee()

RefundWebhook.php : 127
`public getBuyerPaysRefundFee() : bool`

##### Return values

bool

#### getCurrency()

RefundWebhook.php : 87
`public getCurrency() : string`

##### Return values

string

#### getId()

RefundWebhook.php : 37
`public getId() : string`

##### Return values

string

#### getImmediate()

RefundWebhook.php : 117
`public getImmediate() : bool`

##### Return values

bool

#### getInvoice()

RefundWebhook.php : 47
`public getInvoice() : string`

##### Return values

string

#### getLastRefundNotification()

RefundWebhook.php : 97
`public getLastRefundNotification() : string`

##### Return values

string

#### getRefundFee()

RefundWebhook.php : 107
`public getRefundFee() : float`

##### Return values

float

#### getRequestDate()

RefundWebhook.php : 137
`public getRequestDate() : string`

##### Return values

string

#### getStatus()

RefundWebhook.php : 67
`public getStatus() : string`

##### Return values

string

#### getSupportRequest()

RefundWebhook.php : 57
`public getSupportRequest() : string`

##### Return values

string

#### setAmount()

RefundWebhook.php : 82
`public setAmount(float $amount) : void`

##### Parameters

$amount : float

#### setBuyerPaysRefundFee()

RefundWebhook.php : 132
`public setBuyerPaysRefundFee(bool $buyerPaysRefundFee) : void`

##### Parameters

$buyerPaysRefundFee : bool

#### setCurrency()

RefundWebhook.php : 92
`public setCurrency(string $currency) : void`

##### Parameters

$currency : string

#### setId()

RefundWebhook.php : 42
`public setId(string $id) : void`

##### Parameters

$id : string

#### setImmediate()

RefundWebhook.php : 122
`public setImmediate(bool $immediate) : void`

##### Parameters

$immediate : bool

#### setInvoice()

RefundWebhook.php : 52
`public setInvoice(string $invoice) : void`

##### Parameters

$invoice : string

#### setLastRefundNotification()

RefundWebhook.php : 102
`public setLastRefundNotification(string $lastRefundNotification) : void`

##### Parameters

$lastRefundNotification : string

#### setRefundFee()

RefundWebhook.php : 112
`public setRefundFee(float $refundFee) : void`

##### Parameters

$refundFee : float

#### setRequestDate()

RefundWebhook.php : 142
`public setRequestDate(string $requestDate) : void`

##### Parameters

$requestDate : string

#### setStatus()

RefundWebhook.php : 72
`public setStatus(string $status) : void`

##### Parameters

$status : string

#### setSupportRequest()

RefundWebhook.php : 62
`public setSupportRequest(string $supportRequest) : void`

##### Parameters

$supportRequest : string

#### toArray()

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

##### Return values

array<string|int, mixed>

## Search results