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;
 }
 public static function GetArrayFromSoapArray($objSoapArray)
 {
     $objArrayToReturn = array();
     foreach ($objSoapArray as $objSoapObject) {
         array_push($objArrayToReturn, StewardshipPost::GetObjectFromSoapObject($objSoapObject));
     }
     return $objArrayToReturn;
 }
 public static function GetObjectFromSoapObject($objSoapObject)
 {
     $objToReturn = new StewardshipPostAmount();
     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, '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;
 }