Interface USD.Builder

    • Method Detail

      • dollars

        USD.Builder dollars​(Integer dollars)

        The whole number of dollars in the amount.

        Parameters:
        dollars - The whole number of dollars in the amount.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cents

        USD.Builder cents​(Integer cents)

        The fractional portion, in cents, of the amount.

        Parameters:
        cents - The fractional portion, in cents, of the amount.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tenthFractionsOfACent

        USD.Builder tenthFractionsOfACent​(Integer tenthFractionsOfACent)

        Fractions of a cent, in tenths.

        Parameters:
        tenthFractionsOfACent - Fractions of a cent, in tenths.
        Returns:
        Returns a reference to this object so that method calls can be chained together.