From 2a311758ea1c1fa9f56ee094c9e6003e12cae431 Mon Sep 17 00:00:00 2001 From: hstotelmyer Date: Tue, 19 Nov 2019 09:16:48 -0600 Subject: [PATCH] BTDXCLTS-1908 clarify 3ds amount param (#426) * BTDXCLTS-1908 clarify 3ds amount param * describe the 3ds amount with more precision --- .../braintreepayments/api/models/ThreeDSecureRequest.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Braintree/src/main/java/com/braintreepayments/api/models/ThreeDSecureRequest.java b/Braintree/src/main/java/com/braintreepayments/api/models/ThreeDSecureRequest.java index 445df8e9b5..7a93721d5c 100644 --- a/Braintree/src/main/java/com/braintreepayments/api/models/ThreeDSecureRequest.java +++ b/Braintree/src/main/java/com/braintreepayments/api/models/ThreeDSecureRequest.java @@ -47,11 +47,8 @@ public ThreeDSecureRequest nonce(String nonce) { /** * Set the amount - *

- * This value must be a non-negative number and must match the currency format of the merchant account. - * It can only contain numbers and optionally one decimal point with exactly 2 decimal place precision (e.g., x.xx). * - * @param amount The amount of the transaction in the current merchant account's currency. + * @param amount The amount of the transaction in the current merchant account's currency. This must be expressed in numbers with an optional decimal (using `.`) and precision up to the hundredths place. For example, if you're processing a transaction for 1.234,56 € then `amount` should be `1234.56`. */ public ThreeDSecureRequest amount(String amount) { mAmount = amount;