Returns PayPal service

@return \OxidEsales\PayPalModule\Core\PayPalService
505809
public function getPayPalCheckoutService()
    {
        if (is_null($this->checkoutService)) {
            $this->setPayPalCheckoutService(oxNew(\OxidEsales\PayPalModule\Core\PayPalService::class));
        }

        return $this->checkoutService;
    }
652378
public function getOrderManager()
    {
        if (is_null($this->orderManager)) {
            $this->orderManager = oxNew(\OxidEsales\PayPalModule\Model\OrderManager::class);
        }

        return $this->orderManager;
    }
1326388
protected function registerService()
	{
	    $this->app->singleton($this->getProviderKey(), function($app)
	    {
	    	return new Service($this->getProviderKey(), new Processor($this->getAggregateService()), $this->getAggregateService());
	    });
	}
118391
public function getSearchService()
    {
        if ($this->searchService !== null) {
            return $this->searchService;
        }

        $this->searchService = new SearchService(
            $this,
            $this->searchHandler,
            $this->getDomainMapper(),
            $this->getPermissionCriterionResolver(),
            $this->backgroundIndexer,
            $this->serviceSettings['search']
        );

        return $this->searchService;
    }
742500
public function getRefundAction()
    {
        $order = $this->getOrder();
        $data = oxNew(\OxidEsales\PayPalModule\Model\Action\Data\OrderRefundActionData::class, $this->getRequest(), $order);
        $handler = oxNew(\OxidEsales\PayPalModule\Model\Action\Handler\OrderRefundActionHandler::class, $data);

        $action = oxNew(\OxidEsales\PayPalModule\Model\Action\OrderRefundAction::class, $handler, $order->getPayPalOrder());

        return $action;
    }
1094284
public function getService()
    {
        if (!$this->service) {
            $this->setService($this->serviceLocator->get('playgroundcore_shortenurl_service'));
        }

        return $this->service;
    }
1103790
protected function getClassService()
    {
        if (is_null($this->service)) {
            $this->service = DeliveryTemplateService::singleton();
        }
        return $this->service;
    }
549592
public function getTrashService()
    {
        if ($this->trashService !== null) {
            return $this->trashService;
        }

        $this->trashService = new TrashService(
            $this,
            $this->persistenceHandler,
            $this->getNameSchemaService(),
            $this->getPermissionCriterionResolver(),
            $this->serviceSettings['trash']
        );

        return $this->trashService;
    }
432400
public function getPayPalSandboxIpnHost()
    {
        if (empty($this->payPalIpnSandboxHost)) {
            $this->payPalIpnSandboxHost = self::OEPAYPAL_IPN_SANDBOX_HOST;
        }

        return $this->payPalIpnSandboxHost;
    }
995597
public function getPayPalResponse()
    {
        $service = $this->getPayPalService();
        $request = $this->getPayPalRequest();

        return $service->doVoid($request);
    }
403330
public function getPayPalOxOrder()
    {
        if (is_null($this->payPalOxOrder)) {
            $order = oxNew(\OxidEsales\Eshop\Application\Model\Order::class);
            $order->loadPayPalOrder();
            $this->setPayPalOxOrder($order);
        }

        return $this->payPalOxOrder;
    }
888129
public function getPayPalHost()
    {
        $host = \OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('sPayPalHost');
        if ($host) {
            $this->setPayPalHost($host);
        }

        return $this->payPalHost;
    }
626184
public function getObjectService()
    {
        if (!$this->objectService) {
            $this->objectService = $this->getServiceLocator()->get('playgroundflow_object_service');
        }
        return $this->objectService;
    }
1054147
public function getServiceBroker()
    {
        if(!$this->serviceBroker){
            $locator = $this->getLocator();
            $this->setServiceBroker($locator->get('ServiceBroker'));
        }
        
        return $this->serviceBroker;
    }
949488
protected function getPayPalConfig()
    {
        if (is_null($this->payPalConfig)) {
            $this->payPalConfig = oxNew(\OxidEsales\PayPalModule\Core\Config::class);
        }

        return $this->payPalConfig;
    }
567549
public function getPayPalResponse()
    {
        $service = $this->getPayPalService();
        $request = $this->getPayPalRequest();

        return $service->doCapture($request);
    }
372
protected function fetchService()
	{
        $service = $this->getRouteParam('service');
        $service = $this->parseCanonicalName($service, true);
        
        if (preg_match($this->servicePattern, $service)) {
            return $service;
        } else {
            return false;
        }
    }