java.lang.Object
io.deeplumen.ucp.models.schemas.shopping.Quantity

@Generated("jsonschema2pojo") public class Quantity extends Object
Quantity tracking. Both total and fulfilled are derived from events.
  • Constructor Details

    • Quantity

      public Quantity()
  • Method Details

    • getTotal

      public Integer getTotal()
      Current total quantity. (Required)
    • setTotal

      public void setTotal(Integer total)
      Current total quantity. (Required)
    • withTotal

      public Quantity withTotal(Integer total)
    • getFulfilled

      public Integer getFulfilled()
      Quantity fulfilled (sum from fulfillment events). (Required)
    • setFulfilled

      public void setFulfilled(Integer fulfilled)
      Quantity fulfilled (sum from fulfillment events). (Required)
    • withFulfilled

      public Quantity withFulfilled(Integer fulfilled)
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
    • setAdditionalProperty

      public void setAdditionalProperty(String name, Object value)
    • withAdditionalProperty

      public Quantity withAdditionalProperty(String name, Object value)
    • toString

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

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

      public boolean equals(Object other)
      Overrides:
      equals in class Object