Interface MonetaryValue.Builder

  • Method Details

    • amount

      MonetaryValue.Builder amount(String amount)

      The numeric amount of the monetary value.

      Parameters:
      amount - The numeric amount of the monetary value.
      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 code (e.g., USD, EUR) for the monetary amount.

      Parameters:
      currencyCode - The ISO 4217 currency code (e.g., USD, EUR) for the monetary amount.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • currencyCode

      MonetaryValue.Builder currencyCode(CurrencyCode currencyCode)

      The ISO 4217 currency code (e.g., USD, EUR) for the monetary amount.

      Parameters:
      currencyCode - The ISO 4217 currency code (e.g., USD, EUR) for the monetary amount.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: