/// <summary> /// Initializes a new instance of the <see cref="PaymentProvider" /> class. /// </summary> /// <param name="settingsService">The settings service.</param> /// <param name="braintreeService">The braintree service.</param> public PaymentProvider( ISettingsService settingsService, IBraintreeService braintreeService) { this.settingsService = settingsService; this.braintreeService = braintreeService; }
public BraintreeController(IOrchardServices orchardServices, IRepository <PaymentRecord> repository, IPaymentEventHandler paymentEventHandler, IBraintreeService braintreeService) { _orchardServices = orchardServices; _posService = new BraintreePosService(orchardServices, repository, paymentEventHandler); _braintreeService = braintreeService; Logger = NullLogger.Instance; T = NullLocalizer.Instance; }
public BraintreeController( IOrchardServices orchardServices, IBraintreeService braintreeService, IBraintreePosService posService) { _orchardServices = orchardServices; _posService = posService; _braintreeService = braintreeService; Logger = NullLogger.Instance; T = NullLocalizer.Instance; }
public CheckoutController(IBookService bookService, IBraintreeService braintreeService) { _bookService = bookService; _braintreeService = braintreeService; }
public Paypal(IOrchardServices orchardServices, IBraintreeService braintreeService) { _orchardServices = orchardServices; _braintreeService = braintreeService; }
public CheckoutController(IBraintreeService braintreeService, AppDbContext appDbContext) { _braintreeService = braintreeService; _appDbContext = appDbContext; }
public CheckoutController(IBraintreeService braintreeService) { // _bookService = courseService; _braintreeService = braintreeService; }