BConnect POS - Reference PHP

Fund
in package

Attributes
#[ApiResource]
$operations: [new \ApiPlatform\Metadata\GetCollection(controller: \App\Controller\Api\GetFundListAndStatsController::class), new \ApiPlatform\Metadata\Post()]
$normalizationContext: ['groups' => ['fund:read']]
$denormalizationContext: ['groups' => ['fund:write']]
$filters: [\App\Filter\PointOfSaleParamFilter::class]
#[Entity]
$repositoryClass: \App\Repository\FundRepository::class

Table of Contents

Properties

$created_at  : DateTimeImmutable|null
$historyFunds  : Collection
$id  : int|null
$invoice  : string|null
$motif  : string|null
$pointOfSaleId  : int|null
$solde  : float|null
$type  : string|null

Methods

__construct()  : mixed
addHistoryFund()  : static
getCreatedAt()  : DateTimeImmutable|null
getHistoryFunds()  : Collection<int, HistoryFund>
getId()  : int|null
getInvoice()  : string|null
getMotif()  : string|null
getPointOfSaleId()  : int|null
getSolde()  : float|null
getType()  : string|null
removeHistoryFund()  : static
setCreatedAt()  : static
setInvoice()  : static
setMotif()  : static
setPointOfSaleId()  : static
setSolde()  : static
setType()  : static

Properties

$created_at

private DateTimeImmutable|null $created_at = null
Attributes
#[Column]
#[Groups]
['fund:read', 'fund:write']

$historyFunds

private Collection $historyFunds
Attributes
#[OneToMany]
$mappedBy: 'fund'
$targetEntity: \App\Entity\HistoryFund::class

$id

private int|null $id = null
Attributes
#[Column]
#[GeneratedValue]
#[Groups]
['fund:read']
#[Id]

$invoice

private string|null $invoice = null
Attributes
#[Column]
$length: 255
$nullable: true
#[Groups]
['fund:read', 'fund:write']

$motif

private string|null $motif = null
Attributes
#[Column]
$length: 255
#[Groups]
['fund:read', 'fund:write']

$pointOfSaleId

private int|null $pointOfSaleId = null
Attributes
#[Column]
#[Groups]
['fund:read', 'fund:write']

$solde

private float|null $solde = null
Attributes
#[Column]
#[Groups]
['fund:read', 'fund:write']

$type

private string|null $type = null
Attributes
#[Column]
$length: 255
#[Groups]
['fund:read', 'fund:write']

Methods

__construct()

public __construct() : mixed

addHistoryFund()

public addHistoryFund(HistoryFund $historyFund) : static
Parameters
$historyFund : HistoryFund
Return values
static

getCreatedAt()

public getCreatedAt() : DateTimeImmutable|null
Return values
DateTimeImmutable|null

getId()

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

getInvoice()

public getInvoice() : string|null
Return values
string|null

getMotif()

public getMotif() : string|null
Return values
string|null

getPointOfSaleId()

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

getSolde()

public getSolde() : float|null
Return values
float|null

getType()

public getType() : string|null
Return values
string|null

removeHistoryFund()

public removeHistoryFund(HistoryFund $historyFund) : static
Parameters
$historyFund : HistoryFund
Return values
static

setCreatedAt()

public setCreatedAt(DateTimeImmutable $created_at) : static
Parameters
$created_at : DateTimeImmutable
Return values
static

setInvoice()

public setInvoice(string|null $invoice) : static
Parameters
$invoice : string|null
Return values
static

setMotif()

public setMotif(string $motif) : static
Parameters
$motif : string
Return values
static

setPointOfSaleId()

public setPointOfSaleId(int $pointOfSaleId) : static
Parameters
$pointOfSaleId : int
Return values
static

setSolde()

public setSolde(float $solde) : static
Parameters
$solde : float
Return values
static

setType()

public setType(string $type) : static
Parameters
$type : string
Return values
static
On this page

Search results