Public Member Functions | |
| AmountAdjustment [] | getAdjustments () |
| Payment | getPayment () |
| Response | generateResponse () |
| AmountAdjustedEvent (Parcel in, int parcelVersion) | |
| void | writeToParcel (Parcel dest, int flags) |
| void | setParcelVersion (int targetParcelVersion) |
Public Member Functions inherited from TransactionEvent | |
| String | getInvoiceId () |
| Transaction | getTransaction () |
| String | getType () |
| Response | generateResponse () |
| TransactionEvent (Parcel in, int parcelVersion) | |
| void | setParcelVersion (int targetParcelVersion) |
| void | writeToParcel (Parcel dest, int flags) |
Public Member Functions inherited from CommerceEvent | |
| String | getType () |
| Response | generateResponse () |
| CommerceEvent (Parcel in, int parcelVersion) | |
| void | writeToParcel (Parcel dest, int flags) |
Public Member Functions inherited from Status | |
| String | getSessionId () |
| int | getStatus () |
| String | getType () |
| String | getMessage () |
| Status (Parcel in, int parcelVersion) | |
| void | writeToParcel (Parcel dest, int flags) |
| int | describeContents () |
Public Member Functions inherited from BaseParcel | |
| BaseParcel (Parcel in, int parcelVersion) | |
| void | setParcelVersion (int targetParcelVersion) |
| final int | getParcelVersion () |
| String | getClassName () |
| void | writeToParcel (Parcel dest, int flags) |
| int | describeContents () |
Static Public Attributes | |
| static final String | TYPE = "AMOUNT_ADJUSTMENT_EVENT" |
| static final Parcelable.Creator< AmountAdjustedEvent > | CREATOR = new AmountAdjustedEvent.ParcelCreator<AmountAdjustedEvent>() |
Static Public Attributes inherited from TransactionEvent | |
| static final String | TRANSACTION_NOTIFICATION = "TRANSACTION_NOTIFICATION" |
| static final String | TRANSACTION_REQUEST = "TRANSACTION_REQUEST" |
| static final String | TRANSACTION_PAYMENT_STARTED = "TRANSACTION_PAYMENT_STARTED" |
| static final String | TRANSACTION_PAYMENT_REQUIRES_ONLINE_AUTHORIZATION = "TRANSACTION_PAYMENT_REQUIRES_ONLINE_AUTHORIZATION" |
| static final String | TRANSACTION_PAYMENT_COMPLETED = "TRANSACTION_PAYMENT_COMPLETED" |
| static final String | TRANSACTION_STARTED = "TRANSACTION_STARTED" |
| static final String | TRANSACTION_ENDED = "TRANSACTION_ENDED" |
| static final String | TRANSACTION_ERROR = "TRANSACTION_ERROR" |
| static final String | TRANSACTION_FAILED = "TRANSACTION_FAILED" |
| static final String | LOGIN_COMPLETED = "LOGIN_COMPLETED" |
| static final String | LOGOUT_COMPLETED = "LOGOUT_COMPLETED" |
| static final Parcelable.Creator< TransactionEvent > | CREATOR |
Static Public Attributes inherited from CommerceEvent | |
| static final String | SESSION_STARTED = "SESSION_STARTED" |
| static final String | SESSION_RESUMED = "SESSION_RESUMED" |
| static final String | SESSION_ENDED = "SESSION_ENDED" |
| static final String | SESSION_CLOSED = "SESSION_CLOSED" |
| static final String | SESSION_ERROR = "SESSION_ERROR" |
| static final String | SESSION_START_FAILED = "SESSION_START_FAILED" |
| static final String | SESSION_RESUME_FAILED = "SESSION_RESUME_FAILED" |
| static final String | SESSION_END_FAILED = "SESSION_END_FAILED" |
| static final Parcelable.Creator< CommerceEvent > | CREATOR |
Static Public Attributes inherited from Status | |
| static final String | STATUS_SUCCESS = "SUCCESS" |
| static final String | STATUS_ERROR = "ERROR" |
| static final Parcelable.Creator< Status > | CREATOR |
Static Public Attributes inherited from BaseParcel | |
| static final Parcelable.Creator< BaseParcel > | CREATOR |
Additional Inherited Members | |
Protected Member Functions inherited from TransactionEvent | |
| String | getEventId () |
| void | setEventId (String eventId) |
| TransactionEvent (String sessionId, int status, String type, String message) | |
Protected Member Functions inherited from CommerceEvent | |
| CommerceEvent (String sessionId, int status, String type, String message) | |
| String | getEventId () |
| void | setEventId (String eventId) |
Protected Member Functions inherited from Status | |
| Status (String sessionId, int status, String type, String message) | |
Static Protected Member Functions inherited from BaseParcel | |
| static void | safelySetParcelVersion (final int targetParcelVersion, @Nullable BaseParcel item) |
| static void | safelySetParcelVersion (final int targetParcelVersion, @Nullable List<? extends BaseParcel > items) |
| static< T extends BaseParcel > void | safelySetParcelVersion (final int targetParcelVersion, @Nullable T[] items) |
When the amount is adjusted by applications in response to the com.verifone.commerce.triggers.AmountAdjustmentRequest or com.verifone.commerce.triggers.PaymentAmountAdjustmentRequest Triggers, 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.
Definition at line 22 of file AmountAdjustedEvent.java.
| Response generateResponse | ( | ) |
Generates an Amount Adjusted Response object to send through TransactionManager#sendEventResponse(CommerceResponse).
Definition at line 50 of file AmountAdjustedEvent.java.
| AmountAdjustment [] getAdjustments | ( | ) |
Get the adjustments applied by other applications.
Definition at line 32 of file AmountAdjustedEvent.java.
| Payment getPayment | ( | ) |
Get the appropriate payment object that led to this adjustment.
Definition at line 40 of file AmountAdjustedEvent.java.
This document is the confidential property of Verifone, Inc. Any reproduction or distribution of this document, in whole or in part, or the disclosure of any of the information contained herein, without the prior written consent of Verifone, Inc. is prohibited. This document and any supplemental material supplied as part of any review must be returned to Verifone, Inc. upon request. Notice: This document may go through material revisions over time. While the Company will make every effort to keep readers updated as changes occur, care must be taken by the reader to make sure they are reading the latest version. Version numbers appear in the title page and revision history page of this document. All rights reserved. Verifone, the Verifone logo are either trademarks or registered trademarks of Verifone in the United States and/or other countries. All other trademarks or brand names are properties of their respective holders.