Interface FixedUpfrontPricingTerm.Builder

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

public static interface FixedUpfrontPricingTerm.Builder extends SdkPojo, CopyableBuilder<FixedUpfrontPricingTerm.Builder,FixedUpfrontPricingTerm>
  • Method Details

    • currencyCode

      FixedUpfrontPricingTerm.Builder currencyCode(String currencyCode)

      Defines the currency for the prices mentioned in this term.

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

      Contract duration for the terms.

      Parameters:
      duration - Contract duration for the terms.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • grants

      Entitlements granted to the acceptor of fixed upfront as part of agreement execution.

      Parameters:
      grants - Entitlements granted to the acceptor of fixed upfront as part of agreement execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • grants

      Entitlements granted to the acceptor of fixed upfront as part of agreement execution.

      Parameters:
      grants - Entitlements granted to the acceptor of fixed upfront as part of agreement execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • grants

      Entitlements granted to the acceptor of fixed upfront as part of agreement execution.

      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:
    • price

      Fixed amount to be charged to the customer when this term is accepted.

      Parameters:
      price - Fixed amount to be charged to the customer when this term is accepted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      Category of the term being updated.

      Parameters:
      type - Category of the term being updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.