developer:soap-1.1:methods:currencyconversion

Differences

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

Link to this comparison view

Next revision
Previous revision
developer:soap-1.1:methods:currencyconversion [2009/06/24 13:56]
charlie created
developer:soap-1.1:methods:currencyconversion [2010/10/22 10:34]
irina
Line 67: Line 67:
  
 ?>  ?> 
 +</​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 = "​036";​
 +            string to = "​826";​
 +            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>​ </​code>​
developer/soap-1.1/methods/currencyconversion.txt ยท Last modified: 2010/10/22 10:34 by irina

Page Tools