Interface Amount.Builder

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

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

    • value

      Amount.Builder value(String value)

      The numeric value of the amount.

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

      Amount.Builder currency(String currency)

      The currency code for this amount.

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

      Amount.Builder currency(Currency currency)

      The currency code for this amount.

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