add documentation for GetPreviousPurchases