public function toXMLString()
 {
     $str = '';
     if ($this->ProgramCode != null) {
         $str .= '<ebl:ProgramCode>' . PPUtils::escapeInvalidXmlCharsRegex($this->ProgramCode) . '</ebl:ProgramCode>';
     }
     if ($this->ProductList != null) {
         $str .= '<ebl:ProductList>' . PPUtils::escapeInvalidXmlCharsRegex($this->ProductList) . '</ebl:ProductList>';
     }
     if ($this->PartnerCustom != null) {
         $str .= '<ebl:PartnerCustom>' . PPUtils::escapeInvalidXmlCharsRegex($this->PartnerCustom) . '</ebl:PartnerCustom>';
     }
     if ($this->ImageUrl != null) {
         $str .= '<ebl:ImageUrl>' . PPUtils::escapeInvalidXmlCharsRegex($this->ImageUrl) . '</ebl:ImageUrl>';
     }
     if ($this->MarketingCategory != null) {
         $str .= '<ebl:MarketingCategory>' . PPUtils::escapeInvalidXmlCharsRegex($this->MarketingCategory) . '</ebl:MarketingCategory>';
     }
     if ($this->BusinessInfo != null) {
         $str .= '<ebl:BusinessInfo>';
         $str .= $this->BusinessInfo->toXMLString();
         $str .= '</ebl:BusinessInfo>';
     }
     if ($this->OwnerInfo != null) {
         $str .= '<ebl:OwnerInfo>';
         $str .= $this->OwnerInfo->toXMLString();
         $str .= '</ebl:OwnerInfo>';
     }
     if ($this->BankAccount != null) {
         $str .= '<ebl:BankAccount>';
         $str .= $this->BankAccount->toXMLString();
         $str .= '</ebl:BankAccount>';
     }
     return $str;
 }
 public function toXMLString()
 {
     $str = '';
     if ($this->ProgramCode != null) {
         //prop is not a collection
         //prop not complex
         //prop is not value
         $str .= '<ebl:ProgramCode>' . $this->ProgramCode . '</ebl:ProgramCode>';
     }
     if ($this->ProductList != null) {
         //prop is not a collection
         //prop not complex
         //prop is not value
         $str .= '<ebl:ProductList>' . $this->ProductList . '</ebl:ProductList>';
     }
     if ($this->PartnerCustom != null) {
         //prop is not a collection
         //prop not complex
         //prop is not value
         $str .= '<ebl:PartnerCustom>' . $this->PartnerCustom . '</ebl:PartnerCustom>';
     }
     if ($this->ImageUrl != null) {
         //prop is not a collection
         //prop not complex
         //prop is not value
         $str .= '<ebl:ImageUrl>' . $this->ImageUrl . '</ebl:ImageUrl>';
     }
     if ($this->MarketingCategory != null) {
         //prop is not a collection
         //prop not complex
         //prop is not value
         $str .= '<ebl:MarketingCategory>' . $this->MarketingCategory . '</ebl:MarketingCategory>';
     }
     if ($this->BusinessInfo != null) {
         //prop is not a collection
         //prop is complex
         //prop is not enum
         //does not contain attribute or is attribute
         $str .= '<ebl:BusinessInfo>';
         $str .= $this->BusinessInfo->toXMLString();
         $str .= '</ebl:BusinessInfo>';
     }
     if ($this->OwnerInfo != null) {
         //prop is not a collection
         //prop is complex
         //prop is not enum
         //does not contain attribute or is attribute
         $str .= '<ebl:OwnerInfo>';
         $str .= $this->OwnerInfo->toXMLString();
         $str .= '</ebl:OwnerInfo>';
     }
     if ($this->BankAccount != null) {
         //prop is not a collection
         //prop is complex
         //prop is not enum
         //does not contain attribute or is attribute
         $str .= '<ebl:BankAccount>';
         $str .= $this->BankAccount->toXMLString();
         $str .= '</ebl:BankAccount>';
     }
     return $str;
 }