Represents an item in the shopping cart.

interface ShoppingCartItemObject {
    Attributes: {
        [key: string]: string;
    };
    CustomerId: number;
    DeliveryType: string[];
    ExtraData: {
        [key: string]: string;
    };
    Group: GroupObject;
    Id: number;
    LinkedJob: LinkedJobObject;
    ProductId: number;
    Quantity: number;
    QuoteId: number;
    SetExtraData: ((key: string, value: string) => void);
    Type: MsShoppingCartItemType;
}

Properties

Attributes: {
    [key: string]: string;
}

Additional attributes associated with the shopping cart item.

CustomerId: number

The ID of the customer who owns the shopping cart item.

DeliveryType: string[]

An array of delivery types associated with the shopping cart item.

ExtraData: {
    [key: string]: string;
}

Extra data associated with the shopping cart item.

The group object associated with the shopping cart item.

Id: number

The ID of the shopping cart item.

LinkedJob: LinkedJobObject

The linked job object associated with the shopping cart item.

ProductId: number

The ID of the product associated with the shopping cart item.

Quantity: number

The quantity of the product in the shopping cart item.

QuoteId: number

The quote ID associated with the shopping cart item.

SetExtraData: ((key: string, value: string) => void)

Sets additional data for the shopping cart item.

Type declaration

    • (key, value): void
    • Parameters

      • key: string

        The key of the data to set.

      • value: string

        The value of the data to set.

      Returns void

The type of shopping cart item.