Class CommerceCartParameterBasicPopulator
java.lang.Object
de.hybris.platform.commercefacades.order.converters.populator.CommerceCartParameterBasicPopulator
- All Implemented Interfaces:
Populator<AddToCartParams,CommerceCartParameter>
public class CommerceCartParameterBasicPopulator
extends Object
implements Populator<AddToCartParams,CommerceCartParameter>
Populates common data of add-to-cart creation to pass it from facade to service layer.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CartServiceprotected PointOfServiceServiceprotected ProductServicevoidpopulate(AddToCartParams addToCartParams, CommerceCartParameter parameter) Populate the target instance with values from the source instance.voidsetCartService(CartService cartService) voidsetPointOfServiceService(PointOfServiceService pointOfServiceService) voidsetProductService(ProductService productService)
-
Constructor Details
-
CommerceCartParameterBasicPopulator
public CommerceCartParameterBasicPopulator()
-
-
Method Details
-
populate
public void populate(AddToCartParams addToCartParams, CommerceCartParameter parameter) throws ConversionException Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<AddToCartParams,CommerceCartParameter> - Parameters:
addToCartParams- the source objectparameter- the target to fill- Throws:
ConversionException- if an error occurs
-
getCartService
-
setCartService
-
getProductService
-
setProductService
-
getPointOfServiceService
-
setPointOfServiceService
-