Class POBDSATransparencyInfo

  • All Implemented Interfaces:

    
    public final class POBDSATransparencyInfo
    
                        

    This class represents the transparency object of the DSA response object. It contains the domain of the entity and the type of targeting they have applied.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getDomainName() Domain of the entity that applied user parameters for DSA.
      final List<Integer> getUserParams() An array of NSNumber objects representing user parameters for platform or sell-side use.
      final static POBDSATransparencyInfo build(JSONObject transparencyObject) Builds the transparency object from the JSON object.
      final static String getCombinedListOfParams(List<POBDSATransparencyInfo> transparencyInfoList) Extract the stringified list of user parameters from the list of transparency info objects.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • POBDSATransparencyInfo

        POBDSATransparencyInfo(String domainName, List<Integer> userParams)
    • Method Detail

      • getDomainName

         final String getDomainName()

        Domain of the entity that applied user parameters for DSA.

      • getUserParams

         final List<Integer> getUserParams()

        An array of NSNumber objects representing user parameters for platform or sell-side use. This property stores an array of integers, encapsulated as NSNumber objects, that can be used by the platform or sell-side for DSA compliance.

      • getCombinedListOfParams

         final static String getCombinedListOfParams(List<POBDSATransparencyInfo> transparencyInfoList)

        Extract the stringified list of user parameters from the list of transparency info objects.

        Parameters:
        transparencyInfoList - List of transparency info objects.
        Returns:

        Stringifies list of user parameters.