Interface CostAmount.Builder

    • Method Detail

      • amount

        CostAmount.Builder amount​(Double amount)

        The numeric value of the cost.

        Parameters:
        amount - The numeric value of the cost.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • currency

        CostAmount.Builder currency​(String currency)

        The currency code for the cost amount.

        Parameters:
        currency - The currency code for the cost amount.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CurrencyCode, CurrencyCode
      • currency

        CostAmount.Builder currency​(CurrencyCode currency)

        The currency code for the cost amount.

        Parameters:
        currency - The currency code for the cost amount.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CurrencyCode, CurrencyCode