Interface ProductSearchProjectionParams
The query parameters used for data integration with Product Projection parameters.
Example to create an instance using the builder pattern
ProductSearchProjectionParams productSearchProjectionParams = ProductSearchProjectionParams.builder()
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ProductSearchProjectionParamsbuilder
(ProductSearchProjectionParams template) create builder for ProductSearchProjectionParams instancedeepCopy
(ProductSearchProjectionParams template) factory method to create a deep copy of ProductSearchProjectionParamsExpands avalue
of type Reference in a ProductProjection.Used for locale-based projection.id
of an existing Channel used for Product price selection.The country used for Product price selection.The currency used for Product price selection.id
of an existing CustomerGroup used for Product price selection.Set totrue
to retrieve the staged Product Projectionkey
of an existing Store.of()
factory methodof
(ProductSearchProjectionParams template) factory method to create a shallow copy ProductSearchProjectionParamsvoid
Expands avalue
of type Reference in a ProductProjection.void
Expands avalue
of type Reference in a ProductProjection.void
setLocaleProjection
(String... localeProjection) Used for locale-based projection.void
setLocaleProjection
(List<String> localeProjection) Used for locale-based projection.void
setPriceChannel
(String priceChannel) id
of an existing Channel used for Product price selection.void
setPriceCountry
(String priceCountry) The country used for Product price selection.void
setPriceCurrency
(String priceCurrency) The currency used for Product price selection.void
setPriceCustomerGroup
(String priceCustomerGroup) id
of an existing CustomerGroup used for Product price selection.void
Set totrue
to retrieve the staged Product Projectionvoid
setStoreProjection
(String storeProjection) key
of an existing Store.static com.fasterxml.jackson.core.type.TypeReference<ProductSearchProjectionParams>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map function
-
Method Details
-
getExpand
Expands a
value
of type Reference in a ProductProjection. In case the referenced object does not exist, the API returns the non-expanded reference.- Returns:
- expand
-
getStaged
Boolean getStaged()Set to
true
to retrieve the staged Product Projection- Returns:
- staged
-
getPriceCurrency
String getPriceCurrency()The currency used for Product price selection.
- Returns:
- priceCurrency
-
getPriceCountry
String getPriceCountry()The country used for Product price selection. Can only be used in conjunction with the
priceCurrency
parameter.- Returns:
- priceCountry
-
getPriceCustomerGroup
String getPriceCustomerGroup()id
of an existing CustomerGroup used for Product price selection. Can only be used in conjunction with thepriceCurrency
parameter.- Returns:
- priceCustomerGroup
-
getPriceChannel
String getPriceChannel()id
of an existing Channel used for Product price selection. Can only be used in conjunction with thepriceCurrency
parameter.- Returns:
- priceChannel
-
getLocaleProjection
Used for locale-based projection.
- Returns:
- localeProjection
-
getStoreProjection
String getStoreProjection()key
of an existing Store. If the Store has defined some languages, countries, distribution or supply Channels, they are used for projections based on locale, price, and inventory. If the Store has defined Product Selections or Product Tailoring, they have no effect on the results of this query.- Returns:
- storeProjection
-
setExpand
Expands a
value
of type Reference in a ProductProjection. In case the referenced object does not exist, the API returns the non-expanded reference.- Parameters:
expand
- values to be set
-
setExpand
Expands a
value
of type Reference in a ProductProjection. In case the referenced object does not exist, the API returns the non-expanded reference.- Parameters:
expand
- values to be set
-
setStaged
Set to
true
to retrieve the staged Product Projection- Parameters:
staged
- value to be set
-
setPriceCurrency
The currency used for Product price selection.
- Parameters:
priceCurrency
- value to be set
-
setPriceCountry
The country used for Product price selection. Can only be used in conjunction with the
priceCurrency
parameter.- Parameters:
priceCountry
- value to be set
-
setPriceCustomerGroup
id
of an existing CustomerGroup used for Product price selection. Can only be used in conjunction with thepriceCurrency
parameter.- Parameters:
priceCustomerGroup
- value to be set
-
setPriceChannel
id
of an existing Channel used for Product price selection. Can only be used in conjunction with thepriceCurrency
parameter.- Parameters:
priceChannel
- value to be set
-
setLocaleProjection
Used for locale-based projection.
- Parameters:
localeProjection
- values to be set
-
setLocaleProjection
Used for locale-based projection.
- Parameters:
localeProjection
- values to be set
-
setStoreProjection
key
of an existing Store. If the Store has defined some languages, countries, distribution or supply Channels, they are used for projections based on locale, price, and inventory. If the Store has defined Product Selections or Product Tailoring, they have no effect on the results of this query.- Parameters:
storeProjection
- value to be set
-
of
factory method- Returns:
- instance of ProductSearchProjectionParams
-
of
factory method to create a shallow copy ProductSearchProjectionParams- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
@Nullable static ProductSearchProjectionParams deepCopy(@Nullable ProductSearchProjectionParams template) factory method to create a deep copy of ProductSearchProjectionParams- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for ProductSearchProjectionParams- Returns:
- builder
-
builder
create builder for ProductSearchProjectionParams instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withProductSearchProjectionParams
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
-