Class ChangeSubscriptionImpl
java.lang.Object
com.commercetools.api.models.subscription.ChangeSubscriptionImpl
- All Implemented Interfaces:
ChangeSubscription
,io.vrap.rmf.base.client.ModelBase
public class ChangeSubscriptionImpl
extends Object
implements ChangeSubscription, io.vrap.rmf.base.client.ModelBase
Notification about changes to a resource. The payload format differs for resource creation, update, and deletion.
-
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
Unique identifier for the type of resource, for example,cart
.int
hashCode()
void
setResourceTypeId
(ChangeSubscriptionResourceTypeId resourceTypeId) Unique identifier for the type of resource, for example,cart
.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.subscription.ChangeSubscription
withChangeSubscription
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
ChangeSubscriptionImpl
public ChangeSubscriptionImpl()create empty instance
-
-
Method Details
-
getResourceTypeId
Unique identifier for the type of resource, for example,
cart
.- Specified by:
getResourceTypeId
in interfaceChangeSubscription
- Returns:
- resourceTypeId
-
setResourceTypeId
Description copied from interface:ChangeSubscription
Unique identifier for the type of resource, for example,
cart
.- Specified by:
setResourceTypeId
in interfaceChangeSubscription
- Parameters:
resourceTypeId
- value to be set
-
equals
-
hashCode
-