src/OpenCart/Invoice/Source.php
public function getOrderTotalLines()
    {
        if (!$this->orderTotalLines) {
            $orderModel = $this->getRegistry()->getOrderModel();
            $this->orderTotalLines = $orderModel->getOrderTotals($this->source['order_id']);
        }
        return $this->orderTotalLines;
    }
public function getOrderTotalLines()
    {
        if (!$this->orderTotalLines) {
            $orderModel = $this->getRegistry()->getOrderModel();
            $this->orderTotalLines = $orderModel->getOrderTotals($this->source['order_id']);
        }
        return $this->orderTotalLines;
    }
public function getOrderTotalLines ( ) { if ( ! $ this -> orderTotalLines ) { $ orderModel = $ this -> getRegistry ( ) -> getOrderModel ( ) ; $ this -> orderTotalLines = $ orderModel -> getOrderTotals ( $ this -> source [ 'order_id' ] ) ; } return $ this -> orderTotalLines ; }
Returns a list of OpenCart order total records. These are shipment,
other fee, tax, and discount lines.

@return array[]

@throws \Exception
Returns a list of OpenCart order total records . These are shipment other fee tax and discount lines .