In SwiftUI, I use a separate class with functions for in-app purchases. Everything works great. But there is one problem. I want to save shopping results in entity of Core D