Package com.stripe.param
Class SubscriptionScheduleAmendParams.Amendment.BillingSchedulesAction.Builder
java.lang.Object
com.stripe.param.SubscriptionScheduleAmendParams.Amendment.BillingSchedulesAction.Builder
- Enclosing class:
- SubscriptionScheduleAmendParams.Amendment.BillingSchedulesAction
public static class SubscriptionScheduleAmendParams.Amendment.BillingSchedulesAction.Builder
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllAppliesTo(List<SubscriptionScheduleAmendParams.Amendment.BillingSchedulesAction.AppliesTo> elements) Add all elements to `appliesTo` list.Add an element to `appliesTo` 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.Required. Select the action.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
addAppliesTo
public SubscriptionScheduleAmendParams.Amendment.BillingSchedulesAction.Builder addAppliesTo(SubscriptionScheduleAmendParams.Amendment.BillingSchedulesAction.AppliesTo element) Add an element to `appliesTo` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeSubscriptionScheduleAmendParams.Amendment.BillingSchedulesAction.appliesTofor the field documentation. -
addAllAppliesTo
public SubscriptionScheduleAmendParams.Amendment.BillingSchedulesAction.Builder addAllAppliesTo(List<SubscriptionScheduleAmendParams.Amendment.BillingSchedulesAction.AppliesTo> elements) Add all elements to `appliesTo` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeSubscriptionScheduleAmendParams.Amendment.BillingSchedulesAction.appliesTofor the field documentation. -
putExtraParam
public SubscriptionScheduleAmendParams.Amendment.BillingSchedulesAction.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. SeeSubscriptionScheduleAmendParams.Amendment.BillingSchedulesAction.extraParamsfor the field documentation. -
putAllExtraParam
public SubscriptionScheduleAmendParams.Amendment.BillingSchedulesAction.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. SeeSubscriptionScheduleAmendParams.Amendment.BillingSchedulesAction.extraParamsfor the field documentation. -
setType
public SubscriptionScheduleAmendParams.Amendment.BillingSchedulesAction.Builder setType(SubscriptionScheduleAmendParams.Amendment.BillingSchedulesAction.Type type) Required. Select the action.
-