Property | Type | Description | |
---|---|---|---|
$alts | array | ||
$availableCurrencies | array | ||
$code | string | ||
$exchangePercentageFee | string | ||
$name | string | ||
$payoutEnabled | boolean | ||
$payoutFields | array | ||
$pluralName | string | ||
$precision | integer | ||
$symbol | string |
Method | 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 | |
return | bitpay\CurrencyInterface |
public setPayoutEnabled ( boolean $enabled ) : bitpay\CurrencyInterface | ||
$enabled | boolean | |
return | bitpay\CurrencyInterface |
public setPayoutFields ( array $payoutFields ) : bitpay\CurrencyInterface | ||
$payoutFields | array | |
return | bitpay\CurrencyInterface |
public setPluralName ( string $pluralName ) : bitpay\CurrencyInterface | ||
$pluralName | string | |
return | bitpay\CurrencyInterface |
public setPrecision ( integer $precision ) : bitpay\CurrencyInterface | ||
$precision | integer | |
return | bitpay\CurrencyInterface |
protected static array $availableCurrencies | ||
return | array |