Lingo.Type.SKU (Lingo v0.4.2)

Copy Markdown View Source

Something the application sells. type is :durable, :consumable, :subscription or :subscription_group (the group Discord makes for a subscription; list its subscriptions with the :subscription one).

Summary

Types

t()

@type t() :: %Lingo.Type.SKU{
  application_id: String.t(),
  flags: integer(),
  id: String.t(),
  name: String.t(),
  slug: String.t(),
  type: type() | integer()
}

type()

@type type() :: :durable | :consumable | :subscription | :subscription_group