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 boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.Long
getAmount()
TaxRate
getRate()
int
hashCode()
void
setAmount(java.lang.Long amount)
void
setRate(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:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-