Package com.stripe.param.v2.payments
Class OffSessionPaymentCreateParams.AmountDetails.LineItem
java.lang.Object
com.stripe.param.v2.payments.OffSessionPaymentCreateParams.AmountDetails.LineItem
- Enclosing class:
- OffSessionPaymentCreateParams.AmountDetails
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
The amount an item was discounted for.Map of extra parameters for custom features not available in this client library.Unique identifier of the product.Required. Name of the product.Required. Number of items of the product.getTax()
Contains information about the tax on the item.Required. Cost of the product.int
hashCode()
-
Method Details
-
builder
-
getDiscountAmount
The amount an item was discounted for. Positive integer. -
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. -
getProductCode
Unique identifier of the product. At most 12 characters long. -
getProductName
Required. Name of the product. At most 100 characters long. -
getQuantity
Required. Number of items of the product. Positive integer. -
getTax
Contains information about the tax on the item. -
getUnitCost
Required. Cost of the product. Non-negative integer. -
equals
-
canEqual
-
hashCode
public int hashCode()
-