Package com.stripe.model.v2.payments
Class OffSessionPayment.AmountDetails
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.payments.OffSessionPayment.AmountDetails
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- OffSessionPayment
Provides industry-specific information about the amount.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
For more details about LineItem, please refer to the API Reference.static class
Contains information about the shipping portion of the amount.static class
Contains information about the tax portion of the amount. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The amount the total transaction was discounted for.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.int
hashCode()
void
setDiscountAmount
(Long discountAmount) The amount the total transaction was discounted for.void
setLineItems
(List<OffSessionPayment.AmountDetails.LineItem> lineItems) A list of line items, each containing information about a product in the PaymentIntent.void
Contains information about the shipping portion of the amount.void
Contains information about the tax portion of the amount.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 amount the total transaction was discounted for. -
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. -
setDiscountAmount
The amount the total transaction was discounted for. -
setLineItems
A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 100 line items. -
setShipping
Contains information about the shipping portion of the amount. -
setTax
Contains information about the tax portion of the amount. -
equals
-
canEqual
-
hashCode
public int hashCode()
-