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 AccountInfo

Holds Account information for POST and PUT calls

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

Construct an AccountInfo object with a given set of properties Required properties are donorGuid, paymentMethod, and either creditCardNumber or accountNumber

Construct an AccountInfo object with a given set of properties Required properties are donorGuid, paymentMethod, and either creditCardNumber or accountNumber

Params

Array $properties optionally takes a hash of account and contact information
public
# setDonorInformation( mixed $donorGuid, mixed $contactInfo = array() )

Sets the donor information for this AccountInfo and any contactInfo supplied

Sets the donor information for this AccountInfo and any contactInfo supplied

Params

string $donorGuid guid of an existing donor
Array $contactInfo billing information for this account
public
# setCreditCard( mixed $ccnum, mixed $cwcode, mixed $expirationMonth, mixed $expirationYear )

Set this AccountInfo object to point to a credit card

Set this AccountInfo object to point to a credit card

Params

string $ccnum credit card number
string $cwcode CW code
string $expirationMonth expiration month
string $expirationYear expiration year
public
# setACH( mixed $account, mixed $routing, mixed $accountName )

Set this AccountInfo object to point to ACH

Set this AccountInfo object to point to ACH

Params

string $account account number
string $routing routing number
string $accountName account holder name
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 $donorGuid
#
public mixed $paymentMethod
#
public mixed $creditCardNumber
#
public mixed $cwCode
#
public mixed $expirationMonth
#
public mixed $expirationYear
#
public mixed $accountNumber
#
public mixed $routingNumber
#
public mixed $accountHolderName
#
public mixed $contactInfo
#
API documentation generated by ApiGen 2.8.0