code: public function parse(array $entry)
      {
          $identity = $this->identityService->findOneOrCreate(
              (string) $entry['id'],
              ShopwareAdapter::NAME,
              PaymentStatus::TYPE
          );
  
          if (!empty($entry['name'])) {
              $name = $entry['name'];
          } else {
              $name = $entry['id'];
          }
  
          return PaymentStatus::fromArray([
              'identifier' => $identity->getObjectIdentifier(),
              'name' => (string) $name,
          ]);
      }
docs: {@inheritdoc}