Class OrderSetCustomTypeActionImpl
java.lang.Object
com.commercetools.api.models.order.OrderSetCustomTypeActionImpl
- All Implemented Interfaces:
OrderSetCustomTypeAction
,OrderUpdateAction
,ResourceUpdateAction<OrderUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class OrderSetCustomTypeActionImpl
extends Object
implements OrderSetCustomTypeAction, io.vrap.rmf.base.client.ModelBase
OrderSetCustomTypeAction
-
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.OrderSetCustomTypeAction
SET_CUSTOM_TYPE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Sets the Custom Fields fields for the Order.getType()
Defines the Type that extends the Order with Custom Fields.int
hashCode()
void
setFields
(FieldContainer fields) Sets the Custom Fields fields for the Order.void
Defines the Type that extends the Order 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.order.OrderSetCustomTypeAction
withOrderSetCustomTypeAction
Methods inherited from interface com.commercetools.api.models.order.OrderUpdateAction
withOrderUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
OrderSetCustomTypeActionImpl
public OrderSetCustomTypeActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceOrderUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<OrderUpdateAction>
- Returns:
- action
-
getType
Defines the Type that extends the Order with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Order.
- Specified by:
getType
in interfaceOrderSetCustomTypeAction
- Returns:
- type
-
getFields
Sets the Custom Fields fields for the Order.
- Specified by:
getFields
in interfaceOrderSetCustomTypeAction
- Returns:
- fields
-
setType
Description copied from interface:OrderSetCustomTypeAction
Defines the Type that extends the Order with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Order.
- Specified by:
setType
in interfaceOrderSetCustomTypeAction
- Parameters:
type
- value to be set
-
setFields
Description copied from interface:OrderSetCustomTypeAction
Sets the Custom Fields fields for the Order.
- Specified by:
setFields
in interfaceOrderSetCustomTypeAction
- Parameters:
fields
- value to be set
-
equals
-
hashCode
-