コード例 #1
0
 public VouchersService(
     IPaymentManagementClient paymentManagementClient,
     IPartnerManagementClient partnerManagementClient,
     ICustomerProfileClient customerProfileClient,
     IVouchersRepository vouchersRepository,
     ICampaignsRepository campaignsRepository,
     IPaymentRequestsRepository paymentRequestsRepository,
     ILogFactory logFactory,
     IRedisLocksService redisLocksService,
     IRabbitPublisher <SmartVoucherSoldEvent> voucherSoldPublisher,
     IRabbitPublisher <SmartVoucherUsedEvent> voucherUsedPublisher,
     IRabbitPublisher <SmartVoucherTransferredEvent> voucherTransferredPublisher,
     TimeSpan lockTimeOut)
 {
     _paymentManagementClient   = paymentManagementClient;
     _partnerManagementClient   = partnerManagementClient;
     _customerProfileClient     = customerProfileClient;
     _vouchersRepository        = vouchersRepository;
     _campaignsRepository       = campaignsRepository;
     _paymentRequestsRepository = paymentRequestsRepository;
     _redisLocksService         = redisLocksService;
     _voucherSoldPublisher      = voucherSoldPublisher;
     _log                         = logFactory.CreateLog(this);
     _lockTimeOut                 = lockTimeOut;
     _voucherUsedPublisher        = voucherUsedPublisher;
     _voucherTransferredPublisher = voucherTransferredPublisher;
 }
コード例 #2
0
 public PartnersController(
     IPartnerService partnerService,
     IPaymentManagementClient paymentManagementClient,
     IMapper mapper,
     ILogFactory logFactory)
 {
     _partnerService          = partnerService;
     _paymentManagementClient = paymentManagementClient;
     _mapper = mapper;
     _log    = logFactory.CreateLog(this);
 }
コード例 #3
0
 public VoucherCampaignsController(
     ISmartVouchersClient smartVouchersClient,
     IExtRequestContext requestContext,
     IImageService imageService,
     IPaymentManagementClient paymentManagementClient,
     IMapper mapper)
 {
     _smartVouchersClient     = smartVouchersClient;
     _requestContext          = requestContext;
     _imageService            = imageService;
     _paymentManagementClient = paymentManagementClient;
     _mapper = mapper;
 }
 public PaymentProviderDetailsController(
     IPartnerManagementClient partnerManagementClient,
     IPaymentManagementClient paymentManagementClient,
     IExtRequestContext requestContext,
     ICustomerProfileClient customerProfileClient,
     IMapper mapper)
 {
     _partnerManagementClient = partnerManagementClient;
     _paymentManagementClient = paymentManagementClient;
     _requestContext          = requestContext;
     _customerProfileClient   = customerProfileClient;
     _mapper = mapper;
 }
コード例 #5
0
 public PaymentsController(
     IMapper mapper,
     ILogFactory logFactory,
     IPaymentService paymentService,
     IPaymentManagementClient paymentManagementClient,
     IRequestContext requestContext)
 {
     _mapper                  = mapper;
     _paymentService          = paymentService;
     _paymentManagementClient = paymentManagementClient;
     _requestContext          = requestContext;
     _log = logFactory.CreateLog(this);
 }
 public SmartVouchersController(
     IRequestContext requestContext,
     ISmartVouchersClient smartVouchersClient,
     IPartnerManagementClient partnerManagementClient,
     IPaymentManagementClient paymentManagementClient,
     IMapper mapper,
     ILogFactory logFactory)
 {
     _requestContext          = requestContext;
     _smartVouchersClient     = smartVouchersClient;
     _partnerManagementClient = partnerManagementClient;
     _paymentManagementClient = paymentManagementClient;
     _mapper = mapper;
     _log    = logFactory.CreateLog(this);
 }
コード例 #7
0
 public PartnerAbilityCheckService(IPaymentManagementClient paymentManagementClient, IKycClient kycClient)
 {
     _paymentManagementClient = paymentManagementClient;
     _kycClient = kycClient;
 }