Package com.stripe.param
Class SubscriptionScheduleUpdateParams.PauseSchedule.Resume.ResumeAt.Builder
java.lang.Object
com.stripe.param.SubscriptionScheduleUpdateParams.PauseSchedule.Resume.ResumeAt.Builder
- Enclosing class:
- SubscriptionScheduleUpdateParams.PauseSchedule.Resume.ResumeAt
public static class SubscriptionScheduleUpdateParams.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 SubscriptionScheduleUpdateParams.PauseSchedule.Resume.ResumeAt.Builder setDuration(SubscriptionScheduleUpdateParams.PauseSchedule.Resume.ResumeAt.Duration duration) The duration after which to resume the subscription. Required whentypeisduration. -
putExtraParam
public SubscriptionScheduleUpdateParams.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. SeeSubscriptionScheduleUpdateParams.PauseSchedule.Resume.ResumeAt.extraParamsfor the field documentation. -
putAllExtraParam
public SubscriptionScheduleUpdateParams.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. SeeSubscriptionScheduleUpdateParams.PauseSchedule.Resume.ResumeAt.extraParamsfor the field documentation. -
setTimestamp
public SubscriptionScheduleUpdateParams.PauseSchedule.Resume.ResumeAt.Builder setTimestamp(Long timestamp) The Unix timestamp at which to resume the subscription. Required whentypeistimestamp. -
setType
public SubscriptionScheduleUpdateParams.PauseSchedule.Resume.ResumeAt.Builder setType(SubscriptionScheduleUpdateParams.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.
-