Package io.didomi.sdk.config.sdk
Class ConfigPurpose
-
- All Implemented Interfaces:
public final class ConfigPurposeData class used to parse Purpose with nullable parameters only used for reading and parsing information from the JSON payloads It will be mapped into a non-nullable parameters data class Purpose from the SDK Configuration
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringidprivate final StringiabIdprivate final Stringnameprivate final Stringdescriptionprivate final StringdescriptionLegalprivate List<String>illustrationsprivate final transient BooleanisSpecialFeature
-
Method Summary
Modifier and Type Method Description final StringgetId()Purpose id used internally by Didomi. final StringgetIabId()Purpose id as defined by IAB. final StringgetName()Purpose human-readable name or translation key. final StringgetDescription()Purpose description. final StringgetDescriptionLegal()Purpose legal description (TCF v2). final List<String>getIllustrations()Purpose illustrations (TCF v2.2). final UnitsetIllustrations(@SerializedName(value = "illustrations") List<String> illustrations)Purpose illustrations (TCF v2.2). final BooleanisSpecialFeature()Whether this is a special feature displayed as a purpose. -
-
Method Detail
-
getDescription
final String getDescription()
Purpose description.
-
getDescriptionLegal
final String getDescriptionLegal()
Purpose legal description (TCF v2).
-
getIllustrations
final List<String> getIllustrations()
Purpose illustrations (TCF v2.2).
-
setIllustrations
final Unit setIllustrations(@SerializedName(value = "illustrations") List<String> illustrations)
Purpose illustrations (TCF v2.2).
-
isSpecialFeature
final Boolean isSpecialFeature()
Whether this is a special feature displayed as a purpose.
-
-
-
-