How to add custom set and get Methods for the product.php from our custom module ?
For example:-
public function getChildernData();
public function setChildernData();
I have tried in magento 2.2.1 version in the vendor files as mentioned below
/vendor/magento/module-catalog/Api/Data/ProductInterface.php
/vendor/magento/module-catalog/Model/Product.php