CurrencyQr
in package
Object containing QR code related information to show for this payment method
Tags
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
$type
protected
string|null
$type
= null
Methods
__construct()
public
__construct() : mixed
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