com.ibm.etill.cashier
Class CheckPaymentResponse

java.lang.Object
  com.ibm.etill.cashier.CheckPaymentResponse

public class CheckPaymentResponse
extends java.lang.Object

An instance of this class is returned on every call to the Cashier's CheckPayment() method.


Field Summary
static int APPROVED
Indicates that the order has been approved.
static int CANCELED
Indicates that the order has been canceled.
static int CLOSED
Indicates that the payment for the order has been closed.
static int DECLINED
Indicates that the payment for the order has been declined.
static int DEPOSITED
Indicates that the payment for the order has been deposited.
static int MISSING
Indicates that the order could not be found in Commerce Payments.
static int PENDING
Indicates that the order or its payment are pending.
static int REJECTED
Indicates that the order has been rejected.
static int VOID
Indicates that the payment for the order has been voided.
Method Summary
short getPrimaryReturnCode()
Returns the primary return code for the query command which was issued to Commerce Payments.
short getSecondaryReturnCode()
Returns the secondary return code for the query command which was issued to Commerce Payments.
int getState()
Returns the state.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail

APPROVED

public static final int APPROVED
Indicates that the order has been approved.
See Also:
Constant Field Values

DEPOSITED

public static final int DEPOSITED
Indicates that the payment for the order has been deposited.
See Also:
Constant Field Values

CLOSED

public static final int CLOSED
Indicates that the payment for the order has been closed.
See Also:
Constant Field Values

PENDING

public static final int PENDING
Indicates that the order or its payment are pending.
See Also:
Constant Field Values

CANCELED

public static final int CANCELED
Indicates that the order has been canceled.
See Also:
Constant Field Values

REJECTED

public static final int REJECTED
Indicates that the order has been rejected.
See Also:
Constant Field Values

VOID

public static final int VOID
Indicates that the payment for the order has been voided.
See Also:
Constant Field Values

DECLINED

public static final int DECLINED
Indicates that the payment for the order has been declined.
See Also:
Constant Field Values

MISSING

public static final int MISSING
Indicates that the order could not be found in Commerce Payments.
See Also:
Constant Field Values
Method Detail

getPrimaryReturnCode

public short getPrimaryReturnCode()
Returns the primary return code for the query command which was issued to Commerce Payments.
Returns:
the primary return code for the Commerce Payments query command.

getSecondaryReturnCode

public short getSecondaryReturnCode()
Returns the secondary return code for the query command which was issued to Commerce Payments.
Returns:
the secondary return code for the Commerce Payments query command.

getState

public int getState()
Returns the state.
Returns:
the state of the Commerce Payments order.

Feedback