Class StagedOrderSetLineItemCustomTypeActionImpl
java.lang.Object
com.commercetools.api.models.order_edit.StagedOrderSetLineItemCustomTypeActionImpl
- All Implemented Interfaces:
StagedOrderSetLineItemCustomTypeAction
,StagedOrderUpdateAction
,ResourceUpdateAction<StagedOrderUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class StagedOrderSetLineItemCustomTypeActionImpl
extends Object
implements StagedOrderSetLineItemCustomTypeAction, io.vrap.rmf.base.client.ModelBase
StagedOrderSetLineItemCustomTypeAction
-
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.order_edit.StagedOrderSetLineItemCustomTypeAction
SET_LINE_ITEM_CUSTOM_TYPE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Sets the Custom Fields fields for the LineItem.id
of the LineItem to update.key
of the LineItem to update.getType()
Defines the Type that extends the LineItem with Custom Fields.int
hashCode()
void
setFields
(FieldContainer fields) Sets the Custom Fields fields for the LineItem.void
setLineItemId
(String lineItemId) id
of the LineItem to update.void
setLineItemKey
(String lineItemKey) key
of the LineItem to update.void
Defines the Type that extends the LineItem with Custom Fields.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
Methods inherited from interface com.commercetools.api.models.order_edit.StagedOrderSetLineItemCustomTypeAction
withStagedOrderSetLineItemCustomTypeAction
Methods inherited from interface com.commercetools.api.models.order.StagedOrderUpdateAction
withStagedOrderUpdateAction
-
Constructor Details
-
StagedOrderSetLineItemCustomTypeActionImpl
create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<StagedOrderUpdateAction>
- Specified by:
getAction
in interfaceStagedOrderUpdateAction
- Returns:
- action
-
getLineItemId
id
of the LineItem to update. EitherlineItemId
orlineItemKey
is required.- Specified by:
getLineItemId
in interfaceStagedOrderSetLineItemCustomTypeAction
- Returns:
- lineItemId
-
getLineItemKey
key
of the LineItem to update. EitherlineItemId
orlineItemKey
is required.- Specified by:
getLineItemKey
in interfaceStagedOrderSetLineItemCustomTypeAction
- Returns:
- lineItemKey
-
getType
Defines the Type that extends the LineItem with Custom Fields. If absent, any existing Type and Custom Fields are removed from the LineItem.
- Specified by:
getType
in interfaceStagedOrderSetLineItemCustomTypeAction
- Returns:
- type
-
getFields
Sets the Custom Fields fields for the LineItem.
- Specified by:
getFields
in interfaceStagedOrderSetLineItemCustomTypeAction
- Returns:
- fields
-
setLineItemId
Description copied from interface:StagedOrderSetLineItemCustomTypeAction
id
of the LineItem to update. EitherlineItemId
orlineItemKey
is required.- Specified by:
setLineItemId
in interfaceStagedOrderSetLineItemCustomTypeAction
- Parameters:
lineItemId
- value to be set
-
setLineItemKey
Description copied from interface:StagedOrderSetLineItemCustomTypeAction
key
of the LineItem to update. EitherlineItemId
orlineItemKey
is required.- Specified by:
setLineItemKey
in interfaceStagedOrderSetLineItemCustomTypeAction
- Parameters:
lineItemKey
- value to be set
-
setType
Description copied from interface:StagedOrderSetLineItemCustomTypeAction
Defines the Type that extends the LineItem with Custom Fields. If absent, any existing Type and Custom Fields are removed from the LineItem.
- Specified by:
setType
in interfaceStagedOrderSetLineItemCustomTypeAction
- Parameters:
type
- value to be set
-
setFields
Description copied from interface:StagedOrderSetLineItemCustomTypeAction
Sets the Custom Fields fields for the LineItem.
- Specified by:
setFields
in interfaceStagedOrderSetLineItemCustomTypeAction
- Parameters:
fields
- value to be set
-
equals
-
hashCode
-