Polarex.CustomerSubscription (Polarex v0.2.1)

View Source

Provides struct and type for a CustomerSubscription

Summary

Types

t()

@type t() :: %Polarex.CustomerSubscription{
  amount: integer(),
  cancel_at_period_end: boolean(),
  canceled_at: DateTime.t() | nil,
  checkout_id: String.t() | nil,
  created_at: DateTime.t(),
  currency: String.t(),
  current_period_end: DateTime.t() | nil,
  current_period_start: DateTime.t(),
  customer_cancellation_comment: String.t() | nil,
  customer_cancellation_reason: String.t() | nil,
  customer_id: String.t(),
  discount_id: String.t() | nil,
  ended_at: DateTime.t() | nil,
  ends_at: DateTime.t() | nil,
  id: String.t(),
  meters: [Polarex.CustomerSubscriptionMeter.t()],
  modified_at: DateTime.t() | nil,
  prices: [map()],
  product: Polarex.CustomerSubscriptionProduct.t(),
  product_id: String.t(),
  recurring_interval: String.t(),
  started_at: DateTime.t() | nil,
  status: String.t()
}