Package com.stripe.model.billing
Class Alert.UsageThresholdConfig
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.billing.Alert.UsageThresholdConfig
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Alert
The usage threshold alert configuration enables setting up alerts for when a certain usage
threshold on a specific meter is crossed.
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
getGte()
The value at which this alert will trigger.getMeter()
Get ID of expandablemeter
object.Get expandedmeter
.Defines how the alert will behave.int
hashCode()
void
The value at which this alert will trigger.void
void
setMeterObject
(Meter expandableObject) void
setRecurrence
(String recurrence) Defines how the alert will behave.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
UsageThresholdConfig
public UsageThresholdConfig()
-
-
Method Details
-
getMeter
Get ID of expandablemeter
object. -
setMeter
-
getMeterObject
Get expandedmeter
. -
setMeterObject
-
getGte
The value at which this alert will trigger. -
getRecurrence
Defines how the alert will behave.Equal to
one_time
. -
setGte
The value at which this alert will trigger. -
setRecurrence
Defines how the alert will behave.Equal to
one_time
. -
equals
-
canEqual
-
hashCode
public int hashCode()
-