Class PackedQuantity


  • public class PackedQuantity
    extends java.lang.Object
    Details of item quantity.
    • Constructor Detail

      • PackedQuantity

        public PackedQuantity()
    • Method Detail

      • getAmount

        public java.lang.Integer getAmount()
        Amount of units shipped for a specific item at a shipment level. If the item is present only in certain cartons or pallets within the shipment, please provide this at the appropriate carton or pallet level.
        Returns:
        amount
      • setAmount

        public void setAmount​(java.lang.Integer amount)
      • unitSize

        public PackedQuantity unitSize​(java.lang.Integer unitSize)
      • getUnitSize

        public java.lang.Integer getUnitSize()
        The case size, in the event that we ordered using cases. Otherwise, 1.
        Returns:
        unitSize
      • setUnitSize

        public void setUnitSize​(java.lang.Integer unitSize)
      • 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