Class MeterUsageRow

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.billing.MeterUsageRow
All Implemented Interfaces:
HasId, StripeObjectInterface

public class MeterUsageRow extends StripeObject implements HasId
  • Constructor Details

    • MeterUsageRow

      public MeterUsageRow()
  • Method Details

    • getBucketEndTime

      public Long getBucketEndTime()
      Timestamp indicating the end of the bucket. Measured in seconds since the Unix epoch.
    • getBucketStartTime

      public Long getBucketStartTime()
      Timestamp indicating the start of the bucket. Measured in seconds since the Unix epoch.
    • getBucketValue

      public BigDecimal getBucketValue()
      The aggregated meter usage value for the specified bucket.
    • getDimensions

      public Map<String,String> getDimensions()
      A set of key-value pairs representing the dimensions of the meter usage.
    • getMeterId

      public String getMeterId()
      The unique identifier for the meter. Null if no meters were provided and usage was aggregated across all meters.
    • getObject

      public String getObject()
      String representing the object's type. Objects of the same type share the same value.

      Equal to billing.meter_usage_row.

    • setBucketEndTime

      public void setBucketEndTime(Long bucketEndTime)
      Timestamp indicating the end of the bucket. Measured in seconds since the Unix epoch.
    • setBucketStartTime

      public void setBucketStartTime(Long bucketStartTime)
      Timestamp indicating the start of the bucket. Measured in seconds since the Unix epoch.
    • setBucketValue

      public void setBucketValue(BigDecimal bucketValue)
      The aggregated meter usage value for the specified bucket.
    • setDimensions

      public void setDimensions(Map<String,String> dimensions)
      A set of key-value pairs representing the dimensions of the meter usage.
    • setId

      public void setId(String id)
      Unique identifier for the object.
    • setMeterId

      public void setMeterId(String meterId)
      The unique identifier for the meter. Null if no meters were provided and usage was aggregated across all meters.
    • setObject

      public void setObject(String object)
      String representing the object's type. Objects of the same type share the same value.

      Equal to billing.meter_usage_row.

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getId

      public String getId()
      Unique identifier for the object.
      Specified by:
      getId in interface HasId