Package com.stripe.param
Class SubscriptionScheduleUpdateParams.Phase.TrialSettings.Builder
java.lang.Object
com.stripe.param.SubscriptionScheduleUpdateParams.Phase.TrialSettings.Builder
- Enclosing class:
- SubscriptionScheduleUpdateParams.Phase.TrialSettings
-
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.Defines how the subscription should behave when a trial ends.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setEndBehavior
public SubscriptionScheduleUpdateParams.Phase.TrialSettings.Builder setEndBehavior(SubscriptionScheduleUpdateParams.Phase.TrialSettings.EndBehavior endBehavior) Defines how the subscription should behave when a trial ends. -
putExtraParam
public SubscriptionScheduleUpdateParams.Phase.TrialSettings.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.Phase.TrialSettings.extraParams
for the field documentation. -
putAllExtraParam
public SubscriptionScheduleUpdateParams.Phase.TrialSettings.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.Phase.TrialSettings.extraParams
for the field documentation.
-