<?php

declare(strict_types=1);

namespace NoahVet\Reef\Jane\Model;

class YouSignContractConfirmationRequestData extends \ArrayObject
{
    /**
     * @var array
     */
    protected $initialized = [];

    /**
     * @var YouSignContractConfirmationRequestDataSignatureRequest
     */
    protected $signatureRequest;

    public function isInitialized($property): bool
    {
        return \array_key_exists($property, $this->initialized);
    }

    public function getSignatureRequest(): YouSignContractConfirmationRequestDataSignatureRequest
    {
        return $this->signatureRequest;
    }

    public function setSignatureRequest(YouSignContractConfirmationRequestDataSignatureRequest $signatureRequest): self
    {
        $this->initialized['signatureRequest'] = true;
        $this->signatureRequest = $signatureRequest;

        return $this;
    }
}
