Interface USD.Builder

All Superinterfaces:
Buildable, CopyableBuilder<USD.Builder,USD>, SdkBuilder<USD.Builder,USD>, SdkPojo
Enclosing class:
USD

@Mutable @NotThreadSafe public static interface USD.Builder extends SdkPojo, CopyableBuilder<USD.Builder,USD>
  • Method Details

    • 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.