Package com.stripe.param
Class SubscriptionScheduleUpdateParams.PauseSchedule.Builder
java.lang.Object
com.stripe.param.SubscriptionScheduleUpdateParams.PauseSchedule.Builder
- Enclosing class:
- SubscriptionScheduleUpdateParams.PauseSchedule
-
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.setKey(EmptyParam key) A unique identifier for this pause schedule entry.A unique identifier for this pause schedule entry.Configuration for when and how the subscription pauses.setResume(EmptyParam resume) Configuration for when and how the subscription resumes.Configuration for when and how the subscription resumes.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
public SubscriptionScheduleUpdateParams.PauseSchedule.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.PauseSchedule.extraParamsfor the field documentation. -
putAllExtraParam
public SubscriptionScheduleUpdateParams.PauseSchedule.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.PauseSchedule.extraParamsfor the field documentation. -
setKey
A unique identifier for this pause schedule entry. -
setKey
A unique identifier for this pause schedule entry. -
setPause
public SubscriptionScheduleUpdateParams.PauseSchedule.Builder setPause(SubscriptionScheduleUpdateParams.PauseSchedule.Pause pause) Configuration for when and how the subscription pauses. -
setResume
public SubscriptionScheduleUpdateParams.PauseSchedule.Builder setResume(SubscriptionScheduleUpdateParams.PauseSchedule.Resume resume) Configuration for when and how the subscription resumes. -
setResume
Configuration for when and how the subscription resumes.
-