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

com.bronto.api.model.ContactStatus Maven / Gradle / Ivy

There is a newer version: 1.0.9
Show newest version
package com.bronto.api.model;

public enum ContactStatus implements ApiValue {
    ACTIVE("active"),
    ONBOARDING("onboarding"),
    TRANSACTIONAL("transactional"),
    BOUNCE("bounce"),
    UNCONFIRMED("unconfirmed"),
    UNSUBSCRIBED("unsub");

    private String apiStatus;

    ContactStatus(String apiStatus) {
        this.apiStatus = apiStatus;
    }

    public String getApiValue() {
        return apiStatus;
    }

    public boolean matches(String apiValue) {
        return getApiValue().equals(apiValue);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy