Package com.stripe.param
Class QuoteCreateParams.LineItem
- java.lang.Object
-
- com.stripe.param.QuoteCreateParams.LineItem
-
- Enclosing class:
- QuoteCreateParams
public static class QuoteCreateParams.LineItem extends java.lang.Object
Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeQuoteCreateParams.InvoiceSettings.extraParams
for the field documentation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QuoteCreateParams.LineItem.Builder
static class
QuoteCreateParams.LineItem.PriceData
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static QuoteCreateParams.LineItem.Builder
builder()
java.util.Map<java.lang.String,java.lang.Object>
getExtraParams()
Map of extra parameters for custom features not available in this client library.java.lang.String
getPrice()
The ID of the price object.QuoteCreateParams.LineItem.PriceData
getPriceData()
Data used to generate a new Price object inline.java.lang.Long
getQuantity()
The quantity of the line item.java.lang.Object
getTaxRates()
The tax rates which apply to the line item.
-
-
-
Method Detail
-
builder
public static QuoteCreateParams.LineItem.Builder builder()
-
getExtraParams
public java.util.Map<java.lang.String,java.lang.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 java.lang.String getPrice()
The ID of the price object. One ofprice
orprice_data
is required.
-
getPriceData
public QuoteCreateParams.LineItem.PriceData getPriceData()
-
getQuantity
public java.lang.Long getQuantity()
The quantity of the line item.
-
getTaxRates
public java.lang.Object 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.
-
-