Interface DateSetField
- All Superinterfaces:
CustomField
A field with a date set value.
Example to create an instance using the builder pattern
DateSetField dateSetField = DateSetField.builder()
.plusValue(valueBuilder -> valueBuilder)
.build()
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DateSetFieldBuilder
builder()
builder factory method for DateSetFieldstatic DateSetFieldBuilder
builder
(DateSetField template) create builder for DateSetField instancestatic DateSetField
deepCopy
(DateSetField template) factory method to create a deep copy of DateSetFieldgetValue()
static DateSetField
of()
factory methodstatic DateSetField
of
(DateSetField template) factory method to create a shallow copy DateSetFieldvoid
set valuevoid
set valuestatic com.fasterxml.jackson.core.type.TypeReference<DateSetField>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withDateSetField
(Function<DateSetField, T> helper) accessor map functionMethods inherited from interface com.commercetools.importapi.models.customfields.CustomField
getType, withCustomField
-
Field Details
-
DATE_SET
discriminator value for DateSetField- See Also:
-
-
Method Details
-
getValue
- Returns:
- value
-
setValue
set value- Parameters:
value
- values to be set
-
setValue
set value- Parameters:
value
- values to be set
-
of
factory method- Returns:
- instance of DateSetField
-
of
factory method to create a shallow copy DateSetField- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of DateSetField- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for DateSetField- Returns:
- builder
-
builder
create builder for DateSetField instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withDateSetField
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-