src/Transaction/Transaction.php
public function getTotal()
    {
        if ($this->updateRequested) {
            $this->total = $this->getTotalWithExclusions([]);
            $this->updateRequested = false;
            $this->saveState();
        }

        return $this->total;
    }
public function getTotal()
    {
        if ($this->updateRequested) {
            $this->total = $this->getTotalWithExclusions([]);
            $this->updateRequested = false;
            $this->saveState();
        }

        return $this->total;
    }
public function getTotal ( ) { if ( $ this -> updateRequested ) { $ this -> total = $ this -> getTotalWithExclusions ( [ ] ) ; $ this -> updateRequested = false ; $ this -> saveState ( ) ; } return $ this -> total ; }
Returns the aggregate total of the TransactionModifers held by the Transaction object
@return \SebastianBergmann\Money\Money
Returns the aggregate total of the TransactionModifers held by the Transaction object