Class ProductDiscountSetValidFromActionImpl
java.lang.Object
com.commercetools.api.models.product_discount.ProductDiscountSetValidFromActionImpl
- All Implemented Interfaces:
ProductDiscountSetValidFromAction
,ProductDiscountUpdateAction
,ResourceUpdateAction<ProductDiscountUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class ProductDiscountSetValidFromActionImpl
extends Object
implements ProductDiscountSetValidFromAction, io.vrap.rmf.base.client.ModelBase
ProductDiscountSetValidFromAction
-
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.product_discount.ProductDiscountSetValidFromAction
SET_VALID_FROM
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Value to set.int
hashCode()
void
setValidFrom
(ZonedDateTime validFrom) Value to set.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.product_discount.ProductDiscountSetValidFromAction
withProductDiscountSetValidFromAction
Methods inherited from interface com.commercetools.api.models.product_discount.ProductDiscountUpdateAction
withProductDiscountUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
ProductDiscountSetValidFromActionImpl
public ProductDiscountSetValidFromActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceProductDiscountUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<ProductDiscountUpdateAction>
- Returns:
- action
-
getValidFrom
Value to set. If empty, any existing value will be removed. Take Eventual Consistency into account for calculated discount values.
- Specified by:
getValidFrom
in interfaceProductDiscountSetValidFromAction
- Returns:
- validFrom
-
setValidFrom
Description copied from interface:ProductDiscountSetValidFromAction
Value to set. If empty, any existing value will be removed. Take Eventual Consistency into account for calculated discount values.
- Specified by:
setValidFrom
in interfaceProductDiscountSetValidFromAction
- Parameters:
validFrom
- value to be set
-
equals
-
hashCode
public int hashCode()
-