Interface CheckoutItem.Builder

  • Method Details

    • oneTimePriceId

      CheckoutItem.Builder oneTimePriceId(String oneTimePriceId)

      The id of the one-time price to buy.

      Parameters:
      oneTimePriceId - The id of the one-time price to buy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • quantity

      CheckoutItem.Builder quantity(Integer quantity)

      The number of units of the one-time price to buy.

      Parameters:
      quantity - The number of units of the one-time price to buy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.