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

ProductData

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

Details of the products in an e-commerce transaction.

interface ProductData {
itemRevenue?: number;
productName?: string;
productQuantity?: bigint;
productSku?: string;
}

§Properties

§
itemRevenue?: number
[src]

The total revenue from purchased product items.

§
productName?: string
[src]

The product name, supplied by the e-commerce tracking application, for the purchased items.

§
productQuantity?: bigint
[src]

Total number of this product units in the transaction.

§
productSku?: string
[src]

Unique code that represents the product.