developer:soap:methods:quickupdatecustomer

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
developer:soap:methods:quickupdatecustomer [2009/07/21 14:00]
vladg
developer:soap:methods:quickupdatecustomer [2009/09/08 09:08]
tem
Line 112: Line 112:
  
  
 +==== Java ====
  
 +This example uses the [[developer/​javalibrary|USAePay Java library]]. ​ For directions on how to install the library and create the token/​client objects, go to either the [[..:​howto:​javajaxrpc|Java JAX-RPC Howto]] or the [[..:​howto:​javajaxws|Java JAX-WS Howto]].
  
  
 +<code java>
 +try {
  
 + BigInteger custnum = new BigInteger("​1235"​);​
 +
 + // Create array of fields to update
 + FieldValueArray updateData = new FieldValueArray();​
 + updateData.add(new FieldValue("​Schedule",​ "​daily"​));​
 + updateData.add(new FieldValue("​Amount",​ "​5.00"​));​
 +
 + // run quick update
 + boolean response = client.quickUpdateCustomer(token,​ custnum, updateData);​
  
- +} catch (Exception e) { 
- + System.out.println("​Soap Exception: " + e.getMessage());​ 
- +} 
- +</​code>​
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
  
  
developer/soap/methods/quickupdatecustomer.txt · Last modified: 2009/09/08 09:08 by tem

Page Tools