Class ProductSearchProjectionParamsBuilder
- All Implemented Interfaces:
Builder<ProductSearchProjectionParams>
Example to create an instance using the builder pattern
ProductSearchProjectionParams productSearchProjectionParams = ProductSearchProjectionParams.builder()
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Deprecated.builds ProductSearchProjectionParams with checking for non-null required valuesDeprecated.builds ProductSearchProjectionParams without checking for non-null required valuesDeprecated.Deprecated.Deprecated.Deprecated.Used for locale-based projection.Deprecated.Deprecated.The country used for Product price selection.Deprecated.The currency used for Product price selection.Deprecated.Deprecated.IDs of existing CustomerGroups used for Product price selection, when using multiple Customer Groups.Deprecated.Set totrueto retrieve the staged Product ProjectionDeprecated.keyof an existing Store.localeProjection(String... localeProjection) Deprecated.Used for locale-based projection.localeProjection(List<String> localeProjection) Deprecated.Used for locale-based projection.of()Deprecated.factory method for an instance of ProductSearchProjectionParamsBuilderof(ProductSearchProjectionParams template) Deprecated.create builder for ProductSearchProjectionParams instanceplusExpand(String... expand) Deprecated.plusLocaleProjection(String... localeProjection) Deprecated.Used for locale-based projection.plusPriceCustomerGroupAssignments(String... priceCustomerGroupAssignments) Deprecated.IDs of existing CustomerGroups used for Product price selection, when using multiple Customer Groups.priceChannel(String priceChannel) Deprecated.priceCountry(String priceCountry) Deprecated.The country used for Product price selection.priceCurrency(String priceCurrency) Deprecated.The currency used for Product price selection.priceCustomerGroup(String priceCustomerGroup) Deprecated.priceCustomerGroupAssignments(String... priceCustomerGroupAssignments) Deprecated.IDs of existing CustomerGroups used for Product price selection, when using multiple Customer Groups.priceCustomerGroupAssignments(List<String> priceCustomerGroupAssignments) Deprecated.IDs of existing CustomerGroups used for Product price selection, when using multiple Customer Groups.Deprecated.Set totrueto retrieve the staged Product ProjectionstoreProjection(String storeProjection) Deprecated.keyof an existing Store.
-
Constructor Details
-
ProductSearchProjectionParamsBuilder
public ProductSearchProjectionParamsBuilder()Deprecated.
-
-
Method Details
-
expand
Deprecated.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- value to be set- Returns:
- Builder
-
expand
Deprecated.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- value to be set- Returns:
- Builder
-
plusExpand
Deprecated.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- value to be set- Returns:
- Builder
-
staged
Deprecated.Set to
trueto retrieve the staged Product Projection- Parameters:
staged- value to be set- Returns:
- Builder
-
priceCurrency
Deprecated.The currency used for Product price selection.
- Parameters:
priceCurrency- value to be set- Returns:
- Builder
-
priceCountry
Deprecated.The country used for Product price selection. It can be used only in conjunction with the
priceCurrencyparameter.- Parameters:
priceCountry- value to be set- Returns:
- Builder
-
priceCustomerGroup
Deprecated.idof an existing CustomerGroup used for Product price selection. It can be used only in conjunction with thepriceCurrencyparameter.- Parameters:
priceCustomerGroup- value to be set- Returns:
- Builder
-
priceCustomerGroupAssignments
public ProductSearchProjectionParamsBuilder priceCustomerGroupAssignments(@Nullable String... priceCustomerGroupAssignments) Deprecated.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- value to be set- Returns:
- Builder
-
priceCustomerGroupAssignments
public ProductSearchProjectionParamsBuilder priceCustomerGroupAssignments(@Nullable List<String> priceCustomerGroupAssignments) Deprecated.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- value to be set- Returns:
- Builder
-
plusPriceCustomerGroupAssignments
public ProductSearchProjectionParamsBuilder plusPriceCustomerGroupAssignments(@Nullable String... priceCustomerGroupAssignments) Deprecated.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- value to be set- Returns:
- Builder
-
priceChannel
Deprecated.idof an existing Channel used for Product price selection. It can be used only in conjunction with thepriceCurrencyparameter.- Parameters:
priceChannel- value to be set- Returns:
- Builder
-
localeProjection
Deprecated.Used for locale-based projection.
- Parameters:
localeProjection- value to be set- Returns:
- Builder
-
localeProjection
public ProductSearchProjectionParamsBuilder localeProjection(@Nullable List<String> localeProjection) Deprecated.Used for locale-based projection.
- Parameters:
localeProjection- value to be set- Returns:
- Builder
-
plusLocaleProjection
public ProductSearchProjectionParamsBuilder plusLocaleProjection(@Nullable String... localeProjection) Deprecated.Used for locale-based projection.
- Parameters:
localeProjection- value to be set- Returns:
- Builder
-
storeProjection
Deprecated.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- Returns:
- Builder
-
getExpand
Deprecated.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
Deprecated.Set to
trueto retrieve the staged Product Projection- Returns:
- staged
-
getPriceCurrency
Deprecated.The currency used for Product price selection.
- Returns:
- priceCurrency
-
getPriceCountry
Deprecated.The country used for Product price selection. It can be used only in conjunction with the
priceCurrencyparameter.- Returns:
- priceCountry
-
getPriceCustomerGroup
Deprecated.idof an existing CustomerGroup used for Product price selection. It can be used only in conjunction with thepriceCurrencyparameter.- Returns:
- priceCustomerGroup
-
getPriceCustomerGroupAssignments
Deprecated.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
Deprecated.idof an existing Channel used for Product price selection. It can be used only in conjunction with thepriceCurrencyparameter.- Returns:
- priceChannel
-
getLocaleProjection
Deprecated.Used for locale-based projection.
- Returns:
- localeProjection
-
getStoreProjection
Deprecated.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
-
build
Deprecated.builds ProductSearchProjectionParams with checking for non-null required values- Specified by:
buildin interfaceBuilder<ProductSearchProjectionParams>- Returns:
- ProductSearchProjectionParams
-
buildUnchecked
Deprecated.builds ProductSearchProjectionParams without checking for non-null required values- Returns:
- ProductSearchProjectionParams
-
of
Deprecated.factory method for an instance of ProductSearchProjectionParamsBuilder- Returns:
- builder
-
of
Deprecated.create builder for ProductSearchProjectionParams instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-