Bacen.STA.Response (Bacen STA v0.1.1)

The response message schema for Sisbacen's server.

It represents the Protocol xml response from Bacen's STA system.

It has the following XML example:

<Resultado xmlns:atom="http://www.w3.org/2005/Atom">
  <Protocolo>{protocolo}</Protocolo>
  <atom:link href="https://{host}/staws/arquivos/{protocolo}/conteudo" rel="conteudo" type="application/octet-stream" />
</Resultado>

Link to this section Summary

Types

t()

The Bacen's CCS protocol response type

Functions

Create new valid protocol xml from given attributes

Link to this section Types

Specs

t() :: %Bacen.STA.Response{result: term()}

The Bacen's CCS protocol response type

Link to this section Functions

Link to this function

new(attrs \\ %{})

Specs

new(map()) :: {:ok, t()} | {:error, Ecto.Changeset.t()}

Create new valid protocol xml from given attributes