Exemple #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;
 }
Exemple #2
0
 public EzScanCheckScannerService(ICheckScannerDao checkScannerDao, IDonorService donorService, IPaymentProcessorService paymentService, MPServices.IDonorRepository mpDonorService)
 {
     _checkScannerDao = checkScannerDao;
     _donorService    = donorService;
     _paymentService  = paymentService;
     _mpDonorService  = mpDonorService;
 }
Exemple #3
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");
 }
Exemple #4
0
 public DonorController(IDonorService donorService,
                        IPaymentProcessorService stripePaymentService,
                        IDonationService donationService,
                        MPInterfaces.IDonorRepository mpDonorService,
                        MPInterfaces.IAuthenticationRepository authenticationService,
                        IUserImpersonationService impersonationService) : base(impersonationService)
 {
     _donorService          = donorService;
     _stripePaymentService  = stripePaymentService;
     _donationService       = donationService;
     _authenticationService = authenticationService;
     _mpDonorService        = mpDonorService;
     _impersonationService  = impersonationService;
 }
Exemple #5
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;
 }
Exemple #6
0
        public DonorService(IDonorRepository mpDonorService, IContactRepository mpContactService,
                            Interfaces.IPaymentProcessorService paymentService, IConfigurationWrapper configurationWrapper,
                            IPledgeRepository pledgeService)
        {
            _mpDonorService   = mpDonorService;
            _mpContactService = mpContactService;
            _paymentService   = paymentService;
            _pledgeService    = pledgeService;

            _guestGiverDisplayName = configurationWrapper.GetConfigValue("GuestGiverContactDisplayName");

            _statementFrequencyNever     = configurationWrapper.GetConfigIntValue("DonorStatementFrequencyNever");
            _statementFrequencyQuarterly = configurationWrapper.GetConfigIntValue("DonorStatementFrequencyQuarterly");
            _statementTypeIndividual     = configurationWrapper.GetConfigIntValue("DonorStatementTypeIndividual");
            _statementMethodNone         = configurationWrapper.GetConfigIntValue("DonorStatementMethodNone");
            _statementMethodPostalMail   = configurationWrapper.GetConfigIntValue("DonorStatementMethodPostalMail");
            _notSiteSpecificCongregation = configurationWrapper.GetConfigIntValue("NotSiteSpecificCongregation");
            _capitalCampaignPledgeTypeId = configurationWrapper.GetConfigIntValue("PledgeCampaignTypeCapitalCampaign");

            _recurringGiftSetupEmailTemplateId  = configurationWrapper.GetConfigIntValue("RecurringGiftSetupEmailTemplateId");
            _recurringGiftUpdateEmailTemplateId = configurationWrapper.GetConfigIntValue("RecurringGiftUpdateEmailTemplateId");
            _recurringGiftCancelEmailTemplateId = configurationWrapper.GetConfigIntValue("RecurringGiftCancelEmailTemplateId");
        }