Class MeterUsageRow

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

public class MeterUsageRow extends StripeObject implements HasId
  • Constructor Details

    • MeterUsageRow

      public MeterUsageRow()
  • Method Details

    • getDimensions

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

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

      public String getMeter()
      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.analytics.meter_usage_row.

    • getStartsAt

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

      public BigDecimal getValue()
      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.
    • setEndsAt

      public void setEndsAt(Long endsAt)
      Timestamp indicating the end of the bucket. Measured in seconds since the Unix epoch.
    • setId

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

      public void setMeter(String meter)
      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.analytics.meter_usage_row.

    • setStartsAt

      public void setStartsAt(Long startsAt)
      Timestamp indicating the start of the bucket. Measured in seconds since the Unix epoch.
    • setValue

      public void setValue(BigDecimal value)
      The aggregated meter usage value for the specified bucket.
    • 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