Public Member Functions | |
void | setAdjustmentValue (BigDecimal adjustmentValue) |
BigDecimal | getAdjustmentValue () |
void | setAdjustmentPercentage (BigDecimal adjustmentPercentage) |
BigDecimal | getAdjustmentPercentage () |
void | setFXAmount (BigDecimal fxAmount) |
BigDecimal | getFXAmount () |
void | setFXCurrency (String fxCurrency) |
String | getFXCurrency () |
void | setFXRate (BigDecimal FXRate) |
BigDecimal | getFXRate () |
void | setFXInvertedRate (BigDecimal FXInvertedRate) |
BigDecimal | getFXInvertedRate () |
void | setFXPercentageCommission (BigDecimal FXPercentageCommission) |
BigDecimal | getFXPercentageCommission () |
void | setFXAccepted (boolean FXAccepted) |
boolean | getFXAccepted () |
void | setDescription (String Description) |
String | getDescription () |
void | setFXMerchantId (String fxMerchantId) |
String | getFXMerchantId () |
void | setFXTerminalId (String fxTerminalId) |
String | getFXTerminalId () |
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_RECEIVES_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) |
String | getAsJsonString () |
![]() | |
void | populateMessageFromJson (@NonNull final JSONObject jsonObject) |
String | getAsJsonString () |
Additional Inherited Members |
The response to the PaymentAmountAdjustmentRequest request.
Definition at line 16 of file PaymentAmountAdjustmentResponse.java.
CommerceTrigger generateResponse | ( | ) |
There is no response for this object, so this returns null.
Definition at line 231 of file PaymentAmountAdjustmentResponse.java.
BigDecimal getAdjustmentPercentage | ( | ) |
Refer to the setter for information.
Definition at line 97 of file PaymentAmountAdjustmentResponse.java.
BigDecimal getAdjustmentValue | ( | ) |
Refer to the setter for information.
Definition at line 83 of file PaymentAmountAdjustmentResponse.java.
String getDescription | ( | ) |
Refer to the setter for information.
Definition at line 195 of file PaymentAmountAdjustmentResponse.java.
boolean getFXAccepted | ( | ) |
Refer to the setter for information.
Definition at line 181 of file PaymentAmountAdjustmentResponse.java.
BigDecimal getFXAmount | ( | ) |
Refer to the setter for information.
Definition at line 111 of file PaymentAmountAdjustmentResponse.java.
String getFXCurrency | ( | ) |
Refer to the setter for information.
Definition at line 125 of file PaymentAmountAdjustmentResponse.java.
BigDecimal getFXInvertedRate | ( | ) |
Refer to the setter for information.
Definition at line 153 of file PaymentAmountAdjustmentResponse.java.
String getFXMerchantId | ( | ) |
Refer to the setter for information.
Definition at line 209 of file PaymentAmountAdjustmentResponse.java.
BigDecimal getFXPercentageCommission | ( | ) |
Refer to the setter for information.
Definition at line 167 of file PaymentAmountAdjustmentResponse.java.
BigDecimal getFXRate | ( | ) |
Refer to the setter for information.
Definition at line 139 of file PaymentAmountAdjustmentResponse.java.
String getFXTerminalId | ( | ) |
Refer to the setter for information.
Definition at line 223 of file PaymentAmountAdjustmentResponse.java.
void setAdjustmentPercentage | ( | BigDecimal | adjustmentPercentage | ) |
The percentage amount to adjust the payment amount. To represent 10% specify the value as 0.10. Can be positive or negative.
Definition at line 90 of file PaymentAmountAdjustmentResponse.java.
void setAdjustmentValue | ( | BigDecimal | adjustmentValue | ) |
The amount to adjust the payment amount. Can be positive or negative.
Definition at line 76 of file PaymentAmountAdjustmentResponse.java.
void setDescription | ( | String | Description | ) |
A short description of the adjustment.
Definition at line 188 of file PaymentAmountAdjustmentResponse.java.
void setFXAccepted | ( | boolean | FXAccepted | ) |
True is currency conversion has been accepted and is applicable.
Definition at line 174 of file PaymentAmountAdjustmentResponse.java.
void setFXAmount | ( | BigDecimal | fxAmount | ) |
The amount in foreign currency. The value must be greater than zero.
Definition at line 104 of file PaymentAmountAdjustmentResponse.java.
void setFXCurrency | ( | String | fxCurrency | ) |
Alphabetic currency code (ISO 4217). Ex: USD, EUR. This represents the currency of FXAmount.
Definition at line 118 of file PaymentAmountAdjustmentResponse.java.
void setFXInvertedRate | ( | BigDecimal | FXInvertedRate | ) |
Rate to convert the foreign currency amount to the base currency amount. PaymentAmount = FXInvertedRate * FXAmount
Definition at line 146 of file PaymentAmountAdjustmentResponse.java.
void setFXMerchantId | ( | String | fxMerchantId | ) |
To allow a CP DCC application to provide particular MID and TID back to payment application
Definition at line 202 of file PaymentAmountAdjustmentResponse.java.
void setFXPercentageCommission | ( | BigDecimal | FXPercentageCommission | ) |
Commission percentage value applied to the exchange rate. To represent 10% specify the value as 0.10.
Definition at line 160 of file PaymentAmountAdjustmentResponse.java.
void setFXRate | ( | BigDecimal | FXRate | ) |
Rate to convert the base currency amount to the foreign currency amount. FXAmount = PaymentAmount * FXRate
Definition at line 132 of file PaymentAmountAdjustmentResponse.java.
void setFXTerminalId | ( | String | fxTerminalId | ) |
in the case of acquirers dealing with separate MID and TID values for DCC transactions
Definition at line 216 of file PaymentAmountAdjustmentResponse.java.
|
static |
The system name of the message.
Definition at line 23 of file PaymentAmountAdjustmentResponse.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.