28 lines
688 B
PHP
28 lines
688 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
namespace Esun\CustomerVat\Model;
|
|
|
|
use Magento\Framework\Model\AbstractModel;
|
|
|
|
class VatApplication extends AbstractModel
|
|
{
|
|
public const STATUS_PENDING = 'pending';
|
|
public const STATUS_APPROVED = 'approved';
|
|
public const STATUS_REJECTED = 'rejected';
|
|
|
|
protected function _construct(): void
|
|
{
|
|
$this->_init(\Esun\CustomerVat\Model\ResourceModel\VatApplication::class);
|
|
}
|
|
|
|
public static function getStatuses(): array
|
|
{
|
|
return [
|
|
self::STATUS_PENDING => __('Pending Review'),
|
|
self::STATUS_APPROVED => __('Approved'),
|
|
self::STATUS_REJECTED => __('Rejected'),
|
|
];
|
|
}
|
|
}
|