GetBasePrice

Namespace

IO\Extensions\Functions

Extends
Properties
Type Name Description

Application

$app

ItemDataLayerRepositoryContract

$itemRepository

ItemColumnBuilder

$columnBuilder

ItemFilterBuilder

$filterBuilder

ItemParamsBuilder

$paramsBuilder

Methods
public __construct($app, $itemRepository, $columnBuilder, $filterBuilder, $paramsBuilder)

GetBasePrice constructor.

Parameters

Type

Name

Description

Application

$app

ItemDataLayerRepositoryContract

$itemRepository

ItemColumnBuilder

$columnBuilder

ItemFilterBuilder

$filterBuilder

ItemParamsBuilder

$paramsBuilder

public getFunctions():array

Return the available filter methods

public getBasePrice($variationId):array

Get the base price for the specified variation

Parameters

Type

Name

Description

int

$variationId

public getBasePriceList($variationIds):array

Get base prices for a list of variations

Parameters

Type

Name

Description

array

$variationIds