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 instancecopyDeep()deepCopy(ProductSearchProjectionParams template) factory method to create a deep copy of ProductSearchProjectionParamsUsed for locale-based projection.The country used for Product price selection.The currency used for Product price selection.IDs of existing CustomerGroups used for Product price selection, when using multiple Customer Groups.Set totrueto retrieve the staged Product Projectionkeyof an existing Store.of()factory methodof(ProductSearchProjectionParams template) factory method to create a shallow copy ProductSearchProjectionParamsvoidvoidvoidsetLocaleProjection(String... localeProjection) Used for locale-based projection.voidsetLocaleProjection(List<String> localeProjection) Used for locale-based projection.voidsetPriceChannel(String priceChannel) voidsetPriceCountry(String priceCountry) The country used for Product price selection.voidsetPriceCurrency(String priceCurrency) The currency used for Product price selection.voidsetPriceCustomerGroup(String priceCustomerGroup) voidsetPriceCustomerGroupAssignments(String... priceCustomerGroupAssignments) IDs of existing CustomerGroups used for Product price selection, when using multiple Customer Groups.voidsetPriceCustomerGroupAssignments(List<String> priceCustomerGroupAssignments) IDs of existing CustomerGroups used for Product price selection, when using multiple Customer Groups.voidSet totrueto retrieve the staged Product ProjectionvoidsetStoreProjection(String storeProjection) keyof an existing Store.static com.fasterxml.jackson.core.type.TypeReference<ProductSearchProjectionParams>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map function
-
Method Details
-
getExpand
Expands a
valueof 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
trueto 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. It can be used only in conjunction with the
priceCurrencyparameter.- Returns:
- priceCountry
-
getPriceCustomerGroup
String getPriceCustomerGroup()idof an existing CustomerGroup used for Product price selection. It can be used only in conjunction with thepriceCurrencyparameter.- Returns:
- priceCustomerGroup
-
getPriceCustomerGroupAssignments
IDs of existing CustomerGroups used for Product price selection, when using multiple Customer Groups. It can be used only in conjunction with the
priceCurrencyparameter.- Returns:
- priceCustomerGroupAssignments
-
getPriceChannel
String getPriceChannel()idof an existing Channel used for Product price selection. It can be used only in conjunction with thepriceCurrencyparameter.- Returns:
- priceChannel
-
getLocaleProjection
Used for locale-based projection.
- Returns:
- localeProjection
-
getStoreProjection
String getStoreProjection()keyof an existing Store. If the Store has definedlanguages,countries,distributionChannels, orsupplyChannels, they are used for projections based on locale, price, and inventory.For Projects with active Product Selections, the API does not take the availability of the Product in the specified Store into account.
Product Tailoring modifies the product information returned in API responses. However, you can only specify query expressions for the original Product data, not for tailored data.
- Returns:
- storeProjection
-
setExpand
Expands a
valueof 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
valueof 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
trueto 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. It can be used only in conjunction with the
priceCurrencyparameter.- Parameters:
priceCountry- value to be set
-
setPriceCustomerGroup
idof an existing CustomerGroup used for Product price selection. It can be used only in conjunction with thepriceCurrencyparameter.- Parameters:
priceCustomerGroup- value to be set
-
setPriceCustomerGroupAssignments
IDs of existing CustomerGroups used for Product price selection, when using multiple Customer Groups. It can be used only in conjunction with the
priceCurrencyparameter.- Parameters:
priceCustomerGroupAssignments- values to be set
-
setPriceCustomerGroupAssignments
IDs of existing CustomerGroups used for Product price selection, when using multiple Customer Groups. It can be used only in conjunction with the
priceCurrencyparameter.- Parameters:
priceCustomerGroupAssignments- values to be set
-
setPriceChannel
idof an existing Channel used for Product price selection. It can be used only in conjunction with thepriceCurrencyparameter.- 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
keyof an existing Store. If the Store has definedlanguages,countries,distributionChannels, orsupplyChannels, they are used for projections based on locale, price, and inventory.For Projects with active Product Selections, the API does not take the availability of the Product in the specified Store into account.
Product Tailoring modifies the product information returned in API responses. However, you can only specify query expressions for the original Product data, not for tailored data.
- 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
-
copyDeep
ProductSearchProjectionParams copyDeep() -
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
-