public static class Plan.Tier extends StripeObject
PRETTY_PRINT_GSON
Constructor and Description |
---|
Tier() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.lang.Long |
getFlatAmount()
Price for the entire tier.
|
java.lang.Long |
getUnitAmount()
Per unit price for units relevant to the tier.
|
java.lang.Long |
getUpTo()
Up to and including to this quantity will be contained in the tier.
|
int |
hashCode() |
void |
setFlatAmount(java.lang.Long flatAmount)
Price for the entire tier.
|
void |
setUnitAmount(java.lang.Long unitAmount)
Per unit price for units relevant to the tier.
|
void |
setUpTo(java.lang.Long upTo)
Up to and including to this quantity will be contained in the tier.
|
equals, getLastResponse, setLastResponse, toJson, toString
public java.lang.Long getFlatAmount()
public java.lang.Long getUnitAmount()
public java.lang.Long getUpTo()
public void setFlatAmount(java.lang.Long flatAmount)
public void setUnitAmount(java.lang.Long unitAmount)
public void setUpTo(java.lang.Long upTo)
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