src/ShopBundle/objects/TShopBasket/TShopBasketCore.class.php
protected function HasValidPaymentMethod()
    {
        $bHasValidPaymentMethod = false;
        $oPayment = $this->GetActivePaymentMethod();
        if (!is_null($oPayment) && $oPayment->IsAvailable()) {
            $bHasValidPaymentMethod = true;
        }

        return $bHasValidPaymentMethod;
    }
protected function HasValidPaymentMethod()
    {
        $bHasValidPaymentMethod = false;
        $oPayment = $this->GetActivePaymentMethod();
        if (!is_null($oPayment) && $oPayment->IsAvailable()) {
            $bHasValidPaymentMethod = true;
        }

        return $bHasValidPaymentMethod;
    }
protected function HasValidPaymentMethod ( ) { $ bHasValidPaymentMethod = false ; $ oPayment = $ this -> GetActivePaymentMethod ( ) ; if ( ! is_null ( $ oPayment ) && $ oPayment -> IsAvailable ( ) ) { $ bHasValidPaymentMethod = true ; } return $ bHasValidPaymentMethod ; }
return true if the basket as a valid payment method selected.

@return bool
return true if the basket as a valid payment method selected .