ChargeBeePlansRepository
extends Injectable
Table of Contents
Properties
-
$allVatRegPlansAssoc
: array<string|int, CheckoutPlanEntity>
-
$cacheService
: CacheService
Methods
-
__construct()
: mixed
-
getActivePlanById()
: array<string|int, mixed>|null
-
getActivePlanEntitiesByIdlist()
: array<string|int, ChargeBeePlanEntity>
-
getActivePlansByIdList()
: array<string|int, mixed>
-
getAllActivePlan()
: array<string|int, mixed>|null
-
getAllPlan()
: array<string|int, mixed>|null
-
getAllPlanAsJson()
: mixed
-
getAllVatRegPlansAssoc()
: array<string|int, ChargeBeePlanEntity>
-
getPlanById()
: mixed
-
getVatRegPlanByPeriodUnitId()
: mixed
$allVatRegPlansAssoc
private
array<string|int, CheckoutPlanEntity>
$allVatRegPlansAssoc
$cacheService
private
CacheService
$cacheService
__construct()
public
__construct(CacheService $cacheService) : mixed
Parameters
-
$cacheService
: CacheService
-
getActivePlanById()
public
getActivePlanById([string $planId = null ]) : array<string|int, mixed>|null
Parameters
-
$planId
: string
= null
-
Return values
array<string|int, mixed>|null
getActivePlanEntitiesByIdlist()
public
getActivePlanEntitiesByIdlist(array<string|int, string> $idList) : array<string|int, ChargeBeePlanEntity>
Parameters
-
$idList
: array<string|int, string>
-
getActivePlansByIdList()
public
getActivePlansByIdList(array<string|int, string> $idList) : array<string|int, mixed>
Parameters
-
$idList
: array<string|int, string>
-
Return values
array<string|int, mixed>
getAllActivePlan()
public
getAllActivePlan() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null
getAllPlan()
public
getAllPlan() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null
getAllPlanAsJson()
public
getAllPlanAsJson() : mixed
getAllVatRegPlansAssoc()
public
getAllVatRegPlansAssoc() : array<string|int, ChargeBeePlanEntity>
getPlanById()
public
getPlanById(int $id) : mixed
Parameters
-
$id
: int
-
getVatRegPlanByPeriodUnitId()
public
getVatRegPlanByPeriodUnitId(int $periodUnitId) : mixed
Parameters
-
$periodUnitId
: int
-