LoyaltyReceivedEvent¶
-
public class
LoyaltyReceivedEvent
¶ When loyalty offers and IDs are added by applications in response to the
com.verifone.commerce.triggers.LoyaltyRequest
Trigger, the list is returned in this event. This allows the POS application to keep track of changes and provides the opportunity to filter which offers and loyalty accounts are applied to the final transaction.
Fields¶
TYPE¶
Methods¶
generateLoyaltyReceivedEventResponse¶
-
public LoyaltyReceivedEventResponse
generateLoyaltyReceivedEventResponse
()¶ Generates a LoyaltyReceivedResponse object for return to the service.
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.
getInvoiceId¶
getLoyaltyAdjustments¶
-
public ArrayList<LoyaltyAdjustment>
getLoyaltyAdjustments
()¶ Get the list of adjustments that have been added by various other applications.
getLoyaltyId¶
getLoyaltyOffersList¶
getMessage¶
getPayment¶
getSessionId¶
getStatus¶
-
public int
getStatus
()¶ Get the status for this particular event. A status of 0 means success, any other status is a failure.
getTransaction¶
-
public Transaction
getTransaction
()¶ The transaction associated with this event.