developer:soap-1.4:methods:bulkcurrencyconversion

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:bulkcurrencyconversion [2010/08/03 15:11]
irina
developer:soap-1.4:methods:bulkcurrencyconversion [2010/09/02 17:45]
irina
Line 79: Line 79:
 </​code>​ </​code>​
  
 +==== .NET VB ====
 +<code vb>
 +Dim from As String
 +        Dim convert As String
 +        Dim amount(0 To 2) As Double
 +        from = "​036"​
 +        convert = "​826"​
 +        amount(0) = 10
 +        amount(1) = 20
 +        amount(2) = 30
 +
 +        Dim response() As usaepay.CurrencyConversion
 +
 +        response = client.bulkCurrencyConversion(token,​ from, convert, amount)
 +        MsgBox(response.Length)
 +</​code>​
 +
 +==== .NET C# ====
 +<code c>
 +            string from = "​124";​
 +            string to = "​826";​
 +            double[] amount = new double[3];
 +            amount[0] = 10;
 +            amount[1] = 5;
 +            amount[2] = 19.99;
 +
 +            //​usaepay.CurrencyConversion response = new usaepay.CurrencyConversion();​
 +
 +            try
 +            {
 +                usaepay.CurrencyConversion[] response = client.bulkCurrencyConversion(token,​ from, to, amount);
 +                MessageBox.Show(string.Concat(response.Length));​
 +            }
 +
 +            catch (Exception err)
 +            {
 +                MessageBox.Show(err.Message);​
 +            }
 +</​code>​
  
 ===== Change History ===== ===== Change History =====
developer/soap-1.4/methods/bulkcurrencyconversion.txt ยท Last modified: 2010/09/02 17:45 by irina

Page Tools