* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0 */ namespace PrestaShop\Module\PrestashopCheckout\Builder\ModuleLink; use PrestaShop\Module\PrestashopCheckout\Adapter\LinkAdapter; class ModuleLinkBuilder { /** * Generate the callback url used by the paypal button * * @return string callback link */ public function getPaypalOnboardingCallBackUrl() { return (new LinkAdapter())->getAdminLink('AdminPaypalOnboardingPrestashopCheckout'); } }