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
-
Method Summary
Modifier and TypeMethodDescriptionstatic AttributeNumberTypeBuilder
builder()
builder factory method for AttributeNumberTypestatic AttributeNumberTypeBuilder
builder
(AttributeNumberType template) create builder for AttributeNumberType instancestatic AttributeNumberType
deepCopy
(AttributeNumberType template) factory method to create a deep copy of AttributeNumberTypestatic AttributeNumberType
of()
factory methodstatic AttributeNumberType
of
(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> T
withAttributeNumberType
(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
-
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
-