Exemplo n.º 1
0
 /**
  * Update acount method
  * Uses getAccount method with database refrence value to get account array from etapestry
  *
  * @param  array $account updated details
  * @return String unique database ref 
  * @access public
  */
 public function updateAccount($refid)
 {
     //Get account array from eTapestry,
     $originalAccount = parent::nusoapCall("getAccount", array($refid));
     //update $account array with new values
     $update_account = array_merge($originalAccount, $this->account);
     $response = parent::nusoapCall("updateAccount", array($update_account, false));
     return $response;
 }
Exemplo n.º 2
0
 /**
  * addRecurringGiftSchedule 
  * 
  * @param mixed $rgs 
  * @param mixed $createFieldAndValues 
  * @access public
  * @return string The unique database ref of the newly created recurring 
  * gift schedule transaction.
  */
 public function addRecurringGiftSchedule($rgs, $createFieldAndValues = false)
 {
     $response = parent::nusoapCall("addRecurringGiftSchedule", array($rgs, $createFieldAndValues));
     return $response;
 }