Interface: PriceableCart
Defined in: server/checkout/deps.ts:16
A cart snapshot handed to the consumer's priceCart adapter — the cart row
plus its live items. CartService.getPricedCart/finalize build this from
repo reads and pass it through; the adapter never touches the DB.
Properties
cart
cart: {
createdAt: Date;
createdBy: string | null;
currencyCode: string;
customerId: string | null;
deletedAt: Date | null;
deletedBy: string | null;
expiresAt: Date | null;
externalRef: string | null;
guestEmail: string | null;
id: string;
lastActivityAt: Date;
metadata: JsonValue;
organizationId: string;
status: CartStatus;
updatedAt: Date;
updatedBy: string | null;
version: number;
};Defined in: server/checkout/deps.ts:17
createdAt
createdAt: Date;createdBy
createdBy: string | null;currencyCode
currencyCode: string;customerId
customerId: string | null;deletedAt
deletedAt: Date | null;deletedBy
deletedBy: string | null;expiresAt
expiresAt: Date | null;externalRef
externalRef: string | null;guestEmail
guestEmail: string | null;id
id: string;lastActivityAt
lastActivityAt: Date;metadata
metadata: JsonValue;organizationId
organizationId: string;status
status: CartStatus;updatedAt
updatedAt: Date;updatedBy
updatedBy: string | null;version
version: number;items
items: {
cartId: string;
createdAt: Date;
createdBy: string | null;
deletedAt: Date | null;
deletedBy: string | null;
id: string;
metadata: JsonValue;
organizationId: string;
quantity: number;
referenceId: string | null;
referenceType: string;
updatedAt: Date;
updatedBy: string | null;
}[];Defined in: server/checkout/deps.ts:18
cartId
cartId: string;createdAt
createdAt: Date;createdBy
createdBy: string | null;deletedAt
deletedAt: Date | null;deletedBy
deletedBy: string | null;id
id: string;metadata
metadata: JsonValue;organizationId
organizationId: string;quantity
quantity: number;referenceId
referenceId: string | null;referenceType
referenceType: string;updatedAt
updatedAt: Date;updatedBy
updatedBy: string | null;