code: public Evse createEvse(Long chargingStationTypeId, Evse evse) throws ResourceAlreadyExistsException {
          ChargingStationType chargingStationType = chargingStationTypeRepository.findOne(chargingStationTypeId);
  
          if (getEvseByIdentifier(chargingStationType, evse.getIdentifier()) != null) {
              throw new ResourceAlreadyExistsException(String.format("Evse with identifier '%s' already exists.", evse.getIdentifier()));
          }
  
          chargingStationType.getEvses().add(evse);
          chargingStationType = chargingStationTypeRepository.createOrUpdate(chargingStationType);
  
          return getEvseByIdentifier(chargingStationType, evse.getIdentifier());
      }
docs: Creates a Evse in a charging station type.
  
  @param chargingStationTypeId    charging station type identifier.
  @param evse                     evse object
  @return created Evse