示例#1
0
 public StripeWebhookService(IUnitOfWork unitOfWork, ICustomerRepository customerRepository,
                             ICustomerPaymentRefundRepository customerPaymentRefundRepository,
                             ICustomerPaymentRepository customerPaymentRepository,
                             IEmailTemplatesRepository emailTemplatesRepository)
 {
     _unitOfWork         = unitOfWork;
     _customerRepository = customerRepository;
     _customerPaymentRefundRepository = customerPaymentRefundRepository;
     _customerPaymentRepository       = customerPaymentRepository;
     _emailTemplatesRepository        = emailTemplatesRepository;
 }
 public CustomerPaymentService(ICustomerPaymentRepository customerPaymentRepository,
                               ICustomerBalanceRepository customerBalanceRepository,
                               ICustomerRepository customerRepositor,
                               IEmployeeRepository employeeRepository,
                               IUnitOfWork unitOfWork)
 {
     this._customerPaymentRepository = customerPaymentRepository;
     this._customerBalanceRepository = customerBalanceRepository;
     this._customerRepository        = customerRepositor;
     this._employeeRepository        = employeeRepository;
     this._unitOfWork = unitOfWork;
 }
示例#3
0
 public CustomerService(IUnitOfWork unitOfWork, ICustomerRepository customerRepository,
                        ICustomerPaymentRepository customerPaymentRepository, ICustomerPaymentRefundRepository customerPaymentRefundRepository,
                        IRoleRepository roleRepository, IUserRepository userRepository, IReferenceListRepository referenceListRepository,
                        IReferenceListItemRepository referenceListItemRepository, IPlanRepository planRepository,
                        INoteRepository noteRepository, IApiTokenRepository apitokensRepository, IIPSRepository ipsEntryRepository)
 {
     _unitOfWork                      = unitOfWork;
     _customerRepository              = customerRepository;
     _customerPaymentRepository       = customerPaymentRepository;
     _customerPaymentRefundRepository = customerPaymentRefundRepository;
     _roleRepository                  = roleRepository;
     _userRepository                  = userRepository;
     _referenceListRepository         = referenceListRepository;
     _referenceListItemRepository     = referenceListItemRepository;
     _planRepository                  = planRepository;
     _noteRepository                  = noteRepository;
     _apitokensRepository             = apitokensRepository;
     _ipsEntryRepository              = ipsEntryRepository;
 }
示例#4
0
 public DashboardService(IPlanRepository planRepository, ICustomerPaymentRepository customerPaymentRepository)
 {
     _planRepository            = planRepository;
     _customerPaymentRepository = customerPaymentRepository;
 }
示例#5
0
 public CustomerPaymentApiController()
 {
     _customerPaymentRepository = FtUnityMapper.GetInstance <ICustomerPaymentRepository>();
 }
示例#6
0
 public static CustomerPayment ApplyInvoicePayment(CustomerPayment pago, ICustomerPaymentRepository paymentRepository)
 {
     return(paymentRepository.ApplyInvoicePayment(pago));
 }