Interface FixedUpfrontPricingTerm.Builder

  • Method Details

    • id

      The unique identifier of the term.

      Parameters:
      id - The unique identifier of the term.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The category of the term.

      Parameters:
      type - The category of the term.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The category of the term.

      Parameters:
      type - The category of the term.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • currencyCode

      FixedUpfrontPricingTerm.Builder currencyCode(String currencyCode)

      Defines the currency for the prices in this term.

      Parameters:
      currencyCode - Defines the currency for the prices in this term.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • duration

      The duration of the fixed pricing term, in ISO 8601 format.

      Parameters:
      duration - The duration of the fixed pricing term, in ISO 8601 format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • price

      The price charged upfront for this term.

      Parameters:
      price - The price charged upfront for this term.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • grants

      The entitlements granted to the buyer as part of this term.

      Parameters:
      grants - The entitlements granted to the buyer as part of this term.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • grants

      The entitlements granted to the buyer as part of this term.

      Parameters:
      grants - The entitlements granted to the buyer as part of this term.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • grants

      The entitlements granted to the buyer as part of this term.

      This is a convenience method that creates an instance of the GrantItem.Builder avoiding the need to create one manually via GrantItem.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to grants(List<GrantItem>).

      Parameters:
      grants - a consumer that will call methods on GrantItem.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: