<?php

declare(strict_types=1);

namespace Drupal\netforum\xWeb\Generated\StructType;

use InvalidArgumentException;
use WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for WEBCentralizedShoppingCartGetSponsorListByEventKeyResponse
 * 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 WEBCentralizedShoppingCartGetSponsorListByEventKeyResponse extends AbstractStructBase
{
    /**
     * The WEBCentralizedShoppingCartGetSponsorListByEventKeyResult
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \Drupal\netforum\xWeb\Generated\StructType\WEBCentralizedShoppingCartGetSponsorListByEventKeyResult|null
     */
    protected ?\Drupal\netforum\xWeb\Generated\StructType\WEBCentralizedShoppingCartGetSponsorListByEventKeyResult $WEBCentralizedShoppingCartGetSponsorListByEventKeyResult = null;
    /**
     * Constructor method for
     * WEBCentralizedShoppingCartGetSponsorListByEventKeyResponse
     * @uses WEBCentralizedShoppingCartGetSponsorListByEventKeyResponse::setWEBCentralizedShoppingCartGetSponsorListByEventKeyResult()
     * @param \Drupal\netforum\xWeb\Generated\StructType\WEBCentralizedShoppingCartGetSponsorListByEventKeyResult $wEBCentralizedShoppingCartGetSponsorListByEventKeyResult
     */
    public function __construct(?\Drupal\netforum\xWeb\Generated\StructType\WEBCentralizedShoppingCartGetSponsorListByEventKeyResult $wEBCentralizedShoppingCartGetSponsorListByEventKeyResult = null)
    {
        $this
            ->setWEBCentralizedShoppingCartGetSponsorListByEventKeyResult($wEBCentralizedShoppingCartGetSponsorListByEventKeyResult);
    }
    /**
     * Get WEBCentralizedShoppingCartGetSponsorListByEventKeyResult value
     * @return \Drupal\netforum\xWeb\Generated\StructType\WEBCentralizedShoppingCartGetSponsorListByEventKeyResult|null
     */
    public function getWEBCentralizedShoppingCartGetSponsorListByEventKeyResult(): ?\Drupal\netforum\xWeb\Generated\StructType\WEBCentralizedShoppingCartGetSponsorListByEventKeyResult
    {
        return $this->WEBCentralizedShoppingCartGetSponsorListByEventKeyResult;
    }
    /**
     * Set WEBCentralizedShoppingCartGetSponsorListByEventKeyResult value
     * @param \Drupal\netforum\xWeb\Generated\StructType\WEBCentralizedShoppingCartGetSponsorListByEventKeyResult $wEBCentralizedShoppingCartGetSponsorListByEventKeyResult
     * @return \Drupal\netforum\xWeb\Generated\StructType\WEBCentralizedShoppingCartGetSponsorListByEventKeyResponse
     */
    public function setWEBCentralizedShoppingCartGetSponsorListByEventKeyResult(?\Drupal\netforum\xWeb\Generated\StructType\WEBCentralizedShoppingCartGetSponsorListByEventKeyResult $wEBCentralizedShoppingCartGetSponsorListByEventKeyResult = null): self
    {
        $this->WEBCentralizedShoppingCartGetSponsorListByEventKeyResult = $wEBCentralizedShoppingCartGetSponsorListByEventKeyResult;
        
        return $this;
    }
}
