<?php

declare(strict_types=1);

namespace NoahVet\Reef\Jane\Model;

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

    /**
     * @var string|null
     */
    protected $accountingStatus;

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

    public function getAccountingStatus(): ?string
    {
        return $this->accountingStatus;
    }

    public function setAccountingStatus(?string $accountingStatus): self
    {
        $this->initialized['accountingStatus'] = true;
        $this->accountingStatus = $accountingStatus;

        return $this;
    }
}
