Package com.stripe.param
Class SubscriptionScheduleCreateParams.PauseSchedule.Resume.ResumeAt.Builder
java.lang.Object
com.stripe.param.SubscriptionScheduleCreateParams.PauseSchedule.Resume.ResumeAt.Builder
- Enclosing class:
- SubscriptionScheduleCreateParams.PauseSchedule.Resume.ResumeAt
public static class SubscriptionScheduleCreateParams.PauseSchedule.Resume.ResumeAt.Builder
extends Object
-
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.The duration after which to resume the subscription.setTimestamp(Long timestamp) The Unix timestamp at which to resume the subscription.Required. When to resume the subscription.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setDuration
public SubscriptionScheduleCreateParams.PauseSchedule.Resume.ResumeAt.Builder setDuration(SubscriptionScheduleCreateParams.PauseSchedule.Resume.ResumeAt.Duration duration) The duration after which to resume the subscription. Required whentypeisduration. -
putExtraParam
public SubscriptionScheduleCreateParams.PauseSchedule.Resume.ResumeAt.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. SeeSubscriptionScheduleCreateParams.PauseSchedule.Resume.ResumeAt.extraParamsfor the field documentation. -
putAllExtraParam
public SubscriptionScheduleCreateParams.PauseSchedule.Resume.ResumeAt.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. SeeSubscriptionScheduleCreateParams.PauseSchedule.Resume.ResumeAt.extraParamsfor the field documentation. -
setTimestamp
public SubscriptionScheduleCreateParams.PauseSchedule.Resume.ResumeAt.Builder setTimestamp(Long timestamp) The Unix timestamp at which to resume the subscription. Required whentypeistimestamp. -
setType
public SubscriptionScheduleCreateParams.PauseSchedule.Resume.ResumeAt.Builder setType(SubscriptionScheduleCreateParams.PauseSchedule.Resume.ResumeAt.Type type) Required. When to resume the subscription. Usenowto resume immediately,durationto resume after a set duration, ortimestampto resume at a specific time.
-