Exemplo n.º 1
0
        public BasketController(IBasketApi basketApi, IShippingApi shippingApi, ICustomerApi customerRepository, IOrderApi orderRepository)

        {
            _basketApi          = basketApi;
            _shippingApi        = shippingApi;
            _customerRepository = customerRepository;
            _orderRepository    = orderRepository;
        }
Exemplo n.º 2
0
 public SyncServerService(IProductApi productApi, IThemeApi themeApi, IShippingApi shippingApi, IPaymentApi paymentApi, IOrderApi orderApi)
 {
     _themeApi    = themeApi;
     _productApi  = productApi;
     _shippingApi = shippingApi;
     _paymentApi  = paymentApi;
     _orderApi    = orderApi;
 }
        // private readonly IPaymentMethod _paymentMethod;

        public CheckoutController(ICustomerApi customerApi, IConfigApi configApi,
                                  IPaymentApi paymentApi, ICheckoutApi checkoutApi, IOrderApi orderApi, IShippingApi shippingApi, IAuthenticationService authenticationService, ICustomerApi customerRepository, IB2BApi b2bRepository)
        {
            _customerApi           = customerApi;
            _configApi             = configApi;
            _paymentApi            = paymentApi;
            _checkoutApi           = checkoutApi;
            _orderApi              = orderApi;
            _shippingApi           = shippingApi;
            _authenticationService = authenticationService;
            _customerRepository    = customerRepository;
            _b2bRepository         = b2bRepository;
        }