Class DefaultCustomerNameStrategy
java.lang.Object
de.hybris.platform.commerceservices.strategies.impl.DefaultCustomerNameStrategy
- All Implemented Interfaces:
CustomerNameStrategy
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DefaultCustomerNameStrategy
public DefaultCustomerNameStrategy()
-
-
Method Details
-
splitName
Description copied from interface:CustomerNameStrategyRetrieves first and lastname by splitting the given name at the last found space separator.- Specified by:
splitNamein interfaceCustomerNameStrategy- Returns:
- array containing first- and lastname
-
getName
Description copied from interface:CustomerNameStrategyRetrieves the name by combining firstname and lastname separated by a space character.- Specified by:
getNamein interfaceCustomerNameStrategy- Returns:
- name
-