Interface SkuToEntitlementLookupService
- All Known Implementing Classes:
DefaultSkuToEntitlementLookupService
public interface SkuToEntitlementLookupService
-
Method Summary
Modifier and TypeMethodDescriptiongetEntitlementsBySku(String skuId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Gather the set of entitlements that assigned to a given sku
-
Method Details
-
getEntitlementsBySku
Set<String> getEntitlementsBySku(String skuId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Gather the set of entitlements that assigned to a given sku- Parameters:
skuId- The id of the relevant skucontextInfo- context information around the multi-tenant state- Returns:
- the set of entitlements that assigned to a given sku
-