Class CartSetDeleteDaysAfterLastModificationActionImpl
java.lang.Object
com.commercetools.api.models.cart.CartSetDeleteDaysAfterLastModificationActionImpl
- All Implemented Interfaces:
CartSetDeleteDaysAfterLastModificationAction
,CartUpdateAction
,ResourceUpdateAction<CartUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class CartSetDeleteDaysAfterLastModificationActionImpl
extends Object
implements CartSetDeleteDaysAfterLastModificationAction, io.vrap.rmf.base.client.ModelBase
Number of days after which a Cart with Active
CartState is deleted since its last modification.
If a ChangeSubscription exists for Carts, a ResourceDeletedDeliveryPayload is sent.
-
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.cart.CartSetDeleteDaysAfterLastModificationAction
SET_DELETE_DAYS_AFTER_LAST_MODIFICATION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Value to set.int
hashCode()
void
setDeleteDaysAfterLastModification
(Integer deleteDaysAfterLastModification) Value to set.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.cart.CartSetDeleteDaysAfterLastModificationAction
withCartSetDeleteDaysAfterLastModificationAction
Methods inherited from interface com.commercetools.api.models.cart.CartUpdateAction
withCartUpdateAction
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
CartSetDeleteDaysAfterLastModificationActionImpl
public CartSetDeleteDaysAfterLastModificationActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceCartUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<CartUpdateAction>
- Returns:
- action
-
getDeleteDaysAfterLastModification
Value to set. If not provided, the default value for this field configured in Project settings is assigned.
- Specified by:
getDeleteDaysAfterLastModification
in interfaceCartSetDeleteDaysAfterLastModificationAction
- Returns:
- deleteDaysAfterLastModification
-
setDeleteDaysAfterLastModification
Description copied from interface:CartSetDeleteDaysAfterLastModificationAction
Value to set. If not provided, the default value for this field configured in Project settings is assigned.
- Specified by:
setDeleteDaysAfterLastModification
in interfaceCartSetDeleteDaysAfterLastModificationAction
- Parameters:
deleteDaysAfterLastModification
- value to be set
-
equals
-
hashCode
public int hashCode()
-