Package com.stripe.param
Class SubscriptionScheduleAmendParams.Amendment
java.lang.Object
com.stripe.param.SubscriptionScheduleAmendParams.Amendment
- Enclosing class:
- SubscriptionScheduleAmendParams
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic enumConfigure how an opt-in following a paid trial is billed when usingbilling_behavior: prorate_up_front.static classstatic classstatic classstatic classstatic enumstatic classstatic enumstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanDetails to identify the end of the time range modified by the proposed change.Required. Details to identify the earliest timestamp where the proposed change should take effect.For point-in-time amendments (having noamendment_end), this attribute lets you set or remove whether the subscription's billing cycle anchor is reset at theamendment_starttimestamp.For time-span based amendments (having bothamendment_startandamendment_end), the only value valid isautomatic, which removes any previously configured billing cycle anchor resets scheduled to occur during the window of time spanned by the amendment.Changes to the coupons being redeemed or discounts being applied during the amendment time span.Map of extra parameters for custom features not available in this client library.Changes to the subscription items during the amendment time span.Instructions for how to modify phase metadata.Changes to how Stripe handles prorations during the amendment time span.Defines how to pause collection for the underlying subscription throughout the duration of the amendment.Ends the subscription schedule early as dictated by either the accompanying amendment's start or end.Settings related to subscription trials.inthashCode()
-
Method Details
-
builder
-
getAmendmentEnd
Details to identify the end of the time range modified by the proposed change. If not supplied, the amendment is considered a point-in-time operation that only affects the exact timestamp atamendment_start, and a restricted set of attributes is supported on the amendment. -
getAmendmentStart
Required. Details to identify the earliest timestamp where the proposed change should take effect. -
getBillingCycleAnchor
For point-in-time amendments (having noamendment_end), this attribute lets you set or remove whether the subscription's billing cycle anchor is reset at theamendment_starttimestamp.For time-span based amendments (having bothamendment_startandamendment_end), the only value valid isautomatic, which removes any previously configured billing cycle anchor resets scheduled to occur during the window of time spanned by the amendment. -
getDiscountActions
Changes to the coupons being redeemed or discounts being applied during the amendment time span. -
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. -
getItemActions
Changes to the subscription items during the amendment time span. -
getMetadataActions
Instructions for how to modify phase metadata. -
getProrationBehavior
Changes to how Stripe handles prorations during the amendment time span. Affects if and how prorations are created when a future phase starts. In cases where the amendment changes the currently active phase, it is used to determine whether or how to prorate now, at the time of the request. Also supported as a point-in-time operation whenamendment_endisnull. -
getSetPauseCollection
Defines how to pause collection for the underlying subscription throughout the duration of the amendment. -
getSetScheduleEnd
Ends the subscription schedule early as dictated by either the accompanying amendment's start or end. -
getTrialSettings
Settings related to subscription trials. -
equals
-
canEqual
-
hashCode
public int hashCode()
-