Interface MonetaryAmount.Builder

    • Method Detail

      • amount

        MonetaryAmount.Builder amount​(Double amount)

        The numerical amount of an offering or transaction.

        Parameters:
        amount - The numerical amount of an offering or transaction.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • currencyCode

        MonetaryAmount.Builder currencyCode​(String currencyCode)

        The currency code of a monetary amount. For example, USD means U.S. dollars.

        Parameters:
        currencyCode - The currency code of a monetary amount. For example, USD means U.S. dollars.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CurrencyCode, CurrencyCode
      • currencyCode

        MonetaryAmount.Builder currencyCode​(CurrencyCode currencyCode)

        The currency code of a monetary amount. For example, USD means U.S. dollars.

        Parameters:
        currencyCode - The currency code of a monetary amount. For example, USD means U.S. dollars.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CurrencyCode, CurrencyCode