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