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
Constructors -
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.Currency for the threshold value.ID of customer for which the alert triggered.Custom pricing unit for the threshold value.External customer ID for the 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
setCurrency
(String currency) Currency for the threshold value.void
setCustomer
(String customer) ID of customer for which the alert triggered.void
setCustomPricingUnit
(String customPricingUnit) Custom pricing unit for the threshold value.void
setExternalCustomerId
(String externalCustomerId) External customer ID for the 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
setValue
(BigDecimal value) The value triggering the alert.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, 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. -
getCurrency
Currency for the threshold value. -
getCustomPricingUnit
Custom pricing unit for the threshold value. -
getCustomer
ID of customer for which the alert triggered. -
getExternalCustomerId
External customer ID for the 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. -
setCurrency
Currency for the threshold value. -
setCustomPricingUnit
Custom pricing unit for the threshold value. -
setCustomer
ID of customer for which the alert triggered. -
setExternalCustomerId
External customer ID for the 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()
-