Class ValidFromAndUntilValueImpl
java.lang.Object
com.commercetools.history.models.change_value.ValidFromAndUntilValueImpl
- All Implemented Interfaces:
ValidFromAndUntilValue,io.vrap.rmf.base.client.ModelBase
public class ValidFromAndUntilValueImpl
extends Object
implements ValidFromAndUntilValue, io.vrap.rmf.base.client.ModelBase
ValidFromAndUntilValue
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanDate and time (UTC) from when the Discount is effective.Date and time (UTC) until when the Discount is effective.inthashCode()voidsetValidFrom(String validFrom) Date and time (UTC) from when the Discount is effective.voidsetValidUntil(String validUntil) Date and time (UTC) until when the Discount is effective.toString()Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionStringMethods inherited from interface com.commercetools.history.models.change_value.ValidFromAndUntilValue
withValidFromAndUntilValue
-
Constructor Details
-
ValidFromAndUntilValueImpl
public ValidFromAndUntilValueImpl()create empty instance
-
-
Method Details
-
getValidFrom
Date and time (UTC) from when the Discount is effective.
- Specified by:
getValidFromin interfaceValidFromAndUntilValue- Returns:
- validFrom
-
getValidUntil
Date and time (UTC) until when the Discount is effective.
- Specified by:
getValidUntilin interfaceValidFromAndUntilValue- Returns:
- validUntil
-
setValidFrom
Description copied from interface:ValidFromAndUntilValueDate and time (UTC) from when the Discount is effective.
- Specified by:
setValidFromin interfaceValidFromAndUntilValue- Parameters:
validFrom- value to be set
-
setValidUntil
Description copied from interface:ValidFromAndUntilValueDate and time (UTC) until when the Discount is effective.
- Specified by:
setValidUntilin interfaceValidFromAndUntilValue- Parameters:
validUntil- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-