Interface AttributeMoneyType
- All Superinterfaces:
AttributeType
AttributeMoneyType
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
AttributeMoneyType attributeMoneyType = AttributeMoneyType.builder()
.build()
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic AttributeMoneyTypeBuilder
builder()
builder factory method for AttributeMoneyTypestatic AttributeMoneyTypeBuilder
builder
(AttributeMoneyType template) create builder for AttributeMoneyType instancestatic AttributeMoneyType
deepCopy
(AttributeMoneyType template) factory method to create a deep copy of AttributeMoneyTypestatic AttributeMoneyType
of()
factory methodstatic AttributeMoneyType
of
(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> T
withAttributeMoneyType
(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
-
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
-