Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CartData

import type { CartData } from "https://googleapis.deno.dev/v1/datamanager:v1.ts";

The cart data associated with the event.

interface CartData {
items?: Item[];
merchantFeedLabel?: string;
merchantFeedLanguageCode?: string;
merchantId?: string;
transactionDiscount?: number;
}

§Properties

§
items?: Item[]
[src]

Optional. The list of items associated with the event.

§
merchantFeedLabel?: string
[src]

Optional. The Merchant Center feed label associated with the feed of the items.

§
merchantFeedLanguageCode?: string
[src]

Optional. The language code in ISO 639-1 associated with the Merchant Center feed of the items.where your items are uploaded.

§
merchantId?: string
[src]

Optional. The Merchant Center ID associated with the items.

§
transactionDiscount?: number
[src]

Optional. The sum of all discounts associated with the transaction.