public ExchangeRateForCurrenciesServiceGetCompanyCurAmountRequest(ExchangeRate.CallContext CallContext, System.DateTime _exchangeDate, decimal _transactionAmount, string _transactionCurrency, string _cmpId) { this.CallContext = CallContext; this._exchangeDate = _exchangeDate; this._transactionAmount = _transactionAmount; this._transactionCurrency = _transactionCurrency; this._cmpId = _cmpId; }
public ExchangeRateForCurrenciesServiceGetExchangeRateForCurrenciesRequest(ExchangeRate.CallContext CallContext, string _fromCurrency, string _toCurrency, System.DateTime _exchangeDate, string _cmpId) { this.CallContext = CallContext; this._fromCurrency = _fromCurrency; this._toCurrency = _toCurrency; this._exchangeDate = _exchangeDate; this._cmpId = _cmpId; }
public async Task <decimal> Get() { ExchangeRate.ExchangeRateForCurrenciesServiceGetExchangeRateForCurrenciesResponse response; ExchangeRate.CallContext callContext = new ExchangeRate.CallContext(); callContext.Company = "USMF"; response = await aifClient.getExchangeRateForCurrenciesAsync(callContext, "EUR", "USD", DateTime.UtcNow, "USMF"); return(response.response); }
public System.Threading.Tasks.Task <ExchangeRate.ExchangeRateForCurrenciesServiceGetCompanyCurAmountResponse> getCompanyCurAmountAsync(ExchangeRate.CallContext CallContext, System.DateTime _exchangeDate, decimal _transactionAmount, string _transactionCurrency, string _cmpId) { ExchangeRate.ExchangeRateForCurrenciesServiceGetCompanyCurAmountRequest inValue = new ExchangeRate.ExchangeRateForCurrenciesServiceGetCompanyCurAmountRequest(); inValue.CallContext = CallContext; inValue._exchangeDate = _exchangeDate; inValue._transactionAmount = _transactionAmount; inValue._transactionCurrency = _transactionCurrency; inValue._cmpId = _cmpId; return(((ExchangeRate.ExchangeRateForCurrenciesService)(this)).getCompanyCurAmountAsync(inValue)); }
public System.Threading.Tasks.Task <ExchangeRate.ExchangeRateForCurrenciesServiceGetExchangeRateForCurrenciesResponse> getExchangeRateForCurrenciesAsync(ExchangeRate.CallContext CallContext, string _fromCurrency, string _toCurrency, System.DateTime _exchangeDate, string _cmpId) { ExchangeRate.ExchangeRateForCurrenciesServiceGetExchangeRateForCurrenciesRequest inValue = new ExchangeRate.ExchangeRateForCurrenciesServiceGetExchangeRateForCurrenciesRequest(); inValue.CallContext = CallContext; inValue._fromCurrency = _fromCurrency; inValue._toCurrency = _toCurrency; inValue._exchangeDate = _exchangeDate; inValue._cmpId = _cmpId; return(((ExchangeRate.ExchangeRateForCurrenciesService)(this)).getExchangeRateForCurrenciesAsync(inValue)); }