How to integrate the paypal manegerial class

Here you can see how we calling the paypal-manegerial class and pass the parameter to the class and do the payment