public class CartProductQuantityOperandValueProvider extends AbstractCartOperandValueProvider implements OperandValueProvider<BTGQuantityOfProductInCartOperandModel>
BTGQuantityOfProductInCartOperand into numeric value. Returns quantity of
CartEntryModel that contains the product defined in the operand's definition.cartServicecurrencyManager| Constructor and Description |
|---|
CartProductQuantityOperandValueProvider() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getValue(BTGQuantityOfProductInCartOperandModel operand,
UserModel user,
BTGConditionEvaluationScope evaluationScope)
Retrieves the concrete value from a
BTGOperandModel. |
Class |
getValueType(BTGQuantityOfProductInCartOperandModel operand)
Retrieves the value-type from a
BTGOperandModel. |
setCartServiceafterPropertiesSet, getPriceValueInBaseCurrency, setApplicationContext, sumPriceValuesInBaseCurrencypublic CartProductQuantityOperandValueProvider()
public Object getValue(BTGQuantityOfProductInCartOperandModel operand, UserModel user, BTGConditionEvaluationScope evaluationScope)
OperandValueProviderBTGOperandModel.getValue in interface OperandValueProvider<BTGQuantityOfProductInCartOperandModel>operand - BTGOperandModel which is asked for it's valueevaluationScope - YTODOpublic Class getValueType(BTGQuantityOfProductInCartOperandModel 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<BTGQuantityOfProductInCartOperandModel>Copyright © 2017 SAP SE. All Rights Reserved.