Documentation

MovementCreditRepository extends AbstractRepository
in package

FinalYes

Table of Contents

Methods

__construct()  : mixed
MovementTypeRepository constructor.
delete()  : void
deleteList()  : void
existsByUser()  : bool
fetchAllAsAssocArray()  : mixed
findAllByUser()  : array<string|int, MovementCredit>|null
findByAfterEvenetDateGroupByUserAndEventDateAndStatusCode()  : array<string|int, MovementCreditOverviewRS>|null
findByAfterEventDateGroupByUserAndEventDate()  : array<string|int, MovementCreditOverviewRS>|null
findByAfterEventDateGroupByUserAndEventDateWithValue()  : array<string|int, MovementCreditStatusValueRS>|null
findByTransIdAndUserIdAndMissingFromCountry()  : array<string|int, MovementCredit>|null
findCountAndYearMonth()  : mixed
flush()  : void
getDistinctChannelLabelsBetweenDates()  : array<string|int, string>
getOrThrow()  : mixed
getOssAffectedRows()  : mixed
getSalesCountBetweenDatesWithRefundsSubtracted()  : int
getSalesNetValueVolumeBetweenDatesWithRefundsSubtracted()  : string
getSalesNetValueVolumeBetweenDatesWithRefundsSubtractedPerCountry()  : array<string|int, mixed>
getTransactionsCountBetweenDatesByClientId()  : mixed
getTransactionsCountBetweenDatesWithRefundsSubtracted()  : int
insert()  : void
insertList()  : void
merge()  : object
persist()  : void
remove()  : void
update()  : void
updateList()  : void
yieldCountAndYearMonthByClientIdAndStartDateAndEndDate()  : mixed
subtracts refunds
getNativeSqlWithParameters()  : mixed
code mostly copied from doctrine private methods

Methods

__construct()

MovementTypeRepository constructor.

public __construct(EntityManager $entityManager) : mixed
Parameters
$entityManager : EntityManager

delete()

public delete(object $entity) : void
Parameters
$entity : object
Tags
throws
OptimisticLockException
throws
DataException
throws
ORMException

deleteList()

public deleteList(array<string|int, object> $entities) : void
Parameters
$entities : array<string|int, object>
Tags
throws
DataException
throws
ORMException
throws
OptimisticLockException

fetchAllAsAssocArray()

public fetchAllAsAssocArray(mixed $key) : mixed
Parameters
$key : mixed

findByTransIdAndUserIdAndMissingFromCountry()

public findByTransIdAndUserIdAndMissingFromCountry(string $transId, int $userId) : array<string|int, MovementCredit>|null
Parameters
$transId : string
$userId : int
Return values
array<string|int, MovementCredit>|null

flush()

public flush() : void
Tags
throws
ORMException
throws
OptimisticLockException

getDistinctChannelLabelsBetweenDates()

public getDistinctChannelLabelsBetweenDates(int $clientId, DateTime $startDate, DateTime $endDate) : array<string|int, string>
Parameters
$clientId : int
$startDate : DateTime
$endDate : DateTime
Return values
array<string|int, string>

getOrThrow()

public getOrThrow(mixed $id[, mixed $lockMode = null ][, mixed $lockVersion = null ][, Exception $exception = null ]) : mixed
Parameters
$id : mixed
$lockMode : mixed = null
$lockVersion : mixed = null
$exception : Exception = null

getSalesCountBetweenDatesWithRefundsSubtracted()

public getSalesCountBetweenDatesWithRefundsSubtracted(int $clientId, DateTime $startDate, DateTime $endDate) : int
Parameters
$clientId : int
$startDate : DateTime
$endDate : DateTime
Return values
int

getSalesNetValueVolumeBetweenDatesWithRefundsSubtracted()

public getSalesNetValueVolumeBetweenDatesWithRefundsSubtracted(int $clientId, DateTime $startDate, DateTime $endDate) : string
Parameters
$clientId : int
$startDate : DateTime
$endDate : DateTime
Return values
string

getSalesNetValueVolumeBetweenDatesWithRefundsSubtractedPerCountry()

public getSalesNetValueVolumeBetweenDatesWithRefundsSubtractedPerCountry(int $clientId, DateTime $startDate, DateTime $endDate) : array<string|int, mixed>
Parameters
$clientId : int
$startDate : DateTime
$endDate : DateTime
Return values
array<string|int, mixed>

getTransactionsCountBetweenDatesByClientId()

public getTransactionsCountBetweenDatesByClientId(int $clientId, DateTime $startDate, DateTime $endDate) : mixed
Parameters
$clientId : int
$startDate : DateTime
$endDate : DateTime

getTransactionsCountBetweenDatesWithRefundsSubtracted()

public getTransactionsCountBetweenDatesWithRefundsSubtracted(int $clientId, DateTime $startDate, DateTime $endDate) : int
Parameters
$clientId : int
$startDate : DateTime
$endDate : DateTime
Return values
int

insert()

public insert(object $entity) : void
Parameters
$entity : object
Tags
throws
OptimisticLockException
throws
DataException
throws
ORMException

insertList()

public insertList(array<string|int, object> $entities) : void
Parameters
$entities : array<string|int, object>
Tags
throws
DataException
throws
ORMException
throws
OptimisticLockException

update()

public update(object $entity) : void
Parameters
$entity : object
Tags
throws
OptimisticLockException
throws
DataException
throws
ORMException

updateList()

public updateList(array<string|int, object> $entities) : void
Parameters
$entities : array<string|int, object>
Tags
throws
DataException
throws
ORMException
throws
OptimisticLockException

yieldCountAndYearMonthByClientIdAndStartDateAndEndDate()

subtracts refunds

public yieldCountAndYearMonthByClientIdAndStartDateAndEndDate(int $clientId, DateTime $startDate, DateTime $endDate) : mixed
Parameters
$clientId : int
$startDate : DateTime
$endDate : DateTime

getNativeSqlWithParameters()

code mostly copied from doctrine private methods

protected getNativeSqlWithParameters(Query $query) : mixed
Parameters
$query : Query

        
On this page

Search results