Class DiscountStringHandler
java.lang.Object
de.hybris.platform.servicelayer.model.attribute.DiscountStringHandler
- All Implemented Interfaces:
DynamicAttributeHandler<String,AbstractDiscountRowModel>
public class DiscountStringHandler
extends Object
implements DynamicAttributeHandler<String,AbstractDiscountRowModel>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget(AbstractDiscountRowModel model) Holds logic behind getter for dynamic attribute.voidset(AbstractDiscountRowModel model, String aBoolean) Holds logic behind setter for dynamic attribute.voidsetCommonI18NService(CommonI18NService commonI18NService) voidsetFormatFactory(FormatFactory formatFactory) voidsetSessionService(SessionService sessionService)
-
Constructor Details
-
DiscountStringHandler
public DiscountStringHandler()
-
-
Method Details
-
get
Description copied from interface:DynamicAttributeHandlerHolds logic behind getter for dynamic attribute.- Specified by:
getin interfaceDynamicAttributeHandler<String,AbstractDiscountRowModel> - Parameters:
model- model for which dynamic attribute is declared.- Returns:
- computed value.
-
set
Description copied from interface:DynamicAttributeHandlerHolds logic behind setter for dynamic attribute.- Specified by:
setin interfaceDynamicAttributeHandler<String,AbstractDiscountRowModel> - Parameters:
model- model for which dynamic attribute is declared.aBoolean- the value which will be used by setter logic.
-
setSessionService
-
setCommonI18NService
-
setFormatFactory
-