com.yoti.api.client.shareurl.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.shareurl.extension;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Type and content of a feature for an application
*/
public class Extension {
@JsonProperty("type")
private final String type;
@JsonProperty("content")
private final T content;
Extension(String type, T content) {
this.type = type;
this.content = content;
}
/**
* Get the feature's type
*
* @return the type of the operation
*/
public String getType() {
return type;
}
/**
* Get the feature's details
*
* @return the payload of the operation
*/
public T getContent() {
return content;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy