public class SECAddressPopulator extends java.lang.Object implements Populator<AddressModel,Address>
| Constructor and Description |
|---|
SECAddressPopulator() |
| Modifier and Type | Method and Description |
|---|---|
ConfigurationService |
getConfigurationService() |
protected java.lang.String |
getModelId(AddressModel customerAddressModel) |
protected boolean |
isDefaultAddress(AddressModel customerAddressModel) |
void |
populate(AddressModel source,
Address target)
Populate the target instance with values from the source instance.
|
protected void |
populateAddressFields(AddressModel customerAddressModel,
Address customerAddressData) |
void |
setConfigurationService(ConfigurationService configurationService) |
public void populate(AddressModel source, Address target) throws ConversionException
Populatorpopulate in interface Populator<AddressModel,Address>source - the source objecttarget - the target to fillConversionException - if an error occursprotected java.lang.String getModelId(AddressModel customerAddressModel)
protected boolean isDefaultAddress(AddressModel customerAddressModel)
protected void populateAddressFields(AddressModel customerAddressModel, Address customerAddressData)
public ConfigurationService getConfigurationService()
public void setConfigurationService(ConfigurationService configurationService)
configurationService - the configurationService to setCopyright © 2018 SAP SE. All Rights Reserved.