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 classFor more details about Shipping, please refer to the API Reference.static classFor more details about Tax, please refer to the API Reference.static classFor 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 booleanbooleanThe total discount applied on the transaction.A list of line items, each containing information about a product in the PaymentIntent.getTax()getTip()inthashCode()voidsetDiscountAmount(Long discountAmount) The total discount applied on the transaction.voidA list of line items, each containing information about a product in the PaymentIntent.voidvoidvoidMethods 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()
-