Public Member Functions | |
String | getCurrency () |
BigDecimal | getAmount () |
CommerceTrigger | generateResponse () |
String | getName () |
![]() | |
String | getMerchantId () |
String | getTerminalId () |
Transaction | getTransaction () |
void | setTransaction (Transaction transaction) |
CommerceTrigger | generateResponse () |
String | getMessageType () |
Static Public Attributes | |
static final String | NAME = "CP_SYSTEM_REQUESTS_AMOUNT_ADJUSTMENT" |
![]() | |
static final String | MESSAGE_NAME_PREFIX = "CP_SYSTEM_" |
static final String | INTENT_EXTRA_TRANSACTION_CONTEXT = "com.verifone.commerce.intent.extra.TRANSACTION_CONTEXT" |
Protected Member Functions | |
void | populateMessageFromJson (@NonNull final JSONObject jsonObject) |
void | setHandle (@NonNull final String handle) |
![]() | |
void | populateMessageFromJson (@NonNull final JSONObject jsonObject) |
String | getAsJsonString () |
Additional Inherited Members |
Fired by Payment Application when amount is received from POS or entered directly. This amount may have been altered by a discount. Permits the Commerce Application to adjust the final either by an amount or by an percentage. Example usage: Pennies application which rounds up the final amount. For example an amount of $8.19 is rounded up to $9.00
Definition at line 15 of file AmountAdjustmentRequest.java.
CommerceTrigger generateResponse | ( | ) |
Creates a CP_SYSTEM_RECEIVES_AMOUNT_ADJUSTMENT object to be sent in response to the request.
Definition at line 39 of file AmountAdjustmentRequest.java.
|
static |
The system name of the message.
Definition at line 17 of file AmountAdjustmentRequest.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.