Package com.stripe.param
Class SubscriptionScheduleUpdateParams.PauseSchedule.Pause.Settings.Builder
java.lang.Object
com.stripe.param.SubscriptionScheduleUpdateParams.PauseSchedule.Pause.Settings.Builder
- Enclosing class:
- SubscriptionScheduleUpdateParams.PauseSchedule.Pause.Settings
public static class SubscriptionScheduleUpdateParams.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(SubscriptionScheduleUpdateParams.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 SubscriptionScheduleUpdateParams.PauseSchedule.Pause.Settings.Builder setBillFor(SubscriptionScheduleUpdateParams.PauseSchedule.Pause.Settings.BillFor billFor) Controls what to bill for when pausing the subscription. -
putExtraParam
public SubscriptionScheduleUpdateParams.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. SeeSubscriptionScheduleUpdateParams.PauseSchedule.Pause.Settings.extraParamsfor the field documentation. -
putAllExtraParam
public SubscriptionScheduleUpdateParams.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. SeeSubscriptionScheduleUpdateParams.PauseSchedule.Pause.Settings.extraParamsfor the field documentation. -
setInvoicingBehavior
public SubscriptionScheduleUpdateParams.PauseSchedule.Pause.Settings.Builder setInvoicingBehavior(SubscriptionScheduleUpdateParams.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 SubscriptionScheduleUpdateParams.PauseSchedule.Pause.Settings.Builder setType(SubscriptionScheduleUpdateParams.PauseSchedule.Pause.Settings.Type type) The pause type. Currently onlysubscriptionis supported.
-