Monzo.Receipt.SubItem (monzo_client v1.0.0)

Copy Markdown View Source

A nested line item within an Item (e.g. modifiers on a dish).

Summary

Types

t()

@type t() :: %Monzo.Receipt.SubItem{
  amount: integer(),
  currency: String.t(),
  description: String.t(),
  quantity: number(),
  tax: integer() | nil,
  unit: String.t() | nil
}