Пример #1
0
 public PayPalIPNService(IOrderService orderService, IOrderNoteService orderNoteService, IOrderRefundService orderRefundService, PayPalExpressCheckoutSettings payPalExpressCheckoutSettings)
 {
     _orderService                  = orderService;
     _orderNoteService              = orderNoteService;
     _orderRefundService            = orderRefundService;
     _payPalExpressCheckoutSettings = payPalExpressCheckoutSettings;
 }
Пример #2
0
 public PayPalUrlService(Site currentSite, PayPalExpressCheckoutSettings payPalExpressCheckoutSettings, SiteSettings siteSettings, IUniquePageService uniquePageService)
 {
     _currentSite = currentSite;
     _payPalExpressCheckoutSettings = payPalExpressCheckoutSettings;
     _siteSettings = siteSettings;
     _uniquePageService = uniquePageService;
 }
Пример #3
0
 public PayPalIPNService(IOrderService orderService, IOrderNoteService orderNoteService, IOrderRefundService orderRefundService, PayPalExpressCheckoutSettings payPalExpressCheckoutSettings)
 {
     _orderService = orderService;
     _orderNoteService = orderNoteService;
     _orderRefundService = orderRefundService;
     _payPalExpressCheckoutSettings = payPalExpressCheckoutSettings;
 }
Пример #4
0
 public PayPalUrlService(Site currentSite, PayPalExpressCheckoutSettings payPalExpressCheckoutSettings, SiteSettings siteSettings, IUniquePageService uniquePageService)
 {
     _currentSite = currentSite;
     _payPalExpressCheckoutSettings = payPalExpressCheckoutSettings;
     _siteSettings      = siteSettings;
     _uniquePageService = uniquePageService;
 }
Пример #5
0
 public PayPalRequestServiceTests()
 {
     _payPalUrlService = A.Fake<IPayPalUrlService>();
     _payPalShippingService = A.Fake<IPayPalShippingService>();
     _payPalOrderService = A.Fake<IPayPalOrderService>();
     _payPalExpressCheckoutSettings = new PayPalExpressCheckoutSettings();
     _payPalRequestService = new PayPalRequestService(_payPalUrlService, _payPalShippingService, _payPalOrderService, _payPalExpressCheckoutSettings);
 }
Пример #6
0
 public PayPalUrlServiceTests()
 {
     _currentSite = new Site {BaseUrl = "www.example.com"};
     _payPalExpressCheckoutSettings = new PayPalExpressCheckoutSettings();
     _siteSettings = new SiteSettings();
     _uniquePageService = A.Fake<IUniquePageService>();
     _payPalUrlService = new PayPalUrlService(_currentSite, _payPalExpressCheckoutSettings, _siteSettings,
         _uniquePageService);
 }
Пример #7
0
 public PayPalRequestService(IPayPalUrlService payPalUrlService,
                             IPayPalShippingService payPalShippingService,
                             IPayPalOrderService payPalOrderService,
                             PayPalExpressCheckoutSettings payPalExpressCheckoutSettings)
 {
     _payPalUrlService = payPalUrlService;
     _payPalShippingService = payPalShippingService;
     _payPalOrderService = payPalOrderService;
     _payPalExpressCheckoutSettings = payPalExpressCheckoutSettings;
 }
Пример #8
0
 public PayPalRequestService(IPayPalUrlService payPalUrlService,
                             IPayPalShippingService payPalShippingService,
                             IPayPalOrderService payPalOrderService,
                             PayPalExpressCheckoutSettings payPalExpressCheckoutSettings)
 {
     _payPalUrlService              = payPalUrlService;
     _payPalShippingService         = payPalShippingService;
     _payPalOrderService            = payPalOrderService;
     _payPalExpressCheckoutSettings = payPalExpressCheckoutSettings;
 }
