PricedCategoryInterface
extends
TreeNodeInterface, IdentifiableInterface
in
Category with a price list and a free flag (Bazaar, Comcat, Discussion): a nested-set node the shared {@see \App\Core\Traits\Api\Models\Managers\CategoryPriceSyncTrait} copies to its subtree.
Table of Contents
Methods
- getForFree() : bool
- getId() : int|null
- getLevel() : int
- getLft() : int
- getParentId() : int|null
- getPrices() : Collection<int, object>
- Elements are {@see CategoryPriceInterface}; callers check it with `instanceof`.
- getRgt() : int
Methods
getForFree()
public
getForFree() : bool
Return values
boolgetId()
public
getId() : int|null
Return values
int|nullgetLevel()
public
getLevel() : int
Return values
intgetLft()
public
getLft() : int
Return values
intgetParentId()
public
getParentId() : int|null
Return values
int|nullgetPrices()
Elements are {@see CategoryPriceInterface}; callers check it with `instanceof`.
public
getPrices() : Collection<int, object>
Return values
Collection<int, object>getRgt()
public
getRgt() : int