php-bitpay-client/src/Bitpay/CurrencyInterface.php
2014-11-24 17:53:57 -05:00

63 lines
1.1 KiB
PHP
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
/**
* @license Copyright 2011-2014 BitPay Inc., MIT License
* see https://github.com/bitpay/php-bitpay-client/blob/master/LICENSE
*/
namespace Bitpay;
/**
* This is the currency code set for the price setting.  The pricing currencies
* currently supported are USD, EUR, BTC, and all of the codes listed on this page:
* https://bitpay.com/bitcoin­exchange­rates
*
* @package Bitpay
*/
interface CurrencyInterface
{
/**
* @return string
*/
public function getCode();
/**
* @return string
*/
public function getSymbol();
/**
* @return string
*/
public function getPrecision();
/**
* @return string
*/
public function getExchangePctFee();
/**
* @return boolean
*/
public function isPayoutEnabled();
/**
* @return string
*/
public function getName();
/**
* @return string
*/
public function getPluralName();
/**
* @return array
*/
public function getAlts();
/**
* @return array
*/
public function getPayoutFields();
}