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
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopyDeep()booleanValue to set that must be earlier thanvalidUntil.inthashCode()voidsetValidFrom(ZonedDateTime validFrom) Value to set that must be earlier thanvalidUntil.toString()Methods inherited from interface com.commercetools.api.models.discount_code.DiscountCodeSetValidFromAction
withDiscountCodeSetValidFromActionMethods inherited from interface com.commercetools.api.models.discount_code.DiscountCodeUpdateAction
withDiscountCodeUpdateActionMethods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionStringMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
DiscountCodeSetValidFromActionImpl
public DiscountCodeSetValidFromActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getActionin interfaceDiscountCodeUpdateAction- Specified by:
getActionin interfaceResourceUpdateAction<DiscountCodeUpdateAction>- Returns:
- action
-
getValidFrom
Value to set that must be earlier than
validUntil. If empty, any existing value will be removed.- Specified by:
getValidFromin interfaceDiscountCodeSetValidFromAction- Returns:
- validFrom
-
setValidFrom
Description copied from interface:DiscountCodeSetValidFromActionValue to set that must be earlier than
validUntil. If empty, any existing value will be removed.- Specified by:
setValidFromin interfaceDiscountCodeSetValidFromAction- Parameters:
validFrom- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-
copyDeep
- Specified by:
copyDeepin interfaceDiscountCodeSetValidFromAction- Specified by:
copyDeepin interfaceDiscountCodeUpdateAction
-