BusinessInformation
in package
Class BusinessInformation
Table of Contents
- $companyName : string
- $isTradesperson : bool
- $isValidVatId : bool
- $vatId : string
- __construct() : mixed
- companyName() : string
- create() : BusinessInformation
- isTradesperson() : bool
- isValidVatId() : bool
- toArray() : array<string|int, mixed>
- vatId() : string
Properties
$companyName
private
string
$companyName
$isTradesperson
private
bool
$isTradesperson
$isValidVatId
private
bool
$isValidVatId
$vatId
private
string
$vatId
Methods
__construct()
public
__construct(string $companyName, string $vatId, bool $isTradesperson, bool $isValidVatId) : mixed
Parameters
- $companyName : string
- $vatId : string
- $isTradesperson : bool
- $isValidVatId : bool
Return values
mixed —companyName()
public
companyName() : string
Return values
string —create()
public
static create([string $companyName = '' ][, string $vatId = '' ][, bool $isTradesperson = false ][, bool $isValidVatId = false ]) : BusinessInformation
Parameters
- $companyName : string = ''
- $vatId : string = ''
- $isTradesperson : bool = false
- $isValidVatId : bool = false
Return values
BusinessInformation —isTradesperson()
public
isTradesperson() : bool
Return values
bool —isValidVatId()
public
isValidVatId() : bool
Return values
bool —toArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed> —vatId()
public
vatId() : string