コード例 #1
0
 public DonationController(MPInterfaces.IDonorRepository mpDonorService,
                           IPaymentProcessorService stripeService,
                           IAuthenticationRepository authenticationService,
                           MPInterfaces.IContactRepository contactRepository,
                           IDonorService gatewayDonorService,
                           IDonationService gatewayDonationService,
                           MPInterfaces.IDonationRepository mpDonationService,
                           MPInterfaces.IPledgeRepository mpPledgeService,
                           IUserImpersonationService impersonationService,
                           IPaymentService paymentService,
                           MPInterfaces.IInvoiceRepository invoiceRepository,
                           IAnalyticsService analyticsService) : base(impersonationService, authenticationService)
 {
     _mpDonorService         = mpDonorService;
     _stripeService          = stripeService;
     _authenticationService  = authenticationService;
     _contactRepository      = contactRepository;
     _gatewayDonorService    = gatewayDonorService;
     _gatewayDonationService = gatewayDonationService;
     _impersonationService   = impersonationService;
     _invoiceRepository      = invoiceRepository;
     _mpDonationService      = mpDonationService;
     _mpPledgeService        = mpPledgeService;
     _paymentService         = paymentService;
     _analyticsService       = analyticsService;
 }
コード例 #2
0
 public DonationService(MPServices.IDonationRepository mpDonationRepository, MPServices.IDonorRepository mpDonorRepository, IPaymentProcessorService paymentService, MPServices.IContactRepository contactRepository, IConfigurationWrapper config)
 {
     _mpDonationRepository   = mpDonationRepository;
     _mpDonorRepository      = mpDonorRepository;
     _paymentService         = paymentService;
     _contactRepository      = contactRepository;
     _statementTypeFamily    = config.GetConfigIntValue("DonorStatementTypeFamily");
     _bankErrorRefundDonorId = config.GetConfigIntValue("DonorIdForBankErrorRefund");
 }
コード例 #3
0
 public TripService(IEventParticipantRepository eventParticipant,
                    IDonationRepository donationService,
                    IGroupRepository groupService,
                    IFormSubmissionRepository formSubmissionService,
                    IEventRepository eventService,
                    IPledgeRepository pledgeService,
                    ICampaignRepository campaignService,
                    IPrivateInviteRepository privateInviteService,
                    ICommunicationRepository communicationService,
                    IContactRepository contactService,
                    IContactRelationshipRepository contactRelationshipService,
                    IConfigurationWrapper configurationWrapper,
                    IPersonService personService,
                    IServeService serveService,
                    IProgramRepository programRepository,
                    IApiUserRepository apiUserRepository,
                    ITripRepository tripRepository,
                    IDonorRepository mpDonorService)
 {
     _eventParticipantService    = eventParticipant;
     _donationService            = donationService;
     _groupService               = groupService;
     _formSubmissionService      = formSubmissionService;
     _mpEventService             = eventService;
     _mpPledgeService            = pledgeService;
     _campaignService            = campaignService;
     _privateInviteService       = privateInviteService;
     _communicationService       = communicationService;
     _contactService             = contactService;
     _contactRelationshipService = contactRelationshipService;
     _configurationWrapper       = configurationWrapper;
     _personService              = personService;
     _serveService               = serveService;
     _programRepository          = programRepository;
     _apiUserRepository          = apiUserRepository;
     _tripRepository             = tripRepository;
     _mpDonorService             = mpDonorService;
 }