Edi.X12.Hipaa.R5010.Segments.TransactionSetHeader (EDI X12 v0.1.4)
View SourceST - Transaction Set Header
To indicate the start of a transaction set and to assign a control number
Summary
Types
@type t() :: %Edi.X12.Hipaa.R5010.Segments.TransactionSetHeader{ implementation_convention_reference: nil | binary(), transaction_set_control_number: binary(), transaction_set_identifier_code: 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"
}