Overview

Namespaces

  • None
  • PHP

Classes

  • Account
  • AccountContactInfo
  • AccountInfo
  • Donation
  • DonationInfo
  • Donor
  • DonorInfo
  • iGivefirst

Exceptions

  • iGivefirst_AccountInformationIncomplete
  • iGivefirst_AccountNotCreated
  • iGivefirst_AccountNotUpdated
  • iGivefirst_AuthenticationError
  • iGivefirst_DonationInformationIncomplete
  • iGivefirst_DonationNotCreated
  • iGivefirst_DonorAlreadyExists
  • iGivefirst_DonorInformationIncomplete
  • iGivefirst_DonorNotCreated
  • iGivefirst_Error
  • iGivefirst_HttpError
  • iGivefirst_ObjectAlreadyExists
  • iGivefirst_ObjectNotFound
  • Overview
  • Namespace
  • Class
  • Tree

Class DonationInfo

Holds information about a donation

Located at iGivefirst/Common.php
Methods summary
public
# __construct( mixed $properties = array() )

Construct a DonationInfo object with a given set of properties Required properties are amount, nonProfitCampaignGuid, publisherCampaignGuid, donorAccountGuid, donorGuid

Construct a DonationInfo object with a given set of properties Required properties are amount, nonProfitCampaignGuid, publisherCampaignGuid, donorAccountGuid, donorGuid

Params

Array $properties optionally takes a hash of donor information
public
# setDonation( mixed $amount, mixed $nonProfitCampaignGuid, mixed $publisherCampaignGuid, mixed $donorAccountGuid, mixed $donorGuid )

Set donation information from amount and guids

Set donation information from amount and guids

Params

string amount in dollars "40.00"
string nonProfitCampaignGuid guid of the nonprofit campaign chosen
string publisherCampaignGuid guid of the publisher campaign associated with donation
string donorAccountGuid guid of the donor account
string donorGuid guid of the donor itself
public
# bind( mixed $properties = array() )

Merge in properties from a given array

Merge in properties from a given array

Params

Array $properties array to merge properties in from
public
# validate( )
Properties summary
public mixed $dateCreated
#
public mixed $amount
#
public mixed $sponsorMatchingPercentage
#
public mixed $nonProfitCampaignGuid
#
public mixed $publisherCampaignGuid
#
public mixed $sponsorCampaignGuid
#
public mixed $publisherGuid
#
public mixed $donorAccountGuid
#
public mixed $donorGuid
#
public mixed $publisherTransactionId
#
API documentation generated by ApiGen 2.8.0