Class ExtensionInputImpl
java.lang.Object
com.commercetools.api.models.extension.ExtensionInputImpl
- All Implemented Interfaces:
ExtensionInput
,io.vrap.rmf.base.client.ModelBase
public class ExtensionInputImpl
extends Object
implements ExtensionInput, io.vrap.rmf.base.client.ModelBase
ExtensionInput
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Create
orUpdate
request.Expanded reference to the resource that triggered the Extension.int
hashCode()
void
setAction
(ExtensionAction action) Create
orUpdate
request.void
setResource
(Reference resource) Expanded reference to the resource that triggered the Extension.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.extension.ExtensionInput
withExtensionInput
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
ExtensionInputImpl
public ExtensionInputImpl()create empty instance
-
-
Method Details
-
getAction
Create
orUpdate
request.- Specified by:
getAction
in interfaceExtensionInput
- Returns:
- action
-
getResource
Expanded reference to the resource that triggered the Extension.
- Specified by:
getResource
in interfaceExtensionInput
- Returns:
- resource
-
setAction
Description copied from interface:ExtensionInput
Create
orUpdate
request.- Specified by:
setAction
in interfaceExtensionInput
- Parameters:
action
- value to be set
-
setResource
Description copied from interface:ExtensionInput
Expanded reference to the resource that triggered the Extension.
- Specified by:
setResource
in interfaceExtensionInput
- Parameters:
resource
- value to be set
-
equals
-
hashCode
-