<?php

namespace KupShop\GTMOldBundle\Ecommerce;

use KupShop\KupShopBundle\Views\View;

abstract class AbstractEcommerce
{
    /** @var View */
    protected $view;

    protected $pageData;

    /**
     * Specific PageData.
     */
    abstract public function getData(&$dataContainer);

    public function setView(&$view)
    {
        $this->view = $view;
    }

    public function setPageData($pageData)
    {
        $this->pageData = $pageData;
    }

    protected function addAdditionalFields(&$container, $object)
    {
    }
}
