Package com.stripe.param
Class InvoiceUpcomingParams.ScheduleDetails.Phase.BillingThresholds.Builder
java.lang.Object
com.stripe.param.InvoiceUpcomingParams.ScheduleDetails.Phase.BillingThresholds.Builder
- Enclosing class:
- InvoiceUpcomingParams.ScheduleDetails.Phase.BillingThresholds
public static class InvoiceUpcomingParams.ScheduleDetails.Phase.BillingThresholds.Builder
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.setAmountGte
(Long amountGte) Monetary threshold that triggers the subscription to advance to a new billing period.setResetBillingCycleAnchor
(Boolean resetBillingCycleAnchor)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAmountGte
public InvoiceUpcomingParams.ScheduleDetails.Phase.BillingThresholds.Builder setAmountGte(Long amountGte) Monetary threshold that triggers the subscription to advance to a new billing period. -
putExtraParam
public InvoiceUpcomingParams.ScheduleDetails.Phase.BillingThresholds.Builder putExtraParam(String key, 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. SeeInvoiceUpcomingParams.ScheduleDetails.Phase.BillingThresholds.extraParams
for the field documentation. -
putAllExtraParam
public InvoiceUpcomingParams.ScheduleDetails.Phase.BillingThresholds.Builder putAllExtraParam(Map<String, 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. SeeInvoiceUpcomingParams.ScheduleDetails.Phase.BillingThresholds.extraParams
for the field documentation. -
setResetBillingCycleAnchor
public InvoiceUpcomingParams.ScheduleDetails.Phase.BillingThresholds.Builder setResetBillingCycleAnchor(Boolean resetBillingCycleAnchor)
-