LiveShopping

Contracts

LiveShoppingRepositoryContract

Interface for Live Shopping

Namespace

Plenty\Modules\LiveShopping\Contracts

Methods

public getLiveShopping(int $liveShoppingId):void
Parameters
int $liveShoppingId
public getActiveByItemId(int $itemId):void
Parameters
int $itemId
public getActive(int $liveShoppingId):void
Parameters
int $liveShoppingId
public getNextActive(int $liveShoppingId):void
Parameters
int $liveShoppingId
public getLastExpired(int $liveShoppingId):void
Parameters
int $liveShoppingId
public getRecentlyStartedOrExpired(int $time, int $interval):void
Parameters
int $time
int $interval
public itemHasActiveLiveShopping(int $itemId):bool
Parameters
int $itemId

Models

LiveShopping

The LiveShopping Model

Namespace

Plenty\Modules\LiveShopping\Models

Properties

Type Name Description
int id
int fromTime
int toTime
int itemId
int quantitySold
int quantitySoldReal
int quantityMax
int liveShoppingId
int link

Methods

public toArray()

Returns this model as an array.