developer:soap-1.1:methods:bulkcurrencyconversion

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:bulkcurrencyconversion [2009/06/24 13:57]
charlie created
developer:soap-1.1:methods:bulkcurrencyconversion [2010/10/22 10:35]
irina
Line 77: Line 77:
  
 ?>  ?> 
 +</​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;
 +
 +            ​
 +
 +            try
 +            {
 +                usaepay.CurrencyConversion[] response = client.bulkCurrencyConversion(token,​ from, to, amount);
 +                MessageBox.Show(string.Concat(response.Length));​
 +            }
 +
 +            catch (Exception err)
 +            {
 +                MessageBox.Show(err.Message);​
 +            }
 </​code>​ </​code>​
developer/soap-1.1/methods/bulkcurrencyconversion.txt ยท Last modified: 2010/10/22 10:35 by irina

Page Tools