public GivingRealm(PlanningCenterOptions options, PlanningCenterToken token) { Funds = new FundSet(options, token); PaymentSources = new PaymentSourceSet(options, token); Donations = new DonationSet(options, token); Batches = new BatchSet(options, token); }
public PushPayClient(PushPayOptions options, OAuthToken token) { System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12 | System.Net.SecurityProtocolType.Tls11; _organizations = new OrganizationSet(options, token); _funds = new FundSet(options, token); _merchants = new MerchantSet(options, token); _payments = new PaymentSet(options, token); }
public Vision2Client(Vision2Options options, Vision2Token token) { System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12 | System.Net.SecurityProtocolType.Tls11; _missionSet = new MissionSet(token, options.ApiUrl); _fundSet = new FundSet(token, options.ApiUrl); _individualSet = new IndividualSet(token, options.ApiUrl); _volunteerParticipantSet = new VolunteerParticipantSet(token, options.ApiUrl); _volunteerOpportunitySet = new VolunteerOpportunitySet(token, options.ApiUrl); _volunteerRoleSet = new VolunteerRoleSet(token, options.ApiUrl); _paymentSet = new PaymentSet(token, options.ApiUrl); _designationSet = new DesignationSet(token, options.ApiUrl); }