<?php

declare(strict_types=1);

namespace Drupal\netforum\xWeb\Generated\StructType;

use InvalidArgumentException;
use WsdlToPhp\PackageBase\AbstractStructBase;

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