Class B2BAddressPopulator
- java.lang.Object
-
- de.hybris.platform.b2bacceleratorfacades.order.populators.B2BAddressPopulator
-
- All Implemented Interfaces:
Populator<AddressModel,AddressData>
public class B2BAddressPopulator extends java.lang.Object implements Populator<AddressModel,AddressData>
PopulatesAddressDatawithAddressModel.
-
-
Constructor Summary
Constructors Constructor Description B2BAddressPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CartServicegetCartService()voidpopulate(AddressModel addressModel, AddressData addressData)Populate the target instance with values from the source instance.voidsetCartService(CartService cartService)
-
-
-
Method Detail
-
populate
public void populate(AddressModel addressModel, AddressData addressData) throws ConversionException
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<AddressModel,AddressData>- Parameters:
addressModel- the source objectaddressData- the target to fill- Throws:
ConversionException- if an error occurs
-
getCartService
protected CartService getCartService()
-
setCartService
public void setCartService(CartService cartService)
-
-