ReconciliationsListEvent

public class ReconciliationsListEvent

Provides a list of Reconciliations. See ReportManager.getReconciliations() for more information.

Fields

TYPE

public static final String TYPE

The event type

Methods

generateResponse

public CommerceResponse generateResponse()

Generate the TransactionEventResponse associated with this transaction.

getEventId

public String getEventId()

Returns the event ID associated with this event. Useful for matching the event received by the listener to the original status returned when issuing the call, for example, calling com.verifone.commerce.payment.TransactionManager.reprintReceipt(Payment) returns a CommerceEvent containing an event ID, which will match the event ID received by the CommerceListener when the receipt reprint is complete.

getMessage

public String getMessage()

A user-readable message. This message may not be localized, in which case the type field should be used for determining a localized message.

getReconciliations

public ArrayList<Reconciliation> getReconciliations()

Returns the list of reconciliations obtained, which might be empty if unsuccessful or if none were available to be listed.

getSessionId

public String getSessionId()

Get the session ID for the session which triggered this event.

getStatus

public int getStatus()

Get the status for this particular event. A status of 0 means success, any other status is a failure.

getType

public String getType()

The type of status. This will generally be SUCCESS for a status of 0, and contain a different type for other errors.