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

com.mparticle.sdk.model.eventprocessing.consent.CCPAConsent Maven / Gradle / Ivy

There is a newer version: 3.2.0
Show newest version
package com.mparticle.sdk.model.eventprocessing.consent;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Record of consent under the CCPA.
 */
public final class CCPAConsent {

    @JsonProperty(value = "consented", required = true)
    private boolean consented;

    @JsonProperty("document")
    private String document;

    @JsonProperty("timestamp_unixtime_ms")
    private Long timestamp;

    @JsonProperty("location")
    private String location;

    @JsonProperty("hardware_id")
    private String hardwareId;

    public boolean isConsented() {
        return consented;
    }

    public String getDocument() {
        return document;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public String getLocation() {
        return location;
    }

    public String getHardwareId() {
        return hardwareId;
    }

    public CCPAConsent setConsented(boolean consented) {
        this.consented = consented;
        return this;
    }

    public CCPAConsent setDocument(String document) {
        this.document = document;
        return this;
    }

    public CCPAConsent setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
        return this;
    }

    public CCPAConsent setLocation(String location) {
        this.location = location;
        return this;
    }

    public CCPAConsent setHardwareId(String hardwareId) {
        this.hardwareId = hardwareId;
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy