developer:soap-1.1:methods:quickupdatecustomer

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:quickupdatecustomer [2009/06/24 13:52]
charlie created
developer:soap-1.1:methods:quickupdatecustomer [2010/10/21 16:07]
irina
Line 110: Line 110:
 </​code>​ </​code>​
  
 +==== .NET VB ====
 +<code vb>
 +Dim custNum As String
 +        custNum = "​120221"​
  
 +        Dim fields(0 To 1) As usaepay.FieldValue
 +
 +        For i As Integer = 0 To 1
 +            fields(i) = New usaepay.FieldValue
 +        Next i
 +
 +        fields(0).Field = "​Schedule"​
 +        fields(0).Value = "​monthly"​
 +        fields(1).Field = "​Amount"​
 +        fields(1).Value = "​5.00"​
 +
 +        Dim response As Boolean
 +
 +        response = client.quickUpdateCustomer(token,​ custNum, fields)
 +        MsgBox(response)
 +</​code>​
 +
 +==== .NET C# ====
 +<code c>
 +string custNum = "​109100";​
 +
 +            usaepay.FieldValue[] fields = new usaepay.FieldValue[2];​
 +
 +            for (int i = 0; i < 2; i++)
 +            {
 +                fields[i] = new usaepay.FieldValue();​
 +            }
 +
 +            fields[0].Field = "​Schedule";​ fields[0].Value = "​monthly";​
 +            fields[1].Field = "​Amount";​ fields[1].Value = "​5.00";​
 +
 +            Boolean response;
 +
 +            try
 +            {
 +                response = client.quickUpdateCustomer(token,​ custNum, fields);
 +                MessageBox.Show(string.Concat(response));​
 +            }
 +
 +            catch (Exception err)
 +            {
 +                MessageBox.Show(err.Message);​
 +            }
 +</​code>​
    
  
developer/soap-1.1/methods/quickupdatecustomer.txt ยท Last modified: 2010/10/21 16:07 by irina

Page Tools