| java.lang.Object | ||
| ↳ | PayPalRetailObject | |
| ↳ | com.paypal.paypalretailsdk.TransactionManager | |
TransactionManager is a public facing facade to everything related to a Transaction.
| 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
| |||||||||||
Capture a previously authorized transaction.
Capture a previously authorized transaction.
Create a refund transaction. An existing transaction will be canceled
Create a transaction using the provided Invoice. An existing transaction will be canceled
Retrieve the list of authorized transactions.
Retrieve the next list of authorized transactions using the nextPageToken.
Returns a string representing the serialized state of the TransactionManager object
Void an authorized transaction