Class VoucherEntry


  • public class VoucherEntry
    extends java.lang.Object
    This class represents a voucher entry
    • Constructor Detail

      • VoucherEntry

        public VoucherEntry​(AbstractOrderEntry anOrderEntry,
                            long quantity,
                            Unit aUnit)
        Creates a new instance of VoucherEntry.
    • Method Detail

      • equals

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

        public long getQuantity()
      • getUnit

        public Unit getUnit()
      • hashCode

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

        public void setQuantity​(long quantity)