phpDocumentor

ProductVariantsRepository

Interface ProductVariantsRepository

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

createMultipleProductVariants()  : ProductVariantIds
createProductVariant()  : ProductVariantId
deleteAllProductVariantsByProductId()  : void
deleteProductVariants()  : void
filterProductVariants()  : ProductVariants
getProductVariantById()  : ProductVariant
getProductVariantsByProductId()  : ProductVariants
getProductVariantsTotalCount()  : int
registerOperationPermitter()  : void
storeProductVariants()  : void
unlinkOptionFromProduct()  : void
validateThatOptionValuesBelongToOption()  : void

Methods

createProductVariant()

public createProductVariant(ProductId $productId, OptionAndOptionValueIds $combination, ImageListId $imageListId, ProductCustomization $productCustomization, ProductIdentificationNumbers $productIdentificationNumbers, ProductVariantStock $stock, int $sortOrder) : ProductVariantId
Parameters
$productId : ProductId
$combination : OptionAndOptionValueIds
$imageListId : ImageListId
$productCustomization : ProductCustomization
$productIdentificationNumbers : ProductIdentificationNumbers
$stock : ProductVariantStock
$sortOrder : int
Tags
throws
ProductVariantCombinationAlreadyExists
throws
InsertionOfProductVariantsFailed
throws
OperationHasNotBeenPermittedException
Return values
ProductVariantId

Search results