Class CartSetCustomLineItemCustomTypeActionImpl
java.lang.Object
com.commercetools.api.models.cart.CartSetCustomLineItemCustomTypeActionImpl
- All Implemented Interfaces:
CartSetCustomLineItemCustomTypeAction
,CartUpdateAction
,ResourceUpdateAction<CartUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class CartSetCustomLineItemCustomTypeActionImpl
extends Object
implements CartSetCustomLineItemCustomTypeAction, io.vrap.rmf.base.client.ModelBase
CartSetCustomLineItemCustomTypeAction
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Field Summary
Fields inherited from interface com.commercetools.api.models.cart.CartSetCustomLineItemCustomTypeAction
SET_CUSTOM_LINE_ITEM_CUSTOM_TYPE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
id
of the CustomLineItem to update.Sets the Custom Fields fields for the CustomLineItem.getType()
Defines the Type that extends the CustomLineItem with Custom Fields.int
hashCode()
void
setCustomLineItemId
(String customLineItemId) id
of the CustomLineItem to update.void
setFields
(FieldContainer fields) Sets the Custom Fields fields for the CustomLineItem.void
Defines the Type that extends the CustomLineItem with Custom Fields.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.cart.CartSetCustomLineItemCustomTypeAction
withCartSetCustomLineItemCustomTypeAction
Methods inherited from interface com.commercetools.api.models.cart.CartUpdateAction
withCartUpdateAction
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
CartSetCustomLineItemCustomTypeActionImpl
create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceCartUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<CartUpdateAction>
- Returns:
- action
-
getCustomLineItemId
id
of the CustomLineItem to update.- Specified by:
getCustomLineItemId
in interfaceCartSetCustomLineItemCustomTypeAction
- Returns:
- customLineItemId
-
getType
Defines the Type that extends the CustomLineItem with Custom Fields. If absent, any existing Type and Custom Fields are removed from the CustomLineItem.
- Specified by:
getType
in interfaceCartSetCustomLineItemCustomTypeAction
- Returns:
- type
-
getFields
Sets the Custom Fields fields for the CustomLineItem.
- Specified by:
getFields
in interfaceCartSetCustomLineItemCustomTypeAction
- Returns:
- fields
-
setCustomLineItemId
Description copied from interface:CartSetCustomLineItemCustomTypeAction
id
of the CustomLineItem to update.- Specified by:
setCustomLineItemId
in interfaceCartSetCustomLineItemCustomTypeAction
- Parameters:
customLineItemId
- value to be set
-
setType
Description copied from interface:CartSetCustomLineItemCustomTypeAction
Defines the Type that extends the CustomLineItem with Custom Fields. If absent, any existing Type and Custom Fields are removed from the CustomLineItem.
- Specified by:
setType
in interfaceCartSetCustomLineItemCustomTypeAction
- Parameters:
type
- value to be set
-
setFields
Description copied from interface:CartSetCustomLineItemCustomTypeAction
Sets the Custom Fields fields for the CustomLineItem.
- Specified by:
setFields
in interfaceCartSetCustomLineItemCustomTypeAction
- Parameters:
fields
- value to be set
-
equals
-
hashCode
-