Skip to main content

Ubiquitous Language

Built on develop, not deployed

Derived from model/model.yaml. The shopping-cart service is built on develop (IQVO/shopping-cart at 95bc5bc, checked 2026-10-27) and not deployed (no warehouse-infra entry). Every Err... name, REST route and CloudEvents type of this context named on this page exists in the service; where the built service differs from the model's design, the page says so (As built) or the context's Service and operations section lists it.

The terms this context speaks, each mapped to the identifier a future implementation must use. The first table is the context's own ul list in model.yaml. The second holds the model elements of its aggregate. The third holds neighbour terms this context uses but does not own; their definitions come from the owning context's ul list. The storefront-wide glossary is Ubiquitous Language.

Own terms​

Derived from: model.yaml → contexts[shopping-cart].ul.

TermDefinitionCode identifierNot to be confused with
CartOne shopper's held intent: lines, destination, delivery quote and selections.cart.CartThe network's customer order (customer-ordering): a cart is intent, not a transaction.
Delivery Quote (cart)The offers delivery-promise returned for the cart's lines and destination, held by the cart; a quote holds no capacity.cart.DeliveryQuoteThe network's DeliveryOffer (one offer).
Delivery SelectionThe offer the shopper picked per shipment group.cart.SelectionThe network's Promise: selecting an offer holds nothing; capacity is held only when checkout places the order.
EstimateThe labelled, non-binding total in the cart: effective prices plus selected tier charges plus tax band.estimate.EstimateThe binding PriceQuote of a checkout session.
Checkout ReadinessEvery group selected and no offer expired.cart.CheckoutReadinessA checkout session's own state: readiness is a fact about the cart that checkout enforces at session open (ErrCartNotCheckoutReady).

Model elements of this context​

Derived from: model.yaml → contexts[shopping-cart].aggregates[Cart] (value_objects, states, commands), read_models, policies.

TermDefinitionCode identifierNot to be confused with
Cart LineOne item with a quantity; the only line shape the cart stores.cart.CartLine{catalogItemId, quantity}A checkout session's numbered line (checkoutsession.Line): the session numbers lines 1..n when it opens (gap S1).
Quoted OfferOne offer held by the quote: offerId, groupNo, tier, delivery window and expiry.cart.QuotedOfferThe network's DeliveryOffer aggregate, which owns the witness path behind the window.
Shipment Group (cart)One group of the quote: the lines that ship together, its offers, and the tiers that were unavailable.cart.QuoteGroupThe network's shipment group (ShipmentGroup in delivery-promise's Promise): the cart mirrors the grouping the quote returned.
Destination Postal PrefixThe prefix the destination resolves to; the input both the quote and the tax band key on.cart.destinationPostalPrefixA ship-to address: PII that lives only in the network's customer-ordering.
Cart statesOPEN, CHECKED_OUT, ABANDONED, MERGED.cart.StateThe checkout session's states: a CHECKED_OUT cart is the effect of a completed session, not a session state.
Purchasability ViewThe local, event-fed verdict of whether an item may sit in a cart.PurchasabilityViewproduct-discovery's Purchasable (see below): four inputs, not two.
Estimate ViewThe local, event-fed prices, tier charges and tax bands the estimate is computed from.EstimateViewA stored total: the estimate is derived at read time and labelled.
Abandon InactivePolicy: an OPEN cart with no change for 30 days is ABANDONED.AbandonInactiveDeletion: the model says abandoned carts are purged, a physical cleanup the model names no command for.

Neighbour terms this context uses​

TermDefinition (owner's)Code identifier (owner)Not to be confused with
DeliveryOfferA short-lived quote for (item, quantity, destination prefix, tier) with a delivery window, the witness path that proves it, and an expiry.offer.DeliveryOffer (delivery-promise, network)The cart's Delivery Quote: the set of such offers returned for the whole cart, held by the cart.
Service TierSAME_DAY, NEXT_DAY, TWO_DAY or STANDARD.promise.Tier (delivery-promise, network)The delivery charge (pricing's TierCharge): the tier is the promise's vocabulary; QuotedOffer re-declares the enum locally.
Effective PriceThe lowest active sale price, else the list price.itemprice.ItemPrice.EffectivePrice (pricing)The Estimate: effective prices are one of the estimate's three inputs.
Price QuoteA binding, immutable, expiring price snapshot for one checkout.quote.PriceQuote (pricing)The cart's Estimate (non-binding); the cart's own UL marks this as the term not to confuse.
Checkout SessionThe purchase transaction from review to placed order.checkoutsession.CheckoutSession (checkout)The cart: the session reads the cart at open and closes it on completion; the cart never knows a session exists until CheckoutCompleted.
PurchasableItem ACTIVE in the item master, content PUBLISHED, price ACTIVE, and at least one LIVE listing with quantity greater than 0.productview.Purchasable (product-discovery)The cart's PurchasabilityView, which is fed by catalogue and price events only (see the canvas open questions).
Catalog ItemThe network's own entry for a product, independent of who ships it.catalog.Item (offer-availability, network)A cart line: the line references catalogItemId and adds the shopper's quantity.

Fleet translation​

None. The cart never touches the warehouse-systems fleet and never produces or consumes a warehouse.* topic (meta.hard_boundary).