Documentation

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
see

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