Unit.Resource.Token (Unit v1.0.0)

Copy Markdown View Source

Represents an API token response (org, customer, or cardholder).

Summary

Types

t()

@type t() :: %Unit.Resource.Token{
  expires_in: integer() | nil,
  id: String.t() | nil,
  token: String.t() | nil,
  type: String.t() | nil
}

Functions

cast(map)

@spec cast(map()) :: t()