Class SubscriptionScheduleAmendParams.Amendment

java.lang.Object
com.stripe.param.SubscriptionScheduleAmendParams.Amendment
Enclosing class:
SubscriptionScheduleAmendParams

public static class SubscriptionScheduleAmendParams.Amendment extends Object
  • 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 at amendment_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 no amendment_end), this attribute lets you set or remove whether the subscription's billing cycle anchor is reset at the amendment_start timestamp.For time-span based amendments (having both amendment_start and amendment_end), the only value valid is automatic, 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

      public Map<String,Object> 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.
    • 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 when amendment_end is null.
    • 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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object