Package 

Class PublisherRestriction

  • All Implemented Interfaces:

    
    public final class PublisherRestriction
    
                        

    Model for a publisher restriction

    • Constructor Detail

      • PublisherRestriction

        PublisherRestriction(String purposeId, Integer purposeIabId, Boolean specialFeature, RestrictionType restrictionType, Set<String> vendorIds, Set<Integer> tcStringVendorIds)
        Parameters:
        purposeId - Id of the purpose used internally by Didomi
        purposeIabId - IAB id of the purpose, to be stored in the consent string
        specialFeature - Whether restriction target is a purpose of a special feature.
        restrictionType - Type of the restriction
        vendorIds - Vendor ids to which restriction should be applied
        tcStringVendorIds - Vendor ids to store in the consent string, which may differ from the vendor ids