# `LatticeStripe.Billing.Meter.ValueSettings`
[🔗](https://github.com/szTheory/lattice_stripe/blob/v2.2.2/lib/lattice_stripe/billing/meter/value_settings.ex#L1)

Value-extraction settings for sum/last meters. `event_payload_key` names
the field inside `MeterEvent.payload` from which Stripe reads the numeric
value. Defaults server-side to `"value"` when omitted in `Meter.create/3`.

# `t`

```elixir
@type t() :: %LatticeStripe.Billing.Meter.ValueSettings{
  event_payload_key: String.t() | nil
}
```

# `from_map`

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

---

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