Package com.stripe.model.checkout
Class Session.TotalDetails
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.checkout.Session.TotalDetails
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Session
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
This is the sum of all the discounts.This is the sum of all the shipping amounts.This is the sum of all the tax amounts.int
hashCode()
void
setAmountDiscount
(Long amountDiscount) This is the sum of all the discounts.void
setAmountShipping
(Long amountShipping) This is the sum of all the shipping amounts.void
setAmountTax
(Long amountTax) This is the sum of all the tax amounts.void
setBreakdown
(Session.TotalDetails.Breakdown breakdown) Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
TotalDetails
public TotalDetails()
-
-
Method Details
-
getAmountDiscount
This is the sum of all the discounts. -
getAmountShipping
This is the sum of all the shipping amounts. -
getAmountTax
This is the sum of all the tax amounts. -
getBreakdown
-
setAmountDiscount
This is the sum of all the discounts. -
setAmountShipping
This is the sum of all the shipping amounts. -
setAmountTax
This is the sum of all the tax amounts. -
setBreakdown
-
equals
-
canEqual
-
hashCode
public int hashCode()
-