Class BoxInput


  • public class BoxInput
    extends java.lang.Object
    Input information for a given box.
    • Constructor Detail

      • BoxInput

        public BoxInput()
    • Method Detail

      • getContentInformationSource

        public BoxContentInformationSource getContentInformationSource()
        Get contentInformationSource
        Returns:
        contentInformationSource
      • getDimensions

        public Dimensions getDimensions()
        Get dimensions
        Returns:
        dimensions
      • setDimensions

        public void setDimensions​(Dimensions dimensions)
      • getItems

        public java.util.List<ItemInput> getItems()
        The items and their quantity in the box. This must be empty if the box `contentInformationSource` is `BARCODE_2D` or `MANUAL_PROCESS`.
        Returns:
        items
      • setItems

        public void setItems​(java.util.List<ItemInput> items)
      • quantity

        public BoxInput quantity​(java.lang.Integer quantity)
      • getQuantity

        public java.lang.Integer getQuantity()
        The number of containers where all other properties like weight or dimensions are identical. minimum: 1 maximum: 10000
        Returns:
        quantity
      • setQuantity

        public void setQuantity​(java.lang.Integer quantity)
      • getWeight

        public Weight getWeight()
        Get weight
        Returns:
        weight
      • setWeight

        public void setWeight​(Weight weight)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object