/** * {@inheritdoc} */ public function getPaymentInformation($cartId) { $pluginInfo = $this->pluginList->getNext($this->subjectType, 'getPaymentInformation'); if (!$pluginInfo) { return parent::getPaymentInformation($cartId); } else { return $this->___callPlugins('getPaymentInformation', func_get_args(), $pluginInfo); } }
/** * {@inheritDoc} */ public function getPaymentInformation($cartId) { $quoteIdMask = $this->quoteIdMaskFactory->create()->load($cartId, 'masked_id'); return $this->paymentInformationManagement->getPaymentInformation($quoteIdMask->getQuoteId()); }