Wearable OnlyReadonly Wearable OnlyproductThe unique identifier for the product that was purchased. It's the same ID you use to identify the product in the store or when querying for product details.
Readonly Wearable OnlypurchaseIndicates the current status of the transaction.
Readonly Wearable OnlypurchaseRepresents the exact moment the purchase was made, measured as the number of milliseconds since January 1, 1970, UTC (Unix epoch time). This timestamp is crucial for tracking purchase dates, managing subscriptions, and for reconciliation purposes.
Readonly Wearable OnlytokenA unique identifier generated by the payment system for the order. It can be useful for linking purchases to specific order records in your backend or for support purposes.
Returns the name of this object's type.
Returns true if the object matches or derives from the passed in type.
Returns true if this object is the same as other. Useful for checking if two references point to the same thing.
Represents a completed or pending transaction for a product. When a user buys something, or when their purchase history is retrieved,
Purchaseobjects are received. These objects contain important details like the unique ID of the purchase, the ID of the product that was bought, when the purchase occurred, and its current state (e.g., purchased, pending, or invalidated).