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
Method Summary |
Payment |
getPayment()
Returns the payment associated with this ApprovalExpiration request |
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.
getPayment
public Payment getPayment()
- Returns the payment associated with this ApprovalExpiration request