mirror of
https://github.com/ivuorinen/business-data-fetcher.git
synced 2026-02-20 04:50:29 +00:00
Initial commit
This commit is contained in:
54
src/Dto/BisCompanyForm.php
Normal file
54
src/Dto/BisCompanyForm.php
Normal file
@@ -0,0 +1,54 @@
|
||||
<?php
|
||||
|
||||
namespace Ivuorinen\BusinessDataFetcher\Dto;
|
||||
|
||||
use Ivuorinen\BusinessDataFetcher\Traits\HasSource;
|
||||
use Spatie\DataTransferObject\DataTransferObject;
|
||||
|
||||
/**
|
||||
* Company Form
|
||||
*/
|
||||
class BisCompanyForm extends DataTransferObject
|
||||
{
|
||||
use HasSource;
|
||||
|
||||
/**
|
||||
* One for current version and >1 for historical company forms
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
public int $version;
|
||||
/**
|
||||
* Date of registration
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public string $registrationDate;
|
||||
/**
|
||||
* Ending date of registration
|
||||
*
|
||||
* @var string|null
|
||||
*/
|
||||
public ?string $endDate;
|
||||
/**
|
||||
* Name of company form
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public string $name;
|
||||
/**
|
||||
* Two letter language code
|
||||
*
|
||||
* @var string|null
|
||||
*/
|
||||
public ?string $language;
|
||||
/**
|
||||
* Type of company form.
|
||||
*
|
||||
* Note: According to spec, this shouldn't be nullable,
|
||||
* but payloads show otherwise.
|
||||
*
|
||||
* @var string|null
|
||||
*/
|
||||
public ?string $type;
|
||||
}
|
||||
Reference in New Issue
Block a user