BitPay PHP SDK

CurrencyQr

Object containing QR code related information to show for this payment method

Tags
author

BitPay Integrations integrations@bitpay.com

license

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

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

Wallets

Table of Contents

Properties

$collapsed  : bool|null
$type  : string|null

Methods

__construct()  : mixed
getCollapsed()  : bool|null
Gets collapsed
getType()  : string|null
Gets Type
setCollapsed()  : void
Sets collapsed
setType()  : void
Sets Type
toArray()  : array<string|int, mixed>
Gets CurrencyQr as array

Properties

$collapsed

protected bool|null $collapsed = null

Methods

getCollapsed()

Gets collapsed

public getCollapsed() : bool|null

UI hint for BitPay invoice, generally not relevant to customer integrations

Return values
bool|null

the collapsed

getType()

Gets Type

public getType() : string|null

The type of QR code to use (ex. BIP21, ADDRESS, BIP72b, BIP681, BIP681b, etc)

Return values
string|null

The type of QR code to use

setCollapsed()

Sets collapsed

public setCollapsed(bool $collapsed) : void

UI hint for BitPay invoice, generally not relevant to customer integrations

Parameters
$collapsed : bool

the collapsed

setType()

Sets Type

public setType(string $type) : void

The type of QR code to use (ex. BIP21, ADDRESS, BIP72b, BIP681, BIP681b, etc)

Parameters
$type : string

The type of QR code to use

toArray()

Gets CurrencyQr as array

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

CurrencyQr as array


        
On this page

Search results