Package com.stripe.model.billing
Class AlertTriggered
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.billing.AlertTriggered
- All Implemented Interfaces:
StripeObjectInterface
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
getAlert()
A billing alert is a resource that notifies you when a certain usage threshold on a meter is crossed.Time at which the object was created.ID of customer for which the alert triggered.Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.String representing the object's type.getValue()
The value triggering the alert.int
hashCode()
void
A billing alert is a resource that notifies you when a certain usage threshold on a meter is crossed.void
setCreated
(Long created) Time at which the object was created.void
setCustomer
(String customer) ID of customer for which the alert triggered.void
setLivemode
(Boolean livemode) Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.void
String representing the object's type.void
The value triggering the alert.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
AlertTriggered
public AlertTriggered()
-
-
Method Details
-
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
Time at which the object was created. Measured in seconds since the Unix epoch. -
getCustomer
ID of customer for which the alert triggered. -
getLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
getObject
String representing the object's type. Objects of the same type share the same value.Equal to
billing.alert_triggered
. -
getValue
The value triggering the alert. -
setAlert
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
Time at which the object was created. Measured in seconds since the Unix epoch. -
setCustomer
ID of customer for which the alert triggered. -
setLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
setObject
String representing the object's type. Objects of the same type share the same value.Equal to
billing.alert_triggered
. -
setValue
The value triggering the alert. -
equals
-
canEqual
-
hashCode
public int hashCode()
-