<?php

declare(strict_types=1);

namespace Drupal\netforum\xWeb\Generated\StructType;

use InvalidArgumentException;
use WsdlToPhp\PackageBase\AbstractStructBase;

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