Interface MonetaryValue.Builder

  • Method Details

    • amount

      MonetaryValue.Builder amount(String amount)

      The amount, as a decimal string with at most two decimal places.

      Parameters:
      amount - The amount, as a decimal string with at most two decimal places.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • currencyCode

      MonetaryValue.Builder currencyCode(String currencyCode)

      The ISO 4217 currency the amount is denominated in.

      Parameters:
      currencyCode - The ISO 4217 currency the amount is denominated in.
      Returns:
      Returns a reference to this object so that method calls can be chained together.