Interface DunningAddressService
- All Known Implementing Classes:
DunningAddressServiceImpl
public interface DunningAddressService
-
Method Summary
Modifier and TypeMethodDescriptiongetChangedDunningAddressBlock(Entity debitor) Resolve the address block for the given debitor.
-
Method Details
-
getChangedDunningAddressBlock
Resolve the address block for the given debitor. Only return something if the address was changed. step 1: check if the address of the order is changed - user of order + address of order + address addition of order step 2: check if the address of the user is changed - user of order, billing address of user + address addition of order - only applicable if the order is linked with a user - only applicable if no alternate billing address was used- Parameters:
debitor- the debitor for which the address should be resolved- Returns:
- the changed address or empty
-