- All Known Implementing Classes:
ExternalPriceProvider
Interface for interacting with a (typically) remote service to save and/or fetch pricing data.
- Author:
- Kelly Tisdell (ktisdell)
-
Method Summary
Modifier and TypeMethodDescriptionbulkReadPriceData
(cz.jirutka.rsql.parser.ast.Node filters, BatchContext<?> context) Bulk read price data for products in a batch.createPriceData
(T1 priceData, BatchContext<?> batch) void
deletePriceData
(String id, BatchContext<?> batch) readPriceLists
(cz.jirutka.rsql.parser.ast.Node filters, BatchContext<?> context) Read price lists based on the provided filters.updatePriceData
(T1 priceData, BatchContext<?> batch)
-
Method Details
-
bulkReadPriceData
Bulk read price data for products in a batch. This allows reading price data for many products/pricelists at once.- Parameters:
filters
- the filters to apply to the price datacontext
- the context to use when reading the price data- Returns:
- a list of price data for the products in the batch
-
createPriceData
-
updatePriceData
-
deletePriceData
-
readPriceLists
Read price lists based on the provided filters.- Parameters:
filters
- the filters to apply to the price listscontext
- The context to use when reading the price lists- Returns:
- a list of price lists
-