Class Donor
Donor interface for the iGivefirst Donation API Allows the lookup and
creation of Donors
Methods summary
public
|
|
public
|
#
create( DonorInfo $donor )
Create a donor with the given information
Create a donor with the given information
Parameters
- $donor
DonorInfo $donor Object containing the donor information
Throws
Returns
Array a hash containing the guid of the newly created donor
|
public
|
#
lookup( mixed $email )
Look up a donor by email address
Look up a donor by email address
Throws
Params
string $email email address of the donor
Returns
Array a hash containing all the donor information or null
|
public
|
#
get( mixed $guid )
Get a donor by guid
Throws
Params
string $guid guid of the donor to look up
Returns
Array a hash containing all the donor information or null
|