Пример #9
0
 public PayPalInterfaceService(IPayPalSecurityService payPalSecurityService, PayPalExpressCheckoutSettings payPalExpressCheckoutSettings, IPayPalRequestService payPalRequestService)
 {
     _payPalSecurityService = payPalSecurityService;
     _payPalExpressCheckoutSettings = payPalExpressCheckoutSettings;
     _payPalRequestService = payPalRequestService;
     var config = new Dictionary<string, string>
                      {
                          {
                              "mode", _payPalExpressCheckoutSettings.IsLive ? "live" : "sandbox"
                          }
                      };
     _payPalApiInterfaceServiceService = new PayPalAPIInterfaceServiceService(config);
 }
Пример #10
0
        public PayPalInterfaceService(IPayPalSecurityService payPalSecurityService, PayPalExpressCheckoutSettings payPalExpressCheckoutSettings, IPayPalRequestService payPalRequestService)
        {
            _payPalSecurityService         = payPalSecurityService;
            _payPalExpressCheckoutSettings = payPalExpressCheckoutSettings;
            _payPalRequestService          = payPalRequestService;
            var config = new Dictionary <string, string>
            {
                {
                    "mode", _payPalExpressCheckoutSettings.IsLive ? "live" : "sandbox"
                }
            };

            _payPalApiInterfaceServiceService = new PayPalAPIInterfaceServiceService(config);
        }
Пример #11
0
 public PaypalHealthCheck(PayPalExpressCheckoutSettings settings)
 {
     _settings = settings;
 }
 public PayPalExpressCheckoutPaymentMethod(PayPalExpressCheckoutSettings payPalExpressCheckoutSettings)
 {
     _payPalExpressCheckoutSettings = payPalExpressCheckoutSettings;
 }
Пример #13
0
 public PayPalOrderService(PayPalExpressCheckoutSettings payPalExpressCheckoutSettings, TaxSettings taxSettings)
 {
     _payPalExpressCheckoutSettings = payPalExpressCheckoutSettings;
     _taxSettings = taxSettings;
 }
Пример #14
0
 public PayPalShippingService(PayPalExpressCheckoutSettings payPalExpressCheckoutSettings)
 {
     _payPalExpressCheckoutSettings = payPalExpressCheckoutSettings;
 }
Пример #15
0
 public PayPalShippingService(PayPalExpressCheckoutSettings payPalExpressCheckoutSettings)
 {
     _payPalExpressCheckoutSettings = payPalExpressCheckoutSettings;
 }
 public PayPalExpressCheckoutPaymentMethod(PayPalExpressCheckoutSettings payPalExpressCheckoutSettings)
 {
     _payPalExpressCheckoutSettings = payPalExpressCheckoutSettings;
 }
Пример #17
0
 public PayPalShippingServiceTests()
 {
     _payPalExpressCheckoutSettings = new PayPalExpressCheckoutSettings();
     _payPalShippingService = new PayPalShippingService(_payPalExpressCheckoutSettings);
 }
Пример #18
0
 public PaypalHealthCheck(PayPalExpressCheckoutSettings settings)
 {
     _settings = settings;
 }
Пример #19
0
 public PayPalOrderService(PayPalExpressCheckoutSettings payPalExpressCheckoutSettings, ICartDiscountApplicationService cartDiscountApplicationService)
 {
     _payPalExpressCheckoutSettings = payPalExpressCheckoutSettings;
     _cartDiscountApplicationService = cartDiscountApplicationService;
 }
Пример #20
0
 public PayPalOrderService(PayPalExpressCheckoutSettings payPalExpressCheckoutSettings, ICartDiscountApplicationService cartDiscountApplicationService)
 {
     _payPalExpressCheckoutSettings  = payPalExpressCheckoutSettings;
     _cartDiscountApplicationService = cartDiscountApplicationService;
 }
Пример #21
0
 public PayPalSecurityService(PayPalExpressCheckoutSettings payPalExpressCheckoutSettings)
 {
     _payPalExpressCheckoutSettings = payPalExpressCheckoutSettings;
 }
 public PayPalSecurityService(PayPalExpressCheckoutSettings payPalExpressCheckoutSettings)
 {
     _payPalExpressCheckoutSettings = payPalExpressCheckoutSettings;
 }