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

ProductWeight

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

The weight of the product.

interface ProductWeight {
unit?: string;
value?: number;
}

§Properties

§
unit?: string
[src]

Required. The weight unit. Acceptable values are: * "g" * "kg" * "oz" * "lb"

§
value?: number
[src]

Required. The weight represented as a number. The weight can have a maximum precision of four decimal places.