giansalex/greenter

View on GitHub
packages/core/src/Core/Model/Sale/Document.php

Summary

Maintainability
A
45 mins
Test Coverage
<?php
/**
 * Created by PhpStorm.
 * User: Giansalex
 * Date: 17/07/2017
 * Time: 23:39.
 */

declare(strict_types=1);

namespace Greenter\Model\Sale;

/**
 * Class Document.
 */
class Document
{
    /**
     * @var string
     */
    private $tipoDoc;

    /**
     * @var string
     */
    private $nroDoc;

    /**
     * @return string
     */
    public function getTipoDoc(): ?string
    {
        return $this->tipoDoc;
    }

    /**
     * @param string $tipoDoc
     *
     * @return Document
     */
    public function setTipoDoc(?string $tipoDoc): Document
    {
        $this->tipoDoc = $tipoDoc;

        return $this;
    }

    /**
     * @return string
     */
    public function getNroDoc(): ?string
    {
        return $this->nroDoc;
    }

    /**
     * @param string $nroDoc
     *
     * @return Document
     */
    public function setNroDoc(?string $nroDoc): Document
    {
        $this->nroDoc = $nroDoc;

        return $this;
    }
}