Example #1
0
 public WalletController(WalletHistoryService WalletHistoryService, UsersService UsersService,
                         PaymentCardsService paymentCardsService)
 {
     _WalletHistoryService = WalletHistoryService;
     _UsersService         = UsersService;
     _paymentCardsService  = paymentCardsService;
 }
 public PaymentController(ICheckoutApi checkoutApi, ISerializer serializer,
                          WalletHistoryService walletHistoryService, UsersService usersService, IOptions <AppSettings> appSettings,
                          PaymentCardsService paymentCardsService,
                          PaymentResponseService paymentResponseService, CustomerRegistrationService customerService)
 {
     _checkoutApi            = checkoutApi ?? throw new ArgumentNullException(nameof(checkoutApi));
     _serializer             = serializer ?? throw new ArgumentNullException(nameof(serializer));
     _walletHistoryService   = walletHistoryService;
     _usersService           = usersService;
     _appSettings            = appSettings.Value;
     _paymentCardsService    = paymentCardsService;
     _paymentResponseService = paymentResponseService;
     _customerService        = customerService;
 }
Example #3
0
 public OrdersController(OrdersService OrdersService, OrdersAddressService OrdersAddressService,
                         OrdersDetailsService OrdersDetailsService, UsersService UsersService, IConfiguration configuration, WayBillService WayBillService,
                         PaymentResponseService PaymentResponseService, PaymentCardsService paymentCardsService, WalletHistoryService WalletHistoryService)
 {
     _OrdersService          = OrdersService;
     _OrdersAddressService   = OrdersAddressService;
     _OrdersDetailsService   = OrdersDetailsService;
     _PaymentResponseService = PaymentResponseService;
     _UsersService           = UsersService;
     _configuration          = configuration;
     _paymentCardsService    = paymentCardsService;
     _WalletHistoryService   = WalletHistoryService;
     _WayBillService         = WayBillService;
 }
 public NaqelController(NaqelServices NaqelServices, OrdersService OrdersService, MerchantContractService MerchantContractService, MerchantRequestService MerchantRequestService, MerchantService MerchantService, MerchantRedirectionService MerchantRedirectionService, LookupTypeService LookupTypeService, NaqelUsersService naqelUsersService,
                        IConfiguration configuration, IEmailService emailService, WalletHistoryService WalletHistoryService, PaymentResponseService PaymentResponseService,
                        MerchantCatalogService MerchantCatalogService, CategoryService CategoryService, MerchantRequestDetailsService MerchantRequestDetailsService,
                        CustomerRegistrationService CustomerRegistrationService, MerchantAccountDetailsService MerchantAccountDetailsService)
 {
     _NaqelServices              = NaqelServices;
     _OrdersService              = OrdersService;
     _MerchantContractService    = MerchantContractService;
     _MerchantRequestService     = MerchantRequestService;
     _MerchantService            = MerchantService;
     _MerchantRedirectionService = MerchantRedirectionService;
     _LookupTypeService          = LookupTypeService;
     _naqelUsersService          = naqelUsersService;
     _configuration              = configuration;
     _emailService                  = emailService;
     _WalletHistoryService          = WalletHistoryService;
     _PaymentResponseService        = PaymentResponseService;
     _MerchantCatalogService        = MerchantCatalogService;
     _CategoryService               = CategoryService;
     _MerchantRequestDetailsService = MerchantRequestDetailsService;
     _CustomerRegistrationService   = CustomerRegistrationService;
     _MerchantAccountDetailsService = MerchantAccountDetailsService;
 }