LatticeStripe.Tax.Settings.StatusDetails (LatticeStripe v2.0.0)

Copy Markdown View Source

The status_details object embedded in your account's Stripe Tax settings.

Reachable from LatticeStripe.Tax.Settings.t/0. Exactly one of :active or :pending is populated, matching the parent's :status — the populated one carries the detail explaining why Tax is or is not yet operational.

Embedded value struct: fields are additive. Keys Stripe adds later appear under :extra rather than being dropped, so a new field never breaks decoding.

Summary

Types

t()

@type t() :: %LatticeStripe.Tax.Settings.StatusDetails{
  active: map() | nil,
  extra: map(),
  pending: map() | nil
}

Functions

from_map(map)

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