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
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for StandalonePriceReference -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for StandalonePriceReferencebuilder(StandalonePriceReference template) create builder for StandalonePriceReference instancecopyDeep()static StandalonePriceReferencedeepCopy(StandalonePriceReference template) factory method to create a deep copy of StandalonePriceReference@Valid StandalonePricegetObj()Contains the representation of the expanded StandalonePrice.static StandalonePriceReferenceof()factory methodstatic StandalonePriceReferenceof(StandalonePriceReference template) factory method to create a shallow copy StandalonePriceReferencevoidsetObj(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> Taccessor map functionMethods inherited from interface com.commercetools.api.models.common.Reference
getId, getTypeId, setId, withReferenceMethods 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
-
copyDeep
StandalonePriceReference copyDeep() -
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
-