PolarExpress.Schemas.CustomerMeter (polar_express v0.1.5)

Copy Markdown View Source

CustomerMeter

An active customer meter, with current consumed and credited units.

Summary

Types

t()

@type t() :: %PolarExpress.Schemas.CustomerMeter{
  balance: float() | nil,
  consumed_units: float() | nil,
  created_at: DateTime.t() | nil,
  credited_units: integer() | nil,
  customer: PolarExpress.Schemas.Customer.t() | nil,
  customer_id: String.t() | nil,
  id: String.t() | nil,
  meter: PolarExpress.Schemas.Meter.t() | nil,
  meter_id: String.t() | nil,
  modified_at: DateTime.t() | nil
}
  • balance - The balance of the meter, i.e. the difference between credited and consumed units.
  • consumed_units - The number of consumed units.
  • created_at - Creation timestamp of the object. Format: date-time.
  • credited_units - The number of credited units.
  • customer - The customer associated with this meter.
  • customer_id - The ID of the customer. Format: uuid4.
  • id - The ID of the object. Format: uuid4.
  • meter - The meter associated with this customer.
  • meter_id - The ID of the meter. Format: uuid4.
  • modified_at - Last modification timestamp of the object. Nullable.

Functions

schema_name()