Exemplo n.º 1
0
 /// <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;
 }
Exemplo n.º 2
0
        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;
        }
Exemplo n.º 3
0
        public BraintreeController(
            IOrchardServices orchardServices,
            IBraintreeService braintreeService,
            IBraintreePosService posService)
        {
            _orchardServices  = orchardServices;
            _posService       = posService;
            _braintreeService = braintreeService;

            Logger = NullLogger.Instance;
            T      = NullLocalizer.Instance;
        }
Exemplo n.º 4
0
 public CheckoutController(IBookService bookService, IBraintreeService braintreeService)
 {
     _bookService      = bookService;
     _braintreeService = braintreeService;
 }
Exemplo n.º 5
0
 public Paypal(IOrchardServices orchardServices, IBraintreeService braintreeService)
 {
     _orchardServices  = orchardServices;
     _braintreeService = braintreeService;
 }
 public CheckoutController(IBraintreeService braintreeService, AppDbContext appDbContext)
 {
     _braintreeService = braintreeService;
     _appDbContext     = appDbContext;
 }
Exemplo n.º 7
0
 public CheckoutController(IBraintreeService braintreeService)
 {
     // _bookService = courseService;
     _braintreeService = braintreeService;
 }