code: public static com.liferay.commerce.product.type.virtual.model.CPDefinitionVirtualSetting addCPDefinitionVirtualSetting(
  		String className, long classPK, long fileEntryId, String url,
  		int activationStatus, long duration, int maxUsages, boolean useSample,
  		long sampleFileEntryId, String sampleUrl, boolean termsOfUseRequired,
  		java.util.Map<java.util.Locale, String> termsOfUseContentMap,
  		long termsOfUseJournalArticleResourcePrimKey, boolean override,
  		com.liferay.portal.kernel.service.ServiceContext serviceContext)
  		throws com.liferay.portal.kernel.exception.PortalException {
  		return getService()
  				   .addCPDefinitionVirtualSetting(className, classPK,
  			fileEntryId, url, activationStatus, duration, maxUsages, useSample,
  			sampleFileEntryId, sampleUrl, termsOfUseRequired,
  			termsOfUseContentMap, termsOfUseJournalArticleResourcePrimKey,
  			override, serviceContext);
  	}
docs: /*
  NOTE FOR DEVELOPERS:
  
  Never modify this class directly. Add custom service methods to {@link com.liferay.commerce.product.type.virtual.service.impl.CPDefinitionVirtualSettingServiceImpl} and rerun ServiceBuilder to regenerate this class.