Class RequestedSession.TotalDetails
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.delegatedcheckout.RequestedSession.TotalDetails
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- RequestedSession
For more details about TotalDetails, please refer to the API Reference.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFor more details about ApplicableFee, 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 amount of order-level discounts applied to the cart.The amount fulfillment of the total details.The amount of item-level discounts applied to the cart.The amount tax of the total details.The applicable fees of the total details.inthashCode()voidsetAmountCartDiscount(Long amountCartDiscount) The amount of order-level discounts applied to the cart.voidsetAmountFulfillment(Long amountFulfillment) The amount fulfillment of the total details.voidsetAmountItemsDiscount(Long amountItemsDiscount) The amount of item-level discounts applied to the cart.voidsetAmountTax(Long amountTax) The amount tax of the total details.voidsetApplicableFees(List<RequestedSession.TotalDetails.ApplicableFee> applicableFees) The applicable fees of the total details.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
TotalDetails
public TotalDetails()
-
-
Method Details
-
getAmountCartDiscount
The amount of order-level discounts applied to the cart. The total discount amount for this session can be computed by summing the cart discount and the item discounts. -
getAmountFulfillment
The amount fulfillment of the total details. -
getAmountItemsDiscount
The amount of item-level discounts applied to the cart. The total discount amount for this session can be computed by summing the cart discount and the item discounts. -
getAmountTax
The amount tax of the total details. -
getApplicableFees
The applicable fees of the total details. -
setAmountCartDiscount
The amount of order-level discounts applied to the cart. The total discount amount for this session can be computed by summing the cart discount and the item discounts. -
setAmountFulfillment
The amount fulfillment of the total details. -
setAmountItemsDiscount
The amount of item-level discounts applied to the cart. The total discount amount for this session can be computed by summing the cart discount and the item discounts. -
setAmountTax
The amount tax of the total details. -
setApplicableFees
The applicable fees of the total details. -
equals
-
canEqual
-
hashCode
public int hashCode()
-