public class CartProductsOperandValueProvider extends AbstractCartOperandValueProvider implements CollectionOperandValueProvider<BTGProductsInCartOperandModel>
cartServicecurrencyManager| Constructor and Description |
|---|
CartProductsOperandValueProvider() |
| Modifier and Type | Method and Description |
|---|---|
Class |
getAtomicValueType(BTGProductsInCartOperandModel operand)
Returns the type of the collection element if BTGOperandModel represents a collection of values.
|
protected Collection<ProductModel> |
getCartProducts() |
Object |
getValue(BTGProductsInCartOperandModel operand,
UserModel user,
BTGConditionEvaluationScope evaluationScope)
Retrieves the concrete value from a
BTGOperandModel. |
Class |
getValueType(BTGProductsInCartOperandModel operand)
Retrieves the value-type from a
BTGOperandModel. |
setCartServiceafterPropertiesSet, getPriceValueInBaseCurrency, setApplicationContext, sumPriceValuesInBaseCurrencypublic Object getValue(BTGProductsInCartOperandModel operand, UserModel user, BTGConditionEvaluationScope evaluationScope)
OperandValueProviderBTGOperandModel.getValue in interface OperandValueProvider<BTGProductsInCartOperandModel>operand - BTGOperandModel which is asked for it's valueevaluationScope - YTODOpublic Class getValueType(BTGProductsInCartOperandModel operand)
OperandValueProviderBTGOperandModel.
The type is always assignable to the value-type returned by
OperandValueProvider.getValue(BTGOperandModel, UserModel, BTGConditionEvaluationScope).BTGOperandModel which is asked for it's typegetValueType in interface OperandValueProvider<BTGProductsInCartOperandModel>protected Collection<ProductModel> getCartProducts()
public Class getAtomicValueType(BTGProductsInCartOperandModel operand)
CollectionOperandValueProvidergetAtomicValueType in interface CollectionOperandValueProvider<BTGProductsInCartOperandModel>Copyright © 2017 SAP SE. All Rights Reserved.