Skip to content

Commit

Permalink
BTDXCLTS-1908 clarify 3ds amount param (braintree#426)
Browse files Browse the repository at this point in the history
* BTDXCLTS-1908 clarify 3ds amount param

* describe the 3ds amount with more precision
  • Loading branch information
hstotelmyer authored and GitHub Enterprise committed Nov 19, 2019
1 parent 3edb566 commit 2a31175
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,8 @@ public ThreeDSecureRequest nonce(String nonce) {

/**
* Set the amount
* <p>
* 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;
Expand Down

0 comments on commit 2a31175

Please sign in to comment.