Package com.stripe.param
Class SubscriptionScheduleUpdateParams.DefaultSettings.BillingThresholds.Builder
- java.lang.Object
-
- com.stripe.param.SubscriptionScheduleUpdateParams.DefaultSettings.BillingThresholds.Builder
-
- Enclosing class:
- SubscriptionScheduleUpdateParams.DefaultSettings.BillingThresholds
public static class SubscriptionScheduleUpdateParams.DefaultSettings.BillingThresholds.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubscriptionScheduleUpdateParams.DefaultSettings.BillingThresholds
build()
Finalize and obtain parameter instance from this builder.SubscriptionScheduleUpdateParams.DefaultSettings.BillingThresholds.Builder
putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
Add all map key/value pairs to `extraParams` map.SubscriptionScheduleUpdateParams.DefaultSettings.BillingThresholds.Builder
putExtraParam(java.lang.String key, java.lang.Object value)
Add a key/value pair to `extraParams` map.SubscriptionScheduleUpdateParams.DefaultSettings.BillingThresholds.Builder
setAmountGte(java.lang.Long amountGte)
Monetary threshold that triggers the subscription to advance to a new billing period.SubscriptionScheduleUpdateParams.DefaultSettings.BillingThresholds.Builder
setResetBillingCycleAnchor(java.lang.Boolean resetBillingCycleAnchor)
-
-
-
Method Detail
-
build
public SubscriptionScheduleUpdateParams.DefaultSettings.BillingThresholds build()
Finalize and obtain parameter instance from this builder.
-
setAmountGte
public SubscriptionScheduleUpdateParams.DefaultSettings.BillingThresholds.Builder setAmountGte(java.lang.Long amountGte)
Monetary threshold that triggers the subscription to advance to a new billing period.
-
putExtraParam
public SubscriptionScheduleUpdateParams.DefaultSettings.BillingThresholds.Builder putExtraParam(java.lang.String key, java.lang.Object value)
Add a key/value pair to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeSubscriptionScheduleUpdateParams.DefaultSettings.BillingThresholds.extraParams
for the field documentation.
-
putAllExtraParam
public SubscriptionScheduleUpdateParams.DefaultSettings.BillingThresholds.Builder putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeSubscriptionScheduleUpdateParams.DefaultSettings.BillingThresholds.extraParams
for the field documentation.
-
setResetBillingCycleAnchor
public SubscriptionScheduleUpdateParams.DefaultSettings.BillingThresholds.Builder setResetBillingCycleAnchor(java.lang.Boolean resetBillingCycleAnchor)
-
-