Inttegro.Invoices.OrderDocumentDeliveryAttempt (inttegro v0.2.0)

Copy Markdown View Source

Represents Order Document Delivery Attempt data in the Invoices API.

Inttegro decodes API responses into this struct. Required fields are always present; optional fields are nil when they do not apply or were not returned. Follow the linked types in t/0 for nested domain values.

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()

The decoded order document delivery attempt value.

Functions

Builds a Inttegro.Invoices.OrderDocumentDeliveryAttempt and raises KeyError when a required field is missing.

Types

t()

@type t() :: %Inttegro.Invoices.OrderDocumentDeliveryAttempt{
  channel: Inttegro.Invoices.DeliveryChannel.t() | nil,
  chime_id: String.t() | nil
}

The decoded order document delivery attempt value.

Functions

new!(attrs \\ %{})

@spec new!(map() | keyword()) :: t()

Builds a Inttegro.Invoices.OrderDocumentDeliveryAttempt and raises KeyError when a required field is missing.