Class UserInfoHolder

java.lang.Object
com.nagra.otvaa.sdk.insightwrapper.UserInfoHolder

public class UserInfoHolder extends Object
The UserInfoHolder class contains the representation of the metadata for a user/subscriber.

The metadata for one item consists of:

  • UserId - a unique identifier for this user
  • AccountId - a unique identifier of the account of the user
  • FullName - the name and last name of the user
  • Gender - the gender of the user
  • Age - the age of the user
  • AgeRange - the age range of the user (i.e., 25-40)
  • Category - The category of the user (i.e., Junior)
  • Street - street component of the address
  • City - city component of the address
  • State - state component of the address
  • PostCode - postcode component of the address
  • Country - country component of the address
  • Constructor Details

    • UserInfoHolder

      public UserInfoHolder()
  • Method Details

    • getUserId

      public String getUserId()
      Returns the users ID
      Returns:
    • setUserId

      public void setUserId(String xUserId)
      Sets the user Id
      Parameters:
      xUserId -
    • getAccountId

      public String getAccountId()
      Returns the account id
      Returns:
    • setAccountId

      public void setAccountId(String xAccountId)
      Sets the account id
      Parameters:
      xAccountId -
    • getFullName

      public String getFullName()
      Returns the full name of the user
      Returns:
    • setFullName

      public void setFullName(String xFullName)
      Sets the full name of the user
      Parameters:
      xFullName -
    • getGender

      public String getGender()
      Returns the full gender of the user
      Returns:
    • setGender

      public void setGender(String xGender)
      Parameters:
      xGender -
    • getAge

      public Integer getAge()
    • setAge

      public void setAge(Integer xAge)
    • getAgeRange

      public String getAgeRange()
    • setAgeRange

      public void setAgeRange(String xAgeRange)
    • getCategory

      public String getCategory()
    • setCategory

      public void setCategory(String xCategory)
    • getStreet

      public String getStreet()
    • setStreet

      public void setStreet(String xStreet)
    • getCity

      public String getCity()
    • setCity

      public void setCity(String xCity)
    • getState

      public String getState()
    • setState

      public void setState(String xState)
    • getPostcode

      public String getPostcode()
    • setPostcode

      public void setPostcode(String xPostcode)
    • getCountry

      public String getCountry()
    • setCountry

      public void setCountry(String xCountry)
    • getCorp

      public String getCorp()
    • setCorp

      public void setCorp(String xCorp)
    • getNode

      public String getNode()
    • setNode

      public void setNode(String xNode)
    • toJSON

      public JSONObject toJSON()