AmountAdjustedEvent¶
-
public class
AmountAdjustedEvent
¶ When the amount is adjusted by applications in response to the
com.verifone.commerce.triggers.AmountAdjustmentRequest
Trigger, the adjustments proposed are returned in this event. This allows the POS application to keep track of changes and provides the opportunity to decide which adjustments are applied in the response.
Fields¶
TYPE¶
Methods¶
generateAmountAdjustedEventResponse¶
-
public AmountAdjustedEventResponse
generateAmountAdjustedEventResponse
()¶ Generate amount adjusted event response
getAdjustments¶
-
public ArrayList<AmountAdjustment>
getAdjustments
()¶ Get the adjustments applied by other applications.
getEventId¶
getInvoiceId¶
getMessage¶
getPayment¶
getSessionId¶
getStatus¶
-
public int
getStatus
()¶ Returns the event status
getTransaction¶
-
public Transaction
getTransaction
()¶ Return transaction from event
getType¶
isPaymentAdjustedEvent¶
-
public boolean
isPaymentAdjustedEvent
()¶ Return boolean indicating that the event occurred during payment hence is a PaymentAdjustedEvent