Class ShoppingListLineItemValueImpl
java.lang.Object
com.commercetools.history.models.change_value.ShoppingListLineItemValueImpl
- All Implemented Interfaces:
ShoppingListLineItemValue,io.vrap.rmf.base.client.ModelBase
public class ShoppingListLineItemValueImpl
extends Object
implements ShoppingListLineItemValue, io.vrap.rmf.base.client.ModelBase
ShoppingListLineItemValue
-
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 TypeMethodDescriptionbooleangetId()idof the ShoppingListLineItem.getName()Name of the corresponding Product the Product Variant belongs to.idof the ProductVariant the ShoppingListLineItem refers to.inthashCode()voididof the ShoppingListLineItem.voidsetName(LocalizedString name) Name of the corresponding Product the Product Variant belongs to.voidsetVariantId(Integer variantId) idof the ProductVariant the ShoppingListLineItem refers to.toString()Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionStringMethods inherited from interface com.commercetools.history.models.change_value.ShoppingListLineItemValue
withShoppingListLineItemValue
-
Constructor Details
-
ShoppingListLineItemValueImpl
public ShoppingListLineItemValueImpl()create empty instance
-
-
Method Details
-
getId
idof the ShoppingListLineItem.- Specified by:
getIdin interfaceShoppingListLineItemValue- Returns:
- id
-
getName
Name of the corresponding Product the Product Variant belongs to.
- Specified by:
getNamein interfaceShoppingListLineItemValue- Returns:
- name
-
getVariantId
idof the ProductVariant the ShoppingListLineItem refers to.- Specified by:
getVariantIdin interfaceShoppingListLineItemValue- Returns:
- variantId
-
setId
Description copied from interface:ShoppingListLineItemValueidof the ShoppingListLineItem.- Specified by:
setIdin interfaceShoppingListLineItemValue- Parameters:
id- value to be set
-
setName
Description copied from interface:ShoppingListLineItemValueName of the corresponding Product the Product Variant belongs to.
- Specified by:
setNamein interfaceShoppingListLineItemValue- Parameters:
name- value to be set
-
setVariantId
Description copied from interface:ShoppingListLineItemValueidof the ProductVariant the ShoppingListLineItem refers to.- Specified by:
setVariantIdin interfaceShoppingListLineItemValue- Parameters:
variantId- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-