Class SubscriptionUpdateParams.BillingThresholds

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

public static class SubscriptionUpdateParams.BillingThresholds extends Object
Required. Type of the account referenced in the request.
  • Method Details

    • builder

    • getAmountGte

      public Long getAmountGte()
      Monetary threshold that triggers the subscription to advance to a new billing period.
    • 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.
    • getResetBillingCycleAnchor

      public Boolean getResetBillingCycleAnchor()
      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.