public function parse(array $element)
    {
        $payments = $this->parentResponseParser->parse($element);

        foreach ($payments as $payment) {
            if (!($payment instanceof Payment)) {
                continue;
            }
            $this->addAmazonPay($payment, $element);
        }

        return $payments;
    }
public function parse(array $element)
    {
        $payments = $this->parentResponseParser->parse($element);

        foreach ($payments as $payment) {
            if (!($payment instanceof Payment)) {
                continue;
            }
            $this->addAmazonPay($payment, $element);
        }

        return $payments;
    }
{@inheritdoc}