Class CategoryOrderHintsImpl

java.lang.Object
com.commercetools.api.models.product.CategoryOrderHintsImpl
All Implemented Interfaces:
CategoryOrderHints, io.vrap.rmf.base.client.ModelBase

public class CategoryOrderHintsImpl extends Object implements CategoryOrderHints, io.vrap.rmf.base.client.ModelBase

JSON object where the key is a Category id and the value is an order hint. Allows controlling the order of Products and how they appear in Categories. Products with no order hint have an order score below 0. Order hints are non-unique. If a subset of Products have the same value for order hint in a specific category, the behavior is undetermined.

  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase

    io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
  • Constructor Summary

    Constructors
    Constructor
    Description
    create empty instance
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
     
    void
    setValue(String key, String value)
    A string representing a number between 0 and 1 that must start with 0. and cannot end with 0.
    A string representing a number between 0 and 1 that must start with 0. and cannot end with 0.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.commercetools.api.models.product.CategoryOrderHints

    withCategoryOrderHints

    Methods inherited from interface io.vrap.rmf.base.client.ModelBase

    reflectionString, reflectionString