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

    Interface OptionLineSnapshot

    What a line carries about its configuration: optionGroup and, for matrix goods, configuration.

    interface OptionLineSnapshot {
        configuration?:
            | {
                configuredSku?: string
                | null;
                dimensions?: Record<string, string> | null;
                priceClassCode?: string | null;
                priceGroupCode?: string | null;
                selections?: OptionSelectionSnapshot[] | null;
            }
            | null;
        optionGroup?: | {
            appliedSelections?: OptionSelectionSnapshot[]
            | null;
            parentProductId?: string | null;
            profileCode?: string | null;
            selections?: OptionSelectionSnapshot[] | null;
        }
        | null;
        optionGroupId?: string
        | null;
        set?: LineSet | null;
    }
    Index
    configuration?:
        | {
            configuredSku?: string
            | null;
            dimensions?: Record<string, string> | null;
            priceClassCode?: string | null;
            priceGroupCode?: string | null;
            selections?: OptionSelectionSnapshot[] | null;
        }
        | 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
    set?: LineSet | null

    The set (serie-grupp) the line belongs to, see groupCartLinesBySet.