public function hasRecurrentPayment()
{
foreach ($this->getBasketElements() as $basketElement) {
$product = $basketElement->getProduct();
if ($product instanceof ProductInterface) {
if ($product->isRecurrentPayment() === true) {
return true;
}
}
}
return false;
}