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 instancecopyDeep()deepCopy(ProductSearchMatchingVariantEntry template) factory method to create a deep copy of ProductSearchMatchingVariantEntry@NotNull IntegergetId()idof the ProductVariant that matches the search query.getSku()skuof the ProductVariant that matches the search query.of()factory methodof(ProductSearchMatchingVariantEntry template) factory method to create a shallow copy ProductSearchMatchingVariantEntryvoididof the ProductVariant that matches the search query.voidskuof the ProductVariant that matches the search query.static com.fasterxml.jackson.core.type.TypeReference<ProductSearchMatchingVariantEntry>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map function
-
Method Details
-
getId
idof the ProductVariant that matches the search query.- Returns:
- id
-
getSku
String getSku()skuof the ProductVariant that matches the search query.- Returns:
- sku
-
setId
idof the ProductVariant that matches the search query.- Parameters:
id- value to be set
-
setSku
skuof the ProductVariant that matches the search query.- 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
-
copyDeep
ProductSearchMatchingVariantEntry copyDeep() -
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
-