Interface AttributeMoneyType
- All Superinterfaces:
AttributeType
Attribute type for Money type values.
Example to create an instance using the builder pattern
AttributeMoneyType attributeMoneyType = AttributeMoneyType.builder()
.build()
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic AttributeMoneyTypeBuilderbuilder()builder factory method for AttributeMoneyTypestatic AttributeMoneyTypeBuilderbuilder(AttributeMoneyType template) create builder for AttributeMoneyType instancecopyDeep()static AttributeMoneyTypedeepCopy(AttributeMoneyType template) factory method to create a deep copy of AttributeMoneyTypestatic AttributeMoneyTypeof()factory methodstatic AttributeMoneyTypeof(AttributeMoneyType template) factory method to create a shallow copy AttributeMoneyTypestatic com.fasterxml.jackson.core.type.TypeReference<AttributeMoneyType>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithAttributeMoneyType(Function<AttributeMoneyType, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.product_type.AttributeType
getName, withAttributeType
-
Field Details
-
MONEY
discriminator value for AttributeMoneyType- See Also:
-
-
Method Details
-
of
factory method- Returns:
- instance of AttributeMoneyType
-
of
factory method to create a shallow copy AttributeMoneyType- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
AttributeMoneyType copyDeep()- Specified by:
copyDeepin interfaceAttributeType
-
deepCopy
factory method to create a deep copy of AttributeMoneyType- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for AttributeMoneyType- Returns:
- builder
-
builder
create builder for AttributeMoneyType instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withAttributeMoneyType
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
-