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 booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.LonggetAmount()The amount, in %s, of the tax.java.lang.BooleangetInclusive()Whether this tax amount is inclusive or exclusive.java.lang.StringgetTaxRate()Get ID of expandabletaxRateobject.TaxRategetTaxRateObject()Get expandedtaxRate.inthashCode()voidsetAmount(java.lang.Long amount)The amount, in %s, of the tax.voidsetInclusive(java.lang.Boolean inclusive)Whether this tax amount is inclusive or exclusive.voidsetTaxRate(java.lang.String id)voidsetTaxRateObject(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 expandabletaxRateobject.
-
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:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-