Class DiscountedLineItemPortionImpl
java.lang.Object
com.commercetools.history.models.common.DiscountedLineItemPortionImpl
- All Implemented Interfaces:
DiscountedLineItemPortion,io.vrap.rmf.base.client.ModelBase
public class DiscountedLineItemPortionImpl
extends Object
implements DiscountedLineItemPortion, io.vrap.rmf.base.client.ModelBase
DiscountedLineItemPortion
-
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()voidsetDiscount(Reference discount) set discountvoidsetDiscountedAmount(Money discountedAmount) set discountedAmountMethods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.commercetools.history.models.common.DiscountedLineItemPortion
withDiscountedLineItemPortionMethods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
DiscountedLineItemPortionImpl
public DiscountedLineItemPortionImpl()create empty instance
-
-
Method Details
-
getDiscount
- Specified by:
getDiscountin interfaceDiscountedLineItemPortion- Returns:
- discount
-
getDiscountedAmount
- Specified by:
getDiscountedAmountin interfaceDiscountedLineItemPortion- Returns:
- discountedAmount
-
setDiscount
Description copied from interface:DiscountedLineItemPortionset discount- Specified by:
setDiscountin interfaceDiscountedLineItemPortion- Parameters:
discount- value to be set
-
setDiscountedAmount
Description copied from interface:DiscountedLineItemPortionset discountedAmount- Specified by:
setDiscountedAmountin interfaceDiscountedLineItemPortion- Parameters:
discountedAmount- value to be set
-
equals
-
hashCode
-