public class

TransactionManager

extends PayPalRetailObject
java.lang.Object
   ↳ PayPalRetailObject
     ↳ com.paypal.paypalretailsdk.TransactionManager

Class Overview

TransactionManager is a public facing facade to everything related to a Transaction.

Summary

Nested Classes
interface TransactionManager.CaptureAuthorizedTransactionCallback The callback for captureAuthorizedTransaction completion  
interface TransactionManager.RetrieveAuthorizedTransactionsCallback The callback for retrieveAuthorizedTransactions completion  
interface TransactionManager.TransactionCallback The callback for creating a transaction  
interface TransactionManager.VoidAuthorizationCallback The callback for voidTransaction completion  
Public Constructors
TransactionManager()
Public Methods
void captureAuthorization(String authorizationId, String invoiceId, BigDecimal totalAmount, BigDecimal gratuityAmount, String currency, TransactionManager.CaptureAuthorizedTransactionCallback callback)
Capture a previously authorized transaction.
void captureAuthorization(String authorizationId, String invoiceId, BigDecimal totalAmount, BigDecimal gratuityAmount, String currency, String base64SignatureJpeg, TransactionManager.CaptureAuthorizedTransactionCallback callback)
Capture a previously authorized transaction.
void createRefundTransaction(String invoiceId, String transactionNumber, InvoicePaymentMethod paymentMethod, TransactionManager.TransactionCallback callback)
Create a refund transaction.
void createTransaction(Invoice invoice, TransactionManager.TransactionCallback callback)
Create a transaction using the provided Invoice.
void retrieveAuthorization(Date startDateTime, Date endDateTime, Integer pageSize, List<AuthStatus> status, TransactionManager.RetrieveAuthorizedTransactionsCallback callback)
Retrieve the list of authorized transactions.
void retrieveAuthorizationUsingToken(String nextPageToken, TransactionManager.RetrieveAuthorizedTransactionsCallback callback)
Retrieve the next list of authorized transactions using the nextPageToken.
String toString()
Returns a string representing the serialized state of the TransactionManager object
void voidAuthorization(String authorizationId, TransactionManager.VoidAuthorizationCallback callback)
Void an authorized transaction
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public TransactionManager ()

Public Methods

public void captureAuthorization (String authorizationId, String invoiceId, BigDecimal totalAmount, BigDecimal gratuityAmount, String currency, TransactionManager.CaptureAuthorizedTransactionCallback callback)

Capture a previously authorized transaction.

public void captureAuthorization (String authorizationId, String invoiceId, BigDecimal totalAmount, BigDecimal gratuityAmount, String currency, String base64SignatureJpeg, TransactionManager.CaptureAuthorizedTransactionCallback callback)

Capture a previously authorized transaction.

public void createRefundTransaction (String invoiceId, String transactionNumber, InvoicePaymentMethod paymentMethod, TransactionManager.TransactionCallback callback)

Create a refund transaction. An existing transaction will be canceled

public void createTransaction (Invoice invoice, TransactionManager.TransactionCallback callback)

Create a transaction using the provided Invoice. An existing transaction will be canceled

public void retrieveAuthorization (Date startDateTime, Date endDateTime, Integer pageSize, List<AuthStatus> status, TransactionManager.RetrieveAuthorizedTransactionsCallback callback)

Retrieve the list of authorized transactions.

public void retrieveAuthorizationUsingToken (String nextPageToken, TransactionManager.RetrieveAuthorizedTransactionsCallback callback)

Retrieve the next list of authorized transactions using the nextPageToken.

public String toString ()

Returns a string representing the serialized state of the TransactionManager object

public void voidAuthorization (String authorizationId, TransactionManager.VoidAuthorizationCallback callback)

Void an authorized transaction