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

com.erigir.wrench.ape.model.CustomerToken Maven / Gradle / Ivy

There is a newer version: 2.2.16+16
Show newest version
package com.erigir.wrench.ape.model;

import java.util.Map;

/**
 * Created by cweiss on 7/19/15.
 */
public class CustomerToken {
    private String key;
    private Long expires;
    private Long created = System.currentTimeMillis();
    private Map otherData;

    public CustomerToken() {
    }

    public CustomerToken(String key, Long expires) {
        this.key = key;
        this.expires = expires;
    }

    public CustomerToken(String key, Long expires, Map otherData) {
        this.key = key;
        this.expires = expires;
        this.otherData = otherData;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public Long getExpires() {
        return expires;
    }

    public void setExpires(Long expires) {
        this.expires = expires;
    }

    public Map getOtherData() {
        return otherData;
    }

    public void setOtherData(Map otherData) {
        this.otherData = otherData;
    }

    public Long getCreated() {
        return created;
    }

    public void setCreated(Long created) {
        this.created = created;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy