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 SearchMatchingVariantBuilder
builder()
builder factory method for SearchMatchingVariantstatic SearchMatchingVariantBuilder
builder
(SearchMatchingVariant template) create builder for SearchMatchingVariant instancestatic SearchMatchingVariant
deepCopy
(SearchMatchingVariant template) factory method to create a deep copy of SearchMatchingVariant@NotNull Integer
getId()
Unique identifier of the variant.getSku()
SKU of the matching variant.static SearchMatchingVariant
of()
factory methodstatic SearchMatchingVariant
of
(SearchMatchingVariant template) factory method to create a shallow copy SearchMatchingVariantvoid
Unique identifier of the variant.void
SKU of the matching variant.static com.fasterxml.jackson.core.type.TypeReference<SearchMatchingVariant>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor 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
-
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
-