
cc.protea.foundation.utility.providers.IntercomEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of platform Show documentation
Show all versions of platform Show documentation
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
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