Class VoucherEntry
- java.lang.Object
-
- de.hybris.platform.voucher.jalo.util.VoucherEntry
-
public class VoucherEntry extends java.lang.ObjectThis class represents a voucher entry
-
-
Constructor Summary
Constructors Constructor Description VoucherEntry(AbstractOrderEntry anOrderEntry, long quantity, Unit aUnit)Creates a new instance ofVoucherEntry.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)AbstractOrderEntrygetOrderEntry()longgetQuantity()UnitgetUnit()inthashCode()voidsetQuantity(long quantity)
-
-
-
Constructor Detail
-
VoucherEntry
public VoucherEntry(AbstractOrderEntry anOrderEntry, long quantity, Unit aUnit)
Creates a new instance ofVoucherEntry.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
getOrderEntry
public AbstractOrderEntry getOrderEntry()
-
getQuantity
public long getQuantity()
-
getUnit
public Unit getUnit()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
setQuantity
public void setQuantity(long quantity)
-
-