← API documentation Models

Cart

Current order and culture for a visitor's shopping cart.

Last updated

Usage

Cart contains CultureSetup, Order, and TotalItemsInBasket.

Key properties

Property Meaning
Order The current order and its order lines.
CultureSetup Culture, currency, and VAT context for the cart.
TotalItemsInBasket Total number of items in the cart.

Public properties

Property names and C# types follow this package version. Some fields are populated only when a service or repository prepares the model.

Property C# type
CultureSetup CultureSetup
Order Order
TotalItemsInBasket int

Source: OptimusCommercev2.Core/Models/Cart.cs · Optimus Commerce.Extension 17.94.0