Package com.stripe.model
Class Invoice.TaxAmount
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.Invoice.TaxAmount
-
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Invoice
public static class Invoice.TaxAmount extends StripeObject
-
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description TaxAmount()
-
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
getAmount()
The amount, in %s, of the tax.java.lang.Boolean
getInclusive()
Whether this tax amount is inclusive or exclusive.java.lang.String
getTaxRate()
Get ID of expandabletaxRate
object.TaxRate
getTaxRateObject()
Get expandedtaxRate
.int
hashCode()
void
setAmount(java.lang.Long amount)
The amount, in %s, of the tax.void
setInclusive(java.lang.Boolean inclusive)
Whether this tax amount is inclusive or exclusive.void
setTaxRate(java.lang.String id)
void
setTaxRateObject(TaxRate expandableObject)
-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getTaxRate
public java.lang.String getTaxRate()
Get ID of expandabletaxRate
object.
-
setTaxRate
public void setTaxRate(java.lang.String id)
-
getTaxRateObject
public TaxRate getTaxRateObject()
Get expandedtaxRate
.
-
setTaxRateObject
public void setTaxRateObject(TaxRate expandableObject)
-
getAmount
public java.lang.Long getAmount()
The amount, in %s, of the tax.
-
getInclusive
public java.lang.Boolean getInclusive()
Whether this tax amount is inclusive or exclusive.
-
setAmount
public void setAmount(java.lang.Long amount)
The amount, in %s, of the tax.
-
setInclusive
public void setInclusive(java.lang.Boolean inclusive)
Whether this tax amount is inclusive or exclusive.
-
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
-
-