VariationPriceList

Deprecated!

since 5.0.0 will be removed in 6.0.0

Namespace

IO\Helper

Constants
Type Name Value Description

string

TYPE_DEFAULT

'default'

string

TYPE_RRP

'rrp'

string

TYPE_SPECIAL_OFFER

'specialOffer'

Properties
Type Name Description

``

$basePrices

int

$itemId

int

$variationId

float

$minimumOrderQuantity

float

$maximumOrderQuantity

``

$lot

``

$unit

``

$prices

NumberFormatFilter

$numberFormatFilter

UnitService

$unitService

LiveShoppingRepositoryContract

$liveShoppingRepo

``

$showNetPrice

SalesPriceSearchResponse

$defaultPrice

``

$cache

Methods
public __construct()
public static create($variationId, $itemId, $minimumOrderQuantity, $maximumOrderQuantity = null, $lot, $unit = null):VariationPriceList
Deprecated!

since 5.0.0 will be removed in 6.0.0

Parameters

Type

Name

Description

int

$variationId

int

$itemId

int

$minimumOrderQuantity

null

$maximumOrderQuantity

int

$lot

null

$unit

public findPriceForQuantity($quantity, $type = self::TYPE_DEFAULT):mixed
Deprecated!

since 5.0.0 will be removed in 6.0.0

Parameters

Type

Name

Description

float

$quantity

string

$type

public getGraduatedPrices($showNetPrice = false):array
Deprecated!

since 5.0.0 will be removed in 6.0.0

Parameters

Type

Name

Description

bool

$showNetPrice

public getBasePrice($unitPrice, $currency, $lang = null):string
Deprecated!

since 5.0.0 will be removed in 6.0.0

Parameters

Type

Name

Description

float

$unitPrice

string

$currency

null

$lang

public toArray($quantity = null):array
Deprecated!

since 5.0.0 will be removed in 6.0.0

Parameters

Type

Name

Description

null

$quantity

public getCalculatedPrices($quantity = null):array
Deprecated!

since 5.0.0 will be removed in 6.0.0

Parameters

Type

Name

Description

null

$quantity

public convertCurrency($value):float \| int
Deprecated!

since 5.0.0 will be removed in 6.0.0

Parameters

Type

Name

Description

float

$value

public convertGrossNet()
public getDefaultPrice():mixed
Deprecated!

since 5.0.0 will be removed in 6.0.0

public fromMemoryCache()
public resetMemoryCache($key = null)
Parameters

Type

Name

Description

``

$key