<?php

declare(strict_types=1);

namespace Drupal\netforum\xWeb\Generated\StructType;

use InvalidArgumentException;
use WsdlToPhp\PackageBase\AbstractStructBase;

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