atg.payment
Interface PaymentStatus

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
AddressVerificationStatus, CreditCardStatus, GiftCertificateStatus, StoreCreditStatus, TaxStatus
All Known Implementing Classes:
AddressVerificationStatusImpl, AuthorizationAddressVerificationStatus, CreditCardStatusImpl, CyberCashStatus, DummyTaxStatus, GiftCertificateStatusImpl, PayFlowProStatus, PaymentStatusImpl, StoreCreditStatusImpl, TaxWareStatus

public interface PaymentStatus
extends java.io.Serializable

This interface defines a payment transaction status. It encapsulates basic transaction information returned from a payment system.


Field Summary
static java.lang.String CLASS_VERSION
           
 
Method Summary
 double getAmount()
          The amount that was submitted for the transaction
 java.lang.String getErrorMessage()
          A message describing the transaction failure
 java.lang.String getTransactionId()
          A unique transaction Id returned from the payment system
 boolean getTransactionSuccess()
          Indicates if the transaction succeeded or failed
 java.util.Date getTransactionTimestamp()
          Date when the transaction is initiated
 

Field Detail

CLASS_VERSION

static final java.lang.String CLASS_VERSION
See Also:
Constant Field Values
Method Detail

getTransactionId

java.lang.String getTransactionId()
A unique transaction Id returned from the payment system


getAmount

double getAmount()
The amount that was submitted for the transaction


getTransactionSuccess

boolean getTransactionSuccess()
Indicates if the transaction succeeded or failed


getErrorMessage

java.lang.String getErrorMessage()
A message describing the transaction failure


getTransactionTimestamp

java.util.Date getTransactionTimestamp()
Date when the transaction is initiated