Class AlertCreateParams.UsageThreshold

java.lang.Object
com.stripe.param.billing.AlertCreateParams.UsageThreshold
Enclosing class:
AlertCreateParams

public static class AlertCreateParams.UsageThreshold extends Object
  • Method Details

    • builder

    • 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.
    • getFilters

      The filters allows limiting the scope of this usage alert. You can only specify up to one filter at this time.
    • getGte

      public Long getGte()
      Required. Defines at which value the alert will fire.
    • getMeter

      public String getMeter()
      The Billing Meter ID whose usage is monitored.
    • getRecurrence

      Required. Whether the alert should only fire only once, or once per billing cycle.
    • 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