Interface StandalonePriceReference
- All Superinterfaces:
Reference
,ReferenceMixin
Reference to a StandalonePrice.
Example to create an instance using the builder pattern
StandalonePriceReference standalonePriceReference = StandalonePriceReference.builder()
.id("{id}")
.build()
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
discriminator value for StandalonePriceReference -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for StandalonePriceReferencebuilder
(StandalonePriceReference template) create builder for StandalonePriceReference instancestatic StandalonePriceReference
deepCopy
(StandalonePriceReference template) factory method to create a deep copy of StandalonePriceReference@Valid StandalonePrice
getObj()
Contains the representation of the expanded StandalonePrice.static StandalonePriceReference
of()
factory methodstatic StandalonePriceReference
of
(StandalonePriceReference template) factory method to create a shallow copy StandalonePriceReferencevoid
setObj
(StandalonePrice obj) Contains the representation of the expanded StandalonePrice.static com.fasterxml.jackson.core.type.TypeReference<StandalonePriceReference>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map functionMethods inherited from interface com.commercetools.api.models.common.Reference
getId, getTypeId, setId, withReference
Methods inherited from interface com.commercetools.api.models.common.ReferenceMixin
toResourceIdentifier
-
Field Details
-
STANDALONE_PRICE
discriminator value for StandalonePriceReference- See Also:
-
-
Method Details
-
getObj
Contains the representation of the expanded StandalonePrice. Only present in responses to requests with Reference Expansion for StandalonePrice.
- Returns:
- obj
-
setObj
Contains the representation of the expanded StandalonePrice. Only present in responses to requests with Reference Expansion for StandalonePrice.
- Parameters:
obj
- value to be set
-
of
factory method- Returns:
- instance of StandalonePriceReference
-
of
factory method to create a shallow copy StandalonePriceReference- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of StandalonePriceReference- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for StandalonePriceReference- Returns:
- builder
-
builder
create builder for StandalonePriceReference instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withStandalonePriceReference
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
-