Package com.stripe.param
Class PaymentIntentConfirmParams.AmountDetails.LineItem
java.lang.Object
com.stripe.param.PaymentIntentConfirmParams.AmountDetails.LineItem
- Enclosing class:
- PaymentIntentConfirmParams.AmountDetails
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classThe Stripe account ID of the connected account that sells the item. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanThe discount applied on this line item represented in the smallest currency unit.Map of extra parameters for custom features not available in this client library.Payment method-specific information for line items.The product code of the line item, such as an SKU.Required. The product name of the line item.Required. The quantity of items.getTax()Contains information about the tax on the item.Required. The unit cost of the line item represented in the smallest currency unit.A unit of measure for the line item, such as gallons, feet, meters, etc.inthashCode()
-
Method Details
-
builder
-
getDiscountAmount
The discount applied on this line item represented in the smallest currency unit. An integer greater than 0.This field is mutually exclusive with the
amount_details[discount_amount]field. -
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@SerializedNamevalue. 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 PaymentIntentConfirmParams.AmountDetails.LineItem.PaymentMethodOptions getPaymentMethodOptions()Payment method-specific information for line items. -
getProductCode
The product code of the line item, such as an SKU. Required for L3 rates. At most 12 characters long. -
getProductName
Required. The product name of the line item. Required for L3 rates. At most 1024 characters long.For Cards, this field is truncated to 26 alphanumeric characters before being sent to the card networks. For Paypal, this field is truncated to 127 characters.
-
getQuantity
Required. The quantity of items. Required for L3 rates. An integer greater than 0. -
getTax
Contains information about the tax on the item. -
getUnitCost
Required. The unit cost of the line item represented in the smallest currency unit. Required for L3 rates. An integer greater than or equal to 0. -
getUnitOfMeasure
A unit of measure for the line item, such as gallons, feet, meters, etc. -
equals
-
canEqual
-
hashCode
public int hashCode()
-