Class AskKodiak.ProductQuery.ProductQueryBuilder
- java.lang.Object
-
- com.trustedchoice.askkodiak.v2.client.AskKodiak.ProductQuery.ProductQueryBuilder
-
- Enclosing class:
- AskKodiak.ProductQuery
public static class AskKodiak.ProductQuery.ProductQueryBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AskKodiak.ProductQuery
build()
AskKodiak.ProductQuery.ProductQueryBuilder
geos(java.lang.String geos)
Will cause location specific conditional content to be included for the requested geography(s) if any.AskKodiak.ProductQuery.ProductQueryBuilder
includeEligibility(java.lang.Boolean includeEligibility)
Request that eligible NAICS hashes be included in the response.AskKodiak.ProductQuery.ProductQueryBuilder
naicsCodes(java.lang.String naicsCodes)
Will cause naics-code-based conditional content to be included for the requested codes(s) if any.AskKodiak.ProductQuery.ProductQueryBuilder
naicsGroups(java.lang.String naicsGroups)
Will cause naics-group-based conditional content to be included for the requested group(s) if any.java.lang.String
toString()
-
-
-
Method Detail
-
includeEligibility
public AskKodiak.ProductQuery.ProductQueryBuilder includeEligibility(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.
-
geos
public AskKodiak.ProductQuery.ProductQueryBuilder geos(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.
-
naicsGroups
public AskKodiak.ProductQuery.ProductQueryBuilder naicsGroups(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.
-
naicsCodes
public AskKodiak.ProductQuery.ProductQueryBuilder naicsCodes(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.
-
build
public AskKodiak.ProductQuery build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-