Package com.stripe.param
Class SubscriptionScheduleAmendParams.Amendment.ItemAction.Set.Trial.Builder
java.lang.Object
com.stripe.param.SubscriptionScheduleAmendParams.Amendment.ItemAction.Set.Trial.Builder
- Enclosing class:
- SubscriptionScheduleAmendParams.Amendment.ItemAction.Set.Trial
public static class SubscriptionScheduleAmendParams.Amendment.ItemAction.Set.Trial.Builder
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllConvertsTo
(List<String> elements) Add all elements to `convertsTo` list.addConvertsTo
(String element) Add an element to `convertsTo` 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.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
addConvertsTo
public SubscriptionScheduleAmendParams.Amendment.ItemAction.Set.Trial.Builder addConvertsTo(String element) Add an element to `convertsTo` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeSubscriptionScheduleAmendParams.Amendment.ItemAction.Set.Trial.convertsTo
for the field documentation. -
addAllConvertsTo
public SubscriptionScheduleAmendParams.Amendment.ItemAction.Set.Trial.Builder addAllConvertsTo(List<String> elements) Add all elements to `convertsTo` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeSubscriptionScheduleAmendParams.Amendment.ItemAction.Set.Trial.convertsTo
for the field documentation. -
putExtraParam
public SubscriptionScheduleAmendParams.Amendment.ItemAction.Set.Trial.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.ItemAction.Set.Trial.extraParams
for the field documentation. -
putAllExtraParam
public SubscriptionScheduleAmendParams.Amendment.ItemAction.Set.Trial.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.ItemAction.Set.Trial.extraParams
for the field documentation. -
setType
-