public static class Invoice.TaxAmount extends StripeObject
PRETTY_PRINT_GSON
Constructor and Description |
---|
TaxAmount() |
Modifier and Type | Method and 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 expandable
taxRate object. |
TaxRate |
getTaxRateObject()
Get expanded
taxRate . |
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) |
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
public java.lang.String getTaxRate()
taxRate
object.public void setTaxRate(java.lang.String id)
public TaxRate getTaxRateObject()
taxRate
.public void setTaxRateObject(TaxRate expandableObject)
public java.lang.Long getAmount()
public java.lang.Boolean getInclusive()
public void setAmount(java.lang.Long amount)
public void setInclusive(java.lang.Boolean inclusive)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
protected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode
in class java.lang.Object