Edi.X12.Hipaa.R5010.Segments.MessageText (EDI X12 v0.1.4)
View SourceMSG - Message Text
To provide a free-form format that allows the transmission of text information
Summary
Types
@type t() :: %Edi.X12.Hipaa.R5010.Segments.MessageText{ free_form_message_text: binary(), number: nil | number(), printer_carriage_control_code: nil | Edi.X12.Identifier.t() }
Functions
@spec parse(binary()) :: {:ok, t()} | {:error, binary()}
@spec parse(keyword() | map()) :: {:ok, t()} | {:error, binary()}
Convert the list into a struct.
Examples
iex> parse(elem_1: "Y", elem_2: "ZZ")
{:ok, %Struct{elem_1: "Y", elem_2: "ZZ"}}
Convert the list into a struct.
Examples
iex> parse!(elem_1: "Y", elem_2: "ZZ")
%Struct{
elem_1: "Y",
elem_2: "ZZ"
}