A membership relation between the currently authenticated user and a resource (typically a merchant or organization), including the roles and effective permissions granted there.
Summary
Types
@type status() :: :accepted | :pending | :expired | :disabled | :unknown
@type t() :: %Sumup.Membership{ attributes: map() | nil, created_at: DateTime.t() | nil, id: String.t(), invite: map() | nil, metadata: map() | nil, permissions: [String.t()], raw: map(), resource: map() | nil, resource_id: String.t() | nil, roles: [String.t()], status: status(), type: String.t() | nil, updated_at: DateTime.t() | nil }