Interface AttributeLocalizableTextType
- All Superinterfaces:
AttributeType
Attribute type for LocalizedString values.
Example to create an instance using the builder pattern
AttributeLocalizableTextType attributeLocalizableTextType = AttributeLocalizableTextType.builder()
.build()
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for AttributeLocalizableTextTypebuilder
(AttributeLocalizableTextType template) create builder for AttributeLocalizableTextType instancestatic AttributeLocalizableTextType
deepCopy
(AttributeLocalizableTextType template) factory method to create a deep copy of AttributeLocalizableTextTypestatic AttributeLocalizableTextType
of()
factory methodstatic AttributeLocalizableTextType
of
(AttributeLocalizableTextType template) factory method to create a shallow copy AttributeLocalizableTextTypestatic com.fasterxml.jackson.core.type.TypeReference<AttributeLocalizableTextType>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.product_type.AttributeType
getName, withAttributeType
-
Field Details
-
LTEXT
discriminator value for AttributeLocalizableTextType- See Also:
-
-
Method Details
-
of
factory method- Returns:
- instance of AttributeLocalizableTextType
-
of
factory method to create a shallow copy AttributeLocalizableTextType- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static AttributeLocalizableTextType deepCopy(@Nullable AttributeLocalizableTextType template) factory method to create a deep copy of AttributeLocalizableTextType- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for AttributeLocalizableTextType- Returns:
- builder
-
builder
create builder for AttributeLocalizableTextType instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withAttributeLocalizableTextType
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
-