Hi. I'm developing a module where I want to add a new entity called "course" and I want to create an "extension attribute" to allows to the customers to select a course on the moment they are adding products to his shopiing cart.
In my module, I have created an extensions_attributes.xml
After I cleared the var directory and regenerate the depencendy injections class I think I would see the methods getCourse and setCourse on a file called /var/generation/Magento/Catalog/CustomOptionInterface.php but this file doesn't exists
The most similar file is ProductOptionsExtensionInterface.php but I didn't find anything related with my new methods
Maybe I misunderstood some concepts of the Magento Documentation. These are the links I'm following