Package com.stripe.param
Class SubscriptionScheduleUpdateParams.PauseSchedule.Pause.PauseAt.Builder
java.lang.Object
com.stripe.param.SubscriptionScheduleUpdateParams.PauseSchedule.Pause.PauseAt.Builder
- Enclosing class:
- SubscriptionScheduleUpdateParams.PauseSchedule.Pause.PauseAt
public static class SubscriptionScheduleUpdateParams.PauseSchedule.Pause.PauseAt.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.setTimestamp(Long timestamp) The Unix timestamp at which to pause the subscription.Required. When to pause the subscription.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
public SubscriptionScheduleUpdateParams.PauseSchedule.Pause.PauseAt.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.Pause.PauseAt.extraParamsfor the field documentation. -
putAllExtraParam
public SubscriptionScheduleUpdateParams.PauseSchedule.Pause.PauseAt.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.Pause.PauseAt.extraParamsfor the field documentation. -
setTimestamp
public SubscriptionScheduleUpdateParams.PauseSchedule.Pause.PauseAt.Builder setTimestamp(Long timestamp) The Unix timestamp at which to pause the subscription. Required whentypeistimestamp. -
setType
public SubscriptionScheduleUpdateParams.PauseSchedule.Pause.PauseAt.Builder setType(SubscriptionScheduleUpdateParams.PauseSchedule.Pause.PauseAt.Type type) Required. When to pause the subscription. Usenowto pause immediately ortimestampto pause at a specific time.
-