Interface AttributeNumberType
- All Superinterfaces:
AttributeType
AttributeNumberType
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
AttributeNumberType attributeNumberType = AttributeNumberType.builder()
.build()
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic AttributeNumberTypeBuilderbuilder()builder factory method for AttributeNumberTypestatic AttributeNumberTypeBuilderbuilder(AttributeNumberType template) create builder for AttributeNumberType instancecopyDeep()static AttributeNumberTypedeepCopy(AttributeNumberType template) factory method to create a deep copy of AttributeNumberTypestatic AttributeNumberTypeof()factory methodstatic AttributeNumberTypeof(AttributeNumberType template) factory method to create a shallow copy AttributeNumberTypestatic com.fasterxml.jackson.core.type.TypeReference<AttributeNumberType>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithAttributeNumberType(Function<AttributeNumberType, T> helper) accessor map functionMethods inherited from interface com.commercetools.importapi.models.producttypes.AttributeType
getName, withAttributeType
-
Field Details
-
NUMBER
discriminator value for AttributeNumberType- See Also:
-
-
Method Details
-
of
factory method- Returns:
- instance of AttributeNumberType
-
of
factory method to create a shallow copy AttributeNumberType- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
AttributeNumberType copyDeep()- Specified by:
copyDeepin interfaceAttributeType
-
deepCopy
factory method to create a deep copy of AttributeNumberType- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for AttributeNumberType- Returns:
- builder
-
builder
create builder for AttributeNumberType instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withAttributeNumberType
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
-