Interface CustomFieldStringType
- All Superinterfaces:
FieldType
Field type for string values.
Example to create an instance using the builder pattern
CustomFieldStringType customFieldStringType = CustomFieldStringType.builder()
.build()
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CustomFieldStringTypeBuilder
builder()
builder factory method for CustomFieldStringTypestatic CustomFieldStringTypeBuilder
builder
(CustomFieldStringType template) create builder for CustomFieldStringType instancestatic CustomFieldStringType
deepCopy
(CustomFieldStringType template) factory method to create a deep copy of CustomFieldStringTypestatic CustomFieldStringType
of()
factory methodstatic CustomFieldStringType
of
(CustomFieldStringType template) factory method to create a shallow copy CustomFieldStringTypestatic com.fasterxml.jackson.core.type.TypeReference<CustomFieldStringType>
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
-
STRING
discriminator value for CustomFieldStringType- See Also:
-
-
Method Details
-
of
factory method- Returns:
- instance of CustomFieldStringType
-
of
factory method to create a shallow copy CustomFieldStringType- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of CustomFieldStringType- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CustomFieldStringType- Returns:
- builder
-
builder
create builder for CustomFieldStringType instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withCustomFieldStringType
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
-