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 class
static enum
Required. The number of intervals, as an whole number greater than 0.static class
static class
static enum
static class
static class
static enum
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
Changes 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_details
params update the currently active phase, specifies if and how to prorate at the time of the request.int
hashCode()
-
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_phase
orprorate_up_front
with the default beingprorate_on_next_phase
.prorate_on_next_phase
will apply phase changes and generate prorations at transition time.prorate_up_front
will 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 arerelease
orcancel
with the default beingrelease
.release
will end the subscription schedule and keep the underlying subscription running.cancel
will 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@SerializedName
value. 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_date
of one phase will always equal thestart_date
of the next phase. -
getPrebilling
Provide any time periods to bill in advance. -
getProrationBehavior
In cases where theschedule_details
params update the currently active phase, specifies if and how to prorate at the time of the request. -
equals
-
canEqual
-
hashCode
public int hashCode()
-