C# Class ChannelAdvisorAccess.CurrencyConversion.YahooCurrencyConverter

Inheritance: ICurrencyConverter
Show file Open project: agileharbor/channelAdvisorAccess

Public Methods

Method Description
ToBaseCurrency ( string countryCode, decimal countryCurrency ) : decimal
ToCountryCurrency ( string countryCode, decimal baseCurrency ) : decimal
YahooCurrencyConverter ( string baseCountryCode ) : System

Private Methods

Method Description
GetRate ( string sourceCode, string targetCode ) : decimal

Method Details

ToBaseCurrency() public method

public ToBaseCurrency ( string countryCode, decimal countryCurrency ) : decimal
countryCode string
countryCurrency decimal
return decimal

ToCountryCurrency() public method

public ToCountryCurrency ( string countryCode, decimal baseCurrency ) : decimal
countryCode string
baseCurrency decimal
return decimal

YahooCurrencyConverter() public method

public YahooCurrencyConverter ( string baseCountryCode ) : System
baseCountryCode string
return System