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 enumRequired. The number of intervals, as an whole number greater than 0.static classstatic classstatic enumstatic classstatic classstatic enum -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanChanges to apply to the phases of the subscription schedule, in the order provided.Configures when the subscription schedule generates prorations for phase transitions.Controls 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.List representing phases of the subscription schedule.Provide any time periods to bill in advance.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
-
getAmendments
Changes to apply to the phases of the subscription schedule, in the order provided. -
getBillingBehavior
Configures when the subscription schedule generates prorations for phase transitions. Possible values areprorate_on_next_phaseorprorate_up_frontwith the default beingprorate_on_next_phase.prorate_on_next_phasewill apply phase changes and generate prorations at transition time.prorate_up_frontwill bill for all phases within the current billing cycle up front. -
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. -
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. -
getPrebilling
Provide any time periods to bill in advance. -
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()
-