<?php



namespace Intacct\Functions\Company;

use Intacct\Functions\AbstractFunction;

abstract class AbstractAttachments extends AbstractFunction
{

    /** @var string */
    protected $attachmentsId;

    /** @var string */
    protected $attachmentsName;

    /** @var string */
    protected $attachmentFolderName;

    /** @var string */
    protected $description;

    /** @var AttachmentInterface[] */
    protected $files = [];

    /**
     * Get attachments ID
     *
     * @return string
     */
    public function getAttachmentsId()
    {
        return $this->attachmentsId;
    }

    /**
     * Set attachments ID
     *
     * @param string $attachmentsId
     */
    public function setAttachmentsId($attachmentsId)
    {
        $this->attachmentsId = $attachmentsId;
    }

    /**
     * Get attachments name
     *
     * @return string
     */
    public function getAttachmentsName()
    {
        return $this->attachmentsName;
    }

    /**
     * Set attachments name
     *
     * @param string $attachmentsName
     */
    public function setAttachmentsName($attachmentsName)
    {
        $this->attachmentsName = $attachmentsName;
    }

    /**
     * Get attachment folder name
     *
     * @return string
     */
    public function getAttachmentFolderName()
    {
        return $this->attachmentFolderName;
    }

    /**
     * Set attachment folder name
     *
     * @param string $attachmentFolderName
     */
    public function setAttachmentFolderName($attachmentFolderName)
    {
        $this->attachmentFolderName = $attachmentFolderName;
    }

    /**
     * Get description
     *
     * @return string
     */
    public function getDescription()
    {
        return $this->description;
    }

    /**
     * Set description
     *
     * @param string $description
     */
    public function setDescription($description)
    {
        $this->description = $description;
    }

    /**
     * Get files
     *
     * @return AttachmentInterface[]
     */
    public function getFiles()
    {
        return $this->files;
    }

    /**
     * Set files
     *
     * @param AttachmentInterface[] $files
     */
    public function setFiles(array $files)
    {
        $this->files = $files;
    }
}
