developer:soap-1.4:methods:currencyconversion

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
developer:soap-1.4:methods:currencyconversion [2010/08/06 10:43]
tem
developer:soap-1.4:methods:currencyconversion [2010/09/02 17:39] (current)
irina
Line 69: Line 69:
 </​code>​ </​code>​
  
 +==== .NET VB ====
 +<code vb>
 +
 +Dim from As String
 +        Dim convert As String
 +        Dim amount As Double
 +        from = "​036"​
 +        convert = "​826"​
 +        amount = 50
 +
 +        Dim response As usaepay.CurrencyConversion = New usaepay.CurrencyConversion
 +
 +        response = client.currencyConversion(token,​ from, convert, amount)
 +        MsgBox(response.Amount)
 +</​code>​
 +
 +==== .NET C# ====
 +<code c>
 +            string from = "​840";​
 +            string to = "​978";​
 +            int amount = 50;
 +
 +            usaepay.CurrencyConversion response = new usaepay.CurrencyConversion();​
 +
 +            try
 +            {
 +                response = client.currencyConversion(token,​ from, to, amount);
 +                MessageBox.Show(string.Concat(response.Amount));​
 +            }
 +
 +            catch (Exception err)
 +            {
 +                MessageBox.Show(err.Message);​
 +            }
 +</​code>​
  
 ===== Change History ===== ===== Change History =====
developer/soap-1.4/methods/currencyconversion.1281116630.txt.gz ยท Last modified: 2010/08/06 10:43 by tem

Page Tools