Components/Sepa/Shopware/SepaPaymentResponseParser.php
private function hasSepaPaymentInstance(array $element)
    {
        if (empty($element['paymentInstances'])) {
            return false;
        }

        $paymentInstance = array_shift($element['paymentInstances']);

        if (empty($paymentInstance['iban'])) {
            return false;
        }

        if (empty($paymentInstance['bic'])) {
            return false;
        }

        return true;
    }
private function hasSepaPaymentInstance(array $element)
    {
        if (empty($element['paymentInstances'])) {
            return false;
        }

        $paymentInstance = array_shift($element['paymentInstances']);

        if (empty($paymentInstance['iban'])) {
            return false;
        }

        if (empty($paymentInstance['bic'])) {
            return false;
        }

        return true;
    }
@param array $element

@return bool