public class

AuthorizedTransaction

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

Class Overview

Information about a completed capture

Summary

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
From class java.lang.Object

Public Constructors

public AuthorizedTransaction (String authorizationId, String invoiceId, String currency)

Create an authorized transaction

Public Methods

public void captureTransaction (BigDecimal totalAmount, BigDecimal gratuityAmount, AuthorizedTransaction.CaptureCompleteCallback callback)

Capture this authorized transaction

public void captureTransaction (BigDecimal totalAmount, BigDecimal gratuityAmount, String base64SignatureJpeg, AuthorizedTransaction.CaptureCompleteCallback callback)

Capture this authorized transaction

public String getAuthorizationId ()

The PayPal transaction reference number for this authorization @readonly

public BigDecimal getAuthorizedAmount ()

Amount authorized for this transaction

public String getCurrency ()

Currency in which the net amount was authorized @readonly

public String getInvoiceId ()

The PayPal invoice id for this authorization @readonly

public String getStatus ()

Status of the current authorization

public Date getTimeCreated ()

Time at which this authorization activity was created

public void setAuthorizedAmount (BigDecimal value)

Amount authorized for this transaction

public void setStatus (String value)

Status of the current authorization

public void setTimeCreated (Date value)

Time at which this authorization activity was created

public String toString ()

Returns a string representing the serialized state of the AuthorizedTransaction object

public void voidTransaction (AuthorizedTransaction.VoidCompleteCallback callback)

Void this authorized transaction