phpDocumentor

ProductOptionRepository

Interface ProductOptionRepository

Tags
deprecated

Since 4.7, the gambio shop-system supports submodules. Those product domains will be refactored into submodules too. All important changes will be documented in the developer journal as soon as they are implemented.

Table of Contents

createMultipleProductOptions()  : ProductOptionIds
createProductOption()  : ProductOptionId
deleteAllProductOptionsByProductId()  : void
deleteProductOptions()  : void
filterProductOptions()  : ProductOptions
getProductOptionById()  : ProductOption
getProductOptionsByProductId()  : ProductOptions
getProductOptionsTotalCount()  : int
registerOperationPermitter()  : void
storeProductOptions()  : void

Methods

createProductOption()

public createProductOption(ProductId $productId, OptionAndOptionValueId $optionAndOptionValueId, ImageListId $imageListId, OptionValueCustomization $optionValueCustomization, ProductOptionStock $productOptionStock, int $sortOrder) : ProductOptionId
Parameters
$productId : ProductId
$optionAndOptionValueId : OptionAndOptionValueId
$imageListId : ImageListId
$optionValueCustomization : OptionValueCustomization
$productOptionStock : ProductOptionStock
$sortOrder : int
Tags
throws
InsertionOfProductOptionsFailedException
throws
OperationHasNotBeenPermittedException
Return values
ProductOptionId

Search results