public SquarePaymentManager(ILogger logger,
                             IWorkContext workContext,
                             SquareAuthorizationHttpClient squareAuthorizationHttpClient,
                             SquarePaymentSettings squarePaymentSettings)
 {
     _logger      = logger;
     _workContext = workContext;
     _squareAuthorizationHttpClient = squareAuthorizationHttpClient;
     _squarePaymentSettings         = squarePaymentSettings;
 }
Example #2
0
 public SquarePaymentManager(ILogger logger,
                             IWorkContext workContext,
                             SquareAuthorizationHttpClient squareAuthorizationHttpClient,
                             ISettingService settingService,
                             IStoreContext storeContext)
 {
     _logger      = logger;
     _workContext = workContext;
     _squareAuthorizationHttpClient = squareAuthorizationHttpClient;
     _settingService = settingService;
     _storeContext   = storeContext;
 }