Class Weight
- java.lang.Object
-
- com.broadleafcommerce.cartoperation.domain.Weight
-
- All Implemented Interfaces:
Serializable
public class Weight extends Object implements Serializable
- Author:
- Chad Harchar (charchar)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Weight()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getUnits()
BigDecimal
getWeight()
int
hashCode()
void
setUnits(String units)
void
setWeight(BigDecimal weight)
String
toString()
-
-
-
Method Detail
-
getWeight
public BigDecimal getWeight()
-
getUnits
public String getUnits()
- Returns:
- the units to specify this weight in
- See Also:
WeightUnits
-
setWeight
public void setWeight(BigDecimal weight)
-
setUnits
public void setUnits(String units)
- Parameters:
units
- the units to specify this weight in- See Also:
WeightUnits
-
canEqual
protected boolean canEqual(Object other)
-
-