Package com.stripe.param.checkout
Class SessionUpdateParams.LineItem
java.lang.Object
com.stripe.param.checkout.SessionUpdateParams.LineItem
- Enclosing class:
- SessionUpdateParams
A positive float larger than 0, and smaller or equal to 100, that represents the discount
the coupon will apply (required if
amount_off
is not passed).-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
The minimum quantity the customer must purchase for the Checkout Session. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
When set, provides configuration for this item’s quantity to be adjusted by the customer during Checkout.Map of extra parameters for custom features not available in this client library.getId()
ID of an existing line item.Set of key-value pairs that you can attach to an object.getPrice()
The ID of the Price.Data used to generate a new Price object inline.The quantity of the line item being purchased.The tax rates which apply to this line item.int
hashCode()
-
Method Details
-
builder
-
getAdjustableQuantity
When set, provides configuration for this item’s quantity to be adjusted by the customer during Checkout. -
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. -
getId
ID of an existing line item. -
getMetadata
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value tometadata
. -
getPrice
-
getPriceData
Data used to generate a new Price object inline. One ofprice
orprice_data
is required when creating a new line item. -
getQuantity
The quantity of the line item being purchased. Quantity should not be defined whenrecurring.usage_type=metered
. -
getTaxRates
The tax rates which apply to this line item. -
equals
-
canEqual
-
hashCode
public int hashCode()
-