Packages

Paddle Billing SDK for Elixir — typed structs, pure-function webhooks, Req-based HTTP transport, explicit %Paddle.Client{} passing. No Phoenix or Ecto coupling. Used by Accrue. See https://hexdocs.pm/oarlock and guides/accrue-seam.md.

Current section

Files

Jump to
oarlock lib paddle subscription.ex
Raw

lib/paddle/subscription.ex

defmodule Paddle.Subscription do
defstruct [
:id,
:status,
:customer_id,
:address_id,
:business_id,
:currency_code,
:collection_mode,
:custom_data,
:items,
:scheduled_change,
:management_urls,
:current_billing_period,
:billing_cycle,
:billing_details,
:discount,
:next_billed_at,
:started_at,
:first_billed_at,
:paused_at,
:canceled_at,
:created_at,
:updated_at,
:import_meta,
:raw_data
]
end