models/oxpspaymorrowoxbasket.php
public function getPaymorrowTotalAmount()
    {
        /** @var OxpsPaymorrowOxBasket|oxBasket $this */

        $dTotalPrice = (double) $this->getPrice()->getPrice();

        // Add surcharge price in case it is not yet included in basket
        $oSurchargePrice = $this->_getPaymentMethodSurcharge();

        if ( !empty( $oSurchargePrice ) and is_object( $oSurchargePrice ) ) {
            $dTotalPrice += (double) $oSurchargePrice->getPrice();
        }

        return $dTotalPrice;
    }
public function getPaymorrowTotalAmount()
    {
        /** @var OxpsPaymorrowOxBasket|oxBasket $this */

        $dTotalPrice = (double) $this->getPrice()->getPrice();

        // Add surcharge price in case it is not yet included in basket
        $oSurchargePrice = $this->_getPaymentMethodSurcharge();

        if ( !empty( $oSurchargePrice ) and is_object( $oSurchargePrice ) ) {
            $dTotalPrice += (double) $oSurchargePrice->getPrice();
        }

        return $dTotalPrice;
    }
public function getPaymorrowTotalAmount ( ) { /** @var OxpsPaymorrowOxBasket|oxBasket $this */ $ dTotalPrice = ( double ) $ this -> getPrice ( ) -> getPrice ( ) ; // Add surcharge price in case it is not yet included in basket $ oSurchargePrice = $ this -> _getPaymentMethodSurcharge ( ) ; if ( ! empty ( $ oSurchargePrice ) and is_object ( $ oSurchargePrice ) ) { $ dTotalPrice += ( double ) $ oSurchargePrice -> getPrice ( ) ; } return $ dTotalPrice ; }
Get basket total amount.
Also adds surcharge amount if it is needed.

@return float
Get basket total amount . Also adds surcharge amount if it is needed .