code: private function checkAndCreateMopDetailedData($fopType)
      {
          if (is_null($this->paymentModule->mopDetailedData)) {
              $this->paymentModule->mopDetailedData = new MopDetailedData($fopType);
          }
      }
docs: Create MopDetailedData node if needed
  
  @param string $fopType