LatticeStripe.Quote.Computed (LatticeStripe v1.7.5)

Copy Markdown View Source

Bounded computed summary data for a Stripe Quote.

Quote computed payloads contain stable top-level branches such as upfront and recurring, but deeper pricing breakdowns are broad and fast-moving. This module types only the stable boundary and preserves deeper maps as Stripe-shaped payloads.

Summary

Types

t()

@type t() :: %LatticeStripe.Quote.Computed{
  extra: map(),
  recurring: map() | nil,
  upfront: map() | nil
}

Functions

from_map(map)

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