public static final class PromotionsManager.RestrictionSetResult
extends java.lang.Object
| Constructor and Description |
|---|
RestrictionSetResult()
Create a deny restriction set
|
RestrictionSetResult(java.util.List<Product> allowedProducts)
Create an allow restriction set with specified products.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Product> |
getAllowedProducts()
Get the filtered product list.
|
boolean |
isAllowedToContinue()
Check if the restrictions allow the promotion evaluation to continue.
|
public RestrictionSetResult()
public RestrictionSetResult(java.util.List<Product> allowedProducts)
allowedProducts - the list of allowed productspublic boolean isAllowedToContinue()
public java.util.List<Product> getAllowedProducts()
Copyright © 2018 SAP SE. All Rights Reserved.