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

com.yoti.api.client.spi.remote.IssuingAttribute Maven / Gradle / Ivy

The newest version!
package com.yoti.api.client.spi.remote;

import com.yoti.api.client.AttributeDefinition;

import com.fasterxml.jackson.annotation.JsonProperty;

public class IssuingAttribute {

    private AttributeDefinition definition;

    @JsonProperty("value")
    private String value;

    public IssuingAttribute(final AttributeDefinition definition, final String value) {
        this.definition = definition;
        this.value = value;
    }

    @JsonProperty("name")
    public String getName() {
        return definition.getName();
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    @Override
    public String toString() {
        return String.format("%n[%n\tName:%s%n\tValue:%s%n]", getName(), getValue());
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy