Package com.stripe.param
Class SubscriptionScheduleCreateParams.PauseSchedule.Pause.Settings.Builder
java.lang.Object
com.stripe.param.SubscriptionScheduleCreateParams.PauseSchedule.Pause.Settings.Builder
- Enclosing class:
- SubscriptionScheduleCreateParams.PauseSchedule.Pause.Settings
public static class SubscriptionScheduleCreateParams.PauseSchedule.Pause.Settings.Builder
extends Object
-
Constructor Summary
Constructors -
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.Controls what to bill for when pausing the subscription.setInvoicingBehavior(SubscriptionScheduleCreateParams.PauseSchedule.Pause.Settings.InvoicingBehavior invoicingBehavior) Determines whether to generate an invoice for outstanding amounts when pausing.The pause type.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setBillFor
public SubscriptionScheduleCreateParams.PauseSchedule.Pause.Settings.Builder setBillFor(SubscriptionScheduleCreateParams.PauseSchedule.Pause.Settings.BillFor billFor) Controls what to bill for when pausing the subscription. -
putExtraParam
public SubscriptionScheduleCreateParams.PauseSchedule.Pause.Settings.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. SeeSubscriptionScheduleCreateParams.PauseSchedule.Pause.Settings.extraParamsfor the field documentation. -
putAllExtraParam
public SubscriptionScheduleCreateParams.PauseSchedule.Pause.Settings.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. SeeSubscriptionScheduleCreateParams.PauseSchedule.Pause.Settings.extraParamsfor the field documentation. -
setInvoicingBehavior
public SubscriptionScheduleCreateParams.PauseSchedule.Pause.Settings.Builder setInvoicingBehavior(SubscriptionScheduleCreateParams.PauseSchedule.Pause.Settings.InvoicingBehavior invoicingBehavior) Determines whether to generate an invoice for outstanding amounts when pausing. When adding a pause schedule, defaults topending_invoice_item. On updates, the existing value is preserved if not provided. -
setType
public SubscriptionScheduleCreateParams.PauseSchedule.Pause.Settings.Builder setType(SubscriptionScheduleCreateParams.PauseSchedule.Pause.Settings.Type type) The pause type. Currently onlysubscriptionis supported.
-