Interface ListPurchaseOptionsResponse.Builder

  • Method Details

    • purchaseOptions

      The purchase options available to the buyer. Each option is either an offer for a single product or an offer set spanning multiple products.

      Parameters:
      purchaseOptions - The purchase options available to the buyer. Each option is either an offer for a single product or an offer set spanning multiple products.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • purchaseOptions

      ListPurchaseOptionsResponse.Builder purchaseOptions(PurchaseOptionSummary... purchaseOptions)

      The purchase options available to the buyer. Each option is either an offer for a single product or an offer set spanning multiple products.

      Parameters:
      purchaseOptions - The purchase options available to the buyer. Each option is either an offer for a single product or an offer set spanning multiple products.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • purchaseOptions

      The purchase options available to the buyer. Each option is either an offer for a single product or an offer set spanning multiple products.

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

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

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

      If nextToken is returned, there are more results available. Make the call again using the returned token to retrieve the next page.

      Parameters:
      nextToken - If nextToken is returned, there are more results available. Make the call again using the returned token to retrieve the next page.
      Returns:
      Returns a reference to this object so that method calls can be chained together.