public static function GetObjectFromSoapObject($objSoapObject)
 {
     $objToReturn = new StewardshipContributionAmount();
     if (property_exists($objSoapObject, 'Id')) {
         $objToReturn->intId = $objSoapObject->Id;
     }
     if (property_exists($objSoapObject, 'StewardshipContribution') && $objSoapObject->StewardshipContribution) {
         $objToReturn->StewardshipContribution = StewardshipContribution::GetObjectFromSoapObject($objSoapObject->StewardshipContribution);
     }
     if (property_exists($objSoapObject, 'StewardshipFund') && $objSoapObject->StewardshipFund) {
         $objToReturn->StewardshipFund = StewardshipFund::GetObjectFromSoapObject($objSoapObject->StewardshipFund);
     }
     if (property_exists($objSoapObject, 'Amount')) {
         $objToReturn->fltAmount = $objSoapObject->Amount;
     }
     if (property_exists($objSoapObject, '__blnRestored')) {
         $objToReturn->__blnRestored = $objSoapObject->__blnRestored;
     }
     return $objToReturn;
 }
Ejemplo n.º 2
0
 public static function GetObjectFromSoapObject($objSoapObject)
 {
     $objToReturn = new SignupPayment();
     if (property_exists($objSoapObject, 'Id')) {
         $objToReturn->intId = $objSoapObject->Id;
     }
     if (property_exists($objSoapObject, 'SignupEntry') && $objSoapObject->SignupEntry) {
         $objToReturn->SignupEntry = SignupEntry::GetObjectFromSoapObject($objSoapObject->SignupEntry);
     }
     if (property_exists($objSoapObject, 'SignupPaymentTypeId')) {
         $objToReturn->intSignupPaymentTypeId = $objSoapObject->SignupPaymentTypeId;
     }
     if (property_exists($objSoapObject, 'TransactionDate')) {
         $objToReturn->dttTransactionDate = new QDateTime($objSoapObject->TransactionDate);
     }
     if (property_exists($objSoapObject, 'TransactionDescription')) {
         $objToReturn->strTransactionDescription = $objSoapObject->TransactionDescription;
     }
     if (property_exists($objSoapObject, 'Amount')) {
         $objToReturn->fltAmount = $objSoapObject->Amount;
     }
     if (property_exists($objSoapObject, 'FundingAccount')) {
         $objToReturn->strFundingAccount = $objSoapObject->FundingAccount;
     }
     if (property_exists($objSoapObject, 'DonationStewardshipFund') && $objSoapObject->DonationStewardshipFund) {
         $objToReturn->DonationStewardshipFund = StewardshipFund::GetObjectFromSoapObject($objSoapObject->DonationStewardshipFund);
     }
     if (property_exists($objSoapObject, 'AmountDonation')) {
         $objToReturn->fltAmountDonation = $objSoapObject->AmountDonation;
     }
     if (property_exists($objSoapObject, 'AmountNonDonation')) {
         $objToReturn->fltAmountNonDonation = $objSoapObject->AmountNonDonation;
     }
     if (property_exists($objSoapObject, 'CreditCardPayment') && $objSoapObject->CreditCardPayment) {
         $objToReturn->CreditCardPayment = CreditCardPayment::GetObjectFromSoapObject($objSoapObject->CreditCardPayment);
     }
     if (property_exists($objSoapObject, '__blnRestored')) {
         $objToReturn->__blnRestored = $objSoapObject->__blnRestored;
     }
     return $objToReturn;
 }
