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 booleanbooleangetAlert()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 valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.String representing the object's type.getValue()The value triggering the alert.inthashCode()voidA billing alert is a resource that notifies you when a certain usage threshold on a meter is crossed.voidsetCreated(Long created) Time at which the object was created.voidsetCurrency(String currency) Currency for the threshold value.voidsetCustomer(String customer) ID of customer for which the alert triggered.voidsetCustomPricingUnit(String customPricingUnit) Custom pricing unit for the threshold value.voidsetExternalCustomerId(String externalCustomerId) External customer ID for the customer for which the alert triggered.voidsetLivemode(Boolean livemode) Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.voidString representing the object's type.voidsetValue(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 valuetrueif the object exists in live mode or the valuefalseif 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 valuetrueif the object exists in live mode or the valuefalseif 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()
-