All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cc.protea.foundation.utility.providers.IntercomEvent Maven / Gradle / Ivy

Go to download

A standard set of utilities that makes it easy to build systems that need users, billing, etc giving the usefulness of a PaaS with the control of a local application

There is a newer version: 0.5.11
Show newest version
package cc.protea.foundation.utility.providers;

import io.intercom.api.Event;

public class IntercomEvent {

	public static String REQUEST_PASSSWORD_RESET = "requested-password-reset";
	public static String PERFORM_PASSWORD_RESET = "completed-password-reset";

	public static Event create(final Integer userId, final String type) {
		Event event = new Event();
		event.setCreatedAt(System.currentTimeMillis() / 1000);
		event.setEventName(type);
		event.setUserID("" + userId);
		return event;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy