Class VoucherEntry
- java.lang.Object
-
- de.hybris.platform.voucher.jalo.util.VoucherEntry
-
public class VoucherEntry extends java.lang.Object
This 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 boolean
equals(java.lang.Object o)
AbstractOrderEntry
getOrderEntry()
long
getQuantity()
Unit
getUnit()
int
hashCode()
void
setQuantity(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:
equals
in classjava.lang.Object
-
getOrderEntry
public AbstractOrderEntry getOrderEntry()
-
getQuantity
public long getQuantity()
-
getUnit
public Unit getUnit()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
setQuantity
public void setQuantity(long quantity)
-
-