interface AddToCartEvent {
    event: "ADD_TO_CART" | "CUTTINGS_DATA_CHANGED" | "SET_WALL_SIZE";
    articleNumber: string;
    cuttingsData: CuttingsData;
    wallWidth: number;
    wallHeight: number;
    price: PriceModel;
    url: string;
}

Hierarchy (view full)

Properties

event: "ADD_TO_CART" | "CUTTINGS_DATA_CHANGED" | "SET_WALL_SIZE"

The name of the event, this is most likely only used internally

articleNumber: string

The article number of the current wallpaper

cuttingsData: CuttingsData

Cuttings data such as cutting positions, zoom and additional properties

wallWidth: number

The selected wall width

wallHeight: number

The selected wall height

price: PriceModel

The price of the current selection

url: string

The url to the actual website pre-defined with the cutout parameters