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