Class DiscountCodeSetValidUntilActionImpl
java.lang.Object
com.commercetools.api.models.discount_code.DiscountCodeSetValidUntilActionImpl
- All Implemented Interfaces:
DiscountCodeSetValidUntilAction
,DiscountCodeUpdateAction
,ResourceUpdateAction<DiscountCodeUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class DiscountCodeSetValidUntilActionImpl
extends Object
implements DiscountCodeSetValidUntilAction, io.vrap.rmf.base.client.ModelBase
DiscountCodeSetValidUntilAction
-
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.discount_code.DiscountCodeSetValidUntilAction
SET_VALID_UNTIL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Value to set that must be later thanvalidFrom
.int
hashCode()
void
setValidUntil
(ZonedDateTime validUntil) Value to set that must be later thanvalidFrom
.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.discount_code.DiscountCodeSetValidUntilAction
withDiscountCodeSetValidUntilAction
Methods inherited from interface com.commercetools.api.models.discount_code.DiscountCodeUpdateAction
withDiscountCodeUpdateAction
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
DiscountCodeSetValidUntilActionImpl
public DiscountCodeSetValidUntilActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceDiscountCodeUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<DiscountCodeUpdateAction>
- Returns:
- action
-
getValidUntil
Value to set that must be later than
validFrom
. If empty, any existing value will be removed.- Specified by:
getValidUntil
in interfaceDiscountCodeSetValidUntilAction
- Returns:
- validUntil
-
setValidUntil
Description copied from interface:DiscountCodeSetValidUntilAction
Value to set that must be later than
validFrom
. If empty, any existing value will be removed.- Specified by:
setValidUntil
in interfaceDiscountCodeSetValidUntilAction
- Parameters:
validUntil
- value to be set
-
equals
-
hashCode
-