The purchase transaction.

interface Transaction {
    id: string;
    revenue: number;
}

Properties

Properties

id: string

The transaction's id

revenue: number

The total revenue from the transaction, including taxes, shipping, and discounts.