Ejemplo n.º 3
0
 public static function GetObjectFromSoapObject($objSoapObject)
 {
     $objToReturn = new StewardshipPostLineItem();
     if (property_exists($objSoapObject, 'Id')) {
         $objToReturn->intId = $objSoapObject->Id;
     }
     if (property_exists($objSoapObject, 'StewardshipPost') && $objSoapObject->StewardshipPost) {
         $objToReturn->StewardshipPost = StewardshipPost::GetObjectFromSoapObject($objSoapObject->StewardshipPost);
     }
     if (property_exists($objSoapObject, 'StewardshipContribution') && $objSoapObject->StewardshipContribution) {
         $objToReturn->StewardshipContribution = StewardshipContribution::GetObjectFromSoapObject($objSoapObject->StewardshipContribution);
     }
     if (property_exists($objSoapObject, 'Person') && $objSoapObject->Person) {
         $objToReturn->Person = Person::GetObjectFromSoapObject($objSoapObject->Person);
     }
     if (property_exists($objSoapObject, 'StewardshipFund') && $objSoapObject->StewardshipFund) {
         $objToReturn->StewardshipFund = StewardshipFund::GetObjectFromSoapObject($objSoapObject->StewardshipFund);
     }
     if (property_exists($objSoapObject, 'Description')) {
         $objToReturn->strDescription = $objSoapObject->Description;
     }
     if (property_exists($objSoapObject, 'Amount')) {
         $objToReturn->fltAmount = $objSoapObject->Amount;
     }
     if (property_exists($objSoapObject, '__blnRestored')) {
         $objToReturn->__blnRestored = $objSoapObject->__blnRestored;
     }
     return $objToReturn;
 }
Ejemplo n.º 4
0
 public static function GetArrayFromSoapArray($objSoapArray)
 {
     $objArrayToReturn = array();
     foreach ($objSoapArray as $objSoapObject) {
         array_push($objArrayToReturn, StewardshipFund::GetObjectFromSoapObject($objSoapObject));
     }
     return $objArrayToReturn;
 }
Ejemplo n.º 5
0
 public static function GetObjectFromSoapObject($objSoapObject)
 {
     $objToReturn = new SignupForm();
     if (property_exists($objSoapObject, 'Id')) {
         $objToReturn->intId = $objSoapObject->Id;
     }
     if (property_exists($objSoapObject, 'SignupFormTypeId')) {
         $objToReturn->intSignupFormTypeId = $objSoapObject->SignupFormTypeId;
     }
     if (property_exists($objSoapObject, 'Ministry') && $objSoapObject->Ministry) {
         $objToReturn->Ministry = Ministry::GetObjectFromSoapObject($objSoapObject->Ministry);
     }
     if (property_exists($objSoapObject, 'Name')) {
         $objToReturn->strName = $objSoapObject->Name;
     }
     if (property_exists($objSoapObject, 'Token')) {
         $objToReturn->strToken = $objSoapObject->Token;
     }
     if (property_exists($objSoapObject, 'ActiveFlag')) {
         $objToReturn->blnActiveFlag = $objSoapObject->ActiveFlag;
     }
     if (property_exists($objSoapObject, 'ConfidentialFlag')) {
         $objToReturn->blnConfidentialFlag = $objSoapObject->ConfidentialFlag;
     }
     if (property_exists($objSoapObject, 'Description')) {
         $objToReturn->strDescription = $objSoapObject->Description;
     }
     if (property_exists($objSoapObject, 'InformationUrl')) {
         $objToReturn->strInformationUrl = $objSoapObject->InformationUrl;
     }
     if (property_exists($objSoapObject, 'SupportEmail')) {
         $objToReturn->strSupportEmail = $objSoapObject->SupportEmail;
     }
     if (property_exists($objSoapObject, 'EmailNotification')) {
         $objToReturn->strEmailNotification = $objSoapObject->EmailNotification;
     }
     if (property_exists($objSoapObject, 'AllowOtherFlag')) {
         $objToReturn->blnAllowOtherFlag = $objSoapObject->AllowOtherFlag;
     }
     if (property_exists($objSoapObject, 'AllowMultipleFlag')) {
         $objToReturn->blnAllowMultipleFlag = $objSoapObject->AllowMultipleFlag;
     }
     if (property_exists($objSoapObject, 'SignupLimit')) {
         $objToReturn->intSignupLimit = $objSoapObject->SignupLimit;
     }
     if (property_exists($objSoapObject, 'SignupMaleLimit')) {
         $objToReturn->intSignupMaleLimit = $objSoapObject->SignupMaleLimit;
     }
     if (property_exists($objSoapObject, 'SignupFemaleLimit')) {
         $objToReturn->intSignupFemaleLimit = $objSoapObject->SignupFemaleLimit;
     }
     if (property_exists($objSoapObject, 'FundingAccount')) {
         $objToReturn->strFundingAccount = $objSoapObject->FundingAccount;
     }
     if (property_exists($objSoapObject, 'DonationStewardshipFund') && $objSoapObject->DonationStewardshipFund) {
         $objToReturn->DonationStewardshipFund = StewardshipFund::GetObjectFromSoapObject($objSoapObject->DonationStewardshipFund);
     }
     if (property_exists($objSoapObject, 'DateCreated')) {
         $objToReturn->dttDateCreated = new QDateTime($objSoapObject->DateCreated);
     }
     if (property_exists($objSoapObject, 'LoginNotRequiredFlag')) {
         $objToReturn->blnLoginNotRequiredFlag = $objSoapObject->LoginNotRequiredFlag;
     }
     if (property_exists($objSoapObject, '__blnRestored')) {
         $objToReturn->__blnRestored = $objSoapObject->__blnRestored;
     }
     return $objToReturn;
 }
