The CGift type exposes the following members.

Constructors

  NameDescription
CGift
Creates a new instance of the class in order to create a new gift transaction. Existing gift transactions cannot be instantiated. CActivity should be used to view prior donations.

Methods

  NameDescription
CheckAndModifyEditStatus
Sets the EditStatus to Modified if it is Unchanged
(Inherited from iboBase.)
Delete
Marks this object to be deleted when the save is done
(Inherited from iboBase.)
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
SaveOverloaded.
ToString
Returns a String that represents the current Object.
(Inherited from Object.)
ValidateOverloaded.

Fields

  NameDescription
mEditStatus
The edit status (unchanged, modified, etc) of this record.
(Inherited from iboBase.)
mErrors
The current list of errors encountered by this class instance during processing.
(Inherited from iboBase.)

Properties

  NameDescription
Amount
Gets or sets the monetary amount or value of the gift or pledge.
AppealCode
Gets or sets a reference to the appeal that this gift or pledge should be associated with.
Batch
Gets or sets the CBatch object with which this gift transaction is associated.
BatchNumber
Gets or sets the BatchNumber of the CBatch that should contain the transaction created by this gift.
CampaignCode
Gets or sets a reference to the campaign that this gift or pledge should be associated with.
CashAccountCode
Gets or sets a reference to the cash account that should receive/process this payment.
CheckPOPaymentNumber
Gets or sets the payment number, e.g., the check number for checks or PO number for purchase orders.
CreditCardExpiration
Gets or sets the eExpiration date of the credit card for credit card payments.
CreditCardExpirationEncrypted
Gets the credit card expiration date associated with the payment after it has been encrypted.
CreditCardNumber
Gets or sets the credit card number for payments made by credit card.
CreditCardSecurityCode
Gets or sets the credit card security code found on the credit card.
CreditCardSecurityCodeEncrypted
Gets the credit card security code associated with the payment after it has been encrypted.
CreditDebitCardAuthorizationCode
Gets or sets the credit card authorization code typically returned from a 3rd party credit card processing service.
CreditDebitCardHoldersName
Gets or sets the name of the credit card holder, as it appears on the card.
CreditDebitCardNumberEncrypted
Gets the credit or debit card number associated with the payment after it has been encrypted.
DebitCardIssueDate
Gets or sets the Issue Date from a European debit card, for debit card payment.
DebitCardIssueNumber
Gets or sets the Issue Number from a European debit card, for debit card payment.
DebitCardNumber
Gets or sets the debit card number for payments made by debit card.
Description
Gets or set a free form text description of the gift or pledge.
DistributionCode
Gets or sets a reference to the distribution or premium that this gift or pledge should be associated with.
DistributionProduct
Gets the distribution or premium that this gift or pledge is associated with
Donor
Gets the CContact making the donation (i.e., keyed by DonorContactId).
DonorContactId
Gets or sets the ContactId of the CContact making the donation.
EditStatus
Indicates the current edit status of this object, i.e., New, Modified, Deleted, or Unchanged. See EEditStatus
(Inherited from iboBase.)
Errors
The collection of CError objects (error and warning messages) associated with this object instance
(Inherited from iboBase.)
ErrorsCount
Gets the number of error and warning messages that have been set on this object.
(Inherited from iboBase.)
FRCheckbox
Gets or sets the fundraising checkbox used for Gift Aid.
FundCode
Gets or sets a reference to the fund that this gift or pledge should be associated with.
InvoiceReferenceNumber
Gets the invoice reference number stored in the Invoice and Trans tables for this CGift object.
IsPledge
Gets or sets the indicator of whether or not this gift is a pledge.
ListAs
Gets or sets the name that the donor is to be "listed as" on all reports and acknowledgements for the gift or pledge.
MemorialContactId
Gets or sets the ContactId of the Contact being honored.
MergeCode
Gets or sets a reference to the mail merge template to be used on the acknowledgement of the gift or pledge.
Note
Gets or set a free form text note regarding the gift or pledge.
Payment
Gets or sets the information about the payment made for this gift.
PaymentAmount
Gets or sets the monetary amount of the payment associated with this gift.
PaymentInfoComment1
Gets the first transaction comment information associated with the payment.
PaymentInfoComment2
Gets the second transaction comment information associated with the payment.
PaymentType
Gets or sets a value that indicates what type of payment is being made with this gift.
ReceiptNumber
Gets or sets the manually entered receipt number associated with this gift.
ReceivedOn
Gets or sets the date that the pledge was made or that the money for the gift was actually received.
RequestActivitySeqn
Gets or sets the reference to a CActivity that represents a request for the donation.
SalutationCode
Gets or sets a reference to the salutation formula to be used on the acknowledgement of the gift or pledge.
SenderCode
Gets or sets a reference to the sender to be used on the acknowledgement of the gift or pledge.
SoftCreditContactId
Gets or sets the ContactId () of the who will receive credit for the donation.
SolicitorContactId
Gets or sets the ContactId of the Contact who solicited the donation.
UpdateBatchControlTotals
Gets or sets a flag to control whether batch control fields (count and amount) are updated when a gift is saved. The default value is false.
UserField2
Gets or sets a user defined string property on the CActivity object that is created as a result of this gift or pledge.
UserField3
Gets or sets a user defined string property on the CActivity object that is created as a result of this gift or pledge.
UserField5
Gets or sets a user defined decimal property on the CActivity object that is created as a result of this gift or pledge.
UserField6
Gets or sets a user defined datetime property on the CActivity object that is created as a result of this gift or pledge.
UserField7
Gets or sets a user defined datetime property on the CActivity object that is created as a result of this gift or pledge.

See Also