PolarExpress.Schemas.SubscriptionMeter (polar_express v0.2.2)

Copy Markdown View Source

SubscriptionMeter

Current consumption and spending for a subscription meter.

Summary

Types

t()

@type t() :: %PolarExpress.Schemas.SubscriptionMeter{
  amount: term(),
  consumed_units: term(),
  created_at: term(),
  credited_units: term(),
  id: term(),
  meter: term(),
  meter_id: term(),
  modified_at: term()
}
  • amount - The amount due in cents so far in this billing period.
  • consumed_units - The number of consumed units so far in this billing period.
  • created_at - Creation timestamp of the object. Format: date-time.
  • credited_units - The number of credited units so far in this billing period.
  • id - The ID of the object. Format: uuid4.
  • meter - The meter associated with this subscription.
  • meter_id - The ID of the meter. Format: uuid4.
  • modified_at - Last modification timestamp of the object. Nullable.

Functions

schema_name()