Inttegro.Wallets.Type (inttegro v0.2.0)

Copy Markdown View Source

Values accepted for Type in the Wallets API.

Prefer the documented atoms returned by values/0. The type also accepts strings so a newer server value can be preserved by an older SDK instead of failing during decoding.

Wallet configuration and mobile-money values shared by financial accounts. Capabilities and providers vary by country, so integrations should use returned configuration rather than hard-coded assumptions.

Summary

Types

t()

A type atom or an unknown wire value preserved as a string.

Functions

Returns the documented Inttegro.Wallets.Type atoms known by this SDK version.

Types

t()

@type t() :: :mobile_money | String.t()

A type atom or an unknown wire value preserved as a string.

Functions

values()

@spec values() :: [t()]

Returns the documented Inttegro.Wallets.Type atoms known by this SDK version.