* @copyright PayPal * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * */ use PaypalPPBTlib\Extensions\ProcessLogger\Classes\ProcessLoggerObjectModel; use PaypalAddons\services\ServicePaypalLog; /** * Class PaypalLog. */ class PaypalLog extends ProcessLoggerObjectModel { /* @var object object service*/ protected $serviceLog; public function __construct($id = null, $id_lang = null, $id_shop = null) { parent::__construct($id, $id_lang, $id_shop); $this->setServiceLog(new ServicePaypalLog()); } public function setServiceLog($service) { $this->serviceLog = $service; } public function getLinkToTransaction() { return $this->serviceLog->getLinkToTransaction($this); } }