Package com.stripe.model
Class CreditNote.TaxAmount
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.CreditNote.TaxAmount
-
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- CreditNote
public static class CreditNote.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()java.lang.BooleangetInclusive()java.lang.StringgetTaxRate()Get ID of expandabletaxRateobject.TaxRategetTaxRateObject()Get expandedtaxRate.inthashCode()voidsetAmount(java.lang.Long amount)voidsetInclusive(java.lang.Boolean inclusive)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()
-
getInclusive
public java.lang.Boolean getInclusive()
-
setAmount
public void setAmount(java.lang.Long amount)
-
setInclusive
public void setInclusive(java.lang.Boolean inclusive)
-
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
-
-