-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add consultant create account journey implementation (#89)
* feat: Add DTO to register consultant and operator simultaneously * feat: Add optional organisation ID
- Loading branch information
Showing
3 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?php | ||
|
||
namespace Dvsa\Olcs\Transfer\Command\User; | ||
|
||
use Dvsa\Olcs\Transfer\Util\Annotation as Transfer; | ||
use Dvsa\Olcs\Transfer\Command\AbstractCommand; | ||
|
||
/** | ||
* @Transfer\RouteName("backend/user/selfserve/register/register-consultant-operator") | ||
* @Transfer\Method("POST") | ||
*/ | ||
final class RegisterConsultantAndOperator extends AbstractCommand | ||
{ | ||
/** | ||
* @Transfer\Partial("Dvsa\Olcs\Transfer\Command\User\RegisterUserSelfserve") | ||
*/ | ||
protected $operatorDetails; | ||
|
||
/** | ||
* @Transfer\Partial("Dvsa\Olcs\Transfer\Command\User\RegisterUserSelfserve") | ||
*/ | ||
protected $consultantDetails; | ||
|
||
public function getOperatorDetails() | ||
{ | ||
return $this->operatorDetails; | ||
} | ||
|
||
public function getConsultantDetails() | ||
{ | ||
return $this->consultantDetails; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters