Package com.yoti.api.client
Class Attribute<T>
java.lang.Object
com.yoti.api.client.Attribute<T>
Represents a generic, typed key/value pair, a basic building block of
Profile instances.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAll knownAnchors for this attribute.getId()The ID of the attributegetName()The name of the attributeSourceAnchors identify how and when an attribute value was acquiredgetValue()Value of the attributeVerifierAnchors identify how and when an attribute value was verified by another provider
-
Constructor Details
-
Attribute
-
Attribute
-
Attribute
-
Attribute
-
-
Method Details
-
getId
The ID of the attribute- Returns:
- attribute ID
-
getName
The name of the attribute- Returns:
- name of the attribute
-
getValue
Value of the attribute- Returns:
- attribute value
-
getSources
SourceAnchors identify how and when an attribute value was acquired- Returns:
- List of sources for the attribute value
-
getVerifiers
VerifierAnchors identify how and when an attribute value was verified by another provider- Returns:
- List of verifiers for the attribute value
-
getAnchors
All knownAnchors for this attribute. Includes SOURCE and VERIFIER Anchors, in future may provide other types too- Returns:
- All anchors returned with the attribute
-