Package com.stripe.param
Class InvoiceCreatePreviewParams.ScheduleDetails
java.lang.Object
com.stripe.param.InvoiceCreatePreviewParams.ScheduleDetails
- Enclosing class:
- InvoiceCreatePreviewParams
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic enumstatic classstatic classDetermines how to handle prorations when the subscription resumes.static enum -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanControls how prorations and invoices for subscriptions are calculated and orchestrated.Behavior of the subscription schedule and underlying subscription when it ends.Map of extra parameters for custom features not available in this client library.The subscription's pause behavior and optional resume behavior.List representing phases of the subscription schedule.In cases where theschedule_detailsparams update the currently active phase, specifies if and how to prorate at the time of the request.inthashCode()
-
Method Details
-
builder
-
getBillingMode
Controls how prorations and invoices for subscriptions are calculated and orchestrated. -
getEndBehavior
Behavior of the subscription schedule and underlying subscription when it ends. Possible values arereleaseorcancelwith the default beingrelease.releasewill end the subscription schedule and keep the underlying subscription running.cancelwill end the subscription schedule and cancel the underlying subscription. -
getExtraParams
Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's@SerializedNamevalue. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance. -
getPauseSchedules
The subscription's pause behavior and optional resume behavior. You can provide one entry. Include itskeyto update an existing pause schedule. Omitpause_schedulesto leave the existing schedule unchanged, or pass an empty string ("") to clear it. -
getPhases
List representing phases of the subscription schedule. Each phase can be customized to have different durations, plans, and coupons. If there are multiple phases, theend_dateof one phase will always equal thestart_dateof the next phase. -
getProrationBehavior
In cases where theschedule_detailsparams update the currently active phase, specifies if and how to prorate at the time of the request. -
equals
-
canEqual
-
hashCode
public int hashCode()
-