Class BoxUpdateInput


  • public class BoxUpdateInput
    extends java.lang.Object
    Input information for updating a box
    • Constructor Detail

      • BoxUpdateInput

        public BoxUpdateInput()
    • 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)
      • packageId

        public BoxUpdateInput packageId​(java.lang.String packageId)
      • getPackageId

        public java.lang.String getPackageId()
        Primary key to uniquely identify a Box Package. PackageId must be provided if the intent is to update an existing box. Adding a new box will not require providing this value. Any existing PackageIds not provided will be treated as to-be-removed
        Returns:
        packageId
      • setPackageId

        public void setPackageId​(java.lang.String packageId)
      • quantity

        public BoxUpdateInput 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