<?php

namespace patest\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for Security.EmailTemplateCompanyParameters StructType
 * @subpackage Structs
 */
class Security_EmailTemplateCompanyParameters extends Security_CompanyParameterBase
{
    /**
     * The NewRegistration_Body
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var \patest\StructType\GlobalString
     */
    public $NewRegistration_Body;
    /**
     * The NewRegistration_Subject
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var \patest\StructType\GlobalString
     */
    public $NewRegistration_Subject;
    /**
     * The ResetPassword_Body
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var \patest\StructType\GlobalString
     */
    public $ResetPassword_Body;
    /**
     * The ResetPassword_Subject
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var \patest\StructType\GlobalString
     */
    public $ResetPassword_Subject;
    /**
     * The SendRelationshipInvitation_Body
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var \patest\StructType\GlobalString
     */
    public $SendRelationshipInvitation_Body;
    /**
     * The SendRelationshipInvitation_Subject
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var \patest\StructType\GlobalString
     */
    public $SendRelationshipInvitation_Subject;
    /**
     * The TicketResale_Body
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var \patest\StructType\GlobalString
     */
    public $TicketResale_Body;
    /**
     * The TicketResale_Subject
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var \patest\StructType\GlobalString
     */
    public $TicketResale_Subject;
    /**
     * Constructor method for Security.EmailTemplateCompanyParameters
     * @uses Security_EmailTemplateCompanyParameters::setNewRegistration_Body()
     * @uses Security_EmailTemplateCompanyParameters::setNewRegistration_Subject()
     * @uses Security_EmailTemplateCompanyParameters::setResetPassword_Body()
     * @uses Security_EmailTemplateCompanyParameters::setResetPassword_Subject()
     * @uses Security_EmailTemplateCompanyParameters::setSendRelationshipInvitation_Body()
     * @uses Security_EmailTemplateCompanyParameters::setSendRelationshipInvitation_Subject()
     * @uses Security_EmailTemplateCompanyParameters::setTicketResale_Body()
     * @uses Security_EmailTemplateCompanyParameters::setTicketResale_Subject()
     * @param \patest\StructType\GlobalString $newRegistration_Body
     * @param \patest\StructType\GlobalString $newRegistration_Subject
     * @param \patest\StructType\GlobalString $resetPassword_Body
     * @param \patest\StructType\GlobalString $resetPassword_Subject
     * @param \patest\StructType\GlobalString $sendRelationshipInvitation_Body
     * @param \patest\StructType\GlobalString $sendRelationshipInvitation_Subject
     * @param \patest\StructType\GlobalString $ticketResale_Body
     * @param \patest\StructType\GlobalString $ticketResale_Subject
     */
    public function __construct(\patest\StructType\GlobalString $newRegistration_Body = null, \patest\StructType\GlobalString $newRegistration_Subject = null, \patest\StructType\GlobalString $resetPassword_Body = null, \patest\StructType\GlobalString $resetPassword_Subject = null, \patest\StructType\GlobalString $sendRelationshipInvitation_Body = null, \patest\StructType\GlobalString $sendRelationshipInvitation_Subject = null, \patest\StructType\GlobalString $ticketResale_Body = null, \patest\StructType\GlobalString $ticketResale_Subject = null)
    {
        $this
            ->setNewRegistration_Body($newRegistration_Body)
            ->setNewRegistration_Subject($newRegistration_Subject)
            ->setResetPassword_Body($resetPassword_Body)
            ->setResetPassword_Subject($resetPassword_Subject)
            ->setSendRelationshipInvitation_Body($sendRelationshipInvitation_Body)
            ->setSendRelationshipInvitation_Subject($sendRelationshipInvitation_Subject)
            ->setTicketResale_Body($ticketResale_Body)
            ->setTicketResale_Subject($ticketResale_Subject);
    }
    /**
     * Get NewRegistration_Body value
     * An additional test has been added (isset) before returning the property value as
     * this property may have been unset before, due to the fact that this property is
     * removable from the request (nillable=true+minOccurs=0)
     * @return \patest\StructType\GlobalString|null
     */
    public function getNewRegistration_Body()
    {
        return isset($this->NewRegistration_Body) ? $this->NewRegistration_Body : null;
    }
    /**
     * Set NewRegistration_Body value
     * This property is removable from request (nillable=true+minOccurs=0), therefore
     * if the value assigned to this property is null, it is removed from this object
     * @param \patest\StructType\GlobalString $newRegistration_Body
     * @return \patest\StructType\Security_EmailTemplateCompanyParameters
     */
    public function setNewRegistration_Body(\patest\StructType\GlobalString $newRegistration_Body = null)
    {
        if (is_null($newRegistration_Body) || (is_array($newRegistration_Body) && empty($newRegistration_Body))) {
            unset($this->NewRegistration_Body);
        } else {
            $this->NewRegistration_Body = $newRegistration_Body;
        }
        return $this;
    }
    /**
     * Get NewRegistration_Subject value
     * An additional test has been added (isset) before returning the property value as
     * this property may have been unset before, due to the fact that this property is
     * removable from the request (nillable=true+minOccurs=0)
     * @return \patest\StructType\GlobalString|null
     */
    public function getNewRegistration_Subject()
    {
        return isset($this->NewRegistration_Subject) ? $this->NewRegistration_Subject : null;
    }
    /**
     * Set NewRegistration_Subject value
     * This property is removable from request (nillable=true+minOccurs=0), therefore
     * if the value assigned to this property is null, it is removed from this object
     * @param \patest\StructType\GlobalString $newRegistration_Subject
     * @return \patest\StructType\Security_EmailTemplateCompanyParameters
     */
    public function setNewRegistration_Subject(\patest\StructType\GlobalString $newRegistration_Subject = null)
    {
        if (is_null($newRegistration_Subject) || (is_array($newRegistration_Subject) && empty($newRegistration_Subject))) {
            unset($this->NewRegistration_Subject);
        } else {
            $this->NewRegistration_Subject = $newRegistration_Subject;
        }
        return $this;
    }
    /**
     * Get ResetPassword_Body value
     * An additional test has been added (isset) before returning the property value as
     * this property may have been unset before, due to the fact that this property is
     * removable from the request (nillable=true+minOccurs=0)
     * @return \patest\StructType\GlobalString|null
     */
    public function getResetPassword_Body()
    {
        return isset($this->ResetPassword_Body) ? $this->ResetPassword_Body : null;
    }
    /**
     * Set ResetPassword_Body value
     * This property is removable from request (nillable=true+minOccurs=0), therefore
     * if the value assigned to this property is null, it is removed from this object
     * @param \patest\StructType\GlobalString $resetPassword_Body
     * @return \patest\StructType\Security_EmailTemplateCompanyParameters
     */
    public function setResetPassword_Body(\patest\StructType\GlobalString $resetPassword_Body = null)
    {
        if (is_null($resetPassword_Body) || (is_array($resetPassword_Body) && empty($resetPassword_Body))) {
            unset($this->ResetPassword_Body);
        } else {
            $this->ResetPassword_Body = $resetPassword_Body;
        }
        return $this;
    }
    /**
     * Get ResetPassword_Subject value
     * An additional test has been added (isset) before returning the property value as
     * this property may have been unset before, due to the fact that this property is
     * removable from the request (nillable=true+minOccurs=0)
     * @return \patest\StructType\GlobalString|null
     */
    public function getResetPassword_Subject()
    {
        return isset($this->ResetPassword_Subject) ? $this->ResetPassword_Subject : null;
    }
    /**
     * Set ResetPassword_Subject value
     * This property is removable from request (nillable=true+minOccurs=0), therefore
     * if the value assigned to this property is null, it is removed from this object
     * @param \patest\StructType\GlobalString $resetPassword_Subject
     * @return \patest\StructType\Security_EmailTemplateCompanyParameters
     */
    public function setResetPassword_Subject(\patest\StructType\GlobalString $resetPassword_Subject = null)
    {
        if (is_null($resetPassword_Subject) || (is_array($resetPassword_Subject) && empty($resetPassword_Subject))) {
            unset($this->ResetPassword_Subject);
        } else {
            $this->ResetPassword_Subject = $resetPassword_Subject;
        }
        return $this;
    }
    /**
     * Get SendRelationshipInvitation_Body value
     * An additional test has been added (isset) before returning the property value as
     * this property may have been unset before, due to the fact that this property is
     * removable from the request (nillable=true+minOccurs=0)
     * @return \patest\StructType\GlobalString|null
     */
    public function getSendRelationshipInvitation_Body()
    {
        return isset($this->SendRelationshipInvitation_Body) ? $this->SendRelationshipInvitation_Body : null;
    }
    /**
     * Set SendRelationshipInvitation_Body value
     * This property is removable from request (nillable=true+minOccurs=0), therefore
     * if the value assigned to this property is null, it is removed from this object
     * @param \patest\StructType\GlobalString $sendRelationshipInvitation_Body
     * @return \patest\StructType\Security_EmailTemplateCompanyParameters
     */
    public function setSendRelationshipInvitation_Body(\patest\StructType\GlobalString $sendRelationshipInvitation_Body = null)
    {
        if (is_null($sendRelationshipInvitation_Body) || (is_array($sendRelationshipInvitation_Body) && empty($sendRelationshipInvitation_Body))) {
            unset($this->SendRelationshipInvitation_Body);
        } else {
            $this->SendRelationshipInvitation_Body = $sendRelationshipInvitation_Body;
        }
        return $this;
    }
    /**
     * Get SendRelationshipInvitation_Subject value
     * An additional test has been added (isset) before returning the property value as
     * this property may have been unset before, due to the fact that this property is
     * removable from the request (nillable=true+minOccurs=0)
     * @return \patest\StructType\GlobalString|null
     */
    public function getSendRelationshipInvitation_Subject()
    {
        return isset($this->SendRelationshipInvitation_Subject) ? $this->SendRelationshipInvitation_Subject : null;
    }
    /**
     * Set SendRelationshipInvitation_Subject value
     * This property is removable from request (nillable=true+minOccurs=0), therefore
     * if the value assigned to this property is null, it is removed from this object
     * @param \patest\StructType\GlobalString $sendRelationshipInvitation_Subject
     * @return \patest\StructType\Security_EmailTemplateCompanyParameters
     */
    public function setSendRelationshipInvitation_Subject(\patest\StructType\GlobalString $sendRelationshipInvitation_Subject = null)
    {
        if (is_null($sendRelationshipInvitation_Subject) || (is_array($sendRelationshipInvitation_Subject) && empty($sendRelationshipInvitation_Subject))) {
            unset($this->SendRelationshipInvitation_Subject);
        } else {
            $this->SendRelationshipInvitation_Subject = $sendRelationshipInvitation_Subject;
        }
        return $this;
    }
    /**
     * Get TicketResale_Body value
     * An additional test has been added (isset) before returning the property value as
     * this property may have been unset before, due to the fact that this property is
     * removable from the request (nillable=true+minOccurs=0)
     * @return \patest\StructType\GlobalString|null
     */
    public function getTicketResale_Body()
    {
        return isset($this->TicketResale_Body) ? $this->TicketResale_Body : null;
    }
    /**
     * Set TicketResale_Body value
     * This property is removable from request (nillable=true+minOccurs=0), therefore
     * if the value assigned to this property is null, it is removed from this object
     * @param \patest\StructType\GlobalString $ticketResale_Body
     * @return \patest\StructType\Security_EmailTemplateCompanyParameters
     */
    public function setTicketResale_Body(\patest\StructType\GlobalString $ticketResale_Body = null)
    {
        if (is_null($ticketResale_Body) || (is_array($ticketResale_Body) && empty($ticketResale_Body))) {
            unset($this->TicketResale_Body);
        } else {
            $this->TicketResale_Body = $ticketResale_Body;
        }
        return $this;
    }
    /**
     * Get TicketResale_Subject value
     * An additional test has been added (isset) before returning the property value as
     * this property may have been unset before, due to the fact that this property is
     * removable from the request (nillable=true+minOccurs=0)
     * @return \patest\StructType\GlobalString|null
     */
    public function getTicketResale_Subject()
    {
        return isset($this->TicketResale_Subject) ? $this->TicketResale_Subject : null;
    }
    /**
     * Set TicketResale_Subject value
     * This property is removable from request (nillable=true+minOccurs=0), therefore
     * if the value assigned to this property is null, it is removed from this object
     * @param \patest\StructType\GlobalString $ticketResale_Subject
     * @return \patest\StructType\Security_EmailTemplateCompanyParameters
     */
    public function setTicketResale_Subject(\patest\StructType\GlobalString $ticketResale_Subject = null)
    {
        if (is_null($ticketResale_Subject) || (is_array($ticketResale_Subject) && empty($ticketResale_Subject))) {
            unset($this->TicketResale_Subject);
        } else {
            $this->TicketResale_Subject = $ticketResale_Subject;
        }
        return $this;
    }
}
