Interface CustomerNameStrategy
- All Known Implementing Classes:
DefaultCustomerNameStrategy
public interface CustomerNameStrategy
-
Method Summary
-
Method Details
-
splitName
Retrieves first and lastname by splitting the given name at the last found space separator.- Parameters:
name-- Returns:
- array containing first- and lastname
-
getName
Retrieves the name by combining firstname and lastname separated by a space character.- Parameters:
firstName-lastName-- Returns:
- name
-