<?php

namespace App\Integration\Providers\Alliance3\DTO;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for AttachDocumentResponse DTO
 * @subpackage Structs
 */
class AttachDocumentResponse extends AbstractStructBase
{
    /**
     * The accID
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $accID;
    /**
     * The docID
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var int
     */
    public $docID;
    /**
     * The errors
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \App\Integration\Providers\Alliance3\DTO\ErrorList
     */
    public $errors;
    /**
     * Constructor method for AttachDocumentResponse
     * @uses AttachDocumentResponse::setAccID()
     * @uses AttachDocumentResponse::setDocID()
     * @uses AttachDocumentResponse::setErrors()
     * @param string $accID
     * @param int $docID
     * @param \App\Integration\Providers\Alliance3\DTO\ErrorList $errors
     */
    public function __construct($accID = null, $docID = null, \App\Integration\Providers\Alliance3\DTO\ErrorList $errors = null)
    {
        $this
            ->setAccID($accID)
            ->setDocID($docID)
            ->setErrors($errors);
    }
    /**
     * Get accID value
     * @return string|null
     */
    public function getAccID()
    {
        return $this->accID;
    }
    /**
     * Set accID value
     * @param string $accID
     * @return \App\Integration\Providers\Alliance3\DTO\AttachDocumentResponse
     */
    public function setAccID($accID = null)
    {
        $this->accID = $accID;
        return $this;
    }
    /**
     * Get docID value
     * @return int|null
     */
    public function getDocID()
    {
        return $this->docID;
    }
    /**
     * Set docID value
     * @param int $docID
     * @return \App\Integration\Providers\Alliance3\DTO\AttachDocumentResponse
     */
    public function setDocID($docID = null)
    {
        $this->docID = $docID;
        return $this;
    }
    /**
     * Get errors value
     * @return \App\Integration\Providers\Alliance3\DTO\ErrorList|null
     */
    public function getErrors()
    {
        return $this->errors;
    }
    /**
     * Set errors value
     * @param \App\Integration\Providers\Alliance3\DTO\ErrorList $errors
     * @return \App\Integration\Providers\Alliance3\DTO\AttachDocumentResponse
     */
    public function setErrors(\App\Integration\Providers\Alliance3\DTO\ErrorList $errors = null)
    {
        $this->errors = $errors;
        return $this;
    }
}
