Package com.stripe.param
Class SubscriptionScheduleCreateParams.DefaultSettings.BillingThresholds
- java.lang.Object
-
- com.stripe.param.SubscriptionScheduleCreateParams.DefaultSettings.BillingThresholds
-
- Enclosing class:
- SubscriptionScheduleCreateParams.DefaultSettings
public static class SubscriptionScheduleCreateParams.DefaultSettings.BillingThresholds extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SubscriptionScheduleCreateParams.DefaultSettings.BillingThresholds.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SubscriptionScheduleCreateParams.DefaultSettings.BillingThresholds.Builder
builder()
java.lang.Long
getAmountGte()
Monetary threshold that triggers the subscription to advance to a new billing period.java.util.Map<java.lang.String,java.lang.Object>
getExtraParams()
Map of extra parameters for custom features not available in this client library.java.lang.Boolean
getResetBillingCycleAnchor()
Indicates if thebilling_cycle_anchor
should be reset when a threshold is reached.
-
-
-
Method Detail
-
builder
public static SubscriptionScheduleCreateParams.DefaultSettings.BillingThresholds.Builder builder()
-
getAmountGte
public java.lang.Long getAmountGte()
Monetary threshold that triggers the subscription to advance to a new billing period.
-
getExtraParams
public java.util.Map<java.lang.String,java.lang.Object> getExtraParams()
Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's@SerializedName
value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance.
-
getResetBillingCycleAnchor
public java.lang.Boolean 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.
-
-