ClientCredit
in package
implements
JsonSerializable
Class ClientCredit
Tags
Table of Contents
Interfaces
- JsonSerializable
Constants
- COUNTRY_LIST = [\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]
Properties
- $autogenarated : bool
- $changeTime : DateTime
- $clientId : int|null
- $countryId : int|null
- $create_time : DateTime
- $credit : string
- $creditTypeId : int|null
- $id : Uuid
- $insertedById : int|null
- $isDeleted : bool
- $yearMonth : string
Methods
- getClientId() : int
- getCountryId() : int
- getCreatetime() : DateTime|null
- getCredit() : float
- getCreditTypeId() : int|null
- getId() : Uuid
- getInsertedById() : int|null
- getIsDeleted() : bool
- getYearMonth() : string
- getYearMonthWithHyphen() : string
- isAutogenarated() : bool
- jsonSerialize() : mixed
- Specify data which should be serialized to JSON
- setAutogenarated() : void
- setClientId() : void
- setCountryId() : void
- setCreateTime() : void
- setCredit() : void
- setCreditTypeId() : void
- setInsertedById() : void
- setIsDeleted() : mixed
- setYearMonth() : void
- updateChangeTime() : mixed
Constants
COUNTRY_LIST
public
mixed
COUNTRY_LIST
= [\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]
Properties
$autogenarated
private
bool
$autogenarated
Tags
$changeTime
private
DateTime
$changeTime
Tags
$clientId
private
int|null
$clientId
Tags
$countryId
private
int|null
$countryId
Tags
$create_time
private
DateTime
$create_time
Tags
$credit
private
string
$credit
= '0.00'
Tags
$creditTypeId
private
int|null
$creditTypeId
Tags
$id
private
Uuid
$id
Tags
$insertedById
private
int|null
$insertedById
Tags
$isDeleted
private
bool
$isDeleted
= false
Tags
$yearMonth
private
string
$yearMonth
Tags
Methods
getClientId()
public
getClientId() : int
Return values
intgetCountryId()
public
getCountryId() : int
Return values
intgetCreatetime()
public
getCreatetime() : DateTime|null
Return values
DateTime|nullgetCredit()
public
getCredit() : float
Return values
floatgetCreditTypeId()
public
getCreditTypeId() : int|null
Return values
int|nullgetId()
public
getId() : Uuid
Return values
UuidgetInsertedById()
public
getInsertedById() : int|null
Return values
int|nullgetIsDeleted()
public
getIsDeleted() : bool
Return values
boolgetYearMonth()
public
getYearMonth() : string
Return values
stringgetYearMonthWithHyphen()
public
getYearMonthWithHyphen() : string
Return values
stringisAutogenarated()
public
isAutogenarated() : bool
Return values
booljsonSerialize()
Specify data which should be serialized to JSON
public
jsonSerialize() : mixed
Tags
Return values
mixed —data which can be serialized by json_encode, which is a value of any type other than a resource.
setAutogenarated()
public
setAutogenarated(bool $autogenarated) : void
Parameters
- $autogenarated : bool
setClientId()
public
setClientId(int|null $clientId) : void
Parameters
- $clientId : int|null
setCountryId()
public
setCountryId(int|null $countryId) : void
Parameters
- $countryId : int|null
setCreateTime()
public
setCreateTime(DateTime|null $create_time) : void
Parameters
- $create_time : DateTime|null
setCredit()
public
setCredit(float|null $credit) : void
Parameters
- $credit : float|null
setCreditTypeId()
public
setCreditTypeId(int|null $creditTypeId) : void
Parameters
- $creditTypeId : int|null
setInsertedById()
public
setInsertedById(int|null $insertedById) : void
Parameters
- $insertedById : int|null
setIsDeleted()
public
setIsDeleted(bool $isDeleted) : mixed
Parameters
- $isDeleted : bool
setYearMonth()
public
setYearMonth(string $yearMonth) : void
Parameters
- $yearMonth : string
updateChangeTime()
public
updateChangeTime() : mixed