Class SubscriptionUpdateParams.CancellationDetails

java.lang.Object
com.stripe.param.SubscriptionUpdateParams.CancellationDetails
Enclosing class:
SubscriptionUpdateParams

public static class SubscriptionUpdateParams.CancellationDetails extends Object
Indicates if the billing_cycle_anchor should be reset when a threshold is reached. If true, billing_cycle_anchor will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged.
  • Method Details

    • builder

    • getComment

      public Object getComment()
      Additional comments about why the user canceled the subscription, if the subscription was canceled explicitly by the user.
    • 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.
    • getFeedback

      public ApiRequestParams.EnumParam getFeedback()
      The customer submitted reason for why they canceled, if the subscription was canceled explicitly by the user.