Class Foxrate
FoxRate Currency Exchange Rate Processor
- ExchangeRate
- Foxrate
Package: blesta\components\exchange\rates\foxrate
Copyright: Copyright (c) 2010, Phillips Data, Inc.
License: The Blesta License Agreement
Link: Blesta
Located at components/exchange_rates/foxrate/foxrate.php
Copyright: Copyright (c) 2010, Phillips Data, Inc.
License: The Blesta License Agreement
Link: Blesta
Located at components/exchange_rates/foxrate/foxrate.php
Methods summary
public
|
|
public
mixed
|
#
getRate( string $currency_from, string $currency_to, float $amount = 1.0 )
Fetches the exchange rate from currency A to currency B using the given amount |
Magic methods summary
Properties summary
private static
string
|
$url |
#
The URL to the API |
private static
integer
|
$timeout |
#
The maximum number of seconds to wait for a response |