Inttegro.Invoices.DeliveryChannel (inttegro v0.2.0)

Copy Markdown View Source

Values accepted for Delivery Channel in the Invoices 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.

Invoice, receipt, document-format, and document-delivery values attached to orders. Document availability and delivery attempts are modeled separately so integrations can distinguish generation from successful recipient delivery.

Summary

Types

t()

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

Functions

Returns the documented Inttegro.Invoices.DeliveryChannel atoms known by this SDK version.

Types

t()

@type t() :: :email | :sms | String.t()

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

Functions

values()

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

Returns the documented Inttegro.Invoices.DeliveryChannel atoms known by this SDK version.