|
Apache/2.4.41 (Ubuntu) Linux vmi616275.contaboserver.net 5.4.0-84-generic #94-Ubuntu SMP Thu Aug 26 20:27:37 UTC 2021 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) server ip : 62.171.164.128 | your ip : 127.0.0.1 safemode OFF > / home / dev2.destoffenstraat.com / app / code / Geissweb / Euvat / Api / Data / |
Filename | /home/dev2.destoffenstraat.com/app/code/Geissweb/Euvat/Api/Data/ValidationResultInterface.php |
Size | 6.4 kb |
Permission | rwxrwxrwx |
Owner | root : root |
Create time | 17-Aug-2025 10:26 |
Last modified | 09-Jul-2024 08:41 |
Last accessed | 22-Aug-2025 19:38 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
<?php
/**
* ||GEISSWEB| EU VAT Enhanced
*
* NOTICE OF LICENSE
*
* This source file is subject to the GEISSWEB End User License Agreement
* that is available through the world-wide-web at this URL: https://www.geissweb.de/legal-information/eula
*
* DISCLAIMER
*
* Do not edit this file if you wish to update the extension in the future. If you wish to customize the extension
* for your needs please refer to our support for more information.
*
* @copyright Copyright (c) 2015 GEISS Weblösungen (https://www.geissweb.de)
* @license https://www.geissweb.de/legal-information/eula GEISSWEB End User License Agreement
*/
namespace Geissweb\Euvat\Api\Data;
use Magento\Framework\Api\ExtensibleDataInterface;
/**
* This interface describes the validation result from the services
*/
interface ValidationResultInterface extends ExtensibleDataInterface
{
public const KEY_VAT_ID = 'vat_id';
public const KEY_VAT_IS_VALID = 'vat_is_valid';
public const KEY_VAT_REQUEST_SUCCESS = 'vat_request_success';
public const KEY_VAT_REQUEST_ID = 'vat_request_id';
public const KEY_VAT_REQUEST_DATE = 'vat_request_date';
public const KEY_VAT_TRADER_NAME = 'vat_trader_name';
public const KEY_VAT_TRADER_ADDRESS = 'vat_trader_address';
public const KEY_VAT_TRADER_COMPANY_TYPE = 'vat_trader_company_type';
public const KEY_VAT_REQUEST_COUNTRY_CODE = 'vat_request_country_code';
public const KEY_VAT_REQUESTER_COUNTRY_CODE = 'vat_requester_country_code';
public const KEY_VAT_REQUESTER_NUMBER = 'vat_requester_number';
public const KEY_HTTP_REQUEST_HANDLE = 'handle';
public const KEY_REQUEST_MESSAGE = 'request_message';
public const KEY_WARNING = 'warning';
public const KEY_ERROR = 'error';
/**
* Get warning
*
* @return string
*/
public function getWarning(): ?string;
/**
* Set warning
*
* @param bool $bool
*
* @return $this
*/
public function setWarning(bool $bool): ValidationResultInterface;
/**
* Get error
*
* @return string
*/
public function getError(): ?string;
/**
* Set error
*
* @param bool $bool
*
* @return $this
*/
public function setError(bool $bool): ValidationResultInterface;
/**
* Get req message
*
* @return string
*/
public function getRequestMessage(): ?string;
/**
* Set req message
*
* @param string $requestMessage
*
* @return $this
*/
public function setRequestMessage(string $requestMessage): ValidationResultInterface;
/**
* Get handle
*
* @return string
*/
public function getHandle(): ?string;
/**
* Set handle
*
* @param string $handle
*
* @return $this
*/
public function setHandle(string $handle): ValidationResultInterface;
/**
* Get VAT Number
*
* @return string
*/
public function getVatId(): ?string;
/**
* Set VAT Number
*
* @param string $vatId
*
* @return $this
*/
public function setVatId(string $vatId): ValidationResultInterface;
/**
* Is VAT Number valid
*
* @return bool
*/
public function getVatIsValid(): ?bool;
/**
* Set Is VAT Number valid
*
* @param bool $isValid
*
* @return $this
*/
public function setVatIsValid(bool $isValid): ValidationResultInterface;
/**
* Is VAT number request successful
*
* @return bool
*/
public function getVatRequestSuccess(): ?bool;
/**
* Set Request successful
*
* @param bool $success
*
* @return $this
*/
public function setVatRequestSuccess(bool $success): ValidationResultInterface;
/**
* Get request id
*
* @return string
*/
public function getVatRequestId(): ?string;
/**
* Set request id
*
* @param string|null $requestId
*
* @return $this
*/
public function setVatRequestId(?string $requestId): ValidationResultInterface;
/**
* Get req date
*
* @return string
*/
public function getVatRequestDate(): ?string;
/**
* Set req date
*
* @param string $requestDate
*
* @return $this
*/
public function setVatRequestDate(string $requestDate): ValidationResultInterface;
/**
* Get trader name
*
* @return string
*/
public function getVatTraderName(): ?string;
/**
* Set trader name
*
* @param string|null $vatTraderName
*
* @return $this
*/
public function setVatTraderName(?string $vatTraderName): ValidationResultInterface;
/**
* Get trader address
*
* @return string
*/
public function getVatTraderAddress(): ?string;
/**
* Set trader address
*
* @param string|null $vatTraderAddress
*
* @return $this
*/
public function setVatTraderAddress(?string $vatTraderAddress): ValidationResultInterface;
/**
* Get company type
*
* @return string
*/
public function getVatTraderCompanyType(): ?string;
/**
* Set company type
*
* @param string $vatTraderCompanyType
*
* @return $this
*/
public function setVatTraderCompanyType(string $vatTraderCompanyType): ValidationResultInterface;
/**
* Get request country
*
* @return string
*/
public function getVatRequestCountryCode(): ?string;
/**
* Set request country
*
* @param string $vatRequestCountryCode
*
* @return $this
*/
public function setVatRequestCountryCode(string $vatRequestCountryCode): ValidationResultInterface;
/**
* Get requester country
*
* @return string
*/
public function getRequesterCountryCode(): ?string;
/**
* Set requester country
*
* @param string $vatRequestRequesterCountryCode
*
* @return $this
*/
public function setRequesterCountryCode(string $vatRequestRequesterCountryCode): ValidationResultInterface;
/**
* Get requester number
*
* @return string
*/
public function getRequesterNumber(): ?string;
/**
* Set requester number
*
* @param string $vatRequestRequesterCountryCode
*
* @return $this
*/
public function setRequesterNumber(string $vatRequestRequesterCountryCode): ValidationResultInterface;
}
/**
* ||GEISSWEB| EU VAT Enhanced
*
* NOTICE OF LICENSE
*
* This source file is subject to the GEISSWEB End User License Agreement
* that is available through the world-wide-web at this URL: https://www.geissweb.de/legal-information/eula
*
* DISCLAIMER
*
* Do not edit this file if you wish to update the extension in the future. If you wish to customize the extension
* for your needs please refer to our support for more information.
*
* @copyright Copyright (c) 2015 GEISS Weblösungen (https://www.geissweb.de)
* @license https://www.geissweb.de/legal-information/eula GEISSWEB End User License Agreement
*/
namespace Geissweb\Euvat\Api\Data;
use Magento\Framework\Api\ExtensibleDataInterface;
/**
* This interface describes the validation result from the services
*/
interface ValidationResultInterface extends ExtensibleDataInterface
{
public const KEY_VAT_ID = 'vat_id';
public const KEY_VAT_IS_VALID = 'vat_is_valid';
public const KEY_VAT_REQUEST_SUCCESS = 'vat_request_success';
public const KEY_VAT_REQUEST_ID = 'vat_request_id';
public const KEY_VAT_REQUEST_DATE = 'vat_request_date';
public const KEY_VAT_TRADER_NAME = 'vat_trader_name';
public const KEY_VAT_TRADER_ADDRESS = 'vat_trader_address';
public const KEY_VAT_TRADER_COMPANY_TYPE = 'vat_trader_company_type';
public const KEY_VAT_REQUEST_COUNTRY_CODE = 'vat_request_country_code';
public const KEY_VAT_REQUESTER_COUNTRY_CODE = 'vat_requester_country_code';
public const KEY_VAT_REQUESTER_NUMBER = 'vat_requester_number';
public const KEY_HTTP_REQUEST_HANDLE = 'handle';
public const KEY_REQUEST_MESSAGE = 'request_message';
public const KEY_WARNING = 'warning';
public const KEY_ERROR = 'error';
/**
* Get warning
*
* @return string
*/
public function getWarning(): ?string;
/**
* Set warning
*
* @param bool $bool
*
* @return $this
*/
public function setWarning(bool $bool): ValidationResultInterface;
/**
* Get error
*
* @return string
*/
public function getError(): ?string;
/**
* Set error
*
* @param bool $bool
*
* @return $this
*/
public function setError(bool $bool): ValidationResultInterface;
/**
* Get req message
*
* @return string
*/
public function getRequestMessage(): ?string;
/**
* Set req message
*
* @param string $requestMessage
*
* @return $this
*/
public function setRequestMessage(string $requestMessage): ValidationResultInterface;
/**
* Get handle
*
* @return string
*/
public function getHandle(): ?string;
/**
* Set handle
*
* @param string $handle
*
* @return $this
*/
public function setHandle(string $handle): ValidationResultInterface;
/**
* Get VAT Number
*
* @return string
*/
public function getVatId(): ?string;
/**
* Set VAT Number
*
* @param string $vatId
*
* @return $this
*/
public function setVatId(string $vatId): ValidationResultInterface;
/**
* Is VAT Number valid
*
* @return bool
*/
public function getVatIsValid(): ?bool;
/**
* Set Is VAT Number valid
*
* @param bool $isValid
*
* @return $this
*/
public function setVatIsValid(bool $isValid): ValidationResultInterface;
/**
* Is VAT number request successful
*
* @return bool
*/
public function getVatRequestSuccess(): ?bool;
/**
* Set Request successful
*
* @param bool $success
*
* @return $this
*/
public function setVatRequestSuccess(bool $success): ValidationResultInterface;
/**
* Get request id
*
* @return string
*/
public function getVatRequestId(): ?string;
/**
* Set request id
*
* @param string|null $requestId
*
* @return $this
*/
public function setVatRequestId(?string $requestId): ValidationResultInterface;
/**
* Get req date
*
* @return string
*/
public function getVatRequestDate(): ?string;
/**
* Set req date
*
* @param string $requestDate
*
* @return $this
*/
public function setVatRequestDate(string $requestDate): ValidationResultInterface;
/**
* Get trader name
*
* @return string
*/
public function getVatTraderName(): ?string;
/**
* Set trader name
*
* @param string|null $vatTraderName
*
* @return $this
*/
public function setVatTraderName(?string $vatTraderName): ValidationResultInterface;
/**
* Get trader address
*
* @return string
*/
public function getVatTraderAddress(): ?string;
/**
* Set trader address
*
* @param string|null $vatTraderAddress
*
* @return $this
*/
public function setVatTraderAddress(?string $vatTraderAddress): ValidationResultInterface;
/**
* Get company type
*
* @return string
*/
public function getVatTraderCompanyType(): ?string;
/**
* Set company type
*
* @param string $vatTraderCompanyType
*
* @return $this
*/
public function setVatTraderCompanyType(string $vatTraderCompanyType): ValidationResultInterface;
/**
* Get request country
*
* @return string
*/
public function getVatRequestCountryCode(): ?string;
/**
* Set request country
*
* @param string $vatRequestCountryCode
*
* @return $this
*/
public function setVatRequestCountryCode(string $vatRequestCountryCode): ValidationResultInterface;
/**
* Get requester country
*
* @return string
*/
public function getRequesterCountryCode(): ?string;
/**
* Set requester country
*
* @param string $vatRequestRequesterCountryCode
*
* @return $this
*/
public function setRequesterCountryCode(string $vatRequestRequesterCountryCode): ValidationResultInterface;
/**
* Get requester number
*
* @return string
*/
public function getRequesterNumber(): ?string;
/**
* Set requester number
*
* @param string $vatRequestRequesterCountryCode
*
* @return $this
*/
public function setRequesterNumber(string $vatRequestRequesterCountryCode): ValidationResultInterface;
}