<?php
use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for IncassaQuotaAssociativaResponse StructType
 * @subpackage Structs
 */
class IncassaQuotaAssociativaResponse extends AbstractStructBase
{
    /**
     * The IncassaQuotaAssociativaResult
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var Anagrafe_Get_Result
     */
    public $IncassaQuotaAssociativaResult;
    /**
     * Constructor method for IncassaQuotaAssociativaResponse
     * @uses IncassaQuotaAssociativaResponse::setIncassaQuotaAssociativaResult()
     * @param Anagrafe_Get_Result $incassaQuotaAssociativaResult
     */
    public function __construct(Anagrafe_Get_Result $incassaQuotaAssociativaResult = null)
    {
        $this
            ->setIncassaQuotaAssociativaResult($incassaQuotaAssociativaResult);
    }
    /**
     * Get IncassaQuotaAssociativaResult value
     * An additional test has been added (isset) before returning the property value as
     * this property may have been unset before, due to the fact that this property is
     * removable from the request (nillable=true+minOccurs=0)
     * @return Anagrafe_Get_Result|null
     */
    public function getIncassaQuotaAssociativaResult()
    {
        return isset($this->IncassaQuotaAssociativaResult) ? $this->IncassaQuotaAssociativaResult : null;
    }
    /**
     * Set IncassaQuotaAssociativaResult value
     * This property is removable from request (nillable=true+minOccurs=0), therefore
     * if the value assigned to this property is null, it is removed from this object
     * @param Anagrafe_Get_Result $incassaQuotaAssociativaResult
     * @return IncassaQuotaAssociativaResponse
     */
    public function setIncassaQuotaAssociativaResult(Anagrafe_Get_Result $incassaQuotaAssociativaResult = null)
    {
        if (is_null($incassaQuotaAssociativaResult) || (is_array($incassaQuotaAssociativaResult) && empty($incassaQuotaAssociativaResult))) {
            unset($this->IncassaQuotaAssociativaResult);
        } else {
            $this->IncassaQuotaAssociativaResult = $incassaQuotaAssociativaResult;
        }
        return $this;
    }
}
