All Data Structures Functions Variables Pages
Public Member Functions | Protected Attributes
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

The documentation for this class was generated from the following file:
Generated on Sun Jan 26 2020 07:10:30