Class DiscountedLineItemPriceForQuantityImpl
java.lang.Object
com.commercetools.history.models.common.DiscountedLineItemPriceForQuantityImpl
- All Implemented Interfaces:
DiscountedLineItemPriceForQuantity,io.vrap.rmf.base.client.ModelBase
public class DiscountedLineItemPriceForQuantityImpl
extends Object
implements DiscountedLineItemPriceForQuantity, io.vrap.rmf.base.client.ModelBase
DiscountedLineItemPriceForQuantity
-
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()voidsetDiscountedPrice(DiscountedLineItemPrice discountedPrice) set discountedPricevoidsetQuantity(Integer quantity) set quantitytoString()Methods inherited from interface com.commercetools.history.models.common.DiscountedLineItemPriceForQuantity
withDiscountedLineItemPriceForQuantityMethods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
DiscountedLineItemPriceForQuantityImpl
public DiscountedLineItemPriceForQuantityImpl()create empty instance
-
-
Method Details
-
getQuantity
- Specified by:
getQuantityin interfaceDiscountedLineItemPriceForQuantity- Returns:
- quantity
-
getDiscountedPrice
- Specified by:
getDiscountedPricein interfaceDiscountedLineItemPriceForQuantity- Returns:
- discountedPrice
-
setQuantity
Description copied from interface:DiscountedLineItemPriceForQuantityset quantity- Specified by:
setQuantityin interfaceDiscountedLineItemPriceForQuantity- Parameters:
quantity- value to be set
-
setDiscountedPrice
Description copied from interface:DiscountedLineItemPriceForQuantityset discountedPrice- Specified by:
setDiscountedPricein interfaceDiscountedLineItemPriceForQuantity- Parameters:
discountedPrice- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-