code: 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;
      }
docs: {@inheritdoc}