public WeChatPayPaymentServiceProvider(
     ServiceProviderPayService serviceProviderPayService,
     ISettingProvider settingProvider,
     IGuidGenerator guidGenerator,
     ICurrentTenant currentTenant,
     IUnitOfWorkManager unitOfWorkManager,
     ILocalEventBus localEventBus,
     IWeChatPayFeeConverter weChatPayFeeConverter,
     IPaymentManager paymentManager,
     IPaymentRecordRepository paymentRecordRepository,
     IPaymentOpenIdProvider paymentOpenIdProvider,
     IPaymentRepository paymentRepository)
 {
     _serviceProviderPayService = serviceProviderPayService;
     _settingProvider           = settingProvider;
     _guidGenerator             = guidGenerator;
     _currentTenant             = currentTenant;
     _unitOfWorkManager         = unitOfWorkManager;
     _localEventBus             = localEventBus;
     _weChatPayFeeConverter     = weChatPayFeeConverter;
     _paymentManager            = paymentManager;
     _paymentRecordRepository   = paymentRecordRepository;
     _paymentOpenIdProvider     = paymentOpenIdProvider;
     _paymentRepository         = paymentRepository;
 }
 public PaymentServiceWeChatPayHandler(
     IDataFilter dataFilter,
     IPaymentManager paymentManager,
     IPaymentRecordRepository paymentRecordRepository,
     IPaymentRepository paymentRepository)
 {
     _dataFilter              = dataFilter;
     _paymentManager          = paymentManager;
     _paymentRecordRepository = paymentRecordRepository;
     _paymentRepository       = paymentRepository;
 }
Ejemplo n.º 3
0
 public WeChatPayRefundEventHandler(
     IGuidGenerator guidGenerator,
     ICurrentTenant currentTenant,
     IRefundRepository refundRepository,
     IPaymentManager paymentManager,
     IPaymentRepository paymentRepository,
     IPaymentRecordRepository paymentRecordRepository,
     IRefundRecordRepository refundRecordRepository,
     IWeChatPayFeeConverter weChatPayFeeConverter,
     ServiceProviderPayService serviceProviderPayService)
 {
     _guidGenerator             = guidGenerator;
     _currentTenant             = currentTenant;
     _refundRepository          = refundRepository;
     _paymentManager            = paymentManager;
     _paymentRepository         = paymentRepository;
     _paymentRecordRepository   = paymentRecordRepository;
     _refundRecordRepository    = refundRecordRepository;
     _weChatPayFeeConverter     = weChatPayFeeConverter;
     _serviceProviderPayService = serviceProviderPayService;
 }
 public PaymentRecordService(IPaymentRecordRepository paymentRecordRepository, IUnitOfWork unitOfWork)
 {
     this._paymentRecordRepository = paymentRecordRepository;
     this._unitOfWork = unitOfWork;
 }
 public PaymentRecordAppService(IPaymentRecordRepository repository) : base(repository)
 {
     _repository = repository;
 }