// File generated from our OpenAPI spec
package com.stripe.model;

import com.stripe.Stripe;
import com.stripe.exception.StripeException;
import com.stripe.net.ApiResource;
import com.stripe.net.RequestOptions;
import com.stripe.param.QuoteCollectionListParams;
import java.util.Map;

public class QuoteCollection extends StripeCollection<Quote> {
  /**
   * When retrieving a quote, there is an includable <strong>upfront.line_items</strong> property
   * containing the first handful of those items. There is also a URL where you can retrieve the
   * full (paginated) list of upfront line items.
   */
  public LineItemCollection list(Map<String, Object> params) throws StripeException {
    return list(params, (RequestOptions) null);
  }

  /**
   * When retrieving a quote, there is an includable <strong>upfront.line_items</strong> property
   * containing the first handful of those items. There is also a URL where you can retrieve the
   * full (paginated) list of upfront line items.
   */
  public LineItemCollection list(Map<String, Object> params, RequestOptions options)
      throws StripeException {
    String url = String.format("%s%s", Stripe.getApiBase(), this.getUrl());
    return ApiResource.requestCollection(url, params, LineItemCollection.class, options);
  }

  /**
   * When retrieving a quote, there is an includable <strong>upfront.line_items</strong> property
   * containing the first handful of those items. There is also a URL where you can retrieve the
   * full (paginated) list of upfront line items.
   */
  public LineItemCollection list(QuoteCollectionListParams params) throws StripeException {
    return list(params, (RequestOptions) null);
  }

  /**
   * When retrieving a quote, there is an includable <strong>upfront.line_items</strong> property
   * containing the first handful of those items. There is also a URL where you can retrieve the
   * full (paginated) list of upfront line items.
   */
  public LineItemCollection list(QuoteCollectionListParams params, RequestOptions options)
      throws StripeException {
    String url = String.format("%s%s", Stripe.getApiBase(), this.getUrl());
    return ApiResource.requestCollection(url, params, LineItemCollection.class, options);
  }
}

@@ -64,2178 +64,68 @@
 l;%0A%0A
-import com.stripe.Stripe;%0Aimport com.stripe.exception.StripeException;%0Aimport com.stripe.net.ApiResource;%0Aimport com.stripe.net.RequestOptions;%0Aimport com.stripe.param.QuoteCollectionListParams;%0Aimport java.util.Map;%0A%0Apublic class QuoteCollection extends StripeCollection%3CQuote%3E %7B%0A  /**%0A   * When retrieving a quote, there is an includable %3Cstrong%3Eupfront.line_items%3C/strong%3E property%0A   * containing the first handful of those items. There is also a URL where you can retrieve the%0A   * full (paginated) list of upfront line items.%0A   */%0A  public LineItemCollection list(Map%3CString, Object%3E params) throws StripeException %7B%0A    return list(params, (RequestOptions) null);%0A  %7D%0A%0A  /**%0A   * When retrieving a quote, there is an includable %3Cstrong%3Eupfront.line_items%3C/strong%3E property%0A   * containing the first handful of those items. There is also a URL where you can retrieve the%0A   * full (paginated) list of upfront line items.%0A   */%0A  public LineItemCollection list(Map%3CString, Object%3E params, RequestOptions options)%0A      throws StripeException %7B%0A    String url = String.format(%22%25s%25s%22, Stripe.getApiBase(), this.getUrl());%0A    return ApiResource.requestCollection(url, params, LineItemCollection.class, options);%0A  %7D%0A%0A  /**%0A   * When retrieving a quote, there is an includable %3Cstrong%3Eupfront.line_items%3C/strong%3E property%0A   * containing the first handful of those items. There is also a URL where you can retrieve the%0A   * full (paginated) list of upfront line items.%0A   */%0A  public LineItemCollection list(QuoteCollectionListParams params) throws StripeException %7B%0A    return list(params, (RequestOptions) null);%0A  %7D%0A%0A  /**%0A   * When retrieving a quote, there is an includable %3Cstrong%3Eupfront.line_items%3C/strong%3E property%0A   * containing the first handful of those items. There is also a URL where you can retrieve the%0A   * full (paginated) list of upfront line items.%0A   */%0A  public LineItemCollection list(QuoteCollectionListParams params, RequestOptions options)%0A      throws StripeException %7B%0A    String url = String.format(%22%25s%25s%22, Stripe.getApiBase(), this.getUrl());%0A    return ApiResource.requestCollection(url, params, LineItemCollection.class, options);%0A  %7D%0A
+public class QuoteCollection extends StripeCollection%3CQuote%3E %7B
 %7D%0A

Remove inappropriate list method from QuoteCollection (#1233)