# `AccessGrid.LedgerItem.CardTemplate`
[🔗](https://github.com/Access-Grid/accessgrid-ex/blob/main/lib/access_grid/ledger_item.ex#L101)

Narrow card-template representation embedded in
`AccessGrid.LedgerItem.AccessPass`. Returned with just enough fields to identify
the template behind a ledger line; for the full template shape, use
`AccessGrid.Console.read_template/2`.

# `t`

```elixir
@type t() :: %AccessGrid.LedgerItem.CardTemplate{
  id: String.t() | nil,
  name: String.t() | nil,
  platform: String.t() | nil,
  protocol: String.t() | nil,
  use_case: String.t() | nil
}
```

# `from_response`

```elixir
@spec from_response(map() | nil) :: t() | nil
```

Creates a LedgerItem.CardTemplate struct from an API response map.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
