developer:soap:methods:getaccountdetails

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:getaccountdetails [2009/07/06 10:21]
epouchak
developer:soap:methods:getaccountdetails [2009/09/08 12:34] (current)
charlie
Line 41: Line 41:
  
   $details = $client->​getAccountDetails($token); ​   $details = $client->​getAccountDetails($token); ​
-              
-  $this->​assertEquals($details->​CheckPlatform,​ '​Vericheck'​); ​ 
- 
-  $this->​assertEquals($details->​CreditCardPlatform,​ 'Test Bed'​); ​ 
- 
-  $this->​assertEquals($details->​Industry,​ '​eCommerce'​); ​ 
- 
-  $this->​assertEquals(count($details->​SupportedCurrencies),​ 0);  
                            
  
Line 54: Line 46:
 catch(SoapFault $e) {  catch(SoapFault $e) { 
                    
-  ​die("soap fault: " .$e->​getMessage()); +  ​echo "soap fault: " .$e->​getMessage(); ​
         ​         ​
 }          }         
Line 61: Line 53:
 </​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 {
 +  AccountDetails Account = new AccountDetails();​
 +  Account = client.getAccountDetails(token);​
 +} catch (Exception e) {
 +    System.out.println("​Soap Exception: " + e.getMessage());​
 +}
 +</​code>​
  
 ==== XML ==== ==== XML ====
developer/soap/methods/getaccountdetails.txt ยท Last modified: 2009/09/08 12:34 by charlie

Page Tools