@bates-solutions/squareup API Reference - v3.2.0
    Preparing search index...

    Interface Order

    Order type from Square API

    interface Order {
        createdAt?: string;
        customerId?: string;
        id?: string;
        lineItems?: OrderLineItem[];
        locationId?: string;
        pricingOptions?: OrderPricingOptions;
        referenceId?: string;
        state?: string;
        taxes?: OrderTax[];
        tenders?: OrderTender[];
        totalMoney?: { amount?: bigint; currency?: string };
        totalTaxMoney?: OrderMoney;
        updatedAt?: string;
        version?: number;
    }
    Index
    createdAt?: string
    customerId?: string
    id?: string
    lineItems?: OrderLineItem[]
    locationId?: string
    pricingOptions?: OrderPricingOptions
    referenceId?: string
    state?: string
    taxes?: OrderTax[]

    The order's taxes, each with the appliedMoney Square computed.

    tenders?: OrderTender[]

    Payments applied to the order. Empty or missing until it's paid.

    totalMoney?: { amount?: bigint; currency?: string }
    totalTaxMoney?: OrderMoney
    updatedAt?: string
    version?: number