View Source XtbClient.Messages.TransactionStatus (XtbClient v0.1.1)

Atoms representing transaction statuses.

Link to this section Summary

Functions

Parse integer value as valid atom for transaction status.

Link to this section Types

@type status_code() :: 0 | 1 | 3 | 4
@type t() :: :error | :pending | :accepted | :rejected

Link to this section Functions

@spec parse(status_code()) :: t()

Parse integer value as valid atom for transaction status.