Interface Price.Builder

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

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

    • currencyCode

      Price.Builder currencyCode(String currencyCode)

      The ISO 4217 currency code (three uppercase letters, for example, "USD").

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

      Price.Builder amount(String amount)

      An arbitrary-precision decimal represented as a string (for example, "9.99").

      Parameters:
      amount - An arbitrary-precision decimal represented as a string (for example, "9.99").
      Returns:
      Returns a reference to this object so that method calls can be chained together.