struct

MiniStore::Order

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(id : String, user_id : String, items : Array(CartItem), total_cents : Int32, status : String = "pending", created_at : Time = Time.utc)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

created_at
Source
items
Source
status
Source
total_cents
Source
user_id
Source