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