Package com.stripe.param
Class QuoteCreateParams.LineItem
java.lang.Object
com.stripe.param.QuoteCreateParams.LineItem
- Enclosing class:
- QuoteCreateParams
Required. Type of the account referenced in the request.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
ID of the promotion code to create a new discount for. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The discounts applied to this line item.Map of extra parameters for custom features not available in this client library.getPrice()
The ID of the price object.Data used to generate a new Price object inline.The quantity of the line item.The tax rates which apply to the line item.
-
Method Details
-
builder
-
getDiscounts
The discounts applied to this line item. -
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
The ID of the price object. One ofprice
orprice_data
is required. -
getPriceData
-
getQuantity
The quantity of the line item. -
getTaxRates
The tax rates which apply to the line item. When set, thedefault_tax_rates
on the quote do not apply to this line item.
-