MetaFox

PointPackageRepositoryInterface
in

Interface PointPackageRepositoryInterface.

Table of Contents

Methods

activatePackage()  : PointPackage
createPackage()  : PointPackage
deactivatePackage()  : PointPackage
deletePackage()  : bool
getPurchasePackageMessage()  : array<int, mixed>
getSearchOptions()  : array<string|int, mixed>
initPurchase()  : PackagePurchase
onFailedPurchasePackage()  : void
onSuccessPurchasePackage()  : void
purchasePackage()  : array<string, mixed>
updatePackage()  : PointPackage
viewPackage()  : PointPackage
viewPackages()  : Paginator
viewPackagesAdmin()  : Collection

Methods

getPurchasePackageMessage()

public getPurchasePackageMessage(int $id) : array<int, mixed>
Parameters
$id : int
Return values
array<int, mixed>

purchasePackage()

public purchasePackage(User $context, int $id, array<string, mixed> $attributes) : array<string, mixed>
Parameters
$context : User
$id : int
$attributes : array<string, mixed>
Return values
array<string, mixed>

viewPackages()

public viewPackages(User $context, array<string, mixed> $attributes) : Paginator
Parameters
$context : User
$attributes : array<string, mixed>
Return values
Paginator

viewPackagesAdmin()

public viewPackagesAdmin(User $context, array<string, mixed> $attributes) : Collection
Parameters
$context : User
$attributes : array<string, mixed>
Return values
Collection

        
On this page

Search results