Use the cleanUp method to reset the state of PrimerHeadlessUniversalCheckout.When clientSessionCachingEnabled is set to true, calling cleanUp will also clear the cache.
SWIFT
func cleanUp()
Assistant
Responses are generated using AI and may contain mistakes.