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

Copy Markdown View Source

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

Reachable from LatticeStripe.Tax.Settings.t/0. Its address is the origin Stripe Tax uses when no other origin applies, so it participates in every calculation your account performs.

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.HeadOffice{
  address: map() | nil,
  extra: map()
}

Functions

from_map(map)

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