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
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopyDeep()booleanValue to set that must be later thanvalidFrom.inthashCode()voidsetValidUntil(ZonedDateTime validUntil) Value to set that must be later thanvalidFrom.toString()Methods inherited from interface com.commercetools.api.models.discount_code.DiscountCodeSetValidUntilAction
withDiscountCodeSetValidUntilActionMethods 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
-
DiscountCodeSetValidUntilActionImpl
public DiscountCodeSetValidUntilActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getActionin interfaceDiscountCodeUpdateAction- Specified by:
getActionin interfaceResourceUpdateAction<DiscountCodeUpdateAction>- Returns:
- action
-
getValidUntil
Value to set that must be later than
validFrom. If empty, any existing value will be removed.- Specified by:
getValidUntilin interfaceDiscountCodeSetValidUntilAction- Returns:
- validUntil
-
setValidUntil
Description copied from interface:DiscountCodeSetValidUntilActionValue to set that must be later than
validFrom. If empty, any existing value will be removed.- Specified by:
setValidUntilin interfaceDiscountCodeSetValidUntilAction- Parameters:
validUntil- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-
copyDeep
- Specified by:
copyDeepin interfaceDiscountCodeSetValidUntilAction- Specified by:
copyDeepin interfaceDiscountCodeUpdateAction
-