source/Application/Controller/PaymentController.php
protected function _setValues(& $aPaymentList, $oBasket = null)
    {
        if (is_array($aPaymentList)) {
            foreach ($aPaymentList as $oPayment) {
                $oPayment->calculate($oBasket);
                $oPayment->aDynValues = $oPayment->getDynValues();
                if ($oPayment->oxpayments__oxchecked->value) {
                    $this->_sCheckedId = $oPayment->getId();
                }
            }
        }
    }
protected function _setValues(& $aPaymentList, $oBasket = null)
    {
        if (is_array($aPaymentList)) {
            foreach ($aPaymentList as $oPayment) {
                $oPayment->calculate($oBasket);
                $oPayment->aDynValues = $oPayment->getDynValues();
                if ($oPayment->oxpayments__oxchecked->value) {
                    $this->_sCheckedId = $oPayment->getId();
                }
            }
        }
    }
protected function _setValues ( & $ aPaymentList , $ oBasket = null ) { if ( is_array ( $ aPaymentList ) ) { foreach ( $ aPaymentList as $ oPayment ) { $ oPayment -> calculate ( $ oBasket ) ; $ oPayment -> aDynValues = $ oPayment -> getDynValues ( ) ; if ( $ oPayment -> oxpayments__oxchecked -> value ) { $ this -> _sCheckedId = $ oPayment -> getId ( ) ; } } } }
Calculate payment cost for each payment. Sould be removed later

@param array                                      $aPaymentList payments array
@param \OxidEsales\Eshop\Application\Model\Basket $oBasket      basket object
Calculate payment cost for each payment . Sould be removed later