Interface StandalonePriceLabel
- All Superinterfaces:
Label
StandalonePriceLabel
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
StandalonePriceLabel standalonePriceLabel = StandalonePriceLabel.builder()
.sku("{sku}")
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for StandalonePriceLabel -
Method Summary
Modifier and TypeMethodDescriptionstatic StandalonePriceLabelBuilderbuilder()builder factory method for StandalonePriceLabelstatic StandalonePriceLabelBuilderbuilder(StandalonePriceLabel template) create builder for StandalonePriceLabel instancecopyDeep()static StandalonePriceLabeldeepCopy(StandalonePriceLabel template) factory method to create a deep copy of StandalonePriceLabelgetKey()User-defined unique identifier of the Standalone Price.@NotNull StringgetSku()Unique Product SKU variant identifier to which the Standalone Price is associated.@NotNull StringgetType()static StandalonePriceLabelof()factory methodstatic StandalonePriceLabelof(StandalonePriceLabel template) factory method to create a shallow copy StandalonePriceLabelvoidUser-defined unique identifier of the Standalone Price.voidUnique Product SKU variant identifier to which the Standalone Price is associated.static com.fasterxml.jackson.core.type.TypeReference<StandalonePriceLabel>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithStandalonePriceLabel(Function<StandalonePriceLabel, T> helper) accessor map function
-
Field Details
-
STANDALONE_PRICE_LABEL
discriminator value for StandalonePriceLabel- See Also:
-
-
Method Details
-
getType
-
getKey
String getKey()User-defined unique identifier of the Standalone Price.
- Returns:
- key
-
getSku
Unique Product SKU variant identifier to which the Standalone Price is associated.
- Returns:
- sku
-
setKey
User-defined unique identifier of the Standalone Price.
- Parameters:
key- value to be set
-
setSku
Unique Product SKU variant identifier to which the Standalone Price is associated.
- Parameters:
sku- value to be set
-
of
factory method- Returns:
- instance of StandalonePriceLabel
-
of
factory method to create a shallow copy StandalonePriceLabel- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
StandalonePriceLabel copyDeep() -
deepCopy
factory method to create a deep copy of StandalonePriceLabel- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for StandalonePriceLabel- Returns:
- builder
-
builder
create builder for StandalonePriceLabel instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withStandalonePriceLabel
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
-