public class GlobalDiscountValuesAttributeHandler extends Object implements DynamicAttributeHandler<List<DiscountValue>,AbstractOrderModel>
| Constructor and Description |
|---|
GlobalDiscountValuesAttributeHandler() |
| Modifier and Type | Method and Description |
|---|---|
List<DiscountValue> |
get(AbstractOrderModel model)
Holds logic behind getter for dynamic attribute.
|
void |
set(AbstractOrderModel model,
List<DiscountValue> discountValues)
Holds logic behind setter for dynamic attribute.
|
public GlobalDiscountValuesAttributeHandler()
public List<DiscountValue> get(AbstractOrderModel model)
DynamicAttributeHandlerget in interface DynamicAttributeHandler<List<DiscountValue>,AbstractOrderModel>model - model for which dynamic attribute is declared.public void set(AbstractOrderModel model, List<DiscountValue> discountValues)
DynamicAttributeHandlerset in interface DynamicAttributeHandler<List<DiscountValue>,AbstractOrderModel>model - model for which dynamic attribute is declared.discountValues - the value which will be used by setter logic.Copyright © 2017 SAP SE. All Rights Reserved.