<?php

declare(strict_types=1);

namespace Drupal\netforum\xWeb\Generated\StructType;

use InvalidArgumentException;
use WsdlToPhp\PackageBase\AbstractStructBase;

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