HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/edwingovers.komma.pro/app/KommaApp/Shop/Vies/ViesResult.php
<?php


namespace App\KommaApp\Shop\Vies;

/**
 * Class ViesResult
 *
 * Represents a result from the Vies Soap service
 *
 * @see http://ec.europa.eu/taxation_customs/vies/
 *
 * @package App\KommaApp\Shop\Vies
 */
class ViesResult
{
    /** @var string $countryCode */
    private $countryCode;

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

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

    /** @var bool $valid */
    private $valid;

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

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

    /**
     * ViesResult constructor.]
     */
    public function __construct()
    {
        $this->countryCode = '';
        $this->vatNumber = '';
        $this->requestDate = '';
        $this->valid = '';
        $this->name = '';
        $this->address = '';
    }

    /**
     * @return string
     */
    public function getCountryCode(): string
    {
        return $this->countryCode;
    }

    /**
     * @param string $countryCode
     */
    public function setCountryCode(string $countryCode)
    {
        $this->countryCode = $countryCode;
    }

    /**
     * @return string
     */
    public function getVatNumber(): string
    {
        return $this->vatNumber;
    }

    /**
     * @param string $vatNumber
     */
    public function setVatNumber(string $vatNumber)
    {
        $this->vatNumber = $vatNumber;
    }

    /**
     * @return string
     */
    public function getRequestDate(): string
    {
        return $this->requestDate;
    }

    /**
     * @param string $requestDate
     */
    public function setRequestDate(string $requestDate)
    {
        $this->requestDate = $requestDate;
    }

    /**
     * @return bool
     */
    public function isValid(): bool
    {
        return $this->valid;
    }

    /**
     * @param bool $valid
     */
    public function setValid(bool $valid)
    {
        $this->valid = $valid;
    }

    /**
     * @return string
     */
    public function getName(): string
    {
        return $this->name;
    }

    /**
     * @param string $name
     */
    public function setName(string $name)
    {
        $this->name = $name;
    }

    /**
     * @return string
     */
    public function getAddress(): string
    {
        return $this->address;
    }

    /**
     * @param string $address
     */
    public function setAddress(string $address)
    {
        $this->address = $address;
    }
}