Interface SearchMatchingVariant
public interface SearchMatchingVariant
SearchMatchingVariant
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
SearchMatchingVariant searchMatchingVariant = SearchMatchingVariant.builder()
.id(0.3)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic SearchMatchingVariantBuilderbuilder()builder factory method for SearchMatchingVariantstatic SearchMatchingVariantBuilderbuilder(SearchMatchingVariant template) create builder for SearchMatchingVariant instancecopyDeep()static SearchMatchingVariantdeepCopy(SearchMatchingVariant template) factory method to create a deep copy of SearchMatchingVariant@NotNull IntegergetId()Unique identifier of the variant.getSku()SKU of the matching variant.static SearchMatchingVariantof()factory methodstatic SearchMatchingVariantof(SearchMatchingVariant template) factory method to create a shallow copy SearchMatchingVariantvoidUnique identifier of the variant.voidSKU of the matching variant.static com.fasterxml.jackson.core.type.TypeReference<SearchMatchingVariant>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map function
-
Method Details
-
getId
Unique identifier of the variant.
- Returns:
- id
-
getSku
String getSku()SKU of the matching variant.
- Returns:
- sku
-
setId
Unique identifier of the variant.
- Parameters:
id- value to be set
-
setSku
SKU of the matching variant.
- Parameters:
sku- value to be set
-
of
factory method- Returns:
- instance of SearchMatchingVariant
-
of
factory method to create a shallow copy SearchMatchingVariant- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
SearchMatchingVariant copyDeep() -
deepCopy
factory method to create a deep copy of SearchMatchingVariant- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for SearchMatchingVariant- Returns:
- builder
-
builder
create builder for SearchMatchingVariant instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withSearchMatchingVariant
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
-