public BankOperationController(IBankOperationAppService _bankOperationService, IHORemitAppService _hoRemitService,
                                IPaymentAppService _paymentService, INewChartAppService _newChartService, ITransactionLogAppService _transactionLogService,
                                ISubsidiaryInfoAppService _subsidiaryService, IEmployeeAppService _employeeService, IAcBRAppService _AcBRService,
                                IDepositToBankAppService _depositToBankService, IWithdrawAppService _withdrawService, IOpnBalAppService _OpnBalService,
                                IBankReceiptAppService _BankReceiptAppService, IBankInfoAppService _BankInfoService, ISubsidiaryCtrlAppService _subsidiaryCtrlService,
                                IJarnalVoucherAppService _jarnalVoucherService, IBranchAppService _BranchService, ISysSetAppService _sysSetService)
 {
     this._bankOperationService  = _bankOperationService;
     this._hoRemitService        = _hoRemitService;
     this._paymentService        = _paymentService;
     this._newChartService       = _newChartService;
     this._subsidiaryService     = _subsidiaryService;
     this._employeeService       = _employeeService;
     this._AcBRService           = _AcBRService;
     this._depositToBankService  = _depositToBankService;
     this._withdrawService       = _withdrawService;
     this._transactionLogService = _transactionLogService;
     this._OpnBalService         = _OpnBalService;
     this._BankReceiptAppService = _BankReceiptAppService;
     this._BankInfoService       = _BankInfoService;
     this._subsidiaryCtrlService = _subsidiaryCtrlService;
     this._jarnalVoucherService  = _jarnalVoucherService;
     this._BranchService         = _BranchService;
     this._sysSetService         = _sysSetService;
 }
 public TestController(
     IDistributedEventBus distributedEventBus,
     IPaymentAppService paymentAppService)
 {
     _distributedEventBus = distributedEventBus;
     _paymentAppService   = paymentAppService;
 }
示例#3
0
 public PaymentsController(
     IPaymentAppService paymentAppService,
     IErrorAppService errorAppService)
     : base(errorAppService)
 {
     this.paymentAppService = paymentAppService;
 }
 public PaymentController(IPaymentAppService paymentAppService,
                          ITenantRegistrationAppService tenantRegistrationAppService,
                          IPaymentCache paymentCache)
 {
     _paymentAppService            = paymentAppService;
     _tenantRegistrationAppService = tenantRegistrationAppService;
     _paymentCache = paymentCache;
 }
示例#5
0
 public SubscriptionManagement_Tests()
 {
     LoginAsHostAdmin();
     _tenantAppService  = Resolve <ITenantAppService>();
     _tenantManager     = Resolve <TenantManager>();
     _editionManager    = Resolve <EditionManager>();
     _paymentAppService = Resolve <IPaymentAppService>();
 }
示例#6
0
 public SubscriptionManagementController(
     IPerRequestSessionCache sessionCache,
     IPaymentAppService paymentAppService
     )
 {
     _sessionCache      = sessionCache;
     _paymentAppService = paymentAppService;
 }
示例#7
0
 public StripeController(
     StripeGatewayManager stripeGatewayManager,
     StripePaymentGatewayConfiguration stripeConfiguration,
     IStripePaymentAppService stripePaymentAppService,
     IPaymentAppService paymentAppService)
     : base(stripeGatewayManager, stripeConfiguration)
 {
     _stripeConfiguration     = stripeConfiguration;
     _stripePaymentAppService = stripePaymentAppService;
     _paymentAppService       = paymentAppService;
 }
