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

    Interface SetLineLike

    The fields of a cart or order line the set helpers read.

    interface SetLineLike {
        _id?: string;
        id?: string;
        lineAmountExVat?: number;
        lineAmountIncVat?: number;
        lineType?: string | null;
        optionGroup?:
            | {
                appliedSelections?: OptionSelectionSnapshot[]
                | null;
                parentProductId?: string | null;
                profileCode?: string | null;
                selections?: OptionSelectionSnapshot[] | null;
            }
            | null;
        optionGroupId?: string
        | null;
        quantity: number;
        set?: LineSet | null;
        sku?: string;
    }
    Index
    _id?: string
    id?: string
    lineAmountExVat?: number
    lineAmountIncVat?: number
    lineType?: string | null
    optionGroup?:
        | {
            appliedSelections?: OptionSelectionSnapshot[]
            | null;
            parentProductId?: string | null;
            profileCode?: string | null;
            selections?: OptionSelectionSnapshot[] | null;
        }
        | null

    Type Declaration

    • {
          appliedSelections?: OptionSelectionSnapshot[] | null;
          parentProductId?: string | null;
          profileCode?: string | null;
          selections?: OptionSelectionSnapshot[] | null;
      }
      • OptionalappliedSelections?: OptionSelectionSnapshot[] | null

        This line's own choices, present only when some group choice does not apply to it.

      • OptionalparentProductId?: string | null
      • OptionalprofileCode?: string | null
      • Optionalselections?: OptionSelectionSnapshot[] | null

        The GROUP's choices, the same on every goods line of it.

    • null
    optionGroupId?: string | null
    quantity: number
    set?: LineSet | null
    sku?: string