Package com.stripe.param
Class SubscriptionScheduleAmendParams.ScheduleSettings.Builder
java.lang.Object
com.stripe.param.SubscriptionScheduleAmendParams.ScheduleSettings.Builder
- Enclosing class:
- SubscriptionScheduleAmendParams.ScheduleSettings
-
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.Behavior of the subscription schedule and underlying subscription when it ends.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setEndBehavior
public SubscriptionScheduleAmendParams.ScheduleSettings.Builder setEndBehavior(SubscriptionScheduleAmendParams.ScheduleSettings.EndBehavior endBehavior) Behavior of the subscription schedule and underlying subscription when it ends. -
putExtraParam
public SubscriptionScheduleAmendParams.ScheduleSettings.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.ScheduleSettings.extraParams
for the field documentation. -
putAllExtraParam
public SubscriptionScheduleAmendParams.ScheduleSettings.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.ScheduleSettings.extraParams
for the field documentation.
-