developer:soap-1.3:methods:updatecustomer

Differences

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

Link to this comparison view

Next revision
Previous revision
developer:soap-1.3:methods:updatecustomer [2010/06/02 09:46]
hmcgowan created
developer:soap-1.3:methods:updatecustomer [2010/10/11 14:52]
irina
Line 69: Line 69:
  
 ?>  ?> 
 +</​code>​
 +
 +==== .NET VB ====
 +<code vb>
 +Dim CustNum As String
 +        CustNum = "​111659"​
 +
 +        Dim customer As usaepay.CustomerObject = New usaepay.CustomerObject
 +        customer = client.getCustomer(token,​ CustNum)
 +        customer.Amount = 29.99
 +
 +        Dim response As Boolean
 +
 +        response = client.updateCustomer(token,​ CustNum, customer)
 +        MsgBox(response)
 +</​code>​
 +
 +==== .NET C# ====
 +<code c>
 +string CustNum = "​96319";​
 +
 +            usaepay.CustomerObject customer = new usaepay.CustomerObject();​
 +            customer = client.getCustomer(token,​ CustNum);
 +            customer.Amount = 29.99;
 +
 +            Boolean response;
 +
 +            try
 +            {
 +                response = client.updateCustomer(token,​ CustNum, customer);
 +                MessageBox.Show(string.Concat(response));​
 +            }
 +            catch (Exception err)
 +            {
 +                MessageBox.Show(err.Message);​
 +            }
 </​code>​ </​code>​
  
developer/soap-1.3/methods/updatecustomer.txt ยท Last modified: 2010/10/11 14:52 by irina

Page Tools