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.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. -
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 100 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()
-