java.lang.Object | ||
↳ | PayPalRetailObject | |
↳ | com.paypal.paypalretailsdk.AuthorizedTransaction |
Information about a completed capture
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
interface | AuthorizedTransaction.CaptureCompleteCallback | ||||||||||
interface | AuthorizedTransaction.VoidCompleteCallback |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AuthorizedTransaction(String authorizationId, String invoiceId, String currency)
Create an authorized transaction
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
captureTransaction(BigDecimal totalAmount, BigDecimal gratuityAmount, AuthorizedTransaction.CaptureCompleteCallback callback)
Capture this authorized transaction
| ||||||||||
void |
captureTransaction(BigDecimal totalAmount, BigDecimal gratuityAmount, String base64SignatureJpeg, AuthorizedTransaction.CaptureCompleteCallback callback)
Capture this authorized transaction
| ||||||||||
String |
getAuthorizationId()
The PayPal transaction reference number for this authorization @readonly
| ||||||||||
BigDecimal |
getAuthorizedAmount()
Amount authorized for this transaction
| ||||||||||
String |
getCurrency()
Currency in which the net amount was authorized @readonly
| ||||||||||
String |
getInvoiceId()
The PayPal invoice id for this authorization @readonly
| ||||||||||
String |
getStatus()
Status of the current authorization
| ||||||||||
Date |
getTimeCreated()
Time at which this authorization activity was created
| ||||||||||
void |
setAuthorizedAmount(BigDecimal value)
Amount authorized for this transaction
| ||||||||||
void |
setStatus(String value)
Status of the current authorization
| ||||||||||
void |
setTimeCreated(Date value)
Time at which this authorization activity was created
| ||||||||||
String |
toString()
Returns a string representing the serialized state of the AuthorizedTransaction object
| ||||||||||
void |
voidTransaction(AuthorizedTransaction.VoidCompleteCallback callback)
Void this authorized transaction
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Create an authorized transaction
Capture this authorized transaction
Capture this authorized transaction
The PayPal transaction reference number for this authorization @readonly
Amount authorized for this transaction
Currency in which the net amount was authorized @readonly
The PayPal invoice id for this authorization @readonly
Status of the current authorization
Time at which this authorization activity was created
Amount authorized for this transaction
Status of the current authorization
Time at which this authorization activity was created
Returns a string representing the serialized state of the AuthorizedTransaction object
Void this authorized transaction