<?php

declare(strict_types=1);

namespace Drupal\netforum\xWeb\Generated\StructType;

use InvalidArgumentException;
use WsdlToPhp\PackageBase\AbstractStructBase;

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