<?php

declare(strict_types=1);

namespace Drupal\netforum\xWeb\Generated\StructType;

use InvalidArgumentException;
use WsdlToPhp\PackageBase\AbstractStructBase;

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