code: public function generate(Payment $payment)
      {
          $paymentParams = $this->parentRequestGenerator->generate($payment);
          $data = $payment->getPaymentData();
  
          if (!($data instanceof PayPalUnifiedPaymentData)) {
              return $paymentParams;
          }
  
          $paymentParams['properties'][] = [
              'typeId' => 22,
              'value' => json_encode([
                  'accountHolder' => $data->getAccountHolder(),
                  'bankName' => $data->getBankName(),
                  'bic' => $data->getBic(),
                  'iban' => $data->getIban(),
                  'paymentDue' => $data->getDueDate()->format(DATE_W3C),
                  'referenceNumber' => $data->getReference(),
              ]),
          ];
  
          return $paymentParams;
      }
docs: {@inheritdoc}