예제 #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;
        }
예제 #2
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;
 }
예제 #3
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;
 }