Class QuoteCreateParams.LineItem

java.lang.Object
com.stripe.param.QuoteCreateParams.LineItem
Enclosing class:
QuoteCreateParams

public static class QuoteCreateParams.LineItem extends Object
Required. Type of the account referenced in the request.
  • Method Details

    • builder

      public static QuoteCreateParams.LineItem.Builder builder()
    • getDiscounts

      public Object getDiscounts()
      The discounts applied to this line item.
    • getExtraParams

      public Map<String,Object> getExtraParams()
      Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's @SerializedName value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance.
    • getPrice

      public String getPrice()
      The ID of the price object. One of price or price_data is required.
    • getPriceData

      public QuoteCreateParams.LineItem.PriceData getPriceData()
      Data used to generate a new Price object inline. One of price or price_data is required.
    • getQuantity

      public Long getQuantity()
      The quantity of the line item.
    • getTaxRates

      public Object getTaxRates()
      The tax rates which apply to the line item. When set, the default_tax_rates on the quote do not apply to this line item.