com.ibm.etill.framework.cassette
Class ApprovalExpirationRequest

java.lang.Object
  |
  +--com.ibm.etill.framework.cassette.CassetteRequest
        |
        +--com.ibm.etill.framework.cassette.APIRequest
              |
              +--com.ibm.etill.framework.cassette.OrderRequest
                    |
                    +--com.ibm.etill.framework.cassette.ApprovalExpirationRequest
All Implemented Interfaces:
FrameworkReturnCodes, PaymentAPIConstants, Serializable

public class ApprovalExpirationRequest
extends OrderRequest

ApprovalExpirationRequest objects hold all the information necessary for a cassette to process a given APPROVALEXPIRATION API command. Since the APPROVALEXPIRATION API command operates on a Payment, ApprovalExpirationRequest extends OrderRequest.

See Also:
APIResponse, Serialized Form

 
Constructor Summary
ApprovalExpirationRequest(ETillConnection connection, Payment payment)
          Constructs an ApprovalExpirationRequest object which references or contains all of the specified input parameters.
 
Method Summary
 Payment getPayment()
          Returns the payment associated with this ApprovalExpiration request
 
Methods inherited from class com.ibm.etill.framework.cassette.OrderRequest
getAccount, getAccountNumber, getBatchNumber, getMerchant, getOrder
 
Methods inherited from class com.ibm.etill.framework.cassette.APIRequest
getFrameworkKeywords, getProtocolData
 
Methods inherited from class com.ibm.etill.framework.cassette.CassetteRequest
getConnection, getToken, obtainLocks, releaseLocks
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApprovalExpirationRequest

public ApprovalExpirationRequest(ETillConnection connection,
                                 Payment payment)
                          throws ETillAbortOperation
Constructs an ApprovalExpirationRequest object which references or contains all of the specified input parameters. The Framework invokes this constructor every time a Payment has been detected to be expired.

Parameters:
connection - the ETillConnection object over which the APPROVALEXPIRATION command was sent from the merchant application to Commerce Payments. This value can be null.
payment - the Payment object that the Framework created and initialized before calling this constructor. This should never be null.
Throws:
ETillAbortOperation - may be thrown by one of the ancestor classes' constructors.
Method Detail

getPayment

public Payment getPayment()
Returns the payment associated with this ApprovalExpiration request