Interface RecommendedCreditPack.Builder

  • Method Details

    • name

      Pack name shown to buyers.

      Parameters:
      name - Pack name shown to buyers.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • actionName

      RecommendedCreditPack.Builder actionName(String actionName)
      Sets the value of the ActionName property for this object.
      Parameters:
      actionName - The new value for the ActionName property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • quantity

      RecommendedCreditPack.Builder quantity(Long quantity)

      Units in the pack.

      Parameters:
      quantity - Units in the pack.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • price

      The pack price.

      Parameters:
      price - The pack price.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • price

      The pack price.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to price(Price).

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