Interface ProductSearchMatchingVariantEntry
public interface ProductSearchMatchingVariantEntry
ProductSearchMatchingVariantEntry
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProductSearchMatchingVariantEntry productSearchMatchingVariantEntry = ProductSearchMatchingVariantEntry.builder()
.id(0.3)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ProductSearchMatchingVariantEntrybuilder
(ProductSearchMatchingVariantEntry template) create builder for ProductSearchMatchingVariantEntry instancedeepCopy
(ProductSearchMatchingVariantEntry template) factory method to create a deep copy of ProductSearchMatchingVariantEntry@NotNull Integer
getId()
Unique identifier of the variant.getSku()
SKU of the matching variant.of()
factory methodof
(ProductSearchMatchingVariantEntry template) factory method to create a shallow copy ProductSearchMatchingVariantEntryvoid
Unique identifier of the variant.void
SKU of the matching variant.static com.fasterxml.jackson.core.type.TypeReference<ProductSearchMatchingVariantEntry>
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 ProductSearchMatchingVariantEntry
-
of
factory method to create a shallow copy ProductSearchMatchingVariantEntry- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ProductSearchMatchingVariantEntry deepCopy(@Nullable ProductSearchMatchingVariantEntry template) factory method to create a deep copy of ProductSearchMatchingVariantEntry- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProductSearchMatchingVariantEntry- Returns:
- builder
-
builder
create builder for ProductSearchMatchingVariantEntry instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withProductSearchMatchingVariantEntry
default <T> T withProductSearchMatchingVariantEntry(Function<ProductSearchMatchingVariantEntry, T> helper) accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<ProductSearchMatchingVariantEntry> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-