Bazaar.Schemas.Common.Types.PriceRange (Bazaar v0.3.0)

Copy Markdown View Source

Price Range

A price range representing minimum and maximum values (e.g., a common example in retail shopping is when prices vary across product variants).

Generated from: price_range.json

Summary

Functions

Creates a changeset for validating and casting params.

Returns the description for a field, if available.

Creates a new changeset from params.

Functions

changeset(struct \\ %__MODULE__{}, params)

Creates a changeset for validating and casting params.

field_description(field)

Returns the description for a field, if available.

new(params \\ %{})

Creates a new changeset from params.