-
public final class CMPConsentModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classCMPConsentModel.Companion
-
Field Summary
-
Constructor Summary
Constructors Constructor Description CMPConsentModel(String cmpStringBase64Encoded, String googleAdditionalConsent, String consentString, Boolean gdprApplies, Map<String, Boolean> googleVendorConsents, Boolean hasGlobalScope, String publisherCC, Integer regulation, String regulationKey, Boolean tcfCompliant, Integer tcfVersion, Integer lastButtonEvent, Integer tcfcaVersion, List<String> gppVersions, String uspString, List<Vendor> vendorsList, List<Purpose> purposesList, Map<String, Boolean> purposeLI, Map<String, Boolean> vendorLI, Map<String, Boolean> vendorConsents, Map<String, Boolean> purposeConsents, List<CmpMetadata> metadata, Boolean userChoiceExists, Boolean purModeActive, Boolean purModeLoggedIn, Integer purModeLogic, Boolean consentExists, Map<ConsentType, ConsentStatus> consentMode, GPPData gppdata)
-
Method Summary
-
-
Constructor Detail
-
CMPConsentModel
CMPConsentModel(String cmpStringBase64Encoded, String googleAdditionalConsent, String consentString, Boolean gdprApplies, Map<String, Boolean> googleVendorConsents, Boolean hasGlobalScope, String publisherCC, Integer regulation, String regulationKey, Boolean tcfCompliant, Integer tcfVersion, Integer lastButtonEvent, Integer tcfcaVersion, List<String> gppVersions, String uspString, List<Vendor> vendorsList, List<Purpose> purposesList, Map<String, Boolean> purposeLI, Map<String, Boolean> vendorLI, Map<String, Boolean> vendorConsents, Map<String, Boolean> purposeConsents, List<CmpMetadata> metadata, Boolean userChoiceExists, Boolean purModeActive, Boolean purModeLoggedIn, Integer purModeLogic, Boolean consentExists, Map<ConsentType, ConsentStatus> consentMode, GPPData gppdata)
-
-
Method Detail
-
getCmpStringBase64Encoded
final String getCmpStringBase64Encoded()
-
getGoogleAdditionalConsent
final String getGoogleAdditionalConsent()
-
getConsentString
final String getConsentString()
-
getGdprApplies
final Boolean getGdprApplies()
-
getGoogleVendorConsents
final Map<String, Boolean> getGoogleVendorConsents()
-
getHasGlobalScope
final Boolean getHasGlobalScope()
-
getPublisherCC
final String getPublisherCC()
-
getRegulation
final Integer getRegulation()
-
getRegulationKey
final String getRegulationKey()
-
getTcfCompliant
final Boolean getTcfCompliant()
-
getTcfVersion
final Integer getTcfVersion()
-
getLastButtonEvent
final Integer getLastButtonEvent()
-
getTcfcaVersion
final Integer getTcfcaVersion()
-
getGppVersions
final List<String> getGppVersions()
-
getUspString
final String getUspString()
-
getVendorsList
final List<Vendor> getVendorsList()
-
getPurposesList
final List<Purpose> getPurposesList()
-
getPurposeLI
final Map<String, Boolean> getPurposeLI()
-
getVendorLI
final Map<String, Boolean> getVendorLI()
-
getVendorConsents
final Map<String, Boolean> getVendorConsents()
-
getPurposeConsents
final Map<String, Boolean> getPurposeConsents()
-
getMetadata
final List<CmpMetadata> getMetadata()
-
getUserChoiceExists
final Boolean getUserChoiceExists()
-
getPurModeActive
final Boolean getPurModeActive()
-
getPurModeLoggedIn
final Boolean getPurModeLoggedIn()
-
getPurModeLogic
final Integer getPurModeLogic()
-
getConsentExists
final Boolean getConsentExists()
-
getConsentMode
final Map<ConsentType, ConsentStatus> getConsentMode()
-
getGppdata
final GPPData getGppdata()
-
hasPurposeConsent
final Boolean hasPurposeConsent(String id)
-
hasVendorConsent
final Boolean hasVendorConsent(String id)
-
exportCMPInfo
final String exportCMPInfo()
-
getAllPurposesIDs
final List<String> getAllPurposesIDs()
-
getEnabledPurposesIDs
final List<String> getEnabledPurposesIDs()
-
getDisabledPurposesIDs
final List<String> getDisabledPurposesIDs()
-
getAllVendorsIDs
final List<String> getAllVendorsIDs()
-
getEnabledVendorsIDs
final List<String> getEnabledVendorsIDs()
-
getDisabledVendorsIDs
final List<String> getDisabledVendorsIDs()
-
hasUserChoice
final Boolean hasUserChoice()
-
-
-
-