Components/Sepa/Shopware/SepaPaymentResponseParser.php
private function getSepaPaymentData(array $element)
    {
        $paymentInstance = array_shift($element['paymentInstances']);

        $sepaPaymentData = new SepaPaymentData();
        $sepaPaymentData->setAccountOwner($paymentInstance['accountHolder']);
        $sepaPaymentData->setIban($paymentInstance['iban']);
        $sepaPaymentData->setBic($paymentInstance['bic']);

        return $sepaPaymentData;
    }
private function getSepaPaymentData(array $element)
    {
        $paymentInstance = array_shift($element['paymentInstances']);

        $sepaPaymentData = new SepaPaymentData();
        $sepaPaymentData->setAccountOwner($paymentInstance['accountHolder']);
        $sepaPaymentData->setIban($paymentInstance['iban']);
        $sepaPaymentData->setBic($paymentInstance['bic']);

        return $sepaPaymentData;
    }
@param array $element

@return SepaPaymentData