PointTransactionRepositoryInterface
in
Interface PointTransactionRepositoryInterface.
Table of Contents
Methods
- createTransaction() : PointTransaction
- getAdminSentPointByTime() : int
- getPackageOptions() : array<int, mixed>
- getTransactionByItem() : PointTransaction|null
- viewTransaction() : PointTransaction
- viewTransactions() : Paginator
- viewTransactionsAdmin() : Paginator
Methods
createTransaction()
public
createTransaction(User $context, User $owner, array<string, mixed> $params) : PointTransaction
Parameters
Return values
PointTransactiongetAdminSentPointByTime()
public
getAdminSentPointByTime(string $time) : int
Parameters
- $time : string
Return values
intgetPackageOptions()
public
getPackageOptions() : array<int, mixed>
Return values
array<int, mixed>getTransactionByItem()
public
getTransactionByItem(User $user, Entity $model, array<string|int, mixed> $attributes) : PointTransaction|null
Parameters
Return values
PointTransaction|nullviewTransaction()
public
viewTransaction(User $context, int $id) : PointTransaction
Parameters
- $context : User
- $id : int
Return values
PointTransactionviewTransactions()
public
viewTransactions(User $context, array<string, mixed> $attributes) : Paginator
Parameters
- $context : User
- $attributes : array<string, mixed>
Return values
PaginatorviewTransactionsAdmin()
public
viewTransactionsAdmin(User $context, array<string, mixed> $attributes) : Paginator
Parameters
- $context : User
- $attributes : array<string, mixed>