Package com.stripe.model
Class SubscriptionSchedule.DefaultSettings.BillingThresholds
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.SubscriptionSchedule.DefaultSettings.BillingThresholds
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- SubscriptionSchedule.DefaultSettings
Get expanded
account
.-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Monetary threshold that triggers the subscription to create an invoice.Indicates if thebilling_cycle_anchor
should be reset when a threshold is reached.int
hashCode()
void
setAmountGte
(Long amountGte) Monetary threshold that triggers the subscription to create an invoice.void
setResetBillingCycleAnchor
(Boolean resetBillingCycleAnchor) Indicates if thebilling_cycle_anchor
should be reset when a threshold is reached.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
BillingThresholds
public BillingThresholds()
-
-
Method Details
-
getAmountGte
Monetary threshold that triggers the subscription to create an invoice. -
getResetBillingCycleAnchor
Indicates if thebilling_cycle_anchor
should be reset when a threshold is reached. If true,billing_cycle_anchor
will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. This value may not betrue
if the subscription contains items with plans that haveaggregate_usage=last_ever
. -
setAmountGte
Monetary threshold that triggers the subscription to create an invoice. -
setResetBillingCycleAnchor
Indicates if thebilling_cycle_anchor
should be reset when a threshold is reached. If true,billing_cycle_anchor
will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. This value may not betrue
if the subscription contains items with plans that haveaggregate_usage=last_ever
. -
equals
-
canEqual
-
hashCode
public int hashCode()
-