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

CartDataItem

import type { CartDataItem } from "https://googleapis.deno.dev/v1/dfareporting:v4.ts";

Contains data of the items purchased.

interface CartDataItem {
itemId?: string;
quantity?: number;
unitPrice?: number;
}

§Properties

§
itemId?: string
[src]

The shopping id of the item. Must be equal to the Merchant Center product identifier. This is a required field.

§
quantity?: number
[src]

Number of items sold. This is a required field.

§
unitPrice?: number
[src]

Unit price excluding tax, shipping, and any transaction level discounts. Interpreted in CM360 Floodlight config parent advertiser's currency code. This is a required field.