developer:soap-1.1:methods:getcustomer

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:getcustomer [2009/06/24 13:47]
charlie created
developer:soap-1.1:methods:getcustomer [2010/10/21 15:34]
irina
Line 54: Line 54:
  
 ?>  ?> 
 +</​code>​
 +
 +==== .NET VB ====
 +<code vb>
 +Dim custNum As String
 +        custNum = "​120221"​
 +
 +        Dim customer As usaepay.CustomerObject
 +        customer = New usaepay.CustomerObject()
 +
 +        customer = client.getCustomer(token,​ custNum)
 +
 +        MsgBox(customer.CustomerID)
 +
 +</​code>​
 +
 +==== .NET C# ====
 +<code c>
 +string custNum = "​109100";​
 +
 +            usaepay.CustomerObject customer = new usaepay.CustomerObject();​
 +
 +            try
 +            {
 +                customer = client.getCustomer(token,​ custNum);
 +
 +                MessageBox.Show(string.Concat("​CustNum:​ ", customer.CustomerID));​
 +
 +
 +            }
 +
 +            catch (Exception err)
 +            {
 +                MessageBox.Show(err.Message);​
 +            }
 </​code>​ </​code>​
developer/soap-1.1/methods/getcustomer.txt ยท Last modified: 2010/10/21 15:34 by irina

Page Tools