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 boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.Long
getAmount()
java.lang.Boolean
getInclusive()
java.lang.String
getTaxRate()
Get ID of expandabletaxRate
object.TaxRate
getTaxRateObject()
Get expandedtaxRate
.int
hashCode()
void
setAmount(java.lang.Long amount)
void
setInclusive(java.lang.Boolean inclusive)
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()
-
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:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-