developer:soap:methods:getcustomerhistory

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
developer:soap:methods:getcustomerhistory [2009/07/06 09:43]
epouchak
developer:soap:methods:getcustomerhistory [2009/09/08 13:16] (current)
charlie
Line 55: Line 55:
 </​code>​ </​code>​
  
 +==== 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 {
 +  //Set CustNum to the Customer Number of customer you 
 +  //want to retrieve a transaction history from.
 +  BigInteger CustNum = new BigInteger;
 +  ​
 +  TransactionSearchResult CustHist = new TransactionSearchResult();​
 +  CustHist = client.getCustomerHistory(token,​ CustNum);
 +} catch (Exception e) {
 +    System.out.println("​Soap Exception: " + e.getMessage());​
 +}
 +</​code>​
developer/soap/methods/getcustomerhistory.txt ยท Last modified: 2009/09/08 13:16 by charlie

Page Tools