Nombaone.Price (Nomba One v0.1.0)

View Source

How much a plan costs per billing interval. Prices are immutable once created — to change pricing, create a new price and deactivate the old one. Existing subscriptions keep the price they were sold at.

unit_amount_in_kobo is integer kobo (₦1.00 = 100). interval is one of day, week, month, year.

Summary

Types

t()

@type t() :: %Nombaone.Price{
  __raw__: term(),
  active: term(),
  billing_scheme: term(),
  created_at: term(),
  currency: term(),
  domain: term(),
  id: term(),
  interval: term(),
  interval_count: term(),
  metadata: term(),
  mode: term(),
  plan_id: term(),
  trial_period_days: term(),
  unit_amount_in_kobo: term(),
  usage_type: term()
}