Interface AttributeDateType
- All Superinterfaces:
AttributeType
AttributeDateType
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
AttributeDateType attributeDateType = AttributeDateType.builder()
.build()
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic AttributeDateTypeBuilder
builder()
builder factory method for AttributeDateTypestatic AttributeDateTypeBuilder
builder
(AttributeDateType template) create builder for AttributeDateType instancestatic AttributeDateType
deepCopy
(AttributeDateType template) factory method to create a deep copy of AttributeDateTypestatic AttributeDateType
of()
factory methodstatic AttributeDateType
of
(AttributeDateType template) factory method to create a shallow copy AttributeDateTypestatic com.fasterxml.jackson.core.type.TypeReference<AttributeDateType>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withAttributeDateType
(Function<AttributeDateType, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.product_type.AttributeType
getName, withAttributeType
-
Field Details
-
DATE
discriminator value for AttributeDateType- See Also:
-
-
Method Details
-
of
factory method- Returns:
- instance of AttributeDateType
-
of
factory method to create a shallow copy AttributeDateType- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of AttributeDateType- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for AttributeDateType- Returns:
- builder
-
builder
create builder for AttributeDateType instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withAttributeDateType
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
-