Picnic.Schema.SearchResult (Picnic v0.1.0)

Copy Markdown View Source

Loose struct for one product matched by a search. Prices are integer cents, so 129 is €1.29. Unknown fields are ignored; the complete original payload is always available under :raw.

Summary

Types

t()

@type t() :: %Picnic.Schema.SearchResult{
  decorators: term(),
  display_price: term(),
  id: term(),
  image_id: term(),
  name: term(),
  price: term(),
  raw: term(),
  type: term(),
  unit_quantity: term()
}