Sonata\Component\Payment\PaymentInterface::isBasketValid PHP Method

isBasketValid() public method

return true is the basket is valid for the current bank gateway.
public isBasketValid ( Sonata\Component\Basket\BasketInterface $basket ) : boolean
$basket Sonata\Component\Basket\BasketInterface
return boolean
    public function isBasketValid(BasketInterface $basket);