<?php

namespace App\Integration\Providers\Alliance3\DTO;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for GetPaymentURLResponse DTO
 * @subpackage Structs
 */
class GetPaymentURLResponse extends AbstractStructBase
{
    /**
     * The accID
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $accID;
    /**
     * The policyID
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $policyID;
    /**
     * The url
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $url;
    /**
     * The isError
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var bool
     */
    public $isError;
    /**
     * The errors
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \App\Integration\Providers\Alliance3\DTO\ErrorWithCodeList
     */
    public $errors;
    /**
     * Constructor method for GetPaymentURLResponse
     * @uses GetPaymentURLResponse::setAccID()
     * @uses GetPaymentURLResponse::setPolicyID()
     * @uses GetPaymentURLResponse::setUrl()
     * @uses GetPaymentURLResponse::setIsError()
     * @uses GetPaymentURLResponse::setErrors()
     * @param string $accID
     * @param string $policyID
     * @param string $url
     * @param bool $isError
     * @param \App\Integration\Providers\Alliance3\DTO\ErrorWithCodeList $errors
     */
    public function __construct($accID = null, $policyID = null, $url = null, $isError = null, \App\Integration\Providers\Alliance3\DTO\ErrorWithCodeList $errors = null)
    {
        $this
            ->setAccID($accID)
            ->setPolicyID($policyID)
            ->setUrl($url)
            ->setIsError($isError)
            ->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\GetPaymentURLResponse
     */
    public function setAccID($accID = null)
    {
        $this->accID = $accID;
        return $this;
    }
    /**
     * Get policyID value
     * @return string|null
     */
    public function getPolicyID()
    {
        return $this->policyID;
    }
    /**
     * Set policyID value
     * @param string $policyID
     * @return \App\Integration\Providers\Alliance3\DTO\GetPaymentURLResponse
     */
    public function setPolicyID($policyID = null)
    {
        $this->policyID = $policyID;
        return $this;
    }
    /**
     * Get url value
     * @return string|null
     */
    public function getUrl()
    {
        return $this->url;
    }
    /**
     * Set url value
     * @param string $url
     * @return \App\Integration\Providers\Alliance3\DTO\GetPaymentURLResponse
     */
    public function setUrl($url = null)
    {
        $this->url = $url;
        return $this;
    }
    /**
     * Get isError value
     * @return bool|null
     */
    public function getIsError()
    {
        return $this->isError;
    }
    /**
     * Set isError value
     * @param bool $isError
     * @return \App\Integration\Providers\Alliance3\DTO\GetPaymentURLResponse
     */
    public function setIsError($isError = null)
    {
        $this->isError = $isError;
        return $this;
    }
    /**
     * Get errors value
     * @return \App\Integration\Providers\Alliance3\DTO\ErrorWithCodeList|null
     */
    public function getErrors()
    {
        return $this->errors;
    }
    /**
     * Set errors value
     * @param \App\Integration\Providers\Alliance3\DTO\ErrorWithCodeList $errors
     * @return \App\Integration\Providers\Alliance3\DTO\GetPaymentURLResponse
     */
    public function setErrors(\App\Integration\Providers\Alliance3\DTO\ErrorWithCodeList $errors = null)
    {
        $this->errors = $errors;
        return $this;
    }
}
