Class OrderSetCustomLineItemCustomTypeActionImpl
- All Implemented Interfaces:
OrderSetCustomLineItemCustomTypeAction
,OrderUpdateAction
,ResourceUpdateAction<OrderUpdateAction>
,io.vrap.rmf.base.client.ModelBase
-
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.OrderSetCustomLineItemCustomTypeAction
SET_CUSTOM_LINE_ITEM_CUSTOM_TYPE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
id
of the CustomLineItem to update.key
of the CustomLineItem to update.Sets the Custom Fields fields for the Custom Line Item.getType()
Defines the Type that extends the Custom Line Item with Custom Fields.int
hashCode()
void
setCustomLineItemId
(String customLineItemId) id
of the CustomLineItem to update.void
setCustomLineItemKey
(String customLineItemKey) key
of the CustomLineItem to update.void
setFields
(FieldContainer fields) Sets the Custom Fields fields for the Custom Line Item.void
Defines the Type that extends the Custom Line Item with Custom Fields.toString()
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.order.OrderSetCustomLineItemCustomTypeAction
withOrderSetCustomLineItemCustomTypeAction
Methods inherited from interface com.commercetools.api.models.order.OrderUpdateAction
withOrderUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
OrderSetCustomLineItemCustomTypeActionImpl
public OrderSetCustomLineItemCustomTypeActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceOrderUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<OrderUpdateAction>
- Returns:
- action
-
getCustomLineItemId
id
of the CustomLineItem to update. EithercustomLineItemId
orcustomLineItemKey
is required.- Specified by:
getCustomLineItemId
in interfaceOrderSetCustomLineItemCustomTypeAction
- Returns:
- customLineItemId
-
getCustomLineItemKey
key
of the CustomLineItem to update. EithercustomLineItemId
orcustomLineItemKey
is required.- Specified by:
getCustomLineItemKey
in interfaceOrderSetCustomLineItemCustomTypeAction
- Returns:
- customLineItemKey
-
getType
Defines the Type that extends the Custom Line Item with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Custom Line Item.
- Specified by:
getType
in interfaceOrderSetCustomLineItemCustomTypeAction
- Returns:
- type
-
getFields
Sets the Custom Fields fields for the Custom Line Item.
- Specified by:
getFields
in interfaceOrderSetCustomLineItemCustomTypeAction
- Returns:
- fields
-
setCustomLineItemId
Description copied from interface:OrderSetCustomLineItemCustomTypeAction
id
of the CustomLineItem to update. EithercustomLineItemId
orcustomLineItemKey
is required.- Specified by:
setCustomLineItemId
in interfaceOrderSetCustomLineItemCustomTypeAction
- Parameters:
customLineItemId
- value to be set
-
setCustomLineItemKey
Description copied from interface:OrderSetCustomLineItemCustomTypeAction
key
of the CustomLineItem to update. EithercustomLineItemId
orcustomLineItemKey
is required.- Specified by:
setCustomLineItemKey
in interfaceOrderSetCustomLineItemCustomTypeAction
- Parameters:
customLineItemKey
- value to be set
-
setType
Description copied from interface:OrderSetCustomLineItemCustomTypeAction
Defines the Type that extends the Custom Line Item with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Custom Line Item.
- Specified by:
setType
in interfaceOrderSetCustomLineItemCustomTypeAction
- Parameters:
type
- value to be set
-
setFields
Description copied from interface:OrderSetCustomLineItemCustomTypeAction
Sets the Custom Fields fields for the Custom Line Item.
- Specified by:
setFields
in interfaceOrderSetCustomLineItemCustomTypeAction
- Parameters:
fields
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-