OpenPetra
Free Administration Software for Non-Profits
Ict.Petra.Server.MSponsorship.WebConnectors.TSponsorshipWebConnector Class Reference

webconnector for the sponsorship module More...

Static Public Member Functions

static SponsorshipFindTDSSearchResultTable FindChildren (string AChildName, string ADonorName, bool AChildWithoutDonor, string APartnerStatus, string ASponsorshipStatus, string ASponsorAdmin, string ASortBy)
 find children using filters More...
 
static string PrintChildren (string AChildName, string ADonorName, bool AChildWithoutDonor, string APartnerStatus, string ASponsorshipStatus, string ASponsorAdmin, string ASortBy, string AReportLanguage)
 find children using filters, and then print a list to PDF More...
 
static SUserTable GetSponsorAdmins ()
 find the users that are allowed to administrate sponsorships More...
 
static PTypeTable GetChildrenStatusOptions ()
 find the status options available for children More...
 
static void InitRecurringGiftBatchForSponsorship (Int32 ALedgerNumber, string ABankAccountCode)
 make sure we have a recurring gift batch for sponsorships More...
 
static SponsorshipTDS GetChildDetails (Int64 APartnerKey, Int32 ALedgerNumber, bool AWithPhoto, out string ASponsorshipStatus)
 return the existing data of a child More...
 
static bool DeleteChild (Int64 APartnerKey, Int32 ALedgerNumber, out TVerificationResultCollection AVerificationResult)
 delete the currently edited child More...
 
static bool MaintainChild (string ASponsorshipStatus, string AFirstName, string AFamilyName, DateTime? ADateOfBirth, string AGender, string AUserId, Int64 APartnerKey, Int32 ALedgerNumber, out TVerificationResultCollection AVerificationResult)
 store the currently edited child More...
 
static bool UploadPhoto (Int64 APartnerKey, Int32 ALedgerNumber, byte[] APhoto, string APhotoFilename, out TVerificationResultCollection AVerificationResult)
 upload a photo of the child More...
 
static bool MaintainChildComments (string AComment, string ACommentType, Int32 AIndex, Int64 APartnerKey, out TVerificationResultCollection AVerificationResult)
 maintain comments about the child More...
 
static bool MaintainChildReminders (String AComment, Int32 AReminderId, Int64 APartnerKey, DateTime AEventDate, DateTime AFirstReminderDate, out TVerificationResultCollection AVerificationResult)
 maintain reminders about the child More...
 
static bool MaintainSponsorshipRecurringGifts (Int32 ALedgerNumber, Int32 ABatchNumber, Int32 AGiftTransactionNumber, Int32 ADetailNumber, Int64 ARecipientKey, Int64 ADonorKey, String AMotivationGroupCode, String AMotivationDetailCode, decimal AGiftAmount, DateTime AStartDonations, DateTime? AEndDonations, out TVerificationResultCollection AVerificationResult)
 Add or edit details of recurring gifts. More...
 
static bool DeleteSponsorshipRecurringGift (Int32 ALedgerNumber, Int32 ABatchNumber, Int32 AGiftTransactionNumber, Int32 ADetailNumber, out TVerificationResultCollection AVerificationResult)
 delete a detail of recurring gift More...
 
static bool CheckIncomingDonationsForSponsorship (Int32 ALedgerNumber, Int32 AStatementKey, out TVerificationResultCollection AVerificationResult)
 check the matched gifts against the sponsorship recurring gift batch More...
 

Detailed Description

webconnector for the sponsorship module

Member Function Documentation

◆ CheckIncomingDonationsForSponsorship()

static bool Ict.Petra.Server.MSponsorship.WebConnectors.TSponsorshipWebConnector.CheckIncomingDonationsForSponsorship ( Int32  ALedgerNumber,
Int32  AStatementKey,
out TVerificationResultCollection  AVerificationResult 
)
inlinestatic

check the matched gifts against the sponsorship recurring gift batch

◆ DeleteChild()

static bool Ict.Petra.Server.MSponsorship.WebConnectors.TSponsorshipWebConnector.DeleteChild ( Int64  APartnerKey,
Int32  ALedgerNumber,
out TVerificationResultCollection  AVerificationResult 
)
inlinestatic

delete the currently edited child

◆ DeleteSponsorshipRecurringGift()

static bool Ict.Petra.Server.MSponsorship.WebConnectors.TSponsorshipWebConnector.DeleteSponsorshipRecurringGift ( Int32  ALedgerNumber,
Int32  ABatchNumber,
Int32  AGiftTransactionNumber,
Int32  ADetailNumber,
out TVerificationResultCollection  AVerificationResult 
)
inlinestatic

