developer:soap:methods:gettransactioncustom

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:gettransactioncustom [2009/07/03 14:28]
epouchak
developer:soap:methods:gettransactioncustom [2009/09/09 11:27]
charlie
Line 116: Line 116:
  
 ===== Return Value ===== ===== Return Value =====
- +|[[ 
-[[..:​objects:​FieldValue]] |Returns requested data from specified transaction. Possible values include transaction status, gateway response, date and time of transaction,​ credit card specific data, transaction amount, cardholder name and address, and any other transaction details entered in the request. |+[[developer:​soap:​objects:​FieldValue]] |Returns requested data from specified transaction. Possible values include transaction status, gateway response, date and time of transaction,​ credit card specific data, transaction amount, cardholder name and address, and any other transaction details entered in the request. |
  
 ===== Examples ===== ===== Examples =====
Line 149: Line 149:
  
 ?>  ?> 
 +</​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 RefNum to the Reference Number of transaction you 
 +  //want to retrieve fields from.
 +  BigInteger RefNum = new BigInteger();​
 +
 +  StringArray fields = new StringArray();​
 +
 +  fields.add(new String("​Details.Amount"​));​
 +
 +  FieldValueArray Response;
 +
 +  Response = client.getTransactionCustom(token,​ refnum, fields);
 +} catch (Exception e) {
 +    System.out.println("​Soap Exception: " + e.getMessage());​
 +}
 </​code>​ </​code>​
  
developer/soap/methods/gettransactioncustom.txt · Last modified: 2009/09/09 11:27 by charlie

Page Tools