Exemplo n.º 1
0
        public CustomerService(IWorkContext workContext,
                               ICustomerRepository customerRepository,
                               ICustomerCreditInfoRepository customerCreditInfoRepository,
                               IPaymentTypeRepository paymentTypeRepository,
                               IMoneyChangeTypeInfoRepository moneyChangeTypeInfoRepository,
                               ICustomerAmountRecordRepository customerAmountRecordRepository,
                               IFreightService freightService,
                               ICustomerUpdatedLogRepository customerUpdatedLogRepository,
                               ISettlementInfoRepository settlementInfoRepository,
                               ICustomerBalanceRepository customerBalanceRepository,
                               ICustomerManagerInfoRepository customerManagerInfoRepository,
                               IInStorageInfoRepository inStorageInfoRepository)

        {
            _customerRepository           = customerRepository;
            _customerCreditInfoRepository = customerCreditInfoRepository;
            _workContext                    = workContext;
            _paymentTypeRepository          = paymentTypeRepository;
            _moneyChangeTypeInfoRepository  = moneyChangeTypeInfoRepository;
            _customerAmountRecordRepository = customerAmountRecordRepository;
            _customerBalanceRepository      = customerBalanceRepository;
            _customerManagerInfoRepository  = customerManagerInfoRepository;
            _customerUpdatedLogRepository   = customerUpdatedLogRepository;
            _settlementInfoRepository       = settlementInfoRepository;
            _freightService                 = freightService;
            _inStorageInfoRepository        = inStorageInfoRepository;
        }
Exemplo n.º 2
0
 public CustomerService(ICustomerRepository customerRepository,
                        ICustomerSettlementRepository customerSettlementRepository,
                        ICustomerGrossProfitRepository customerGrossProfitRepository,
                        ICustomerBalanceRepository customerBalanceRepository,
                        IUnitOfWork unitOfWork)
 {
     this._customerRepository            = customerRepository;
     this._customerSettlementRepository  = customerSettlementRepository;
     this._customerGrossProfitRepository = customerGrossProfitRepository;
     this._customerBalanceRepository     = customerBalanceRepository;
     this._unitOfWork = unitOfWork;
 }
Exemplo n.º 3
0
 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;
 }
Exemplo n.º 4
0
 public BillingService(ICustomerAmountRecordRepository amountRecordRepository,
                       ICustomerBalanceRepository customerBalanceRepository,
                       IRechargeTypeRepository rechargeTypeRepositor,
                       ICustomerCreditInfoRepository customerCreditInfoRepository,
                       ICustomerRepository customerRepository,
                       IWorkContext workContext)
 {
     _amountRecordRepository       = amountRecordRepository;
     _customerBalanceRepository    = customerBalanceRepository;
     _rechargeTypeRepository       = rechargeTypeRepositor;
     _customerCreditInfoRepository = customerCreditInfoRepository;
     _customerRepository           = customerRepository;
     _workContext = workContext;
 }
Exemplo n.º 5
0
 public ReturnGoodsService(IReturnGoodsRepository returnGoodsRepository,
                           IWayBillInfoRepository wayBillInfoRepository,
                           ICustomerOrderInfoRepository customerOrderInfoRepository,
                           ICustomerBalanceRepository customerBalanceRepository,
                           ICustomerAmountRecordRepository customerAmountRecordRepository,
                           IWorkContext workContext,
                           IWayBillEventLogRepository wayBillEventLogRepository,
                           IFreightService freightService,
                           IFinancialService financialService,
                           IReceivingExpenseInfoRepository receivingExpenseInfoRepository,
                           IReceivingExpensRepository receivingExpensRepository)
 {
     _returnGoodsRepository          = returnGoodsRepository;
     _wayBillInfoRepository          = wayBillInfoRepository;
     _customerOrderInfoRepository    = customerOrderInfoRepository;
     _customerAmountRecordRepository = customerAmountRecordRepository;
     _customerBalanceRepository      = customerBalanceRepository;
     _wayBillEventLogRepository      = wayBillEventLogRepository;
     _freightService   = freightService;
     _workContext      = workContext;
     _financialService = financialService;
     _receivingExpenseInfoRepository = receivingExpenseInfoRepository;
     _receivingExpensRepository      = receivingExpensRepository;
 }