Package com.stripe.model.v2.billing
Class MeteredItem.MeterSegmentCondition
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.billing.MeteredItem.MeterSegmentCondition
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- MeteredItem
For more details about MeterSegmentCondition, please refer to the API Reference.
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
A Meter dimension.getValue()
To count usage towards this metered item, the dimension must have this value.int
hashCode()
void
setDimension
(String dimension) A Meter dimension.void
To count usage towards this metered item, the dimension must have this value.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
MeterSegmentCondition
public MeterSegmentCondition()
-
-
Method Details
-
getDimension
A Meter dimension. -
getValue
To count usage towards this metered item, the dimension must have this value. -
setDimension
A Meter dimension. -
setValue
To count usage towards this metered item, the dimension must have this value. -
equals
-
canEqual
-
hashCode
public int hashCode()
-