Handles SubscriptionSchedule resource endpoints.
Subscription schedules are shape-sensitive: phases must be contiguous,
each phase must have a concrete start/end window, and active schedules expose
current_phase. PaperTiger models those Stripe-facing semantics
deterministically while keeping billing side effects intentionally small.
Summary
Functions
Cancels a subscription schedule.
Creates a new subscription schedule.
Lists subscription schedules with Stripe-style filters.
Releases a subscription schedule.
Retrieves a subscription schedule by ID.
Updates a subscription schedule.
Functions
@spec cancel(Plug.Conn.t(), String.t()) :: Plug.Conn.t()
Cancels a subscription schedule.
@spec create(Plug.Conn.t()) :: Plug.Conn.t()
Creates a new subscription schedule.
@spec list(Plug.Conn.t()) :: Plug.Conn.t()
Lists subscription schedules with Stripe-style filters.
@spec release(Plug.Conn.t(), String.t()) :: Plug.Conn.t()
Releases a subscription schedule.
@spec retrieve(Plug.Conn.t(), String.t()) :: Plug.Conn.t()
Retrieves a subscription schedule by ID.
@spec update(Plug.Conn.t(), String.t()) :: Plug.Conn.t()
Updates a subscription schedule.