示例#8
0
 public StripePaymentAppService(
     StripeGatewayManager stripeGatewayManager,
     StripePaymentGatewayConfiguration stripePaymentGatewayConfiguration,
     ISubscriptionPaymentRepository subscriptionPaymentRepository,
     ISubscriptionPaymentExtensionDataRepository subscriptionPaymentExtensionDataRepository,
     IPaymentAppService paymentAppService)
 {
     _stripeGatewayManager = stripeGatewayManager;
     _stripePaymentGatewayConfiguration          = stripePaymentGatewayConfiguration;
     _subscriptionPaymentRepository              = subscriptionPaymentRepository;
     _subscriptionPaymentExtensionDataRepository = subscriptionPaymentExtensionDataRepository;
     _paymentAppService = paymentAppService;
 }
 public StripeController(
     StripeGatewayManager stripeGatewayManager,
     StripePaymentGatewayConfiguration stripeConfiguration,
     IStripePaymentAppService stripePaymentAppService,
     IPaymentAppService paymentAppService,
     IWebUrlService webUrlService, TenantManager tenantManager)
     : base(stripeGatewayManager, stripeConfiguration, stripePaymentAppService)
 {
     _stripeGatewayManager = stripeGatewayManager;
     _stripeConfiguration  = stripeConfiguration;
     _paymentAppService    = paymentAppService;
     _webUrlService        = webUrlService;
     _tenantManager        = tenantManager;
 }
 public PaymentController(
     IPaymentAppService paymentAppService,
     ITenantRegistrationAppService tenantRegistrationAppService,
     IPaymentCache paymentCache,
     TenantManager tenantManager,
     EditionManager editionManager,
     ISubscriptionAppService subscriptionAppService)
 {
     _paymentAppService            = paymentAppService;
     _tenantRegistrationAppService = tenantRegistrationAppService;
     _paymentCache           = paymentCache;
     _tenantManager          = tenantManager;
     _editionManager         = editionManager;
     _subscriptionAppService = subscriptionAppService;
 }
 public PaymentController(
     IPaymentAppService paymentAppService,
     ITenantRegistrationAppService tenantRegistrationAppService,
     TenantManager tenantManager,
     EditionManager editionManager,
     ISubscriptionAppService subscriptionAppService,
     IWebUrlService webUrlService,
     ISubscriptionPaymentRepository subscriptionPaymentRepository)
 {
     _paymentAppService            = paymentAppService;
     _tenantRegistrationAppService = tenantRegistrationAppService;
     _tenantManager                 = tenantManager;
     _editionManager                = editionManager;
     _subscriptionAppService        = subscriptionAppService;
     _webUrlService                 = webUrlService;
     _subscriptionPaymentRepository = subscriptionPaymentRepository;
 }
 public DepositToBankController(
     ICashOperationAppService _CashOperationService,
     ICashReceiptAppService _cashReceiptAppService,
     IWithdrawAppService _withdrawService,
     IExpenseAppService _ExpenseService,
     IDepositToBankAppService _DepositToBankService,
     IEmployeeAppService _EmployeeService,
     ISubsidiaryInfoAppService _subsidiaryService,
     IItemInfoAppService _ItemService,
     INewChartAppService _NewChartService,
     ILocationAppService _LocationService,
     IUnitAppService _UnitService,
     ITransactionLogAppService _transactionLogService,
     IBankOperationAppService _BankOperationService,
     IJarnalVoucherAppService _jarnalVoucherService,
     ISysSetAppService _sysSetService,
     IOpnBalAppService _OpnBalService,
     IPaymentAppService _paymentService,
     IHORemitAppService _HORemitService, IAcBRAppService _AcBrService,
     IBankReceiptAppService _BankReceiptAppService, IGsetAppService _gsetService)
 {
     this._CashOperationService  = _CashOperationService;
     this._cashReceiptAppService = _cashReceiptAppService;
     this._withdrawService       = _withdrawService;
     this._ExpenseService        = _ExpenseService;
     this._DepositToBankService  = _DepositToBankService;
     this._subsidiaryService     = _subsidiaryService;
     this._NewChartService       = _NewChartService;
     this._EmployeeService       = _EmployeeService;
     this._subsidiaryService     = _subsidiaryService;
     this._ItemService           = _ItemService;
     this._LocationService       = _LocationService;
     this._UnitService           = _UnitService;
     this._transactionLogService = _transactionLogService;
     this._jarnalVoucherService  = _jarnalVoucherService;
     this._sysSetService         = _sysSetService;
     this._OpnBalService         = _OpnBalService;
     this._paymentService        = _paymentService;
     this._HORemitService        = _HORemitService;
     this._BankReceiptAppService = _BankReceiptAppService;
     this._BankOperationService  = _BankOperationService;
     this._gsetService           = _gsetService;
     this._AcBrService           = _AcBrService;
 }
 public HORemittanceController(IEmployeeAppService _employeeService, IHORemitAppService _hoRemitService,
                               IBankOperationAppService _bankOperationService, ITransactionLogAppService _transactionLogService,
                               IDepositToBankAppService _depositToBankService, IBankReceiptAppService _BankReceiptAppService,
                               IJarnalVoucherAppService _jarnalVoucherService, ISysSetAppService _sysSetService,
                               IOpnBalAppService _OpnBalService, IPaymentAppService _paymentService, IWithdrawAppService _withdrawService, IGsetAppService _gsetService)
 {
     this._bankOperationService  = _bankOperationService;
     this._employeeService       = _employeeService;
     this._hoRemitService        = _hoRemitService;
     this._transactionLogService = _transactionLogService;
     this._depositToBankService  = _depositToBankService;
     this._BankReceiptAppService = _BankReceiptAppService;
     this._jarnalVoucherService  = _jarnalVoucherService;
     this._sysSetService         = _sysSetService;
     this._OpnBalService         = _OpnBalService;
     this._paymentService        = _paymentService;
     this._withdrawService       = _withdrawService;
     this._gsetService           = _gsetService;
 }
