<?php

declare(strict_types=1);

namespace Drupal\netforum\xWeb\Generated\StructType;

use InvalidArgumentException;
use WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for EventsRegistrantGroupType StructType
 * @subpackage Structs
 * @author Drupal NetForum xWeb PHP SDK Generator
 * @version 1.0.0
 * @license GPL-2.0-or-later https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
 * @see https://www.drupal.org/project/netforum
 * @generatedDate 2025-08-05
 * @generatedRelease Official
 * @generatedNetForumVersion 37
 */
#[\AllowDynamicProperties]
class EventsRegistrantGroupType extends AbstractStructBase
{
    /**
     * The Group_Registration
     * @var \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Group_Registration_DataObjectType|null
     */
    protected ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Group_Registration_DataObjectType $Group_Registration = null;
    /**
     * The Organization
     * @var \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Organization_DataObjectType|null
     */
    protected ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Organization_DataObjectType $Organization = null;
    /**
     * The Customer
     * @var \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Customer_DataObjectType|null
     */
    protected ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Customer_DataObjectType $Customer = null;
    /**
     * The Individual_X_Organization
     * @var \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Individual_X_Organization_DataObjectType|null
     */
    protected ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Individual_X_Organization_DataObjectType $Individual_X_Organization = null;
    /**
     * The Individual
     * @var \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Individual_DataObjectType|null
     */
    protected ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Individual_DataObjectType $Individual = null;
    /**
     * The Address
     * @var \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Address_DataObjectType|null
     */
    protected ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Address_DataObjectType $Address = null;
    /**
     * The Address_XRef
     * @var \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Address_XRef_DataObjectType|null
     */
    protected ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Address_XRef_DataObjectType $Address_XRef = null;
    /**
     * The Email
     * @var \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Email_DataObjectType|null
     */
    protected ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Email_DataObjectType $Email = null;
    /**
     * The Website
     * @var \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Website_DataObjectType|null
     */
    protected ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Website_DataObjectType $Website = null;
    /**
     * The Messaging
     * @var \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Messaging_DataObjectType|null
     */
    protected ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Messaging_DataObjectType $Messaging = null;
    /**
     * The Phone
     * @var \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Phone_DataObjectType|null
     */
    protected ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Phone_DataObjectType $Phone = null;
    /**
     * The Phone_XRef
     * @var \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Phone_XRef_DataObjectType|null
     */
    protected ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Phone_XRef_DataObjectType $Phone_XRef = null;
    /**
     * The Fax
     * @var \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Fax_DataObjectType|null
     */
    protected ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Fax_DataObjectType $Fax = null;
    /**
     * The Fax_XRef
     * @var \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Fax_XRef_DataObjectType|null
     */
    protected ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Fax_XRef_DataObjectType $Fax_XRef = null;
    /**
     * The Event
     * @var \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Event_DataObjectType|null
     */
    protected ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Event_DataObjectType $Event = null;
    /**
     * The Event_Location_Room_Type
     * @var \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Event_Location_Room_Type_DataObjectType|null
     */
    protected ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Event_Location_Room_Type_DataObjectType $Event_Location_Room_Type = null;
    /**
     * The Room_Request
     * @var \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Room_Request_DataObjectType|null
     */
    protected ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Room_Request_DataObjectType $Room_Request = null;
    /**
     * The Invoice
     * @var \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Invoice_DataObjectType|null
     */
    protected ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Invoice_DataObjectType $Invoice = null;
    /**
     * The Payment
     * @var \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Payment_DataObjectType|null
     */
    protected ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Payment_DataObjectType $Payment = null;
    /**
     * The Payment_Info
     * @var \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Payment_Info_DataObjectType|null
     */
    protected ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Payment_Info_DataObjectType $Payment_Info = null;
    /**
     * The Payment_Method
     * @var \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Payment_Method_DataObjectType|null
     */
    protected ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Payment_Method_DataObjectType $Payment_Method = null;
    /**
     * The source_code
     * @var \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_source_code_DataObjectType|null
     */
    protected ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_source_code_DataObjectType $source_code = null;
    /**
     * The Registrant
     * @var \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Registrant_DataObjectType|null
     */
    protected ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Registrant_DataObjectType $Registrant = null;
    /**
     * The RegistrantCollection
     * @var \Drupal\netforum\xWeb\Generated\StructType\RegistrantCollectionType|null
     */
    protected ?\Drupal\netforum\xWeb\Generated\StructType\RegistrantCollectionType $RegistrantCollection = null;
    /**
     * The CurrentKey
     * Meta information extracted from the WSDL
     * - documentation: Unique Key.The current key is the record key for the object. This field must be set whenever updating an existing database record. | Avectra netForum defined simpleType.
     * - base: s:string
     * - maxOccurs: 1
     * - minOccurs: 0
     * - nillable: true
     * - pattern: [{]?[0-9a-fA-F]{8}[\-]?([0-9a-fA-F]{4}[\-]?){3}[0-9a-fA-F]{12}[}]?
     * @var string|null
     */
    protected ?string $CurrentKey = null;
    /**
     * Constructor method for EventsRegistrantGroupType
     * @uses EventsRegistrantGroupType::setGroup_Registration()
     * @uses EventsRegistrantGroupType::setOrganization()
     * @uses EventsRegistrantGroupType::setCustomer()
     * @uses EventsRegistrantGroupType::setIndividual_X_Organization()
     * @uses EventsRegistrantGroupType::setIndividual()
     * @uses EventsRegistrantGroupType::setAddress()
     * @uses EventsRegistrantGroupType::setAddress_XRef()
     * @uses EventsRegistrantGroupType::setEmail()
     * @uses EventsRegistrantGroupType::setWebsite()
     * @uses EventsRegistrantGroupType::setMessaging()
     * @uses EventsRegistrantGroupType::setPhone()
     * @uses EventsRegistrantGroupType::setPhone_XRef()
     * @uses EventsRegistrantGroupType::setFax()
     * @uses EventsRegistrantGroupType::setFax_XRef()
     * @uses EventsRegistrantGroupType::setEvent()
     * @uses EventsRegistrantGroupType::setEvent_Location_Room_Type()
     * @uses EventsRegistrantGroupType::setRoom_Request()
     * @uses EventsRegistrantGroupType::setInvoice()
     * @uses EventsRegistrantGroupType::setPayment()
     * @uses EventsRegistrantGroupType::setPayment_Info()
     * @uses EventsRegistrantGroupType::setPayment_Method()
     * @uses EventsRegistrantGroupType::setSource_code()
     * @uses EventsRegistrantGroupType::setRegistrant()
     * @uses EventsRegistrantGroupType::setRegistrantCollection()
     * @uses EventsRegistrantGroupType::setCurrentKey()
     * @param \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Group_Registration_DataObjectType $group_Registration
     * @param \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Organization_DataObjectType $organization
     * @param \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Customer_DataObjectType $customer
     * @param \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Individual_X_Organization_DataObjectType $individual_X_Organization
     * @param \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Individual_DataObjectType $individual
     * @param \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Address_DataObjectType $address
     * @param \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Address_XRef_DataObjectType $address_XRef
     * @param \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Email_DataObjectType $email
     * @param \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Website_DataObjectType $website
     * @param \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Messaging_DataObjectType $messaging
     * @param \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Phone_DataObjectType $phone
     * @param \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Phone_XRef_DataObjectType $phone_XRef
     * @param \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Fax_DataObjectType $fax
     * @param \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Fax_XRef_DataObjectType $fax_XRef
     * @param \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Event_DataObjectType $event
     * @param \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Event_Location_Room_Type_DataObjectType $event_Location_Room_Type
     * @param \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Room_Request_DataObjectType $room_Request
     * @param \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Invoice_DataObjectType $invoice
     * @param \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Payment_DataObjectType $payment
     * @param \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Payment_Info_DataObjectType $payment_Info
     * @param \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Payment_Method_DataObjectType $payment_Method
     * @param \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_source_code_DataObjectType $source_code
     * @param \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Registrant_DataObjectType $registrant
     * @param \Drupal\netforum\xWeb\Generated\StructType\RegistrantCollectionType $registrantCollection
     * @param string $currentKey
     */
    public function __construct(?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Group_Registration_DataObjectType $group_Registration = null, ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Organization_DataObjectType $organization = null, ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Customer_DataObjectType $customer = null, ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Individual_X_Organization_DataObjectType $individual_X_Organization = null, ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Individual_DataObjectType $individual = null, ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Address_DataObjectType $address = null, ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Address_XRef_DataObjectType $address_XRef = null, ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Email_DataObjectType $email = null, ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Website_DataObjectType $website = null, ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Messaging_DataObjectType $messaging = null, ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Phone_DataObjectType $phone = null, ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Phone_XRef_DataObjectType $phone_XRef = null, ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Fax_DataObjectType $fax = null, ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Fax_XRef_DataObjectType $fax_XRef = null, ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Event_DataObjectType $event = null, ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Event_Location_Room_Type_DataObjectType $event_Location_Room_Type = null, ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Room_Request_DataObjectType $room_Request = null, ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Invoice_DataObjectType $invoice = null, ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Payment_DataObjectType $payment = null, ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Payment_Info_DataObjectType $payment_Info = null, ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Payment_Method_DataObjectType $payment_Method = null, ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_source_code_DataObjectType $source_code = null, ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Registrant_DataObjectType $registrant = null, ?\Drupal\netforum\xWeb\Generated\StructType\RegistrantCollectionType $registrantCollection = null, ?string $currentKey = null)
    {
        $this
            ->setGroup_Registration($group_Registration)
            ->setOrganization($organization)
            ->setCustomer($customer)
            ->setIndividual_X_Organization($individual_X_Organization)
            ->setIndividual($individual)
            ->setAddress($address)
            ->setAddress_XRef($address_XRef)
            ->setEmail($email)
            ->setWebsite($website)
            ->setMessaging($messaging)
            ->setPhone($phone)
            ->setPhone_XRef($phone_XRef)
            ->setFax($fax)
            ->setFax_XRef($fax_XRef)
            ->setEvent($event)
            ->setEvent_Location_Room_Type($event_Location_Room_Type)
            ->setRoom_Request($room_Request)
            ->setInvoice($invoice)
            ->setPayment($payment)
            ->setPayment_Info($payment_Info)
            ->setPayment_Method($payment_Method)
            ->setSource_code($source_code)
            ->setRegistrant($registrant)
            ->setRegistrantCollection($registrantCollection)
            ->setCurrentKey($currentKey);
    }
    /**
     * Get Group_Registration value
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Group_Registration_DataObjectType|null
     */
    public function getGroup_Registration(): ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Group_Registration_DataObjectType
    {
        return $this->Group_Registration;
    }
    /**
     * Set Group_Registration value
     * @param \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Group_Registration_DataObjectType $group_Registration
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroupType
     */
    public function setGroup_Registration(?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Group_Registration_DataObjectType $group_Registration = null): self
    {
        $this->Group_Registration = $group_Registration;
        
        return $this;
    }
    /**
     * Get Organization value
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Organization_DataObjectType|null
     */
    public function getOrganization(): ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Organization_DataObjectType
    {
        return $this->Organization;
    }
    /**
     * Set Organization value
     * @param \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Organization_DataObjectType $organization
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroupType
     */
    public function setOrganization(?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Organization_DataObjectType $organization = null): self
    {
        $this->Organization = $organization;
        
        return $this;
    }
    /**
     * Get Customer value
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Customer_DataObjectType|null
     */
    public function getCustomer(): ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Customer_DataObjectType
    {
        return $this->Customer;
    }
    /**
     * Set Customer value
     * @param \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Customer_DataObjectType $customer
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroupType
     */
    public function setCustomer(?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Customer_DataObjectType $customer = null): self
    {
        $this->Customer = $customer;
        
        return $this;
    }
    /**
     * Get Individual_X_Organization value
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Individual_X_Organization_DataObjectType|null
     */
    public function getIndividual_X_Organization(): ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Individual_X_Organization_DataObjectType
    {
        return $this->Individual_X_Organization;
    }
    /**
     * Set Individual_X_Organization value
     * @param \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Individual_X_Organization_DataObjectType $individual_X_Organization
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroupType
     */
    public function setIndividual_X_Organization(?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Individual_X_Organization_DataObjectType $individual_X_Organization = null): self
    {
        $this->Individual_X_Organization = $individual_X_Organization;
        
        return $this;
    }
    /**
     * Get Individual value
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Individual_DataObjectType|null
     */
    public function getIndividual(): ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Individual_DataObjectType
    {
        return $this->Individual;
    }
    /**
     * Set Individual value
     * @param \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Individual_DataObjectType $individual
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroupType
     */
    public function setIndividual(?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Individual_DataObjectType $individual = null): self
    {
        $this->Individual = $individual;
        
        return $this;
    }
    /**
     * Get Address value
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Address_DataObjectType|null
     */
    public function getAddress(): ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Address_DataObjectType
    {
        return $this->Address;
    }
    /**
     * Set Address value
     * @param \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Address_DataObjectType $address
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroupType
     */
    public function setAddress(?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Address_DataObjectType $address = null): self
    {
        $this->Address = $address;
        
        return $this;
    }
    /**
     * Get Address_XRef value
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Address_XRef_DataObjectType|null
     */
    public function getAddress_XRef(): ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Address_XRef_DataObjectType
    {
        return $this->Address_XRef;
    }
    /**
     * Set Address_XRef value
     * @param \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Address_XRef_DataObjectType $address_XRef
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroupType
     */
    public function setAddress_XRef(?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Address_XRef_DataObjectType $address_XRef = null): self
    {
        $this->Address_XRef = $address_XRef;
        
        return $this;
    }
    /**
     * Get Email value
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Email_DataObjectType|null
     */
    public function getEmail(): ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Email_DataObjectType
    {
        return $this->Email;
    }
    /**
     * Set Email value
     * @param \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Email_DataObjectType $email
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroupType
     */
    public function setEmail(?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Email_DataObjectType $email = null): self
    {
        $this->Email = $email;
        
        return $this;
    }
    /**
     * Get Website value
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Website_DataObjectType|null
     */
    public function getWebsite(): ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Website_DataObjectType
    {
        return $this->Website;
    }
    /**
     * Set Website value
     * @param \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Website_DataObjectType $website
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroupType
     */
    public function setWebsite(?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Website_DataObjectType $website = null): self
    {
        $this->Website = $website;
        
        return $this;
    }
    /**
     * Get Messaging value
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Messaging_DataObjectType|null
     */
    public function getMessaging(): ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Messaging_DataObjectType
    {
        return $this->Messaging;
    }
    /**
     * Set Messaging value
     * @param \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Messaging_DataObjectType $messaging
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroupType
     */
    public function setMessaging(?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Messaging_DataObjectType $messaging = null): self
    {
        $this->Messaging = $messaging;
        
        return $this;
    }
    /**
     * Get Phone value
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Phone_DataObjectType|null
     */
    public function getPhone(): ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Phone_DataObjectType
    {
        return $this->Phone;
    }
    /**
     * Set Phone value
     * @param \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Phone_DataObjectType $phone
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroupType
     */
    public function setPhone(?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Phone_DataObjectType $phone = null): self
    {
        $this->Phone = $phone;
        
        return $this;
    }
    /**
     * Get Phone_XRef value
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Phone_XRef_DataObjectType|null
     */
    public function getPhone_XRef(): ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Phone_XRef_DataObjectType
    {
        return $this->Phone_XRef;
    }
    /**
     * Set Phone_XRef value
     * @param \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Phone_XRef_DataObjectType $phone_XRef
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroupType
     */
    public function setPhone_XRef(?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Phone_XRef_DataObjectType $phone_XRef = null): self
    {
        $this->Phone_XRef = $phone_XRef;
        
        return $this;
    }
    /**
     * Get Fax value
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Fax_DataObjectType|null
     */
    public function getFax(): ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Fax_DataObjectType
    {
        return $this->Fax;
    }
    /**
     * Set Fax value
     * @param \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Fax_DataObjectType $fax
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroupType
     */
    public function setFax(?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Fax_DataObjectType $fax = null): self
    {
        $this->Fax = $fax;
        
        return $this;
    }
    /**
     * Get Fax_XRef value
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Fax_XRef_DataObjectType|null
     */
    public function getFax_XRef(): ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Fax_XRef_DataObjectType
    {
        return $this->Fax_XRef;
    }
    /**
     * Set Fax_XRef value
     * @param \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Fax_XRef_DataObjectType $fax_XRef
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroupType
     */
    public function setFax_XRef(?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Fax_XRef_DataObjectType $fax_XRef = null): self
    {
        $this->Fax_XRef = $fax_XRef;
        
        return $this;
    }
    /**
     * Get Event value
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Event_DataObjectType|null
     */
    public function getEvent(): ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Event_DataObjectType
    {
        return $this->Event;
    }
    /**
     * Set Event value
     * @param \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Event_DataObjectType $event
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroupType
     */
    public function setEvent(?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Event_DataObjectType $event = null): self
    {
        $this->Event = $event;
        
        return $this;
    }
    /**
     * Get Event_Location_Room_Type value
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Event_Location_Room_Type_DataObjectType|null
     */
    public function getEvent_Location_Room_Type(): ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Event_Location_Room_Type_DataObjectType
    {
        return $this->Event_Location_Room_Type;
    }
    /**
     * Set Event_Location_Room_Type value
     * @param \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Event_Location_Room_Type_DataObjectType $event_Location_Room_Type
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroupType
     */
    public function setEvent_Location_Room_Type(?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Event_Location_Room_Type_DataObjectType $event_Location_Room_Type = null): self
    {
        $this->Event_Location_Room_Type = $event_Location_Room_Type;
        
        return $this;
    }
    /**
     * Get Room_Request value
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Room_Request_DataObjectType|null
     */
    public function getRoom_Request(): ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Room_Request_DataObjectType
    {
        return $this->Room_Request;
    }
    /**
     * Set Room_Request value
     * @param \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Room_Request_DataObjectType $room_Request
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroupType
     */
    public function setRoom_Request(?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Room_Request_DataObjectType $room_Request = null): self
    {
        $this->Room_Request = $room_Request;
        
        return $this;
    }
    /**
     * Get Invoice value
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Invoice_DataObjectType|null
     */
    public function getInvoice(): ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Invoice_DataObjectType
    {
        return $this->Invoice;
    }
    /**
     * Set Invoice value
     * @param \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Invoice_DataObjectType $invoice
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroupType
     */
    public function setInvoice(?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Invoice_DataObjectType $invoice = null): self
    {
        $this->Invoice = $invoice;
        
        return $this;
    }
    /**
     * Get Payment value
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Payment_DataObjectType|null
     */
    public function getPayment(): ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Payment_DataObjectType
    {
        return $this->Payment;
    }
    /**
     * Set Payment value
     * @param \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Payment_DataObjectType $payment
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroupType
     */
    public function setPayment(?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Payment_DataObjectType $payment = null): self
    {
        $this->Payment = $payment;
        
        return $this;
    }
    /**
     * Get Payment_Info value
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Payment_Info_DataObjectType|null
     */
    public function getPayment_Info(): ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Payment_Info_DataObjectType
    {
        return $this->Payment_Info;
    }
    /**
     * Set Payment_Info value
     * @param \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Payment_Info_DataObjectType $payment_Info
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroupType
     */
    public function setPayment_Info(?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Payment_Info_DataObjectType $payment_Info = null): self
    {
        $this->Payment_Info = $payment_Info;
        
        return $this;
    }
    /**
     * Get Payment_Method value
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Payment_Method_DataObjectType|null
     */
    public function getPayment_Method(): ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Payment_Method_DataObjectType
    {
        return $this->Payment_Method;
    }
    /**
     * Set Payment_Method value
     * @param \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Payment_Method_DataObjectType $payment_Method
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroupType
     */
    public function setPayment_Method(?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Payment_Method_DataObjectType $payment_Method = null): self
    {
        $this->Payment_Method = $payment_Method;
        
        return $this;
    }
    /**
     * Get source_code value
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_source_code_DataObjectType|null
     */
    public function getSource_code(): ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_source_code_DataObjectType
    {
        return $this->source_code;
    }
    /**
     * Set source_code value
     * @param \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_source_code_DataObjectType $source_code
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroupType
     */
    public function setSource_code(?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_source_code_DataObjectType $source_code = null): self
    {
        $this->source_code = $source_code;
        
        return $this;
    }
    /**
     * Get Registrant value
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Registrant_DataObjectType|null
     */
    public function getRegistrant(): ?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Registrant_DataObjectType
    {
        return $this->Registrant;
    }
    /**
     * Set Registrant value
     * @param \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Registrant_DataObjectType $registrant
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroupType
     */
    public function setRegistrant(?\Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroup_Registrant_DataObjectType $registrant = null): self
    {
        $this->Registrant = $registrant;
        
        return $this;
    }
    /**
     * Get RegistrantCollection value
     * @return \Drupal\netforum\xWeb\Generated\StructType\RegistrantCollectionType|null
     */
    public function getRegistrantCollection(): ?\Drupal\netforum\xWeb\Generated\StructType\RegistrantCollectionType
    {
        return $this->RegistrantCollection;
    }
    /**
     * Set RegistrantCollection value
     * @param \Drupal\netforum\xWeb\Generated\StructType\RegistrantCollectionType $registrantCollection
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroupType
     */
    public function setRegistrantCollection(?\Drupal\netforum\xWeb\Generated\StructType\RegistrantCollectionType $registrantCollection = null): self
    {
        $this->RegistrantCollection = $registrantCollection;
        
        return $this;
    }
    /**
     * Get CurrentKey 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 string|null
     */
    public function getCurrentKey(): ?string
    {
        return $this->CurrentKey ?? null;
    }
    /**
     * Set CurrentKey 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 string $currentKey
     * @return \Drupal\netforum\xWeb\Generated\StructType\EventsRegistrantGroupType
     */
    public function setCurrentKey(?string $currentKey = null): self
    {
        // validation for constraint: string
        if (!is_null($currentKey) && !is_string($currentKey)) {
            throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($currentKey, true), gettype($currentKey)), __LINE__);
        }
        // validation for constraint: pattern([{]?[0-9a-fA-F]{8}[\-]?([0-9a-fA-F]{4}[\-]?){3}[0-9a-fA-F]{12}[}]?)
        if (!is_null($currentKey) && !preg_match('/[{]?[0-9a-fA-F]{8}[\\-]?([0-9a-fA-F]{4}[\\-]?){3}[0-9a-fA-F]{12}[}]?/', (string) $currentKey)) {
            throw new InvalidArgumentException(sprintf('Invalid value %s, please provide a literal that is among the set of character sequences denoted by the regular expression /[{]?[0-9a-fA-F]{8}[\\-]?([0-9a-fA-F]{4}[\\-]?){3}[0-9a-fA-F]{12}[}]?/', var_export($currentKey, true)), __LINE__);
        }
        if (is_null($currentKey) || (is_array($currentKey) && empty($currentKey))) {
            unset($this->CurrentKey);
        } else {
            $this->CurrentKey = $currentKey;
        }
        
        return $this;
    }
}
