Package com.stripe.param
Class SubscriptionScheduleUpdateParams.PauseSchedule.Pause.Settings.BillFor.Builder
java.lang.Object
com.stripe.param.SubscriptionScheduleUpdateParams.PauseSchedule.Pause.Settings.BillFor.Builder
public static class SubscriptionScheduleUpdateParams.PauseSchedule.Pause.Settings.BillFor.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.setOutstandingUsageThrough(SubscriptionScheduleUpdateParams.PauseSchedule.Pause.Settings.BillFor.OutstandingUsageThrough outstandingUsageThrough) Controls whether to collect metered usage accrued up to the pause date.setUnusedTimeFrom(SubscriptionScheduleUpdateParams.PauseSchedule.Pause.Settings.BillFor.UnusedTimeFrom unusedTimeFrom) Controls how unused time on subscription items is credited when pausing.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
public SubscriptionScheduleUpdateParams.PauseSchedule.Pause.Settings.BillFor.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.BillFor.extraParamsfor the field documentation. -
putAllExtraParam
public SubscriptionScheduleUpdateParams.PauseSchedule.Pause.Settings.BillFor.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.BillFor.extraParamsfor the field documentation. -
setOutstandingUsageThrough
public SubscriptionScheduleUpdateParams.PauseSchedule.Pause.Settings.BillFor.Builder setOutstandingUsageThrough(SubscriptionScheduleUpdateParams.PauseSchedule.Pause.Settings.BillFor.OutstandingUsageThrough outstandingUsageThrough) Controls whether to collect metered usage accrued up to the pause date. -
setUnusedTimeFrom
public SubscriptionScheduleUpdateParams.PauseSchedule.Pause.Settings.BillFor.Builder setUnusedTimeFrom(SubscriptionScheduleUpdateParams.PauseSchedule.Pause.Settings.BillFor.UnusedTimeFrom unusedTimeFrom) Controls how unused time on subscription items is credited when pausing.
-