BitPay PHP SDK

SupportedTransactionCurrency
in package

Class SupportedTransactionCurrency The currency that may be used to pay this invoice. The values are objects with an "enabled" boolean and option.

An extra "reason" parameter is added in the object if a cryptocurrency is disabled on a specific invoice.

Tags
author

BitPay Integrations integrations@bitpay.com

license

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

see
https://bitpay.readme.io/reference/invoices

REST API Invoices

Table of Contents

Properties

$enabled  : bool|null
$reason  : string|null

Methods

__construct()  : mixed
SupportedTransactionCurrency constructor.
getEnabled()  : bool|null
Sets enabled.
getReason()  : string|null
Sets reason.
setEnabled()  : void
Gets enabled.
setReason()  : void
Gets reason.
toArray()  : array<string|int, mixed>
Return array with enabled and reason value.

Properties

Methods

toArray()

Return array with enabled and reason value.

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

        
On this page

Search results