# `LatticeStripe.Dispute.PaymentMethodDetails`
[🔗](https://github.com/szTheory/lattice_stripe/blob/v2.2.2/lib/lattice_stripe/dispute/payment_method_details.ex#L1)

Represents the polymorphic payment method details nested on a Stripe Dispute.

Branch on `type` to decide which raw sub-map (`card`, `klarna`, `paypal`,
`amazon_pay`) is populated. Unknown fields from the Stripe API response are
preserved in `:extra` for forward compatibility.

# `t`

```elixir
@type t() :: %LatticeStripe.Dispute.PaymentMethodDetails{
  amazon_pay: map() | nil,
  card: map() | nil,
  extra: map(),
  klarna: map() | nil,
  paypal: map() | nil,
  type: String.t() | nil
}
```

# `from_map`

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

---

*Consult [api-reference.md](api-reference.md) for complete listing*
