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