delete a detail of recurring gift

◆ FindChildren()

static SponsorshipFindTDSSearchResultTable Ict.Petra.Server.MSponsorship.WebConnectors.TSponsorshipWebConnector.FindChildren ( string  AChildName,
string  ADonorName,
bool  AChildWithoutDonor,
string  APartnerStatus,
string  ASponsorshipStatus,
string  ASponsorAdmin,
string  ASortBy 
)
inlinestatic

find children using filters

◆ GetChildDetails()

static SponsorshipTDS Ict.Petra.Server.MSponsorship.WebConnectors.TSponsorshipWebConnector.GetChildDetails ( Int64  APartnerKey,
Int32  ALedgerNumber,
bool  AWithPhoto,
out string  ASponsorshipStatus 
)
inlinestatic

return the existing data of a child

◆ GetChildrenStatusOptions()

static PTypeTable Ict.Petra.Server.MSponsorship.WebConnectors.TSponsorshipWebConnector.GetChildrenStatusOptions ( )
inlinestatic

find the status options available for children

◆ GetSponsorAdmins()

static SUserTable Ict.Petra.Server.MSponsorship.WebConnectors.TSponsorshipWebConnector.GetSponsorAdmins ( )
inlinestatic

find the users that are allowed to administrate sponsorships

◆ InitRecurringGiftBatchForSponsorship()

static void Ict.Petra.Server.MSponsorship.WebConnectors.TSponsorshipWebConnector.InitRecurringGiftBatchForSponsorship ( Int32  ALedgerNumber,
string  ABankAccountCode 
)
inlinestatic

make sure we have a recurring gift batch for sponsorships

◆ MaintainChild()

static bool Ict.Petra.Server.MSponsorship.WebConnectors.TSponsorshipWebConnector.MaintainChild ( string  ASponsorshipStatus,
string  AFirstName,
string  AFamilyName,
DateTime?  ADateOfBirth,
string  AGender,
string  AUserId,
Int64  APartnerKey,
Int32  ALedgerNumber,
out TVerificationResultCollection  AVerificationResult 
)
inlinestatic

store the currently edited child

◆ MaintainChildComments()

static bool Ict.Petra.Server.MSponsorship.WebConnectors.TSponsorshipWebConnector.MaintainChildComments ( string  AComment,
string  ACommentType,
Int32  AIndex,
Int64  APartnerKey,
out TVerificationResultCollection  AVerificationResult 
)
inlinestatic

maintain comments about the child

◆ MaintainChildReminders()

static bool Ict.Petra.Server.MSponsorship.WebConnectors.TSponsorshipWebConnector.MaintainChildReminders ( String  AComment,
Int32  AReminderId,
Int64  APartnerKey,
DateTime  AEventDate,
DateTime  AFirstReminderDate,
out TVerificationResultCollection  AVerificationResult 
)
inlinestatic

maintain reminders about the child

◆ MaintainSponsorshipRecurringGifts()

static bool Ict.Petra.Server.MSponsorship.WebConnectors.TSponsorshipWebConnector.MaintainSponsorshipRecurringGifts ( Int32  ALedgerNumber,
Int32  ABatchNumber,
Int32  AGiftTransactionNumber,
Int32  ADetailNumber,
Int64  ARecipientKey,
Int64  ADonorKey,
String  AMotivationGroupCode,
String  AMotivationDetailCode,
decimal  AGiftAmount,
DateTime  AStartDonations,
DateTime?  AEndDonations,
out TVerificationResultCollection  AVerificationResult 
)
inlinestatic

Add or edit details of recurring gifts.

◆ PrintChildren()

static string Ict.Petra.Server.MSponsorship.WebConnectors.TSponsorshipWebConnector.PrintChildren ( string  AChildName,
string  ADonorName,
bool  AChildWithoutDonor,
string  APartnerStatus,
string  ASponsorshipStatus,
string  ASponsorAdmin,
string  ASortBy,
string  AReportLanguage 
)
inlinestatic

find children using filters, and then print a list to PDF

◆ UploadPhoto()

static bool Ict.Petra.Server.MSponsorship.WebConnectors.TSponsorshipWebConnector.UploadPhoto ( Int64  APartnerKey,
Int32  ALedgerNumber,
byte[]  APhoto,
string  APhotoFilename,
out TVerificationResultCollection  AVerificationResult 
)
inlinestatic

upload a photo of the child


The documentation for this class was generated from the following file: