Interface CustomFieldLocalizedStringType
- All Superinterfaces:
FieldType
Field type for LocalizedString values.
Example to create an instance using the builder pattern
CustomFieldLocalizedStringType customFieldLocalizedStringType = CustomFieldLocalizedStringType.builder()
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for CustomFieldLocalizedStringType -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for CustomFieldLocalizedStringTypebuilder
(CustomFieldLocalizedStringType template) create builder for CustomFieldLocalizedStringType instancedeepCopy
(CustomFieldLocalizedStringType template) factory method to create a deep copy of CustomFieldLocalizedStringTypeof()
factory methodof
(CustomFieldLocalizedStringType template) factory method to create a shallow copy CustomFieldLocalizedStringTypestatic com.fasterxml.jackson.core.type.TypeReference<CustomFieldLocalizedStringType>
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
-
LOCALIZED_STRING
discriminator value for CustomFieldLocalizedStringType- See Also:
-
-
Method Details
-
of
factory method- Returns:
- instance of CustomFieldLocalizedStringType
-
of
factory method to create a shallow copy CustomFieldLocalizedStringType- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static CustomFieldLocalizedStringType deepCopy(@Nullable CustomFieldLocalizedStringType template) factory method to create a deep copy of CustomFieldLocalizedStringType- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CustomFieldLocalizedStringType- Returns:
- builder
-
builder
create builder for CustomFieldLocalizedStringType instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withCustomFieldLocalizedStringType
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<CustomFieldLocalizedStringType> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-