phpDocumentor

ProductDownloadWriteService

Interface ProductDownloadWriteService

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

createMultipleProductDownloads()  : ProductOptionIds
createProductDownload()  : ProductOptionId
deleteAllProductDownloadsByProductId()  : void
deleteProductDownloads()  : void
storeProductDownloads()  : void

Methods

createProductDownload()

public createProductDownload(int $productId, OptionAndOptionValueId $optionAndOptionValueId, ImageListId $imageListId, OptionValueCustomization $optionValueCustomization, ProductDownloadStock $productDownloadStock, int $sortOrder) : ProductOptionId
Parameters
$productId : int
$optionAndOptionValueId : OptionAndOptionValueId
$imageListId : ImageListId
$optionValueCustomization : OptionValueCustomization
$productDownloadStock : ProductDownloadStock
$sortOrder : int
Tags
throws
InsertionOfProductDownloadsFailedException
throws
ProductDownloadAlreadyExistsException
Return values
ProductOptionId

Search results