Exemplo n.º 1
0
 public BraintreeController(BraintreeMerchantService braintreeMerchantService,
                            ILocalizationService localizationService,
                            INotificationService notificationService,
                            IPermissionService permissionService,
                            ISettingService settingService,
                            IStoreContext storeContext)
 {
     _braintreeMerchantService = braintreeMerchantService;
     _localizationService      = localizationService;
     _notificationService      = notificationService;
     _permissionService        = permissionService;
     _settingService           = settingService;
     _storeContext             = storeContext;
 }
 public BraintreePaymentProcessor(BraintreeMerchantService braintreeMerchantService,
                                  BraintreePaymentSettings braintreePaymentSettings,
                                  IAddressService addressService,
                                  ICountryService countryService,
                                  ICurrencyService currencyService,
                                  ICustomerService customerService,
                                  ILocalizationService localizationService,
                                  IPaymentService paymentService,
                                  ISettingService settingService,
                                  IWebHelper webHelper,
                                  IWorkContext workContext)
 {
     _braintreeMerchantService = braintreeMerchantService;
     _braintreePaymentSettings = braintreePaymentSettings;
     _addressService           = addressService;
     _countryService           = countryService;
     _currencyService          = currencyService;
     _customerService          = customerService;
     _localizationService      = localizationService;
     _paymentService           = paymentService;
     _settingService           = settingService;
     _webHelper   = webHelper;
     _workContext = workContext;
 }