Cnpja.Label (Cnpja v0.1.2)

Copy Markdown View Source

Generic label with an integer id and a display text (legal nature, company size, status, etc.).

Summary

Types

t()

@type t() :: %Cnpja.Label{id: integer(), text: String.t()}

Functions

from_map(map)

@spec from_map(map()) :: t()

from_map_nullable(map)

@spec from_map_nullable(map() | nil) :: t() | nil