示例#14
0
 public PaymentController(
     IPaymentAppService paymentAppService,
     ITenantRegistrationAppService tenantRegistrationAppService,
     TenantManager tenantManager,
     EditionManager editionManager,
     IWebUrlService webUrlService,
     ISubscriptionPaymentRepository subscriptionPaymentRepository,
     UserClaimsPrincipalFactory <User, Role> userClaimsPrincipalFactory,
     UserManager userManager,
     SignInManager signInManager)
 {
     _paymentAppService            = paymentAppService;
     _tenantRegistrationAppService = tenantRegistrationAppService;
     _tenantManager  = tenantManager;
     _editionManager = editionManager;
     _webUrlService  = webUrlService;
     _subscriptionPaymentRepository = subscriptionPaymentRepository;
     _userClaimsPrincipalFactory    = userClaimsPrincipalFactory;
     _userManager   = userManager;
     _signInManager = signInManager;
 }
示例#15
0
        private void Fill()
        {
            var labelsDto  = new List <LabelDto>();
            var paymentDto = new List <PaymentDto>();

            ILabelAppService labelAppService = GetAppService <ILabelAppService>();

            for (int i = 0; i < NUMBER_OBJ; i++)
            {
                labelsDto.Add(labelAppService.Add(new LabelDto {
                    Name = string.Format(Resource.LabelName, 1 + 1)
                }));
            }

            IPaymentAppService paymentAppService = GetAppService <IPaymentAppService>();

            for (int i = 0; i < NUMBER_OBJ; i++)
            {
                paymentDto.Add(paymentAppService.Add(new PaymentDto {
                    Name = string.Format(Resource.PaymentName, 1 + 1)
                }));
            }

            IExpenseAppService expenseAppService = GetAppService <IExpenseAppService>();

            for (int i = 0; i < NUMBER_OBJ; i++)
            {
                expenseAppService.Add(new ExpenseDto
                {
                    Name       = string.Format(Resource.ExpenseName, 1 + 1),
                    Data       = DateTime.Today,
                    Value      = i + 1,
                    Label      = labelsDto[i],
                    LabelId    = labelsDto[i].Id,
                    Payment    = paymentDto[i],
                    PaymentId  = paymentDto[i].Id,
                    IsIncoming = i % 2 == 0
                });
            }
        }
