Package com.stripe.model
Class Quote.TotalDetails
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.Quote.TotalDetails
-
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Quote
public static class Quote.TotalDetails extends StripeObject
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Quote.TotalDetails.Breakdown
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description TotalDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.Long
getAmountDiscount()
This is the sum of all the line item discounts.java.lang.Long
getAmountShipping()
This is the sum of all the line item shipping amounts.java.lang.Long
getAmountTax()
This is the sum of all the line item tax amounts.Quote.TotalDetails.Breakdown
getBreakdown()
int
hashCode()
void
setAmountDiscount(java.lang.Long amountDiscount)
This is the sum of all the line item discounts.void
setAmountShipping(java.lang.Long amountShipping)
This is the sum of all the line item shipping amounts.void
setAmountTax(java.lang.Long amountTax)
This is the sum of all the line item tax amounts.void
setBreakdown(Quote.TotalDetails.Breakdown breakdown)
-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getAmountDiscount
public java.lang.Long getAmountDiscount()
This is the sum of all the line item discounts.
-
getAmountShipping
public java.lang.Long getAmountShipping()
This is the sum of all the line item shipping amounts.
-
getAmountTax
public java.lang.Long getAmountTax()
This is the sum of all the line item tax amounts.
-
getBreakdown
public Quote.TotalDetails.Breakdown getBreakdown()
-
setAmountDiscount
public void setAmountDiscount(java.lang.Long amountDiscount)
This is the sum of all the line item discounts.
-
setAmountShipping
public void setAmountShipping(java.lang.Long amountShipping)
This is the sum of all the line item shipping amounts.
-
setAmountTax
public void setAmountTax(java.lang.Long amountTax)
This is the sum of all the line item tax amounts.
-
setBreakdown
public void setBreakdown(Quote.TotalDetails.Breakdown breakdown)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-