public CDKAutolineServices(ICustomerService customerService,
                            ITokenService tokenService, ICdkCustomerService cdkCustomerService, TelemetryClient telemetryClient)
 {
     _customerService    = customerService ?? throw new ArgumentNullException(nameof(customerService));
     _tokenService       = tokenService ?? throw new ArgumentNullException(nameof(tokenService));
     _cdkCustomerService = cdkCustomerService ?? throw new ArgumentNullException(nameof(cdkCustomerService));
     _telemetryClient    = telemetryClient;
 }
 /// <summary>
 /// Constructor accepting input of type IRestApiClient , implementation of which will be resolved by Unity.
 /// </summary>
 /// <param name="restApiClient"></param>
 /// <param name="cdkAutolineUrl"></param>
 /// <param name="partnerId"></param>
 /// <param name="encryptedTokenCodeService"></param>
 /// <param name="partnerVersion"></param>
 /// <param name="unregisteredGuid"></param>
 /// <param name="appTokenDal"></param>
 /// <param name="telemetryClient"></param>
 /// <param name="cdkCustomerService"></param>
 /// <param name="customerService"></param>
 public TokenService(IRestApiClient restApiClient, IEncryptedTokenCodeService encryptedTokenCodeService,
                     string cdkAutolineUrl, string unregisteredGuid,
                     IAppTokenDAL appTokenDal, TelemetryClient telemetryClient, ICdkCustomerService cdkCustomerService,
                     ICustomerService customerService, IDealerCDKConfigurationsDAL dealerCDKConfigurationDAL)
 {
     _restApiClient             = restApiClient ?? throw new ArgumentNullException(nameof(restApiClient));
     _cdkAutolineUrl            = cdkAutolineUrl ?? throw new ArgumentNullException(nameof(cdkAutolineUrl));
     _encryptedTokenCodeService = encryptedTokenCodeService ?? throw new ArgumentNullException(nameof(_encryptedTokenCodeService));
     _unregisteredGuid          = unregisteredGuid ?? throw new ArgumentNullException(nameof(_unregisteredGuid));
     _appTokenDal               = appTokenDal ?? throw new ArgumentNullException(nameof(appTokenDal));
     _telemetryClient           = telemetryClient;
     _cdkCustomerService        = cdkCustomerService ?? throw new ArgumentNullException(nameof(cdkCustomerService));
     _customerService           = customerService ?? throw new ArgumentNullException(nameof(customerService));
     _dealerCDKConfigurationDAL = dealerCDKConfigurationDAL ?? throw new ArgumentNullException(nameof(dealerCDKConfigurationDAL));
 }