Class ProductVariantChannelAvailabilityImpl
java.lang.Object
com.commercetools.history.models.common.ProductVariantChannelAvailabilityImpl
- All Implemented Interfaces:
ProductVariantChannelAvailability,io.vrap.rmf.base.client.ModelBase
public class ProductVariantChannelAvailabilityImpl
extends Object
implements ProductVariantChannelAvailability, io.vrap.rmf.base.client.ModelBase
ProductVariantChannelAvailability
-
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()voidsetAvailableQuantity(Integer availableQuantity) set availableQuantityvoidsetIsOnStock(Boolean isOnStock) set isOnStockvoidsetRestockableInDays(Integer restockableInDays) set restockableInDaysMethods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionStringMethods inherited from interface com.commercetools.history.models.common.ProductVariantChannelAvailability
withProductVariantChannelAvailability
-
Constructor Details
-
ProductVariantChannelAvailabilityImpl
create empty instance
-
-
Method Details
-
getIsOnStock
- Specified by:
getIsOnStockin interfaceProductVariantChannelAvailability- Returns:
- isOnStock
-
getRestockableInDays
- Specified by:
getRestockableInDaysin interfaceProductVariantChannelAvailability- Returns:
- restockableInDays
-
getAvailableQuantity
- Specified by:
getAvailableQuantityin interfaceProductVariantChannelAvailability- Returns:
- availableQuantity
-
setIsOnStock
Description copied from interface:ProductVariantChannelAvailabilityset isOnStock- Specified by:
setIsOnStockin interfaceProductVariantChannelAvailability- Parameters:
isOnStock- value to be set
-
setRestockableInDays
Description copied from interface:ProductVariantChannelAvailabilityset restockableInDays- Specified by:
setRestockableInDaysin interfaceProductVariantChannelAvailability- Parameters:
restockableInDays- value to be set
-
setAvailableQuantity
Description copied from interface:ProductVariantChannelAvailabilityset availableQuantity- Specified by:
setAvailableQuantityin interfaceProductVariantChannelAvailability- Parameters:
availableQuantity- value to be set
-
equals
-
hashCode
-