CompensoLavoroOccasionale
extends Model
in package
Table of Contents
- $birthCity : string
- $birthDate : string
- $birthProvince : string
- $documentCity : string
- $documentDate : string
- $documentTotal : float
- $firstName : string
- $fiscalCode : string
- $fromDate : string
- $lastName : string
- $phoneNumber : string
- $residenceAddress : string
- $residenceAddressNumber : string
- $residenceCity : string
- $residencePostalCode : string
- $residenceProvince : string
- $toDate : string
- $fillable : mixed
- $fiscalCodeTokens : Fluent|null
- fullAddress() : string
- Helper function to retrieve the full address es: Via Tirino, 99 - 65129 - Pescara (PE)
- fullName() : string
- Helper function to retrieve the full name es: Mario Rossi
- netTotal() : float
- Helper function, calculate the net total (compenso netto pagato)
- retrieveBirthCity() : string
- Return the birth place, it first try to retrieve it from the attributes, if it's unaivailable it will try to get it from the fiscalCode
- retrieveBirthProvince() : string
- Return the birth province, it first try to retrieve it from the attributes, if it's unaivailable it will try to get it from the fiscalCode
- withholding() : float
- Helper function, calculate the withholding (ritenuta d'acconto)
- getFiscalCodeTokens() : Fluent|null
- Helper private function, will try to build up tokens from Fiscal Code
Properties
$birthCity
public
string
$birthCity
$birthDate
public
string
$birthDate
$birthProvince
public
string
$birthProvince
$documentCity
public
string
$documentCity
$documentDate
public
string
$documentDate
$documentTotal
public
float
$documentTotal
$firstName
public
string
$firstName
$fiscalCode
public
string
$fiscalCode
$fromDate
public
string
$fromDate
$lastName
public
string
$lastName
$phoneNumber
public
string
$phoneNumber
$residenceAddress
public
string
$residenceAddress
$residenceAddressNumber
public
string
$residenceAddressNumber
$residenceCity
public
string
$residenceCity
$residencePostalCode
public
string
$residencePostalCode
$residenceProvince
public
string
$residenceProvince
$toDate
public
string
$toDate
$fillable
protected
mixed
$fillable
= ['firstName', 'lastName', 'birthDate', 'birthCity', 'birthProvince', 'fiscalCode', 'residenceCity', 'residencePostalCode', 'residenceProvince', 'residenceAddress', 'residenceAddressNumber', 'phoneNumber', 'documentTotal', 'documentCity', 'documentDate', 'fromDate', 'toDate']
$fiscalCodeTokens
private
Fluent|null
$fiscalCodeTokens
= null
Methods
fullAddress()
Helper function to retrieve the full address es: Via Tirino, 99 - 65129 - Pescara (PE)
public
fullAddress() : string
Return values
string —fullName()
Helper function to retrieve the full name es: Mario Rossi
public
fullName() : string
Return values
string —netTotal()
Helper function, calculate the net total (compenso netto pagato)
public
netTotal() : float
Return values
float —retrieveBirthCity()
Return the birth place, it first try to retrieve it from the attributes, if it's unaivailable it will try to get it from the fiscalCode
public
retrieveBirthCity() : string
Return values
string —retrieveBirthProvince()
Return the birth province, it first try to retrieve it from the attributes, if it's unaivailable it will try to get it from the fiscalCode
public
retrieveBirthProvince() : string
Return values
string —withholding()
Helper function, calculate the withholding (ritenuta d'acconto)
public
withholding() : float
Return values
float —getFiscalCodeTokens()
Helper private function, will try to build up tokens from Fiscal Code
private
getFiscalCodeTokens() : Fluent|null