Package com.stripe.param.billingportal
Class ConfigurationUpdateParams.Features.SubscriptionUpdate.ScheduleAtPeriodEnd.Builder
java.lang.Object
com.stripe.param.billingportal.ConfigurationUpdateParams.Features.SubscriptionUpdate.ScheduleAtPeriodEnd.Builder
public static class ConfigurationUpdateParams.Features.SubscriptionUpdate.ScheduleAtPeriodEnd.Builder
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllCondition
(List<ConfigurationUpdateParams.Features.SubscriptionUpdate.ScheduleAtPeriodEnd.Condition> elements) Add all elements to `conditions` list.addCondition
(ConfigurationUpdateParams.Features.SubscriptionUpdate.ScheduleAtPeriodEnd.Condition element) Add an element to `conditions` list.build()
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.setConditions
(EmptyParam conditions) List of conditions.setConditions
(List<ConfigurationUpdateParams.Features.SubscriptionUpdate.ScheduleAtPeriodEnd.Condition> conditions) List of conditions.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
addCondition
public ConfigurationUpdateParams.Features.SubscriptionUpdate.ScheduleAtPeriodEnd.Builder addCondition(ConfigurationUpdateParams.Features.SubscriptionUpdate.ScheduleAtPeriodEnd.Condition element) Add an element to `conditions` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeConfigurationUpdateParams.Features.SubscriptionUpdate.ScheduleAtPeriodEnd.conditions
for the field documentation. -
addAllCondition
public ConfigurationUpdateParams.Features.SubscriptionUpdate.ScheduleAtPeriodEnd.Builder addAllCondition(List<ConfigurationUpdateParams.Features.SubscriptionUpdate.ScheduleAtPeriodEnd.Condition> elements) Add all elements to `conditions` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeConfigurationUpdateParams.Features.SubscriptionUpdate.ScheduleAtPeriodEnd.conditions
for the field documentation. -
setConditions
public ConfigurationUpdateParams.Features.SubscriptionUpdate.ScheduleAtPeriodEnd.Builder setConditions(EmptyParam conditions) List of conditions. When any condition is true, the update will be scheduled at the end of the current period. -
setConditions
public ConfigurationUpdateParams.Features.SubscriptionUpdate.ScheduleAtPeriodEnd.Builder setConditions(List<ConfigurationUpdateParams.Features.SubscriptionUpdate.ScheduleAtPeriodEnd.Condition> conditions) List of conditions. When any condition is true, the update will be scheduled at the end of the current period. -
putExtraParam
public ConfigurationUpdateParams.Features.SubscriptionUpdate.ScheduleAtPeriodEnd.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. SeeConfigurationUpdateParams.Features.SubscriptionUpdate.ScheduleAtPeriodEnd.extraParams
for the field documentation. -
putAllExtraParam
public ConfigurationUpdateParams.Features.SubscriptionUpdate.ScheduleAtPeriodEnd.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. SeeConfigurationUpdateParams.Features.SubscriptionUpdate.ScheduleAtPeriodEnd.extraParams
for the field documentation.
-