Package com.stripe.model.billing
Class MeterUsageRow
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.billing.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
Timestamp indicating the end of the bucket.Timestamp indicating the start of the bucket.The aggregated meter usage value for the specified bucket.A set of key-value pairs representing the dimensions of the meter usage.getId()
Unique identifier for the object.The unique identifier for the meter.String representing the object's type.int
hashCode()
void
setBucketEndTime
(Long bucketEndTime) Timestamp indicating the end of the bucket.void
setBucketStartTime
(Long bucketStartTime) Timestamp indicating the start of the bucket.void
setBucketValue
(BigDecimal bucketValue) The aggregated meter usage value for the specified bucket.void
setDimensions
(Map<String, String> dimensions) A set of key-value pairs representing the dimensions of the meter usage.void
Unique identifier for the object.void
setMeterId
(String meterId) The unique identifier for the meter.void
String representing the object's type.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
-
getBucketEndTime
Timestamp indicating the end of the bucket. Measured in seconds since the Unix epoch. -
getBucketStartTime
Timestamp indicating the start of the bucket. Measured in seconds since the Unix epoch. -
getBucketValue
The aggregated meter usage value for the specified bucket. -
getDimensions
A set of key-value pairs representing the dimensions of the meter usage. -
getMeterId
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.meter_usage_row
. -
setBucketEndTime
Timestamp indicating the end of the bucket. Measured in seconds since the Unix epoch. -
setBucketStartTime
Timestamp indicating the start of the bucket. Measured in seconds since the Unix epoch. -
setBucketValue
The aggregated meter usage value for the specified bucket. -
setDimensions
A set of key-value pairs representing the dimensions of the meter usage. -
setId
Unique identifier for the object. -
setMeterId
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.meter_usage_row
. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-