queryOrders
This function should be called in the onResume lifecycle of the application/view. Amazon and Google Play use different terminology for similar use-cases, so in order to prevent confusion, this library will always define an Order as a purchase in-progress, and/or incomplete. A receipt will always be a 'completed order' (expired, canceled, or consumed). Handle purchases still remaining from recent history. Observe the liveData object that will emit Orderz objects that require your attention.
These orders/purchases could be purchases made on another device, or when the app is resuming, etc.
Return
QueryResult - observe either the LiveData or StateFlow object for any use-cases that are not specific to the validation process.
The provided listeners will enable you to resume the processing (validation) of an Order.