Class TmaDiscountAppliedToPopsResolver
java.lang.Object
de.hybris.platform.b2ctelcoservices.compatibility.eligibility.solr.indexing.resolver.TmaDiscountAppliedToPopsResolver
- All Implemented Interfaces:
de.hybris.platform.solrfacetsearch.provider.ValueResolver<AbstractDiscountRowModel>
public class TmaDiscountAppliedToPopsResolver
extends Object
implements de.hybris.platform.solrfacetsearch.provider.ValueResolver<AbstractDiscountRowModel>
Resolves Solr Property for the appliedToPops property given an
AbstractDiscountRowModel.
When there are no product offering prices defined as appliedToPops an empty element will be added to the Solr doc.- Since:
- 2302
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidresolve(de.hybris.platform.solrfacetsearch.indexer.spi.InputDocument doc, de.hybris.platform.solrfacetsearch.indexer.IndexerBatchContext batchCtx, Collection<IndexedProperty> props, AbstractDiscountRowModel discount)
-
Constructor Details
-
TmaDiscountAppliedToPopsResolver
public TmaDiscountAppliedToPopsResolver()
-
-
Method Details
-
resolve
public void resolve(de.hybris.platform.solrfacetsearch.indexer.spi.InputDocument doc, de.hybris.platform.solrfacetsearch.indexer.IndexerBatchContext batchCtx, Collection<IndexedProperty> props, AbstractDiscountRowModel discount) throws de.hybris.platform.solrfacetsearch.config.exceptions.FieldValueProviderException - Specified by:
resolvein interfacede.hybris.platform.solrfacetsearch.provider.ValueResolver<AbstractDiscountRowModel>- Throws:
de.hybris.platform.solrfacetsearch.config.exceptions.FieldValueProviderException
-