Public Member Functions | |
String | getCurrency () |
String | getPaymentMethod () |
PresentationMethod | getPresentationMethod () |
BigDecimal | getTransactionAmount () |
CommerceTrigger | generateResponse () |
String | getName () |
void | setPayment (Payment payment) |
![]() | |
String | getMerchantId () |
String | getTerminalId () |
Transaction | getTransaction () |
void | setTransaction (Transaction transaction) |
CommerceTrigger | generateResponse () |
String | getMessageType () |
Static Public Attributes | |
static final String | NAME = "CP_SYSTEM_REQUESTS_PAYMENT_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 | setHandle (@NonNull String handle) |
void | populateMessageFromJson (@NonNull JSONObject jsonObject) |
String | getAsJsonString () |
![]() | |
void | populateMessageFromJson (@NonNull final JSONObject jsonObject) |
String | getAsJsonString () |
Additional Inherited Members |
Fired by Payment application with the same conditions as AmountAdjustmentRequest. This gives the opportunity for Commerce Applications to adjust the amount only for only certain cards types or provide Dynamic Currency Conversion (DCC) capability.
Definition at line 22 of file PaymentAmountAdjustmentRequest.java.
CommerceTrigger generateResponse | ( | ) |
Creates a PaymentAmountAdjustmentResponse object to be sent in response to the request.
Definition at line 89 of file PaymentAmountAdjustmentRequest.java.
String getCurrency | ( | ) |
Returns the currency for the paymemt.
Definition at line 33 of file PaymentAmountAdjustmentRequest.java.
String getPaymentMethod | ( | ) |
Returns the payment method.
Definition at line 45 of file PaymentAmountAdjustmentRequest.java.
PresentationMethod getPresentationMethod | ( | ) |
Returns the Presentation Method if a card was used for the payment.
Definition at line 60 of file PaymentAmountAdjustmentRequest.java.
|
static |
The system name of the message.
Definition at line 26 of file PaymentAmountAdjustmentRequest.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.