CartSummary represents the current state of a shopping cart
| 51 | |
| 52 | // CartSummary represents the current state of a shopping cart |
| 53 | type 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 |
| 62 | type CartItem struct { |
nothing calls this directly
no outgoing calls
no test coverage detected