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

    • currencyCode

      Amount.Builder currencyCode(String currencyCode)

      The ISO 4217 currency code for the amount (for example, USD).

      Parameters:
      currencyCode - The ISO 4217 currency code for the amount (for example, USD).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • currencyAmount

      Amount.Builder currencyAmount(String currencyAmount)

      The amount as a decimal string (for example, "743.21"). Negative values represent credits that reduce a bill.

      Parameters:
      currencyAmount - The amount as a decimal string (for example, "743.21"). Negative values represent credits that reduce a bill.
      Returns:
      Returns a reference to this object so that method calls can be chained together.