Package com.stripe.model
Class PaymentIntent.AmountDetails
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.PaymentIntent.AmountDetails
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- PaymentIntent
For more details about AmountDetails, please refer to the API Reference.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
For more details about Shipping, please refer to the API Reference.static class
For more details about Tax, please refer to the API Reference.static class
For more details about Tip, please refer to the API Reference. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The total discount applied on the transaction.A list of line items, each containing information about a product in the PaymentIntent.getTax()
getTip()
int
hashCode()
void
setDiscountAmount
(Long discountAmount) The total discount applied on the transaction.void
A list of line items, each containing information about a product in the PaymentIntent.void
void
void
Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
AmountDetails
public AmountDetails()
-
-
Method Details
-
getDiscountAmount
The total discount applied on the transaction. -
getLineItems
A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 100 line items. -
getShipping
-
getTax
-
getTip
-
setDiscountAmount
The total discount applied on the transaction. -
setLineItems
A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 100 line items. -
setShipping
-
setTax
-
setTip
-
equals
-
canEqual
-
hashCode
public int hashCode()
-