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