Package com.stripe.param
Class PaymentIntentUpdateParams.AmountDetails.LineItem
java.lang.Object
com.stripe.param.PaymentIntentUpdateParams.AmountDetails.LineItem
- Enclosing class:
- PaymentIntentUpdateParams.AmountDetails
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
The Stripe account ID of the connected account that sells the item. -
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.Payment method-specific information for line items.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.A unit of measure for the line item, such as gallons, feet, meters, etc.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. -
getPaymentMethodOptions
public PaymentIntentUpdateParams.AmountDetails.LineItem.PaymentMethodOptions getPaymentMethodOptions()Payment method-specific information for line items. -
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. -
getUnitOfMeasure
A unit of measure for the line item, such as gallons, feet, meters, etc. -
equals
-
canEqual
-
hashCode
public int hashCode()
-