Interface B2BRegistrationFacade
-
- All Known Implementing Classes:
DefaultB2BRegistrationFacade
public interface B2BRegistrationFacadeFacade responsible for everything related to B2B registration
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidregister(B2BRegistrationData data)Initiates the registration process for B2B.
-
-
-
Method Detail
-
register
void register(B2BRegistrationData data) throws CustomerAlreadyExistsException
Initiates the registration process for B2B. This method will first validate the submitted data, check if a user or a company to the given name already exists, persist the registration request (as a model) and initiate the workflow so that the registration request either gets approved OR rejected.- Parameters:
data- The registration data- Throws:
CustomerAlreadyExistsException
-
-