Class AlertTriggered

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.billing.AlertTriggered
All Implemented Interfaces:
StripeObjectInterface

public class AlertTriggered extends StripeObject
  • Constructor Details

    • AlertTriggered

      public AlertTriggered()
  • Method Details

    • getAlert

      public Alert getAlert()
      A billing alert is a resource that notifies you when a certain usage threshold on a meter is crossed. For example, you might create a billing alert to notify you when a certain user made 100 API requests.
    • getCreated

      public Long getCreated()
      Time at which the object was created. Measured in seconds since the Unix epoch.
    • getCustomer

      public String getCustomer()
      ID of customer for which the alert triggered.
    • getLivemode

      public Boolean getLivemode()
      Has the value true if the object exists in live mode or the value false if the object exists in test mode.
    • getObject

      public String getObject()
      String representing the object's type. Objects of the same type share the same value.

      Equal to billing.alert_triggered.

    • getValue

      public Long getValue()
      The value triggering the alert.
    • setAlert

      public void setAlert(Alert alert)
      A billing alert is a resource that notifies you when a certain usage threshold on a meter is crossed. For example, you might create a billing alert to notify you when a certain user made 100 API requests.
    • setCreated

      public void setCreated(Long created)
      Time at which the object was created. Measured in seconds since the Unix epoch.
    • setCustomer

      public void setCustomer(String customer)
      ID of customer for which the alert triggered.
    • setLivemode

      public void setLivemode(Boolean livemode)
      Has the value true if the object exists in live mode or the value false if the object exists in test mode.
    • setObject

      public void setObject(String object)
      String representing the object's type. Objects of the same type share the same value.

      Equal to billing.alert_triggered.

    • setValue

      public void setValue(Long value)
      The value triggering the alert.
    • 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