developer:soap-1.3:methods:converttrantocust

Differences

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

Link to this comparison view

Last revision Both sides next revision
developer:soap-1.3:methods:converttrantocust [2010/06/01 16:28]
hmcgowan created
developer:soap-1.3:methods:converttrantocust [2010/08/30 10:25]
irina
Line 116: Line 116:
  System.out.println("​Soap Exception: " + e.getMessage());​  System.out.println("​Soap Exception: " + e.getMessage());​
 } }
 +</​code>​
 +
 +==== .NET C# ====
 +<code c>
 +string refnum = "​46978031";​
 +            usaepay.FieldValue[] update = new usaepay.FieldValue[2];​
 +            for (int i = 0; i < 2; i++) {
 +
 +                update[i] = new usaepay.FieldValue();​
 +
 +            }
 +
 +            update[0].Field = "​Schedule";​ update[0].Value = "​weekly";​
 +            update[1].Field = "​NumLeft";​ update[1].Value = "​7";​
 +
 +            string response;
 +
 +            try
 +            {
 +                response = client.convertTranToCust(token,​ refnum, update);
 +
 +                MessageBox.Show(string.Concat("​Customer Number: ",
 +                            response));
 +              ​
 +            }
 +
 +
 +            catch (Exception err)
 +            {
 +                MessageBox.Show(err.Message);​
 +            }
 </​code>​ </​code>​
  
developer/soap-1.3/methods/converttrantocust.txt ยท Last modified: 2010/10/05 13:41 by irina

Page Tools