MeterEventSummary.php 1.3 KB

12345678910111213141516171819202122
  1. <?php
  2. // File generated from our OpenAPI spec
  3. namespace Stripe\Billing;
  4. /**
  5. * A billing meter event summary represents an aggregated view of a customer's billing meter events within a specified timeframe. It indicates how much
  6. * usage was accrued by a customer for that period.
  7. *
  8. * @property string $id Unique identifier for the object.
  9. * @property string $object String representing the object's type. Objects of the same type share the same value.
  10. * @property float $aggregated_value Aggregated value of all the events within <code>start_time</code> (inclusive) and <code>end_time</code> (inclusive). The aggregation strategy is defined on meter via <code>default_aggregation</code>.
  11. * @property int $end_time End timestamp for this event summary (exclusive). Must be aligned with minute boundaries.
  12. * @property bool $livemode Has the value <code>true</code> if the object exists in live mode or the value <code>false</code> if the object exists in test mode.
  13. * @property string $meter The meter associated with this event summary.
  14. * @property int $start_time Start timestamp for this event summary (inclusive). Must be aligned with minute boundaries.
  15. */
  16. class MeterEventSummary extends \Stripe\ApiResource
  17. {
  18. const OBJECT_NAME = 'billing.meter_event_summary';
  19. }