com.yoti.api.client.identity.extension.Extension Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yoti-sdk-api Show documentation
Show all versions of yoti-sdk-api Show documentation
Java SDK for simple integration with the Yoti platform
The newest version!
package com.yoti.api.client.identity.extension;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
public class Extension {
@JsonProperty(Property.TYPE)
private final String type;
@JsonProperty(Property.CONTENT)
private final T content;
@JsonCreator
Extension(@JsonProperty(Property.TYPE) String type, @JsonProperty(Property.CONTENT) T content) {
this.type = type;
this.content = content;
}
public String getType() {
return type;
}
public T getContent() {
return content;
}
private static final class Property {
private static final String TYPE = "type";
private static final String CONTENT = "content";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy