Interface CustomFieldDateType
- All Superinterfaces:
FieldType
Field type for Date values.
Example to create an instance using the builder pattern
CustomFieldDateType customFieldDateType = CustomFieldDateType.builder()
.build()
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CustomFieldDateTypeBuilder
builder()
builder factory method for CustomFieldDateTypestatic CustomFieldDateTypeBuilder
builder
(CustomFieldDateType template) create builder for CustomFieldDateType instancestatic CustomFieldDateType
deepCopy
(CustomFieldDateType template) factory method to create a deep copy of CustomFieldDateTypestatic CustomFieldDateType
of()
factory methodstatic CustomFieldDateType
of
(CustomFieldDateType template) factory method to create a shallow copy CustomFieldDateTypestatic com.fasterxml.jackson.core.type.TypeReference<CustomFieldDateType>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withCustomFieldDateType
(Function<CustomFieldDateType, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.type.FieldType
getName, withFieldType
-
Field Details
-
DATE
discriminator value for CustomFieldDateType- See Also:
-
-
Method Details
-
of
factory method- Returns:
- instance of CustomFieldDateType
-
of
factory method to create a shallow copy CustomFieldDateType- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of CustomFieldDateType- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CustomFieldDateType- Returns:
- builder
-
builder
create builder for CustomFieldDateType instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withCustomFieldDateType
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
-