Class MeterUsageRow
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.billing.analytics.MeterUsageRow
- All Implemented Interfaces:
HasId
,StripeObjectInterface
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
A set of key-value pairs representing the dimensions of the meter usage.Timestamp indicating the end of the bucket.getId()
Unique identifier for the object.getMeter()
The unique identifier for the meter.String representing the object's type.Timestamp indicating the start of the bucket.getValue()
The aggregated meter usage value for the specified bucket.int
hashCode()
void
setDimensions
(Map<String, String> dimensions) A set of key-value pairs representing the dimensions of the meter usage.void
Timestamp indicating the end of the bucket.void
Unique identifier for the object.void
The unique identifier for the meter.void
String representing the object's type.void
setStartsAt
(Long startsAt) Timestamp indicating the start of the bucket.void
setValue
(BigDecimal value) The aggregated meter usage value for the specified bucket.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
MeterUsageRow
public MeterUsageRow()
-
-
Method Details
-
getDimensions
A set of key-value pairs representing the dimensions of the meter usage. -
getEndsAt
Timestamp indicating the end of the bucket. Measured in seconds since the Unix epoch. -
getMeter
The unique identifier for the meter. Null if no meters were provided and usage was aggregated across all meters. -
getObject
String representing the object's type. Objects of the same type share the same value.Equal to
billing.analytics.meter_usage_row
. -
getStartsAt
Timestamp indicating the start of the bucket. Measured in seconds since the Unix epoch. -
getValue
The aggregated meter usage value for the specified bucket. -
setDimensions
A set of key-value pairs representing the dimensions of the meter usage. -
setEndsAt
Timestamp indicating the end of the bucket. Measured in seconds since the Unix epoch. -
setId
Unique identifier for the object. -
setMeter
The unique identifier for the meter. Null if no meters were provided and usage was aggregated across all meters. -
setObject
String representing the object's type. Objects of the same type share the same value.Equal to
billing.analytics.meter_usage_row
. -
setStartsAt
Timestamp indicating the start of the bucket. Measured in seconds since the Unix epoch. -
setValue
The aggregated meter usage value for the specified bucket. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-