Package com.stripe.param
Class SubscriptionScheduleUpdateParams.PauseSchedule.Resume.Settings.Builder
java.lang.Object
com.stripe.param.SubscriptionScheduleUpdateParams.PauseSchedule.Resume.Settings.Builder
- Enclosing class:
- SubscriptionScheduleUpdateParams.PauseSchedule.Resume.Settings
public static class SubscriptionScheduleUpdateParams.PauseSchedule.Resume.Settings.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.setBillingCycleAnchor(SubscriptionScheduleUpdateParams.PauseSchedule.Resume.Settings.BillingCycleAnchor billingCycleAnchor) Controls the billing cycle anchor when the subscription resumes.setPaymentBehavior(SubscriptionScheduleUpdateParams.PauseSchedule.Resume.Settings.PaymentBehavior paymentBehavior) Controls whether Stripe attempts payment on the resumption invoice and how payment affects the subscription's status.setProrationBehavior(SubscriptionScheduleUpdateParams.PauseSchedule.Resume.Settings.ProrationBehavior prorationBehavior)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setBillingCycleAnchor
public SubscriptionScheduleUpdateParams.PauseSchedule.Resume.Settings.Builder setBillingCycleAnchor(SubscriptionScheduleUpdateParams.PauseSchedule.Resume.Settings.BillingCycleAnchor billingCycleAnchor) Controls the billing cycle anchor when the subscription resumes. When adding a pause schedule, defaults toresume_at. On updates, the existing value is preserved if not provided. -
putExtraParam
public SubscriptionScheduleUpdateParams.PauseSchedule.Resume.Settings.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.Settings.extraParamsfor the field documentation. -
putAllExtraParam
public SubscriptionScheduleUpdateParams.PauseSchedule.Resume.Settings.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.Settings.extraParamsfor the field documentation. -
setPaymentBehavior
public SubscriptionScheduleUpdateParams.PauseSchedule.Resume.Settings.Builder setPaymentBehavior(SubscriptionScheduleUpdateParams.PauseSchedule.Resume.Settings.PaymentBehavior paymentBehavior) Controls whether Stripe attempts payment on the resumption invoice and how payment affects the subscription's status. When adding a pause schedule, defaults toresume_on_payment_success. On updates, the existing value is preserved if not provided. -
setProrationBehavior
public SubscriptionScheduleUpdateParams.PauseSchedule.Resume.Settings.Builder setProrationBehavior(SubscriptionScheduleUpdateParams.PauseSchedule.Resume.Settings.ProrationBehavior prorationBehavior)
-