public BraintreePaymentService(BraintreeSettings braintreeSettings, CartModel cartModel, IOrderPlacementService orderPlacementService, ILogAdminService logAdminService) { _braintreeSettings = braintreeSettings; _cartModel = cartModel; _orderPlacementService = orderPlacementService; _logAdminService = logAdminService; }
public SagePayNotificationController(SagePaySettings sagePaySettings, ISagePayService sagePayService, ISagePayCartLoader sagePayCartLoader, IOrderPlacementService orderPlacementService) { _sagePaySettings = sagePaySettings; _sagePayService = sagePayService; _sagePayCartLoader = sagePayCartLoader; _orderPlacementService = orderPlacementService; }
public PaymentNotRequiredUIService(IUniquePageService uniquePageService, CartModel cartModel, IStringResourceProvider stringResourceProvider, IOrderPlacementService orderPlacementService) { _uniquePageService = uniquePageService; _cartModel = cartModel; _stringResourceProvider = stringResourceProvider; _orderPlacementService = orderPlacementService; }
public SagePayRedirectController(CartModel cart, IOrderPlacementService orderPlacementService, ISagePayService sagePayService, IUniquePageService uniquePageService) { _cart = cart; _orderPlacementService = orderPlacementService; _sagePayService = sagePayService; _uniquePageService = uniquePageService; }
public PayPalExpressCheckoutController(IPayPalExpressService payPalExpressService, CartModel cart, IOrderPlacementService orderPlacementService, IUniquePageService uniquePageService, IPayPalUrlService payPalUrlService) { _payPalExpressService = payPalExpressService; _cart = cart; _orderPlacementService = orderPlacementService; _uniquePageService = uniquePageService; _payPalUrlService = payPalUrlService; }
public PaypointController(IPaypointPaymentService paypointPaymentService, CartModel cartModel, IOrderPlacementService orderPlacementService, IPaypoint3DSecureHelper paypoint3DSecureHelper, IUniquePageService uniquePageService) { _paypointPaymentService = paypointPaymentService; _cartModel = cartModel; _orderPlacementService = orderPlacementService; _paypoint3DSecureHelper = paypoint3DSecureHelper; _uniquePageService = uniquePageService; }
public WorldPayPaymentService(WorldPaySettings worldPaySettings, CartModel cart, EcommerceSettings ecommerceSettings, ICartBuilder cartBuilder, ISession session, IOrderPlacementService orderPlacementService, Site site) { _worldPaySettings = worldPaySettings; _cart = cart; _ecommerceSettings = ecommerceSettings; _cartBuilder = cartBuilder; _session = session; _orderPlacementService = orderPlacementService; _site = site; }
public CharityClearPaymentService(CartModel cart, EcommerceSettings ecommerceSettings, ICartBuilder cartBuilder, ISession session, IOrderPlacementService orderPlacementService, Site site, CharityClearSettings charityClearSettings, ILogAdminService logService) { _cart = cart; _ecommerceSettings = ecommerceSettings; _cartBuilder = cartBuilder; _session = session; _orderPlacementService = orderPlacementService; _site = site; _charityClearSettings = charityClearSettings; _logService = logService; }
static void Main(string[] args) { IScopeFactory scopeFactory = InfraConfig.Initialize(); using (IAppLayer app = scopeFactory.CreateAppLayer()) { IPaymentService payment = app.GetService <IPaymentService>(); IOrderPlacementService orderPlacement = app.GetService <IOrderPlacementService>(); Console.WriteLine("\n#### IPaymentService.PayOrder ####\n"); payment.PayOrder(orderId: 1, amount: 30); app.UnitOfWork.Save(); Console.WriteLine("\n#### IOrderPlacementService.ShipOrder ####\n"); orderPlacement.ShipOrder(orderId: 1, address: "G1Q1Q9"); app.UnitOfWork.Save(); } Console.ReadKey(); }
public CashOnDeliveryUIService(CartModel cart, IUniquePageService uniquePageService, IOrderPlacementService orderPlacementService) { _cart = cart; _uniquePageService = uniquePageService; _orderPlacementService = orderPlacementService; }
public PlaceOrderWhenPaidEventHandler(IOrderPlacementService orderPlacement) { _orderPlacement = orderPlacement; }