Class InventoryEntryQuantitySet

java.lang.Object
com.commercetools.graphql.api.types.InventoryEntryQuantitySet
All Implemented Interfaces:
MessagePayload

public class InventoryEntryQuantitySet extends Object implements MessagePayload
  • Constructor Details

    • InventoryEntryQuantitySet

      public InventoryEntryQuantitySet()
    • InventoryEntryQuantitySet

      public InventoryEntryQuantitySet(Long oldQuantityOnStock, Long newQuantityOnStock, Long oldAvailableQuantity, Long newAvailableQuantity, Channel supplyChannel, Reference supplyChannelRef, String type)
  • Method Details

    • getOldQuantityOnStock

      public Long getOldQuantityOnStock()
    • setOldQuantityOnStock

      public void setOldQuantityOnStock(Long oldQuantityOnStock)
    • getNewQuantityOnStock

      public Long getNewQuantityOnStock()
    • setNewQuantityOnStock

      public void setNewQuantityOnStock(Long newQuantityOnStock)
    • getOldAvailableQuantity

      public Long getOldAvailableQuantity()
    • setOldAvailableQuantity

      public void setOldAvailableQuantity(Long oldAvailableQuantity)
    • getNewAvailableQuantity

      public Long getNewAvailableQuantity()
    • setNewAvailableQuantity

      public void setNewAvailableQuantity(Long newAvailableQuantity)
    • getSupplyChannel

      public Channel getSupplyChannel()
    • setSupplyChannel

      public void setSupplyChannel(Channel supplyChannel)
    • getSupplyChannelRef

      public Reference getSupplyChannelRef()
    • setSupplyChannelRef

      public void setSupplyChannelRef(Reference supplyChannelRef)
    • getType

      public String getType()
      Specified by:
      getType in interface MessagePayload
    • setType

      public void setType(String type)
      Specified by:
      setType in interface MessagePayload
    • 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 InventoryEntryQuantitySet.Builder newBuilder()