Свойство | Type | Description | |
---|---|---|---|
$alts | array | ||
$availableCurrencies | array | ||
$code | string | ||
$exchangePercentageFee | string | ||
$name | string | ||
$payoutEnabled | boolean | ||
$payoutFields | array | ||
$pluralName | string | ||
$precision | integer | ||
$symbol | string |
Méthode | Description | |
---|---|---|
__construct ( string $code = null ) | ||
getAlts ( ) | ||
getCode ( ) | ||
getExchangePctFee ( ) | ||
getName ( ) | ||
getPayoutFields ( ) | ||
getPluralName ( ) | ||
getPrecision ( ) | ||
getSymbol ( ) | ||
isPayoutEnabled ( ) | ||
setAlts ( array $alts ) : bitpay\CurrencyInterface | ||
setCode ( string $code ) : bitpay\CurrencyInterface | This will change the $code to all uppercase | |
setExchangePctFee ( string $fee ) : bitpay\CurrencyInterface | ||
setName ( string $name ) : bitpay\CurrencyInterface | ||
setPayoutEnabled ( boolean $enabled ) : bitpay\CurrencyInterface | ||
setPayoutFields ( array $payoutFields ) : bitpay\CurrencyInterface | ||
setPluralName ( string $pluralName ) : bitpay\CurrencyInterface | ||
setPrecision ( integer $precision ) : bitpay\CurrencyInterface | ||
setSymbol ( string $symbol ) : bitpay\CurrencyInterface |
public __construct ( string $code = null ) | ||
$code | string | The Currency Code to use, ie USD |
public setExchangePctFee ( string $fee ) : bitpay\CurrencyInterface | ||
$fee | string | |
Résultat | bitpay\CurrencyInterface |
public setPayoutEnabled ( boolean $enabled ) : bitpay\CurrencyInterface | ||
$enabled | boolean | |
Résultat | bitpay\CurrencyInterface |
public setPayoutFields ( array $payoutFields ) : bitpay\CurrencyInterface | ||
$payoutFields | array | |
Résultat | bitpay\CurrencyInterface |
public setPluralName ( string $pluralName ) : bitpay\CurrencyInterface | ||
$pluralName | string | |
Résultat | bitpay\CurrencyInterface |
public setPrecision ( integer $precision ) : bitpay\CurrencyInterface | ||
$precision | integer | |
Résultat | bitpay\CurrencyInterface |
protected static array $availableCurrencies | ||
Résultat | array |
protected string $exchangePercentageFee | ||
Résultat | string |