/**
  * @return array
  * @throws \Magento\Framework\Exception\LocalizedException
  */
 public function getAdyenOneclickPaymentMethods()
 {
     $billingAgreements = [];
     if ($this->_customerSession->isLoggedIn()) {
         $customerId = $this->_customerSession->getCustomerId();
         $storeId = $this->_storeManager->getStore()->getId();
         $grandTotal = $this->_getQuote()->getGrandTotal();
         $recurringType = $this->_getRecurringContractType();
         $billingAgreements = $this->_adyenHelper->getOneClickPaymentMethods($customerId, $storeId, $grandTotal, $recurringType);
     }
     return $billingAgreements;
 }