Summary
Functions
A sample %MishkaPay.PortalSession.Configuration.Plans{} populated from defaults + type-based fallbacks.
Types
@type t() :: %MishkaPay.PortalSession.Configuration.Plans{ price_ids: list(), product_id: String.t() }
The struct that builder/1 returns.
| Field | Type | Required | Default | Description | Derives |
|---|---|---|---|---|---|
:product_id | String.t() | yes | sanitize(trim) validate(not_nil_value, string, not_empty) | ||
:price_ids | list() | yes | validate(not_nil_value, list, not_empty, each=[string, not_empty]) |