Menu

## SupportedTransactionCurrencies
in package

SupportedTransactionCurrencies.php : 19

Class SupportedTransactionCurrencies. The currencies that may be used to pay this 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

$bch : SupportedTransactionCurrency
$btc : SupportedTransactionCurrency
$busd : SupportedTransactionCurrency
$doge : SupportedTransactionCurrency
$eth : SupportedTransactionCurrency
$gusd : SupportedTransactionCurrency
$ltc : SupportedTransactionCurrency
$pax : SupportedTransactionCurrency
$usdc : SupportedTransactionCurrency
$wbtc : SupportedTransactionCurrency
$xrp : SupportedTransactionCurrency

#### Methods

__construct() : mixed
  SupportedTransactionCurrencies constructor.
getBCH() : SupportedTransactionCurrency
  Gets BCH.
getBTC() : SupportedTransactionCurrency
  Gets BTC.
getBUSD() : SupportedTransactionCurrency
  Gets BUSD.
getDOGE() : SupportedTransactionCurrency
  Gets DOGE.
getETH() : SupportedTransactionCurrency
  Gets ETH.
getGUSD() : SupportedTransactionCurrency
  Gets GUSD.
getLTC() : SupportedTransactionCurrency
  Gets LTC.
getPAX() : SupportedTransactionCurrency
  Gets PAX.
getUSDC() : SupportedTransactionCurrency
  Gets USDC.
getWBTC() : SupportedTransactionCurrency
  Gets WBTC.
getXRP() : SupportedTransactionCurrency
  Gets XRP.
setBCH() : void
  Sets BCH.
setBTC() : void
  Sets BTC.
setBUSD() : void
  Sets BUSD.
setDOGE() : void
  Sets DOGE.
setETH() : void
  Sets ETH.
setGUSD() : void
  Sets GUSD.
setLTC() : void
  Sets LTC.
setPAX() : void
  Sets PAX.
setUSDC() : void
  Sets USDC.
setWBTC() : void
  Sets WBTC.
setXRP() : void
  Sets XRP.
toArray() : array<string|int, mixed>
  Return array with details for currencies.

### Properties

#### $bch

SupportedTransactionCurrencies.php : 22
`protected SupportedTransactionCurrency $bch`

#### $btc

SupportedTransactionCurrencies.php : 21
`protected SupportedTransactionCurrency $btc`

#### $busd

SupportedTransactionCurrencies.php : 28
`protected SupportedTransactionCurrency $busd`

#### $doge

SupportedTransactionCurrencies.php : 29
`protected SupportedTransactionCurrency $doge`

#### $eth

SupportedTransactionCurrencies.php : 23
`protected SupportedTransactionCurrency $eth`

#### $gusd

SupportedTransactionCurrencies.php : 25
`protected SupportedTransactionCurrency $gusd`

#### $ltc

SupportedTransactionCurrencies.php : 30
`protected SupportedTransactionCurrency $ltc`

#### $pax

SupportedTransactionCurrencies.php : 26
`protected SupportedTransactionCurrency $pax`

#### $usdc

SupportedTransactionCurrencies.php : 24
`protected SupportedTransactionCurrency $usdc`

#### $wbtc

SupportedTransactionCurrencies.php : 31
`protected SupportedTransactionCurrency $wbtc`

#### $xrp

SupportedTransactionCurrencies.php : 27
`protected SupportedTransactionCurrency $xrp`

### Methods

#### __construct()

SupportedTransactionCurrencies.php : 36

SupportedTransactionCurrencies constructor.

`public __construct() : mixed`

#### getBCH()

SupportedTransactionCurrencies.php : 76

Gets BCH.

`public getBCH() : SupportedTransactionCurrency`

##### Return values

SupportedTransactionCurrency

#### getBTC()

SupportedTransactionCurrencies.php : 56

Gets BTC.

`public getBTC() : SupportedTransactionCurrency`

##### Return values

SupportedTransactionCurrency

#### getBUSD()

SupportedTransactionCurrencies.php : 196

Gets BUSD.

`public getBUSD() : SupportedTransactionCurrency`

##### Return values

SupportedTransactionCurrency

#### getDOGE()

SupportedTransactionCurrencies.php : 216

