Package com.stripe.model
Class PaymentIntent.AmountDetails
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.PaymentIntent.AmountDetails
- All Implemented Interfaces:
StripeActiveObject,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 Errors, please refer to the API Reference.static 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 represented in the smallest currency unit.getError()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 represented in the smallest currency unit.voidvoidA list of line items, each containing information about a product in the PaymentIntent.voidsetResponseGetter(StripeResponseGetter responseGetter) Method is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.voidvoidvoidMethods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.stripe.model.StripeActiveObject
trySetResponseGetter
-
Constructor Details
-
AmountDetails
public AmountDetails()
-
-
Method Details
-
setResponseGetter
Description copied from interface:StripeActiveObjectMethod is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.- Specified by:
setResponseGetterin interfaceStripeActiveObject- Parameters:
responseGetter- theStripeResponseGetterinstance to use for making further requests.
-
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. -
getError
-
getLineItems
A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 200 line items. -
getShipping
-
getTax
-
getTip
-
setDiscountAmount
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. -
setError
-
setLineItems
A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 200 line items. -
setShipping
-
setTax
-
setTip
-
equals
-
canEqual
-
hashCode
public int hashCode()
-