Class ParcelMeasurementsImpl
java.lang.Object
com.commercetools.history.models.common.ParcelMeasurementsImpl
- All Implemented Interfaces:
ParcelMeasurements,io.vrap.rmf.base.client.ModelBase
public class ParcelMeasurementsImpl
extends Object
implements ParcelMeasurements, io.vrap.rmf.base.client.ModelBase
ParcelMeasurements
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()voidsetHeightInMillimeter(Integer heightInMillimeter) set heightInMillimetervoidsetLengthInMillimeter(Integer lengthInMillimeter) set lengthInMillimetervoidsetWeightInGram(Integer weightInGram) set weightInGramvoidsetWidthInMillimeter(Integer widthInMillimeter) set widthInMillimetertoString()Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionStringMethods inherited from interface com.commercetools.history.models.common.ParcelMeasurements
withParcelMeasurements
-
Constructor Details
-
ParcelMeasurementsImpl
public ParcelMeasurementsImpl()create empty instance
-
-
Method Details
-
getHeightInMillimeter
- Specified by:
getHeightInMillimeterin interfaceParcelMeasurements- Returns:
- heightInMillimeter
-
getLengthInMillimeter
- Specified by:
getLengthInMillimeterin interfaceParcelMeasurements- Returns:
- lengthInMillimeter
-
getWidthInMillimeter
- Specified by:
getWidthInMillimeterin interfaceParcelMeasurements- Returns:
- widthInMillimeter
-
getWeightInGram
- Specified by:
getWeightInGramin interfaceParcelMeasurements- Returns:
- weightInGram
-
setHeightInMillimeter
Description copied from interface:ParcelMeasurementsset heightInMillimeter- Specified by:
setHeightInMillimeterin interfaceParcelMeasurements- Parameters:
heightInMillimeter- value to be set
-
setLengthInMillimeter
Description copied from interface:ParcelMeasurementsset lengthInMillimeter- Specified by:
setLengthInMillimeterin interfaceParcelMeasurements- Parameters:
lengthInMillimeter- value to be set
-
setWidthInMillimeter
Description copied from interface:ParcelMeasurementsset widthInMillimeter- Specified by:
setWidthInMillimeterin interfaceParcelMeasurements- Parameters:
widthInMillimeter- value to be set
-
setWeightInGram
Description copied from interface:ParcelMeasurementsset weightInGram- Specified by:
setWeightInGramin interfaceParcelMeasurements- Parameters:
weightInGram- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-