code: public Map<String, String> getSubmissionType(ProposalDevelopmentDocumentContract pdDoc) {
          Map<String, String> submissionInfo = new HashMap<>();
          S2sOpportunityContract opportunity = pdDoc.getDevelopmentProposal().getS2sOpportunity();
          if (opportunity != null) {
              if (opportunity.getS2sSubmissionType() != null) {
                  String submissionTypeCode = opportunity.getS2sSubmissionType().getCode();
                  String submissionTypeDescription = opportunity.getS2sSubmissionType().getDescription();
                  submissionInfo.put(SUBMISSION_TYPE_CODE, submissionTypeCode);
                  submissionInfo.put(SUBMISSION_TYPE_DESCRIPTION, submissionTypeDescription);
              }
  
              if (opportunity.getS2sRevisionType() != null) {
                  String revisionCode = opportunity.getS2sRevisionType().getCode();
                  submissionInfo.put(KEY_REVISION_CODE, revisionCode);
              }
  
              if (opportunity.getRevisionOtherDescription() != null) {
                  submissionInfo.put(KEY_REVISION_OTHER_DESCRIPTION, opportunity.getRevisionOtherDescription());
              }
          }
          return submissionInfo;
      }
docs: This method creates and returns Map of submission details like submission type, description and Revision code
  
  @param pdDoc Proposal Development Document.
  @return Map&lt;String, String&gt; Map of submission details.