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

com.groupbyinc.common.directbeacon.DirectBeacon Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
package com.groupbyinc.common.directbeacon;

public class DirectBeacon {

  private String customerId;
  private String responseId;
  private String eventType;
  private T event;

  public DirectBeacon() {
    this(null, null, null);
  }

  public DirectBeacon(T event) {
    this(null, null, event);
  }

  public DirectBeacon(String responseId, T event) {
    this(responseId, null, event);
  }

  public DirectBeacon(String responseId, String customerId, T event) {
    this.responseId = responseId;
    this.customerId = customerId;
    this.event = event;
  }

  public String getResponseId() {
    return responseId;
  }

  public DirectBeacon setResponseId(String responseId) {
    this.responseId = responseId;
    return this;
  }

  public T getEvent() {
    return event;
  }

  public DirectBeacon setEvent(T event) {
    this.event = event;
    return this;
  }

  public String getCustomerId() {
    return customerId;
  }

  public DirectBeacon setCustomerId(String customerId) {
    this.customerId = customerId;
    return this;
  }

  public String getEventType() {
    return eventType;
  }

  public DirectBeacon setEventType(String eventType) {
    this.eventType = eventType;
    return this;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy