Interface B2BRegistrationFacade

  • All Known Implementing Classes:
    DefaultB2BRegistrationFacade

    public interface B2BRegistrationFacade
    Facade responsible for everything related to B2B registration
    • 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