Paysafe.Types.Plan (Paysafe v1.0.0)

Copy Markdown View Source

Represents a Payment Scheduler Plan.

Summary

Types

billing_cycle()

@type billing_cycle() ::
  :daily
  | :weekly
  | :bi_weekly
  | :monthly
  | :quarterly
  | :semi_annually
  | :annually

status()

@type status() :: :active | :inactive | :discontinued

t()

@type t() :: %Paysafe.Types.Plan{
  amount: pos_integer(),
  billing_cycle: billing_cycle(),
  currency_code: String.t(),
  id: String.t() | nil,
  name: String.t(),
  num_payments: pos_integer() | nil,
  raw: map(),
  status: status()
}