developer:soap-1.1: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.1:methods:updatecustomer [2009/06/24 13:51]
charlie created
developer:soap-1.1:methods:updatecustomer [2010/10/21 16:02]
irina
Line 71: Line 71:
 </​code>​ </​code>​
  
 +==== .NET VB ====
 +<code vb>
 +Dim CustNum As String
 +        CustNum = "​120221"​
 +
 +        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 = "​109100";​
 +
 +            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>​
developer/soap-1.1/methods/updatecustomer.txt ยท Last modified: 2010/10/21 16:02 by irina

Page Tools