Gets DOGE.

`public getDOGE() : SupportedTransactionCurrency`

##### Return values

SupportedTransactionCurrency

#### getETH()

SupportedTransactionCurrencies.php : 96

Gets ETH.

`public getETH() : SupportedTransactionCurrency`

##### Return values

SupportedTransactionCurrency

#### getGUSD()

SupportedTransactionCurrencies.php : 136

Gets GUSD.

`public getGUSD() : SupportedTransactionCurrency`

##### Return values

SupportedTransactionCurrency

#### getLTC()

SupportedTransactionCurrencies.php : 236

Gets LTC.

`public getLTC() : SupportedTransactionCurrency`

##### Return values

SupportedTransactionCurrency

#### getPAX()

SupportedTransactionCurrencies.php : 156

Gets PAX.

`public getPAX() : SupportedTransactionCurrency`

##### Return values

SupportedTransactionCurrency

#### getUSDC()

SupportedTransactionCurrencies.php : 116

Gets USDC.

`public getUSDC() : SupportedTransactionCurrency`

##### Return values

SupportedTransactionCurrency

#### getWBTC()

SupportedTransactionCurrencies.php : 256

Gets WBTC.

`public getWBTC() : SupportedTransactionCurrency`

##### Return values

SupportedTransactionCurrency

#### getXRP()

SupportedTransactionCurrencies.php : 176

Gets XRP.

`public getXRP() : SupportedTransactionCurrency`

##### Return values

SupportedTransactionCurrency

#### setBCH()

SupportedTransactionCurrencies.php : 86

Sets BCH.

`public setBCH(SupportedTransactionCurrency $bch) : void`

##### Parameters

$bch : SupportedTransactionCurrency

  the BCH

#### setBTC()

SupportedTransactionCurrencies.php : 66

Sets BTC.

`public setBTC(SupportedTransactionCurrency $btc) : void`

##### Parameters

$btc : SupportedTransactionCurrency

  the BTC

#### setBUSD()

SupportedTransactionCurrencies.php : 206

Sets BUSD.

`public setBUSD(SupportedTransactionCurrency $busd) : void`

##### Parameters

$busd : SupportedTransactionCurrency

#### setDOGE()

SupportedTransactionCurrencies.php : 226

Sets DOGE.

`public setDOGE(SupportedTransactionCurrency $doge) : void`

##### Parameters

$doge : SupportedTransactionCurrency

#### setETH()

SupportedTransactionCurrencies.php : 106

Sets ETH.

`public setETH(SupportedTransactionCurrency $eth) : void`

##### Parameters

$eth : SupportedTransactionCurrency

  the ETH

#### setGUSD()

SupportedTransactionCurrencies.php : 146

Sets GUSD.

`public setGUSD(SupportedTransactionCurrency $gusd) : void`

##### Parameters

$gusd : SupportedTransactionCurrency

  the GUSD

#### setLTC()

SupportedTransactionCurrencies.php : 246

Sets LTC.

`public setLTC(SupportedTransactionCurrency $ltc) : void`

##### Parameters

$ltc : SupportedTransactionCurrency

#### setPAX()

SupportedTransactionCurrencies.php : 166

Sets PAX.

`public setPAX(SupportedTransactionCurrency $pax) : void`

##### Parameters

$pax : SupportedTransactionCurrency

  the PAX

#### setUSDC()

SupportedTransactionCurrencies.php : 126

Sets USDC.

`public setUSDC(SupportedTransactionCurrency $usdc) : void`

##### Parameters

$usdc : SupportedTransactionCurrency

  the USDC

#### setWBTC()

SupportedTransactionCurrencies.php : 266

Sets WBTC.

`public setWBTC(SupportedTransactionCurrency $wbtc) : void`

##### Parameters

$wbtc : SupportedTransactionCurrency

#### setXRP()

SupportedTransactionCurrencies.php : 186

Sets XRP.

`public setXRP(SupportedTransactionCurrency $xrp) : void`

##### Parameters

$xrp : SupportedTransactionCurrency

  the XRP

#### toArray()

SupportedTransactionCurrencies.php : 276

Return array with details for currencies.

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

##### Return values

array<string|int, mixed>

## Search results