developer:soap:methods:getcustomerpaymentmethods

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:getcustomerpaymentmethods [2009/07/24 00:47]
tem
developer:soap:methods:getcustomerpaymentmethods [2009/09/08 13:10]
charlie
Line 61: Line 61:
  
 ?>  ?> 
 +</​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 payment methods from.
 +  BigInteger custnum = new BigInteger;
 +  PaymentMethodArray PaymentMethods = new PaymentMethodArray();​
 +
 +  PaymentMethods = client.getCustomerPaymentMethods(token,​ custnum);
 +} catch (Exception e) {
 +    System.out.println("​Soap Exception: " + e.getMessage());​
 +}
 </​code>​ </​code>​
  
developer/soap/methods/getcustomerpaymentmethods.txt ยท Last modified: 2009/09/08 13:10 by charlie

Page Tools