Class SurveyDataPoint

java.lang.Object
com.blockchyp.client.dto.SurveyDataPoint

public class SurveyDataPoint extends Object
Models a request to retrieve or manipulate survey questions.
  • Constructor Details

    • SurveyDataPoint

      public SurveyDataPoint()
  • Method Details

    • setAnswerKey

      public void setAnswerKey(String value)
      Sets a unique identifier for a specific answer type.
      Parameters:
      value - a unique identifier for a specific answer type.
    • getAnswerKey

      public String getAnswerKey()
      Gets a unique identifier for a specific answer type.
      Returns:
      a unique identifier for a specific answer type.
    • setAnswerDescription

      public void setAnswerDescription(String value)
      Sets a narrative description of the answer.
      Parameters:
      value - a narrative description of the answer.
    • getAnswerDescription

      public String getAnswerDescription()
      Gets a narrative description of the answer.
      Returns:
      a narrative description of the answer.
    • setResponseCount

      public void setResponseCount(int value)
      Sets the number of responses.
      Parameters:
      value - the number of responses.
    • getResponseCount

      public int getResponseCount()
      Gets the number of responses.
      Returns:
      the number of responses.
    • setResponsePercentage

      public void setResponsePercentage(float value)
      Sets response rate as a percentage of total transactions.
      Parameters:
      value - response rate as a percentage of total transactions.
    • getResponsePercentage

      public float getResponsePercentage()
      Gets response rate as a percentage of total transactions.
      Returns:
      response rate as a percentage of total transactions.
    • setAverageTransaction

      public void setAverageTransaction(float value)
      Sets the average transaction amount for a given answer.
      Parameters:
      value - the average transaction amount for a given answer.
    • getAverageTransaction

      public float getAverageTransaction()
      Gets the average transaction amount for a given answer.
      Returns:
      the average transaction amount for a given answer.