Interface StandalonePriceResourceIdentifier
- All Superinterfaces:
ResourceIdentifier,WithKey
ResourceIdentifier to a StandalonePrice.
Example to create an instance using the builder pattern
StandalonePriceResourceIdentifier standalonePriceResourceIdentifier = StandalonePriceResourceIdentifier.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for StandalonePriceResourceIdentifier -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for StandalonePriceResourceIdentifierbuilder(StandalonePriceResourceIdentifier template) create builder for StandalonePriceResourceIdentifier instancecopyDeep()deepCopy(StandalonePriceResourceIdentifier template) factory method to create a deep copy of StandalonePriceResourceIdentifierof()factory methodof(StandalonePriceResourceIdentifier template) factory method to create a shallow copy StandalonePriceResourceIdentifierstatic com.fasterxml.jackson.core.type.TypeReference<StandalonePriceResourceIdentifier>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.common.ResourceIdentifier
getId, getKey, getTypeId, setId, setKey, withResourceIdentifier
-
Field Details
-
STANDALONE_PRICE
discriminator value for StandalonePriceResourceIdentifier- See Also:
-
-
Method Details
-
of
factory method- Returns:
- instance of StandalonePriceResourceIdentifier
-
of
factory method to create a shallow copy StandalonePriceResourceIdentifier- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
StandalonePriceResourceIdentifier copyDeep()- Specified by:
copyDeepin interfaceResourceIdentifier
-
deepCopy
@Nullable static StandalonePriceResourceIdentifier deepCopy(@Nullable StandalonePriceResourceIdentifier template) factory method to create a deep copy of StandalonePriceResourceIdentifier- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for StandalonePriceResourceIdentifier- Returns:
- builder
-
builder
create builder for StandalonePriceResourceIdentifier instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withStandalonePriceResourceIdentifier
default <T> T withStandalonePriceResourceIdentifier(Function<StandalonePriceResourceIdentifier, T> helper) accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<StandalonePriceResourceIdentifier> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-