Bacen.CCS.ACCS002 (Bacen CCS v0.1.1)
The ACCS002 message.
This message is a response from ACCS001 message.
It has the following XML example:
<CCSArqAtlzDiariaRespArq>
<SitArq>R</SitArq>
<ErroCCS>ECCS0023</ErroCCS>
<UltNumRemessaArq>000000000000</UltNumRemessaArq>
<DtHrBC>2004-06-16T05:04:00</DtHrBC>
<DtMovto>2004-06-16</DtMovto>
</CCSArqAtlzDiariaRespArq>
Link to this section Summary
Functions
Creates a new ACCS002 message from given attributes.
Returns the field sequence for given root xml element
Link to this section Types
Specs
t() :: %Bacen.CCS.ACCS002{response: term()}
The ACCS002 message type
Link to this section Functions
Link to this function
new(attrs)
Specs
new(map()) :: {:ok, t()} | {:error, Ecto.Changeset.t()}
Creates a new ACCS002 message from given attributes.
Link to this function
sequence(atom)
Specs
sequence(:CCSArqAtlzDiariaRespArq) :: [atom()]
Returns the field sequence for given root xml element
Examples
iex> Bacen.CCS.ACCS002.sequence(:CCSArqAtlzDiariaRespArq)
[:SitArq, :ErroCCS, :UltNumRemessaArq, :DtHrBC, :DtMovto]