ProductStockServiceInterface

Extends

package

Default

Methods

The method identify if the stock should be changed with the given parameters

isChangeProductStock(integer $combinationConfigurationType, integer $combinationId, string $attributeFilename) : boolean

Arguments

$combinationConfigurationType

integer

The combination configuration of the current product

$combinationId

integer

the combination if relative to the current product

$attributeFilename

string

The filename attribute related to the product

Response

boolean

The method identify if and product stock should be changed with it has the given configuration

isCombinationConfigChangeProductStock(integer $combinationQtdType, boolean $isCombination) : boolean

Arguments

$combinationQtdType

integer

The product combination quantity configuration

$isCombination

boolean

is a combination?

Response

boolean