Interface CurrencyAmount.Builder

  • Method Details

    • value

      The amount, as a decimal string, such as 10.99. The number of decimal places can differ between amounts, for example 0.0 and 1000.24.

      Parameters:
      value - The amount, as a decimal string, such as 10.99. The number of decimal places can differ between amounts, for example 0.0 and 1000.24.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • currency

      CurrencyAmount.Builder currency(String currency)

      The ISO 4217 currency code for the amount (for example, USD).

      Parameters:
      currency - The ISO 4217 currency code for the amount (for example, USD).
      Returns:
      Returns a reference to this object so that method calls can be chained together.