ExternalUserService
Table of Contents
Properties
-
$clientTextIdGeneratorService
: ClientTextIdGeneratorService
-
$config
: Config
-
$countryRepository
: CountryRepository
-
$digitalRegistrationRemoteService
: DigitalRegistrationRemoteService
-
$entityManager
: EntityManager
-
$loggerService
: LoggerService
-
$response
: Response
-
$snapshotService
: SnapshotService
-
$utmService
: UtmService
Methods
-
__construct()
: mixed
-
addExitingSellerAccountToExternalPartner()
: UserAccount
-
createAccountForExternalRole()
: UserAccount
-
createSellerAccountForExternalPartner()
: UserAccount
-
deleteSellerRelationWithExternalPartner()
: UserAccount
-
editAccountForExternalRole()
: UserAccount
-
commonPartsForAccountCreation()
: UserAccount
__construct()
public
__construct(EntityManager $entityManager, CountryRepository $countryRepository, Response $response, SnapshotService $snapshotService, LoggerService $loggerService, UtmService $utmService, ClientTextIdGeneratorService $clientTextIdGeneratorService, DigitalRegistrationRemoteService $digitalRegistrationRemoteService, Config $config) : mixed
Parameters
-
$entityManager
: EntityManager
-
-
$countryRepository
: CountryRepository
-
-
$response
: Response
-
-
$snapshotService
: SnapshotService
-
-
$loggerService
: LoggerService
-
-
$utmService
: UtmService
-
-
$clientTextIdGeneratorService
: ClientTextIdGeneratorService
-
-
$digitalRegistrationRemoteService
: DigitalRegistrationRemoteService
-
-
$config
: Config
-
addExitingSellerAccountToExternalPartner()
public
addExitingSellerAccountToExternalPartner(array<string|int, mixed> $data, UserAccount $freeClient) : UserAccount
Parameters
-
$data
: array<string|int, mixed>
-
-
$freeClient
: UserAccount
-
createAccountForExternalRole()
public
createAccountForExternalRole(array<string|int, mixed> $data, int $permission) : UserAccount
Parameters
-
$data
: array<string|int, mixed>
-
-
$permission
: int
-
-
throws
-
ConnectionException
-
throws
-
ORMException
-
throws
-
OptimisticLockException
-
throws
-
NonUniqueTextIdException
-
throws
-
TransactionRequiredException
-
throws
-
NotSupported
-
throws
-
Exception
-
throws
-
GuzzleException
createSellerAccountForExternalPartner()
public
createSellerAccountForExternalPartner(array<string|int, mixed> $data, int $permission) : UserAccount
Parameters
-
$data
: array<string|int, mixed>
-
-
$permission
: int
-
-
throws
-
ConnectionException
-
throws
-
ORMException
-
throws
-
ORMException
-
throws
-
OptimisticLockException
-
throws
-
NonUniqueTextIdException
-
throws
-
TransactionRequiredException
-
throws
-
NotSupported
-
throws
-
GuzzleException
-
throws
-
Exception
deleteSellerRelationWithExternalPartner()
public
deleteSellerRelationWithExternalPartner(array<string|int, mixed> $data, UserAccount $sellerAccount) : UserAccount
Parameters
-
$data
: array<string|int, mixed>
-
-
$sellerAccount
: UserAccount
-
editAccountForExternalRole()
public
editAccountForExternalRole(array<string|int, mixed> $data, UserAccount $userAccount) : UserAccount
Parameters
-
$data
: array<string|int, mixed>
-
-
$userAccount
: UserAccount
-
-
throws
-
ConnectionException
-
throws
-
ORMException
-
throws
-
ORMException
-
throws
-
OptimisticLockException
-
throws
-
TransactionRequiredException
-
throws
-
GuzzleException
commonPartsForAccountCreation()
private
commonPartsForAccountCreation(UserAccount $userAccount, array<string|int, mixed> $data, int $permission) : UserAccount
Parameters
-
$userAccount
: UserAccount
-
-
$data
: array<string|int, mixed>
-
-
$permission
: int
-
-
throws
-
ConnectionException
-
throws
-
GuzzleException
-
throws
-
NonUniqueTextIdException
-
throws
-
NotSupported
-
throws
-
ORMException
-
throws
-
OptimisticLockException
-
throws
-
TransactionRequiredException
-
throws
-
ORMException
-
throws
-
Exception