I have to add some discount programmatically on the time of bundle product add to cart.
So far I have developed the catalog product plugin
afterGetFinalPrice this plugin is worked on the basis of their child product prices so I have used another bundle price plugin
afterGetFinalPrice but it won't return desired output.
As per the Magento default flow, Magento is applying a discount on its child product but I like to apply the discount on bundle product total price.