_dataContainer = $dataContainer; $this->_appState = $appState; } /** * Retrieve renderer for area from config * * @param string $section * @param string $group * @param string $code * @return array */ public function getTotalsRenderer($section, $group, $code) { $path = implode('/', [$section, $group, $code, 'renderers', $this->_appState->getAreaCode()]); return $this->_dataContainer->get($path); } /** * Retrieve totals for group * e.g. quote, etc * * @param string $section * @param string $group * @return array */ public function getGroupTotals($section, $group) { $path = implode('/', [$section, $group]); return $this->_dataContainer->get($path); } /** * Get available product types * * @return array */ public function getAvailableProductTypes() { return $this->_dataContainer->get('order/available_product_types'); } }