ItemWishListGuestRepository

Namespace

IO\Repositories

Properties
Type Name Description

SessionStorageRepositoryContract

$sessionStorageRepository

``

$plentyId

Methods
public __construct($sessionStorageRepository, $app)

ItemWishListGuestRepository constructor.

Parameters

Type

Name

Description

SessionStorageRepositoryContract

$sessionStorageRepository

Application

$app

public getItemWishList():array

List all watched variationIds for contact

public getItemWishListWithData()
public getItemWishListForAllPlentyIds()
public getCountedItemWishList():int

Get count WishList entries

public isItemInWishList($variationId):bool
Parameters

Type

Name

Description

int

$variationId

public addItemWishListEntry($variationId, $quantity = 1):mixed
Parameters

Type

Name

Description

int

$variationId

int

$quantity

public removeItemWishListEntry($variationId):bool
Parameters

Type

Name

Description

int

$variationId

public resetItemWishList()