Class ItemState

java.lang.Object
com.commercetools.graphql.api.types.ItemState

public class ItemState extends Object
  • Constructor Details

    • ItemState

      public ItemState()
    • ItemState

      public ItemState(Long quantity, Reference stateRef, State state)
  • Method Details

    • getQuantity

      public Long getQuantity()
    • setQuantity

      public void setQuantity(Long quantity)
    • getStateRef

      public Reference getStateRef()
    • setStateRef

      public void setStateRef(Reference stateRef)
    • getState

      public State getState()
    • setState

      public void setState(State state)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • newBuilder

      public static ItemState.Builder newBuilder()