@avvyr/storefront-sdk - v0.19.0
    Preparing search index...

    Interface CartSetView<T>

    One set as the cart shows it.

    interface CartSetView<T extends SetLineLike = SetLineLike> {
        groups: CartSetGroup<T>[];
        id: string;
        layout?: SetLayout | null;
        lines: T[];
        name: string | null;
        plain: T[];
        quantity: number;
        sourceSku?: string | null;
        sourceType?: LineSetSourceType | null;
        totalExVat: number;
        totalIncVat: number;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index
    groups: CartSetGroup<T>[]

    The option groups in the set (the sofa parts in their fabric), in cart order.

    id: string
    layout?: SetLayout | null

    The plan the set was built in (2D module builder), when it has one.

    lines: T[]

    Every line of the set, in cart order.

    name: string | null

    What the customer sees: "Din Tuva-grupp".

    plain: T[]

    The set's lines outside option groups (the table, the chairs).

    quantity: number

    Goods units (charge lines not counted).

    sourceSku?: string | null

    The collection (or product) the set was built on.

    sourceType?: LineSetSourceType | null
    totalExVat: number
    totalIncVat: number