Ejemplo n.º 6
0
 public static function GetObjectFromSoapObject($objSoapObject)
 {
     $objToReturn = new StewardshipPledge();
     if (property_exists($objSoapObject, 'Id')) {
         $objToReturn->intId = $objSoapObject->Id;
     }
     if (property_exists($objSoapObject, 'Person') && $objSoapObject->Person) {
         $objToReturn->Person = Person::GetObjectFromSoapObject($objSoapObject->Person);
     }
     if (property_exists($objSoapObject, 'StewardshipFund') && $objSoapObject->StewardshipFund) {
         $objToReturn->StewardshipFund = StewardshipFund::GetObjectFromSoapObject($objSoapObject->StewardshipFund);
     }
     if (property_exists($objSoapObject, 'DateStarted')) {
         $objToReturn->dttDateStarted = new QDateTime($objSoapObject->DateStarted);
     }
     if (property_exists($objSoapObject, 'DateEnded')) {
         $objToReturn->dttDateEnded = new QDateTime($objSoapObject->DateEnded);
     }
     if (property_exists($objSoapObject, 'PledgeAmount')) {
         $objToReturn->fltPledgeAmount = $objSoapObject->PledgeAmount;
     }
     if (property_exists($objSoapObject, 'ContributedAmount')) {
         $objToReturn->fltContributedAmount = $objSoapObject->ContributedAmount;
     }
     if (property_exists($objSoapObject, 'RemainingAmount')) {
         $objToReturn->fltRemainingAmount = $objSoapObject->RemainingAmount;
     }
     if (property_exists($objSoapObject, 'FulfilledFlag')) {
         $objToReturn->blnFulfilledFlag = $objSoapObject->FulfilledFlag;
     }
     if (property_exists($objSoapObject, 'ActiveFlag')) {
         $objToReturn->blnActiveFlag = $objSoapObject->ActiveFlag;
     }
     if (property_exists($objSoapObject, '__blnRestored')) {
         $objToReturn->__blnRestored = $objSoapObject->__blnRestored;
     }
     return $objToReturn;
 }
Ejemplo n.º 7
0
 public static function GetObjectFromSoapObject($objSoapObject)
 {
     $objToReturn = new RecurringDonationItems();
     if (property_exists($objSoapObject, 'Id')) {
         $objToReturn->intId = $objSoapObject->Id;
     }
     if (property_exists($objSoapObject, 'RecurringDonation') && $objSoapObject->RecurringDonation) {
         $objToReturn->RecurringDonation = RecurringDonation::GetObjectFromSoapObject($objSoapObject->RecurringDonation);
     }
     if (property_exists($objSoapObject, 'Amount')) {
         $objToReturn->fltAmount = $objSoapObject->Amount;
     }
     if (property_exists($objSoapObject, 'DonationFlag')) {
         $objToReturn->blnDonationFlag = $objSoapObject->DonationFlag;
     }
     if (property_exists($objSoapObject, 'StewardshipFund') && $objSoapObject->StewardshipFund) {
         $objToReturn->StewardshipFund = StewardshipFund::GetObjectFromSoapObject($objSoapObject->StewardshipFund);
     }
     if (property_exists($objSoapObject, 'Other')) {
         $objToReturn->strOther = $objSoapObject->Other;
     }
     if (property_exists($objSoapObject, '__blnRestored')) {
         $objToReturn->__blnRestored = $objSoapObject->__blnRestored;
     }
     return $objToReturn;
 }