Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

CurrencyServiceUtil Class Reference

Inheritance diagram for CurrencyServiceUtil:
GrandTrunkCurrencyServiceUtil WebServiceXCurrencyServiceUtil

Public Member Functions

 getWebServiceErrorMessage ()
 getWebServiceErrorCode ()
 resetErrors ()
 getConversionRateViaWebService ($fromCode, $toCode)

Protected Attributes

 $webServiceErrorMessage
 $webServiceErrorCode

Detailed Description

Abstract class to be extended for particular service providers Used to get current currency conversion rates from remote web services

Definition at line 43 of file CurrencyServiceUtil.php.


Member Function Documentation

resetErrors (  ) 

Before you make a call to a method that envokes a webService, reset the errors.

Definition at line 62 of file CurrencyServiceUtil.php.

getConversionRateViaWebService ( fromCode,
toCode 
) [abstract]
Parameters:
string $fromCode
string $toCode
Returns:
float

Reimplemented in GrandTrunkCurrencyServiceUtil, and WebServiceXCurrencyServiceUtil.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sun Mar 24 07:10:47 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8