CreditType
in package
Class CreditType
Tags
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
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
$label
private
string
$label
Tags
Methods
getId()
public
getId() : int|null
Return values
int|nullgetLabel()
public
getLabel() : string
Return values
stringsetId()
public
setId(int|null $id) : void
Parameters
- $id : int|null
setLabel()
public
setLabel(string $label) : void
Parameters
- $label : string