code: private <T extends IEntity> IntuitMessage prepareBatch(BatchOperation batchOperation) throws FMSException {
          IntuitMessage intuitMessage = new IntuitMessage();
          RequestElements requestElements = intuitMessage.getRequestElements();
  
          //set the request params
          Map<String, String> requestParameters = requestElements.getRequestParameters();
          requestParameters.put(RequestElements.REQ_PARAM_METHOD_TYPE, MethodType.POST.toString());
  
          IntuitBatchRequest intuitBatchRequest = new IntuitBatchRequest();
          intuitBatchRequest.setBatchItemRequest(batchOperation.getBatchItemRequests());
          
          requestElements.setAction(OperationType.BATCH.toString());
          requestElements.setContext(context);
          requestElements.setObjectToSerialize(getSerializableRequestObject(intuitBatchRequest));
          requestElements.setBatchOperation(batchOperation);
  
          return intuitMessage;
      }
docs: Common method to prepare the request params for batch operation for both sync and async calls
  
  @param batchOperation
  the batch operation
  @return IntuitMessage the intuit message
  @throws FMSException