Package com.stripe.model
Class LineItem.Tax
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.LineItem.Tax
-
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- LineItem
public static class LineItem.Tax extends StripeObject
-
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description Tax()
-
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()TaxRategetRate()inthashCode()voidsetAmount(java.lang.Long amount)voidsetRate(TaxRate rate)-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getAmount
public java.lang.Long getAmount()
-
getRate
public TaxRate getRate()
-
setAmount
public void setAmount(java.lang.Long amount)
-
setRate
public void setRate(TaxRate rate)
-
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
-
-