public static class Subscription.BillingThresholds extends StripeObject
PRETTY_PRINT_GSON
Constructor and Description |
---|
BillingThresholds() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.lang.Long |
getAmountGte()
Monetary threshold that triggers the subscription to create an invoice.
|
java.lang.Boolean |
getResetBillingCycleAnchor()
Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached.
|
int |
hashCode() |
void |
setAmountGte(java.lang.Long amountGte)
Monetary threshold that triggers the subscription to create an invoice.
|
void |
setResetBillingCycleAnchor(java.lang.Boolean resetBillingCycleAnchor)
Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached.
|
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
public java.lang.Long getAmountGte()
public java.lang.Boolean getResetBillingCycleAnchor()
public void setAmountGte(java.lang.Long amountGte)
public void setResetBillingCycleAnchor(java.lang.Boolean resetBillingCycleAnchor)
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