code: public static com.liferay.commerce.product.type.virtual.model.CPDefinitionVirtualSetting deleteCPDefinitionVirtualSetting(
  		long CPDefinitionVirtualSettingId)
  		throws com.liferay.portal.kernel.exception.PortalException {
  		return getService()
  				   .deleteCPDefinitionVirtualSetting(CPDefinitionVirtualSettingId);
  	}
docs: Deletes the cp definition virtual setting with the primary key from the database. Also notifies the appropriate model listeners.
  
  @param CPDefinitionVirtualSettingId the primary key of the cp definition virtual setting
  @return the cp definition virtual setting that was removed
  @throws PortalException if a cp definition virtual setting with the primary key could not be found