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