Package-level declarations
Types
Creates the customer's cart with its first product, as 9.x did, or adds to it.
The 9.x cart's decisions: a customer's cart, at most MAX_ITEMS products.
The 9.x CartSaga: an order created from a cart removes its products from the customer's cart (the order's owner). Its subscription, CartSaga.onOrderCreated, is where the 9.x compensation service's unresolved executions of the 9.x CartSaga.onOrderCreated are parked by the import (.4).
The 9.x example (example-service, on the v10-9x-baseline branch) ported to V10 for the blue-green rehearsal only: its order and cart, their commands and events by the names migration-map.json gives them.
The 9.x order's decisions. A payment beyond what remains, or of an order no longer created, is rejected, where 9.x recorded OrderOverPaid and OrderPayDuplicated for its payment service to refund: this port retires those two events, so the 9.x history that holds them still loads.
Revision 2: the 9.x orderId field is the stream's ref now; upgradeOrderCreatedFrom1 reads the 9.x shape.
The 9.x order's state, field for field; its id is the ref's in V10.
The order's region and teams, which the 9.x default_resource_tags_applied set (migration-map.json maps it).
Functions
The 9.x order_created (revision 1 in V10) named the order in orderId, which the ref is now.