public function toXMLString()
 {
     $str = '';
     $str .= parent::toXMLString();
     if ($this->MerchantPullPaymentDetails != null) {
         $str .= '<ebl:MerchantPullPaymentDetails>';
         $str .= $this->MerchantPullPaymentDetails->toXMLString();
         $str .= '</ebl:MerchantPullPaymentDetails>';
     }
     if ($this->ReturnFMFDetails != null) {
         $str .= '<urn:ReturnFMFDetails>' . PPUtils::escapeInvalidXmlCharsRegex($this->ReturnFMFDetails) . '</urn:ReturnFMFDetails>';
     }
     return $str;
 }
 public function toXMLString()
 {
     $str = '';
     $str .= parent::toXMLString();
     if ($this->MerchantPullPaymentDetails != null) {
         //prop is not a collection
         //prop is complex
         //prop is not enum
         //does not contain attribute or is attribute
         $str .= '<ebl:MerchantPullPaymentDetails>';
         $str .= $this->MerchantPullPaymentDetails->toXMLString();
         $str .= '</ebl:MerchantPullPaymentDetails>';
     }
     if ($this->ReturnFMFDetails != null) {
         //prop is not a collection
         //prop not complex
         //prop is not value
         $str .= '<urn:ReturnFMFDetails>' . $this->ReturnFMFDetails . '</urn:ReturnFMFDetails>';
     }
     return $str;
 }