<?php

declare(strict_types=1);

namespace Drupal\netforum\xWeb\Generated\StructType;

use InvalidArgumentException;
use WsdlToPhp\PackageBase\AbstractStructBase;

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