BillingMeterEvent constructor

const BillingMeterEvent({
  1. required DateTime created,
  2. required String eventName,
  3. required String identifier,
  4. required bool livemode,
  5. required Map<String, String> payload,
  6. required DateTime timestamp,
})

BillingMeterEvent

A billing meter event represents a customer's usage of a product. Meter events are used to bill a customer based on their usage. Meter events are associated with billing meters, which define the shape of the event's payload and how those events are aggregated for billing.

Implementation

const BillingMeterEvent({
  required this.created,
  required this.eventName,
  required this.identifier,
  required this.livemode,
  required this.payload,
  required this.timestamp,
});