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 classFor more details about LineItem, please refer to the API Reference.static classContains information about the shipping portion of the amount.static classContains 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 booleanbooleanThe 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.inthashCode()voidsetDiscountAmount(Long discountAmount) The amount the total transaction was discounted for.voidsetLineItems(List<OffSessionPayment.AmountDetails.LineItem> lineItems) A list of line items, each containing information about a product in the PaymentIntent.voidContains information about the shipping portion of the amount.voidContains 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()
-