Package com.stripe.param
Class PaymentIntentConfirmParams.AmountDetails
java.lang.Object
com.stripe.param.PaymentIntentConfirmParams.AmountDetails
- Enclosing class:
- PaymentIntentConfirmParams
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.
See
PaymentIntentConfirmParams.AllocatedFunds.extraParams for the field
documentation.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classRequired. The total amount of tax on a single line item represented in the smallest currency unit.static classIf a physical good is being shipped, the postal code of where it is being shipped to. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanThe total discount applied on the transaction represented in the smallest currency unit.Set tofalseto return arithmetic validation errors in the response without failing the request.Map of extra parameters for custom features not available in this client library.A list of line items, each containing information about a product in the PaymentIntent.Contains information about the shipping portion of the amount.getTax()Contains information about the tax portion of the amount.inthashCode()
-
Method Details
-
builder
-
getDiscountAmount
The total discount applied on the transaction represented in the smallest currency unit. An integer greater than 0.This field is mutually exclusive with the
amount_details[line_items][#][discount_amount]field. -
getEnforceArithmeticValidation
Set tofalseto return arithmetic validation errors in the response without failing the request. Use this when you want the operation to proceed regardless of arithmetic errors in the line item data.Omit or set to
trueto immediately return a 400 error when arithmetic validation fails. Use this for strict validation that prevents processing with line item data that has arithmetic inconsistencies.For card payments, Stripe doesn't send line item data if there's an arithmetic validation error to card networks.
-
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. -
getLineItems
A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 200 line items. -
getShipping
Contains information about the shipping portion of the amount. -
getTax
Contains information about the tax portion of the amount. -
equals
-
canEqual
-
hashCode
public int hashCode()
-