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

Price

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

The price represented as a number and currency.

interface Price {
amountMicros?: bigint;
currencyCode?: string;
}

§Properties

§
amountMicros?: bigint
[src]

The price represented as a number in micros (1 million micros is an equivalent to one's currency standard unit, for example, 1 USD = 1000000 micros).

§
currencyCode?: string
[src]

The currency of the price using three-letter acronyms according to ISO 4217.