Interface PhysicalAddressValidationServiceStrategy

All Known Implementing Classes:
DefaultPhysicalAddressValidationStrategyImpl

public interface PhysicalAddressValidationServiceStrategy
This class provide default physical address validation strategy implementation It will validate email address.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isValid(AddressDO addressDO, long collectionId, String locale)
    isValid Checks whether the given physical address is valid or not.
    default AddressDO
    validateAddress(AddressDO address, long collectionId, String locale)
     
  • Method Details

    • isValid

      boolean isValid(AddressDO addressDO, long collectionId, String locale)
      isValid Checks whether the given physical address is valid or not.
      Parameters:
      addressDO - The address domain object
      collectionId - The collection identity
      locale - The locale for processing
      Returns:
      true, if address is valid false, if the address is invalid
    • validateAddress

      default AddressDO validateAddress(AddressDO address, long collectionId, String locale)