Class AskKodiak.ProductQuery

  • Enclosing interface:
    AskKodiak

    public static class AskKodiak.ProductQuery
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static AskKodiak.ProductQuery.ProductQueryBuilder builder()  
      java.lang.String getGeos()
      Will cause location specific conditional content to be included for the requested geography(s) if any.
      java.lang.Boolean getIncludeEligibility()
      Request that eligible NAICS hashes be included in the response.
      java.lang.String getNaicsCodes()
      Will cause naics-code-based conditional content to be included for the requested codes(s) if any.
      java.lang.String getNaicsGroups()
      Will cause naics-group-based conditional content to be included for the requested group(s) if any.
      void setGeos​(java.lang.String geos)
      Will cause location specific conditional content to be included for the requested geography(s) if any.
      void setIncludeEligibility​(java.lang.Boolean includeEligibility)
      Request that eligible NAICS hashes be included in the response.
      void setNaicsCodes​(java.lang.String naicsCodes)
      Will cause naics-code-based conditional content to be included for the requested codes(s) if any.
      void setNaicsGroups​(java.lang.String naicsGroups)
      Will cause naics-group-based conditional content to be included for the requested group(s) if any.
      • Methods inherited from class java.lang.Object

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

      • getIncludeEligibility

        public java.lang.Boolean getIncludeEligibility()
        Request that eligible NAICS hashes be included in the response. May significantly increase response payload, especially in those cases where the product has extensive eligibility. If this parameter is missing, excluded, or set to false eligible classes will not be present in the response.
      • getGeos

        public java.lang.String getGeos()
        Will cause location specific conditional content to be included for the requested geography(s) if any.

        Use + as separator to include more than one geo code. Usage geos=US-MA or geos=CA-ON+CA-BC. A filter of geos=US-MN+US-HI means Minnesota OR Hawaii.

      • getNaicsGroups

        public java.lang.String getNaicsGroups()
        Will cause naics-group-based conditional content to be included for the requested group(s) if any.

        Use + as separator to include more than one naics group. Usage naicsGroups=722514 or naicsGroups=722514+722515.

      • getNaicsCodes

        public java.lang.String getNaicsCodes()
        Will cause naics-code-based conditional content to be included for the requested codes(s) if any.

        Use + as separator to include more than one hash. Usage naicsCodes=9d709a5f8cefe02c3ba71bdd3a4c3e28 or naicsCodes=9d709a5f8cefe02c3ba71bdd3a4c3e28+4797cab0bb586ec0a98da773878ef97d.

      • setIncludeEligibility

        public void setIncludeEligibility​(java.lang.Boolean includeEligibility)
        Request that eligible NAICS hashes be included in the response. May significantly increase response payload, especially in those cases where the product has extensive eligibility. If this parameter is missing, excluded, or set to false eligible classes will not be present in the response.
      • setGeos

        public void setGeos​(java.lang.String geos)
        Will cause location specific conditional content to be included for the requested geography(s) if any.

        Use + as separator to include more than one geo code. Usage geos=US-MA or geos=CA-ON+CA-BC. A filter of geos=US-MN+US-HI means Minnesota OR Hawaii.

      • setNaicsGroups

        public void setNaicsGroups​(java.lang.String naicsGroups)
        Will cause naics-group-based conditional content to be included for the requested group(s) if any.

        Use + as separator to include more than one naics group. Usage naicsGroups=722514 or naicsGroups=722514+722515.

      • setNaicsCodes

        public void setNaicsCodes​(java.lang.String naicsCodes)
        Will cause naics-code-based conditional content to be included for the requested codes(s) if any.

        Use + as separator to include more than one hash. Usage naicsCodes=9d709a5f8cefe02c3ba71bdd3a4c3e28 or naicsCodes=9d709a5f8cefe02c3ba71bdd3a4c3e28+4797cab0bb586ec0a98da773878ef97d.