Inttegro.Payments.BillingDetails (inttegro v0.3.0)

Copy Markdown View Source

Represents Billing Details data in the Payments 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.

Payment state, attempts, confirmations, and next actions attached to orders.

Summary

Types

t()

@type t() :: %Inttegro.Payments.BillingDetails{
  owner: Inttegro.PaymentMethods.SnapshotOwner.t() | nil
}

Functions

from_map(map)

@spec from_map(map()) :: t()

new!(attrs \\ %{})

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

to_map(value)

@spec to_map(t()) :: map()