-
class
Used for the buyerauth operation
class
UUsed for ExpressCheckout Do operation.
class
Used for ExpressCheckout update operation.
class
class
This class serves as base class of all ExpressCheckout response classes.
final class
Container class for response messages specific Fraud Protections Services.
final class
Container class for all the messages related to
recurring transactions.
final class
Container class for response messages.
This class enclosed response data objects specific to
following:
<ol>
<li>Transaction response
-- Response messages common to all transactions.</li>
<li>Fraud response
-- Fraud Filters response messages.</li>
<li>Recurring response
-- Recurring transaction response messages.</li>
<li>Buyerauth response
-- Buyer auth response messages. (Not supported.)</li>
</ol>
<p>Additionally the Response class also contains the
transaction context, full request response string values.</p>
{@link FraudResponse}
{@link TransactionResponse}
{@link RecurringResponse}
{@link BuyerAuthResponse}
{@link Context}
Following example shows, how to obtain response
of a transaction and how to use it.
..........
// Trans is the transaction object.
* ...................
// Submit the transaction.
Response resp = trans.SubmitTransaction();
* <p>
if (resp != null)
{
// Get the Transaction Response parameters.
TransactionResponse trxnResponse = resp.getTransactionResponse();
if (trxnResponse!= null)
{
System.out.println("RESULT = " + trxnResponse.Result);
System.out.println("RESPMSG = " + trxnResponse.RespMsg);
}
* <p>
// Get the Recurring Response parameters.
RecurringResponse recurResponse = resp.getRecurringResponse();
if (recurResponse != null)
{
System.out.println("RPREF = " + recurResponse.getRPRef());
System.out.println("PROFILEID = " + recurResponse.getProfileId());
}
}
* <p>
// Get the Context and check for any contained SDK specific errors.
Context ctx = resp.getTransactionContext();
if (ctx != null & ctx.getErrorCount() > 0)
{
System.out.println( "Errors = " + ctx());
}
class
class
final class
Used for transaction response.