Herald for React Native
    Preparing search index...

    A purchase, in Amplitude's revenue fields. Your factory builds one from your event and sends it with RevenueAmplitudeEventTracker. Throws for a bad number.

    Implements

    Index
    currency?: string
    insertId?: string
    name: string
    parameters: EventParameters
    price: number
    productId?: string
    quantity: number
    receipt?: string
    receiptSig?: string
    revenue?: number
    revenueType?: string
    • This purchase as Amplitude's Revenue, without insertId, which has no field there.

      Returns Revenue

    • Returns a string representation of an object.

      Returns string