Documentation

CreditType
in package

Class CreditType

Tags
ORM\Entity

(repositoryClass="Vatjar\Data\Repository\CreditTypeRepository")

ORM\Table

(name="credit_type")

Table of Contents

Constants

ALLOWED_COUNTRIES  = [self::YEARLY_VERIFIED_CREDIT => [\Vatjar\Data\EntityInterface\Country::ID_OF_IT], self::PREPAYMENT_CREDIT => [\Vatjar\Data\EntityInterface\Country::ID_OF_IT], self::PREVIOUS_PERIOD_CREDIT => [\Vatjar\Data\EntityInterface\Country::ID_OF_IT, \Vatjar\Data\EntityInterface\Country::ID_OF_PL, \Vatjar\Data\EntityInterface\Country::ID_OF_FR, \Vatjar\Data\EntityInterface\Country::ID_OF_ES]]
PREPAYMENT_CREDIT  = 2
PREVIOUS_PERIOD_CREDIT  = 3
YEARLY_VERIFIED_CREDIT  = 1

Properties

$id  : int|null
$label  : string

Methods

getId()  : int|null
getLabel()  : string
setId()  : void
setLabel()  : void

Constants

ALLOWED_COUNTRIES

public mixed ALLOWED_COUNTRIES = [self::YEARLY_VERIFIED_CREDIT => [\Vatjar\Data\EntityInterface\Country::ID_OF_IT], self::PREPAYMENT_CREDIT => [\Vatjar\Data\EntityInterface\Country::ID_OF_IT], self::PREVIOUS_PERIOD_CREDIT => [\Vatjar\Data\EntityInterface\Country::ID_OF_IT, \Vatjar\Data\EntityInterface\Country::ID_OF_PL, \Vatjar\Data\EntityInterface\Country::ID_OF_FR, \Vatjar\Data\EntityInterface\Country::ID_OF_ES]]

PREPAYMENT_CREDIT

public mixed PREPAYMENT_CREDIT = 2

PREVIOUS_PERIOD_CREDIT

public mixed PREVIOUS_PERIOD_CREDIT = 3

YEARLY_VERIFIED_CREDIT

public mixed YEARLY_VERIFIED_CREDIT = 1

Properties

$id

private int|null $id
Tags
ORM\Id
ORM\Column

(type="integer")

$label

private string $label
Tags
ORM\Column

(name="label", type="string")

Methods

getId()

public getId() : int|null
Return values
int|null

getLabel()

public getLabel() : string
Return values
string

setId()

public setId(int|null $id) : void
Parameters
$id : int|null

setLabel()

public setLabel(string $label) : void
Parameters
$label : string

        
On this page

Search results