Class StagedOrderSetParcelCustomTypeActionImpl
java.lang.Object
com.commercetools.api.models.order_edit.StagedOrderSetParcelCustomTypeActionImpl
- All Implemented Interfaces:
StagedOrderSetParcelCustomTypeAction
,StagedOrderUpdateAction
,ResourceUpdateAction<StagedOrderUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class StagedOrderSetParcelCustomTypeActionImpl
extends Object
implements StagedOrderSetParcelCustomTypeAction, io.vrap.rmf.base.client.ModelBase
StagedOrderSetParcelCustomTypeAction
-
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.StagedOrderSetParcelCustomTypeAction
SET_PARCEL_CUSTOM_TYPE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Sets the Custom Fields fields for the Parcel.EitherparcelId
orparcelKey
is required for this update action.EitherparcelId
orparcelKey
is required for this update action.getType()
Defines the Type that extends the Parcel with Custom Fields.int
hashCode()
void
setFields
(FieldContainer fields) Sets the Custom Fields fields for the Parcel.void
setParcelId
(String parcelId) EitherparcelId
orparcelKey
is required for this update action.void
setParcelKey
(String parcelKey) EitherparcelId
orparcelKey
is required for this update action.void
Defines the Type that extends the Parcel 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.StagedOrderSetParcelCustomTypeAction
withStagedOrderSetParcelCustomTypeAction
Methods inherited from interface com.commercetools.api.models.order.StagedOrderUpdateAction
withStagedOrderUpdateAction
-
Constructor Details
-
StagedOrderSetParcelCustomTypeActionImpl
create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<StagedOrderUpdateAction>
- Specified by:
getAction
in interfaceStagedOrderUpdateAction
- Returns:
- action
-
getParcelId
Either
parcelId
orparcelKey
is required for this update action.- Specified by:
getParcelId
in interfaceStagedOrderSetParcelCustomTypeAction
- Returns:
- parcelId
-
getParcelKey
Either
parcelId
orparcelKey
is required for this update action.- Specified by:
getParcelKey
in interfaceStagedOrderSetParcelCustomTypeAction
- Returns:
- parcelKey
-
getType
Defines the Type that extends the Parcel with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Parcel.
- Specified by:
getType
in interfaceStagedOrderSetParcelCustomTypeAction
- Returns:
- type
-
getFields
Sets the Custom Fields fields for the Parcel.
- Specified by:
getFields
in interfaceStagedOrderSetParcelCustomTypeAction
- Returns:
- fields
-
setParcelId
Description copied from interface:StagedOrderSetParcelCustomTypeAction
Either
parcelId
orparcelKey
is required for this update action.- Specified by:
setParcelId
in interfaceStagedOrderSetParcelCustomTypeAction
- Parameters:
parcelId
- value to be set
-
setParcelKey
Description copied from interface:StagedOrderSetParcelCustomTypeAction
Either
parcelId
orparcelKey
is required for this update action.- Specified by:
setParcelKey
in interfaceStagedOrderSetParcelCustomTypeAction
- Parameters:
parcelKey
- value to be set
-
setType
Description copied from interface:StagedOrderSetParcelCustomTypeAction
Defines the Type that extends the Parcel with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Parcel.
- Specified by:
setType
in interfaceStagedOrderSetParcelCustomTypeAction
- Parameters:
type
- value to be set
-
setFields
Description copied from interface:StagedOrderSetParcelCustomTypeAction
Sets the Custom Fields fields for the Parcel.
- Specified by:
setFields
in interfaceStagedOrderSetParcelCustomTypeAction
- Parameters:
fields
- value to be set
-
equals
-
hashCode
-