示例#16
0
 public AdminController(IUserService userService,
                        ISubscriberAppService subscriberAppService,
                        IJobAppService jobAppService,
                        IProposalAppService proposalAppService,
                        IWorkOrderAppService workOrderAppService,
                        IPermitAppService permitAppService,
                        IMobilizationAppService mobilizationAppService,
                        IPaymentAppService paymentAppService,
                        UserManager <AppUser> userManager,
                        ILogger <AdminController> logger)
 {
     _userService          = userService;
     _subscriberAppService = subscriberAppService;
     _logger                 = logger;
     _jobAppService          = jobAppService;
     _proposalAppService     = proposalAppService;
     _workOrderAppService    = workOrderAppService;
     _permitAppService       = permitAppService;
     _mobilizationAppService = mobilizationAppService;
     _paymentAppService      = paymentAppService;
     _userManager            = userManager;
 }
 public BankReceiptController(IBankOperationAppService _BankOperationService, IBankReceiptAppService _BankReceiptAppService,
                              INewChartAppService _NewChartService, IEmployeeAppService _EmployeeService, IHORemitAppService _HORemitService,
                              IDepositToBankAppService _DepositToBankService, ITransactionLogAppService _transactionLogService,
                              IVchrMainAppService _VchrMainService, IVchrDetailAppService _VchrDetailService,
                              IBranchAppService _BranchService, IJarnalVoucherAppService _jarnalVoucherService, ISysSetAppService _sysSetService,
                              IOpnBalAppService _OpnBalService, IPaymentAppService _paymentService, IWithdrawAppService _withdrawService, IGsetAppService _gsetService)
 {
     this._BankOperationService  = _BankOperationService;
     this._BankReceiptAppService = _BankReceiptAppService;
     this._NewChartService       = _NewChartService;
     this._EmployeeService       = _EmployeeService;
     this._HORemitService        = _HORemitService;
     this._DepositToBankService  = _DepositToBankService;
     this._transactionLogService = _transactionLogService;
     this._VchrMainService       = _VchrMainService;
     this._VchrDetailService     = _VchrDetailService;
     this._BranchService         = _BranchService;
     this._OpnBalService         = _OpnBalService;
     this._paymentService        = _paymentService;
     this._jarnalVoucherService  = _jarnalVoucherService;
     this._sysSetService         = _sysSetService;
     this._withdrawService       = _withdrawService;
     this._gsetService           = _gsetService;
 }
示例#18
0
 public PaymentsController(IPlotAppService plotService, IUtilityAppService utilityAppService, IPaymentAppService paymentAppService)
 {
     _plotService       = plotService;
     _utilityAppService = utilityAppService;
     _paymentAppService = paymentAppService;
 }
示例#19
0
 public PaymentAppServiceTests()
 {
     _paymentAppService = GetRequiredService <IPaymentAppService>();
 }
示例#20
0
 public PaymentConsumer(IPaymentAppService paymentAppService)
 {
     _paymentAppService = paymentAppService;
 }
示例#21
0
 public PaymentsController(IPaymentAppService paymentAppService, IExpenseAppService expenseAppService)
 {
     _appService        = paymentAppService;
     _expenseAppService = expenseAppService;
 }
 public void CleanUp()
 {
     _appService = null;
 }
 public void Initialize()
 {
     _appService = GetAppService <IPaymentAppService>();
 }
 public PaymentController(
     IPaymentAppService paymentAppService
     )
 {
     _paymentAppService = paymentAppService;
 }
 public PaymentController(IPaymentAppService service)
 {
     _service = service;
 }
示例#26
0
 public PaymentAppServiceTests()
 {
     _paymentAppService             = GetRequiredService <IPaymentAppService>();
     _testCreatePaymentEventHandler = GetRequiredService <TestCreatePaymentEventHandler>();
 }
示例#27
0
 public HomeController(IOrderAppService orderService,
                       IPaymentAppService paymentService)
 {
     _orderService   = orderService;
     _paymentService = paymentService;
 }