LatticeStripe.Balance.SourceTypes (LatticeStripe v1.1.0)

Copy Markdown View Source

Source-type breakdown of a LatticeStripe.Balance.Amount.

Stable inner shape: card, bank_account, fpx. Future Stripe payment-method keys (e.g. "ach_credit_transfer", "link") land in :extra per the typed-inner-open-outer pattern (Phase 17 D-02) so struct shape never drifts when Stripe adds a new payment method.

Summary

Types

t()

Source-type breakdown of a Balance.Amount.

Types

t()

@type t() :: %LatticeStripe.Balance.SourceTypes{
  bank_account: integer() | nil,
  card: integer() | nil,
  extra: map(),
  fpx: integer() | nil
}

Source-type breakdown of a Balance.Amount.