MCPcopy Create free account
hub / github.com/docker/model-test / CartSummary

Struct CartSummary

models/chat.go:53–59  ·  view source on GitHub ↗

CartSummary represents the current state of a shopping cart

Source from the content-addressed store, hash-verified

51
52// CartSummary represents the current state of a shopping cart
53type CartSummary struct {
54 SessionID string `json:"session_id"`
55 Items []CartItem `json:"items"`
56 Total float64 `json:"total"`
57 ItemCount int `json:"item_count"`
58 UpdatedAt time.Time `json:"updated_at"`
59}
60
61// CartItem represents an item in the shopping cart
62type CartItem struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected